鎷栨媺鏈烘帶鍒跺叧閿崗璁 ISO-11783 鍗忚瑙f瀽-5.png_鎷栨媺鏈烘帶鍒跺叧閿崗璁 ISO-11783 鍗忚瑙f瀽 - 閰峰痉缃 - CoDeSys杞欢鏁欑▼涓嬭浇,CoDeSys宸ユ帶璧勮闂ㄦ埛

閰峰痉缃

HSC6490-cn涓浗鍒堕狅紝涓浗鑺瘇
鎼滅储闄勪欢  
閰峰痉缃 闄勪欢涓績 CODESYS搴旂敤 杞﹁締宸ョ▼鑷姩鍖 鍐滄満瑁呭 鎷栨媺鏈烘帶鍒跺叧閿崗璁 ISO-11783 鍗忚瑙f瀽-5.png

鎷栨媺鏈烘帶鍒跺叧閿崗璁 ISO-11783 鍗忚瑙f瀽-5.png

 

鎷栨媺鏈烘帶鍒跺叧閿崗璁 ISO-11783 鍗忚瑙f瀽:
蹇熷紑濮

搴旂敤灞傚叧娉ㄧ殑涓昏鍐呭鏄浣曡鍐欐暟鎹紝瀵逛簬ISOBUS,璇诲啓鏁版嵁锛屽嵆鏄浣曟帶鍒惰溅杈嗗姩浣滃拰鑾峰彇杞﹁締淇℃伅銆
ISOBUS鐨勫疄鐜拌鍐欐暟鎹殑鏈哄埗鏄滄秷鎭濄備竴鍒囩殕涓烘秷鎭紙message锛夈備竴鑸殑锛屾瘡涓秷鎭殑鏍稿績涓轰竴涓弬鏁扮粍锛坧arameter group锛夛紝鍙傛暟缁勪富瑕佸垎涓哄嚑绫伙細鎸囦护绫汇佹暟鎹被鍜岃緟鍔╃被銆
鎸囦护绫伙細鍙互琚墽琛岋紝濡傛帶鍒跺紑鍏炽佹帶鍒惰浆鍚戙
鏁版嵁绫伙細鐢ㄦ潵璇诲彇鍜屽啓鍏ョ殑鍏抽敭鏁版嵁锛屽浼犳劅鍣ㄥ硷紝缁勪欢ID绛夈
杈呭姪绫伙細杈呭姪瀹屾垚璇锋眰鏁版嵁锛屽簲绛旀暟鎹佸箍鎾0鏄庛佸垎鍖呬紶杈撶鐞嗙瓑鍔熻兘銆
鍏蜂綋閫氳鐨勭粏鑺傝鍙傜収鍚庣画绔犺妭鐨勪粙缁嶃
娉細鏍囧噯鏂囨。灏嗗弬鏁扮粍鐨勭被鍨嬪畾涔変簡5绉嶏紙Command銆丷equest銆丅roadcast/Request銆丄cknowledgement鍜孏roup Function锛夈傝繖閲屼负浜嗕究浜庣悊瑙e垎涓3绫汇
鍗忚鍏抽敭瑕佺礌瀹氫箟

PDU
protocol data unit
涓涓畬鏁寸殑CAN鏁版嵁甯
PGN
Parameter group number
鐢盤DU涓畾涔夌殑DataPage銆丗ormat鍜孲pecific鍏卞悓鍐冲畾鐨勶紝鐢ㄤ互纭畾鍏蜂綋message 鐨勭绫汇
Message
鐢辩浉鍚孭GN缁勬垚鐨勪竴涓垨澶氫釜CAN鏁版嵁甯
Packet
缁勬垚multi-packet message 鐨勫崟涓狢AN鏁版嵁甯
multi-packet message
褰撳崟涓狢AN鏁版嵁甯т笉鑳藉畬鏁翠紶杈撳畬Message鐨勫叏閮ㄦ暟鎹椂锛岄噰鐢ㄥ涓惈鐩稿悓PGN鐨凜AN鏁版嵁瀹屾垚鏁版嵁浼犺緭銆
SA
Source Address
瀹氫箟娑堟伅浠庡摢閲屽彂閫
DA
Destination Address
瀹氫箟娑堟伅鍙戦佸埌鍝噷
姒傝堪

ISOBUS鍗忚鏄熀浜嶤AN2.0B鍗忚鐨勪竴涓嫇灞曘傚抚缁撴瀯濡傛墍绀恒


PDU缁撴瀯

PDU鐢变竷閮ㄥ垎缁勬垚PRIO锛孯eserved锛孌P锛孭F锛孭S锛孲A锛孌ata锛
娑堟伅閫氳

娑堟伅锛圡essage锛夋槸ISOBUS瀹氫箟鐨勪竴绉嶅湪CAN鏁版嵁甯у熀纭涓婏紝鏇撮珮灞傜殑鏁版嵁閾捐矾灞傞氳鏁版嵁缁撴瀯銆傛秷鎭敮鎸佷紶杈撻珮杈1785锛255鍖*7瀛楄妭姣忓寘锛変釜瀛楄妭鐨勫簲鐢ㄧ▼搴忔暟鎹
鐢变簬CAN鏁版嵁甯ф瘡涓甯ф渶澶т紶杈撶殑鏁版嵁閲忎负8涓瓧鑺傦紝杩滆繙涓嶈兘婊¤冻娑堟伅瀹氫箟鐨勬渶澶т紶杈撳閲忥紝鎵浠SOBUS鍗忚浣跨敤澶氫釜CAN鏁版嵁甯у垎娆″彂閫佺殑鏂规硶锛岄愭瀹屾垚鍏ㄩ儴搴旂敤灞傛暟鎹殑浼犺緭銆
闇瑕佺壒鍒敞鎰忕殑鏄紝鍙戦佹媶鍒嗙殑鏁版嵁鍖呯殑杩囩▼涓紝鏈夊彲鑳戒細鏈夊叾浠朓SOBUS璁惧鍙戦佺浉鍚岀殑娑堟伅甯э紝涓轰簡閬垮厤鏁版嵁甯ч伃鍒版彃鍏ラ犳垚鏁版嵁鐮村潖锛屾帴鏀剁蹇呴』瑕佽兘璇嗗埆涓嶅悓鍙戦佺鍙戦佺殑Messsage鍖咃紝骞跺垎鍒悎骞舵垚姝g‘鐨凪essage銆
娑堟伅鐨勭被鍨

娑堟伅绫诲瀷鏈5澶х被
绫诲瀷
鑻辨枃鍚
PGN
鎸囦护
Command
璇锋眰
Request
59904
骞挎挱/ 鍝嶅簲
Broadcast/Response
搴旂瓟
Acknowledge
59392
ACK鍜孨ACK
缁勫姛鑳
Group Funtion
搴旂瓟绫绘秷鎭

搴旂瓟绫绘秷鎭垎涓虹Н鏋佸簲绛擜CK锛圥ositive Acknowledge锛夊拰娑堟瀬搴旂瓟NACK锛坣egative Acknowledge锛夈
鍙傛暟缁

ISOBUS 涓昏閫氳繃PDU涓殑DP锛孭F鍜孭S杩3涓煙鏉ュ畾涔夋秷鎭殑绫诲瀷锛屽苟涓斾负浜嗘柟渚挎弿杩帮紝鍙堝皢杩欎笁涓煙鍚堢О涓篜GN銆
ISOBUS瑙勫畾锛屾牴鎹甈F鐨勪笉鍚岋紝PS鐨勫惈涔夋湁2绉嶏紝
PF
PS
0~239
鐩爣鍦板潃
240~255
鎷撳睍鍙傛暟
鐢辨锛屽綋PF鍊间负0锝239鏃讹紝绉颁箣涓篜DU1,鐢辨PGN濡備笅瀹氫箟
PGN
鏈楂樹綅
鏈浣庝綅
DP
PF
0
褰揚F鍊间负240锝255鏃讹紝姝ゆ椂鐨凱DU绉颁负PDU2锛孭GN濡備笅瀹氫箟
PGN
鏈楂樹綅
鏈浣庝綅
DP
PF
PS
浼犺緭鍗忚鍔熻兘

澶ч噺鏁版嵁鍒嗗寘浼犺緭

褰撴湁澶ч噺鏁版嵁鏋勬垚鐨勬秷鎭渶瑕佷紶杈撶殑鏃跺欙紝鏍囧噯鐨凜AN甯у凡缁忎笉鑳芥弧瓒充紶杈撻渶姹傘侷SO11738瀹氫箟浜嗕竴绉嶅垎鍖呭彂閫佸ぇ閲忔暟鎹殑鏈哄埗鈥斺斿鍖呮秷鎭紙multi-packet message锛.
姣忎釜鍖呯殑缁撴瀯濡備笅
CAN 甯х殑鏁版嵁鍩
瀛楄妭
byte1
byte2-byte8
鍐呭
鍖呭簭鍙
7涓瓧鑺傜殑鏁版嵁鍧
    鍖呭簭鍙蜂粠1寮濮嬪埌255涓烘锛岀敤鏉ユ爣璇嗗涓寘锛屾柟渚挎帴鏀剁鍚堝苟鍖呫傚箍鎾ā寮忓彂閫佸寘锛屼袱鍖呬箣闂寸殑寤舵椂瑕佸湪50ms~200ms涔嬮棿銆傞潪骞挎挱妯″紡鍙戦佸寘锛屼袱鍖呬箣闂寸殑鍙戦佸欢鏃惰灏忎簬200ms銆傛瘡涓鍖呯殑DLC鍊奸兘鍥哄畾  涓8锛屽嵆浣挎墍闇瑕佷紶杈撶殑鏁版嵁涓嶈冻8涓紝涔熷簲灏嗘湭鐢ㄥ埌鐨勬暟鎹缃负0xFF銆
杩炴帴绠$悊

鍒濆鍖栬繛鎺

璇锋眰绔彂閫丷equest to Send 锛圱P.CM_RTS锛夋秷鎭紝姝ゆ秷鎭腑鍖呭惈浜嗘帴涓嬫潵浼犺緭鏁版嵁鐨勬诲ぇ灏忋傜洰鏍囨帴鍙楄繛鎺ヨ姹傞渶瑕佸洖搴擟lear to Send(TP.CM_CTS) 娑堟伅锛岀洰鏍囪嫢涓嶆帴鍙楄繛鎺ヨ姹傞渶瑕佸洖搴擟onnection Abort(TP.CM_CA)娑堟伅銆
浼犺緭鏁版嵁

璇锋眰浼犺緭鏁版嵁绔湪鏀跺埌Clear to Send(TP.CM_CTS) 娑堟伅鍚庯紝寮濮婦ata Transfer(TP.DT)娴佺▼.娴佹帶鍒剁敱鎺ユ敹绔礋璐o紝褰撳彂閫佺浼犺緭杩囧揩锛屾帴鏀剁鍙兘鏉ヤ笉鍙婂鐞嗘帴鏀剁殑鏁版嵁鏃讹紝鎺ユ敹绔氳繃鍙戦丆lear to Send锛圱P.CM_CTS锛夋秷鎭紝骞跺皢璇ユ秷鎭殑
缁撴潫杩炴帴

鎺ユ敹绔帴鏀跺畬鏈鍚庝竴涓寘鍚庯紝鍥炲彂涓涓粨鏉熻繛鎺ユ秷鎭痚nd-of-message ack锛岀敤浠ラ氱煡浼犺緭瀹屾垚锛岄噴鏀捐繛鎺ャ
褰撲紶杈撳嚭鐜板紓甯告椂锛屽彂閫佺璐熻矗涓杩炴帴閫氳繃鍙戦丆onnection Abort娑堟伅鏉ュ畬鎴愩傞渶瑕佹敞鎰忕殑鏃讹紝鎺ユ敹绔棤鏉冧腑姝㈣繛鎺ャ
濡傚浘 1姝e父浼犺緭娴佺▼锛屼竴鑸彲瀵艰嚧涓杩炴帴鐨勬儏鍐靛涓嬪嚑绉嶏細
    T1锛屽湪浼犺緭瀹屾暟鎹箣鍓嶏紝涓ゅ寘鏁版嵁涔嬮棿鐨勬椂闂撮棿闅旇秴杩囦簡250ms銆俆2锛屽彂鍑篊lear to Send(TP.CM_CTS) 娑堟伅鍒版帴鏀跺埌鏁版嵁鍖呯殑鏃堕棿闂撮殧瓒呰繃1250ms銆俆3锛屼袱娆lear to Send(TP.CM_CTS) 娑堟伅闂撮殧瓒呰繃1250ms銆俆4锛屽彂鍑篊lear to Send(TP.CM_CTS) 娑堟伅鐢ㄤ互鏆傚仠鏁版嵁浼犺緭鍒颁笅涓涓狢lear to Send(TP.CM_CTS) 娑堟伅涔嬮棿鐨勬椂闂撮棿闅旇秴杩550ms銆
娑堟伅瀹氫箟

杩炴帴绠$悊

鍙傛暟缁勫悕锛欳onnection Management 杩炴帴绠$悊
PGN瀹氫箟锛
PGN
DLC
DP
PF
PS
0
236
鐩爣鍦板潃
8
60416
鏁版嵁鍙戦佽姹Request To Send (TP.CM_RTS)

Data Field
1
2
3
4
5
6
7
8
鎺у埗瀛楋細16
鎬诲瓧鑺傛暟
鎬诲寘鏁
淇濈暀锛
0xFF
鎵浼犺緭鍐呭鐨凱GN
鏁版嵁杩囩▼绠$悊Clear To Send (TP.CM_CTS)

Data Field
1
2
3
4
5
6
7
8
鎺у埗瀛楋細17
鍙戦佸寘鏁
涓嬩竴鍖呭簭鍙
淇濈暀锛
0xFF
淇濈暀锛
0xFF
鎵浼犺緭鍐呭鐨凱GN
缁撴潫娑堟伅浼犺緭End of Message Acknowledgement (TP.CM_EndofMsgACK)

Data Field
1
2
3
4
5
6
7
8
鎺у埗瀛楋細19
鎬诲瓧鑺傛暟
鎬诲寘鏁
淇濈暀锛
0xFF
鎵浼犺緭鍐呭鐨凱GN
缁堟杩炴帴Connection Abort (TP.Conn_Abort)

Data Field
1
2
3
4
5
6
7
8
鎺у埗瀛楋細255
淇濈暀锛
0xFF
淇濈暀锛
0xFF
淇濈暀锛
0xFF
淇濈暀锛
0xFF
鎵浼犺緭鍐呭鐨凱GN
骞挎挱鍙戦Broadcast Announce Message (TP.CM_BAM)

Data Field
1
2
3
4
5
6
7
8
鎺у埗瀛楋細32
鎬诲瓧鑺傛暟
鎬诲寘鏁
淇濈暀锛
0xFF
鎵浼犺緭鍐呭鐨凱GN
鏁版嵁浼犺緭DataTransfer

鍙傛暟缁勫悕锛欴ata Transfer鏁版嵁浼犺緭锛圱P.DT锛
PGN瀹氫箟锛
PGN
DLC
DP
PF
PS
0
235
鐩爣鍦板潃
8
60160
Data Field
1
2
3
4
5
6
7
8
鍖呭簭鍙
浼犺緭鐨勬暟鎹唴瀹
璇锋眰Request

PGN
DLC
DP
PF
PS
0
234
鐩爣鍦板潃
锛堝箍鎾255锛
3
60160
Data Field
1
2
3
璇锋眰鍐呭鐨凱GN
娉細鐢变簬鏈変簺璇锋眰鐨勬暟鎹彲鑳借秴杩8瀛楄妭锛屽浜庤秴杩8瀛楄妭瀹归噺鐨勬暟鎹紝灏嗕細鍒嗗涓寘搴旂瓟鍥炴潵銆
鍝嶅簲璇锋眰

搴旂瓟Acknowledgement

PGN瀹氫箟锛
PGN
DLC
DP
PF
PS
0
232
鐩爣鍦板潃
锛堝箍鎾255锛
8
59392
Data Field
1
2
3
4
5
6
7
8
ACK锛0
NACK锛1
淇濈暀锛
0xFF
璇锋眰鐨凱GN
閫氳鍦烘櫙

鐐瑰鐐归氳

鍙戦佺鍙戣捣渚濇浼犺緭缁勪欢ID鐨勬暟鎹氳娴佺▼濡備笅鍥炬墍绀恒


1姝e父浼犺緭娴佺▼
骞挎挱閫氳

骞挎挱閫氳涓嶅悓浜庣偣瀵圭偣鐨勯氳妯″紡锛屽箍鎾氳姣忎竴鍖呯殑鍙戦侀棿闅斾负50ms鍒200ms涔嬮棿锛岃秴杩囨垨灏戜簬鍧囦細浜х敓閿欒銆傛帴鏀跺箍鎾暟鎹棤闇杩涜搴旂瓟锛屼篃涓嶈兘杩涜娴侀噺鎺у埗銆


璇锋眰鏁版嵁

褰撻渶瑕佽幏鍙栨寚瀹氭暟鎹椂锛岃姹傜闇瑕佸悜搴旂瓟绔彂閫佽姹傛暟鎹秷鎭傚簲绛旂浼氭牴鎹姹傜殑鍐呭閫夋嫨搴旂瓟鎵璇锋眰鐨勬暟鎹紝濡傚浘 2 璇锋眰-搴旂瓟鎵绀虹殑鍐呭锛屾垨鍋氬嚭NACK鐨勫洖搴旓紝濡傚浘 3 璇锋眰-涓嶅簲绛旀墍绀虹殑娴佺▼銆


2璇锋眰-搴旂瓟


3璇锋眰-涓嶅簲绛
骞挎挱鏁版嵁

鍦ㄦ煇浜涘簲鐢ㄥ満鏅腑锛屼竴鍙版槸琚渶瑕佷笉鏂悜鎬荤嚎涓婂箍鎾暟鎹紝閫氳娴佺▼濡傚浘 4 骞挎挱鏁版嵁鎵绀恒


4骞挎挱鏁版嵁
鍥為鎸囦护锛Command锛夌殑杩愯缁撴灉

涓轰簡鎵ц鏌愪簺鐗瑰畾鍔ㄤ綔锛屾瘮濡傛帶鍒惰疆瀛愯浆鍚戯紝鎵ц绔繀椤荤粰鍑烘煇浜涘弽棣堬紝杩欎簺鍙嶉鍙互鏄疉CK锛屽綋鍔ㄤ綔鎵ц鎴愬姛鎴栧畬鎴愶紱涔熷彲浠ュ弽棣圢ACK锛屾彁閱掓寚浠ゆ墽琛屽け璐ワ紝鎴栫洿鎺ラ氳繃璇诲彇鏌愪簺鏁版嵁鏉ヨ嚜琛屽垽鏂寚浠ょ殑鎵ц鐘跺喌銆
甯歌闂姹囨

Q锛氭湰鍗忚鏄惁鏀寔瓒呰繃8瀛楄妭鐨勬暟鎹紶杈擄紵
A锛氶氳繃鏁版嵁浼犺緭鍗忚鏀寔鍗曟鏈楂樹紶杈1785瀛楄妭搴旂敤灞傛暟鎹
Q:浠涔堟槸PDU锛
A锛歅DU鏄疘SOBUS 閫氳鐨勫熀鏈崟鍏冿紝鏄CAN甯х殑鍏蜂綋瀹氫箟銆備竴涓猚an甯ф湁涓斿彧鏈変竴涓狿DU銆
鎷栨媺鏈烘帶鍒跺叧閿崗璁  ISO-11783 鍗忚瑙f瀽-5.png
         鍚屼竴涓婚闄勪欢:
    鎷栨媺鏈烘帶鍒跺叧閿崗璁  ISO-11783 鍗忚瑙f瀽-1.png
    鎷栨媺鏈烘帶鍒跺叧閿崗璁  ISO-11783 鍗忚瑙f瀽-2.png
    鎷栨媺鏈烘帶鍒跺叧閿崗璁  ISO-11783 鍗忚瑙f瀽-3.png
    鎷栨媺鏈烘帶鍒跺叧閿崗璁  ISO-11783 鍗忚瑙f瀽-4.png
    鎷栨媺鏈烘帶鍒跺叧閿崗璁  ISO-11783 鍗忚瑙f瀽-5.png
    鎷栨媺鏈烘帶鍒跺叧閿崗璁  ISO-11783 鍗忚瑙f瀽-6.png
椤堕儴qrcode搴曢儴
鍏虫敞閰峰痉缃戣闃呭彿锛岃幏鍙栨洿澶氳祫璁紒

QQ|灏忛粦灞|鎵嬫満鐗|Archiver|閰峰痉璁哄潧 ( 鑻廔CP澶16065247鍙-1 )|缃戠珯鍦板浘

GMT+8, 2024-11-23 17:16 , Processed in 0.365674 second(s), 23 queries .

閰峰痉缃

© 2001-2013 Hicodesys. 鎶鏈敮鎸 by 閰峰痉缃

杩斿洖椤堕儴