«n¾ì ¹q¤l³ø 307 | ¥X¥Z¤é´Á | 2017.05.08 |
|
¨Ï¥Î¤H¾÷Ū¨úMODBUS
RTU¸ê®Æ¥H AMENS¤H¾÷¬°¨Ò |
²¤¶: ¦b¦¹¥H Modbus RTU ¬°¨Ò¡F³q±`nŪ¨ú¸ê®Æ©Î¼g¤J¸ê®Æ³£n¥H¥Î°e½X¤è¦¡¨Ó¹F¦¨ ¸Ô²Ó¦¬°e½X¤è¦¡¡A½Ð°Ñ·Ó 177 ´Á¹q¤l³ø |
¥HŪ¨ú½X¬°¨Ò: °e½X 01,03,00,00,00,01,84,0A 01 ªí¥Ü MODBUS ¯¸¸¹ 03 ªí¥ÜŪ¨ú MODBUS ¸ê®Æ 00,00 ªí¥Ü MODBUS ¦ì§} 00,01 ªí¥Ü MODBUS ªø«×(WORD¼Æ) 84,0A ªí¥Ü MODBUS CRCÀˬd½X ¥H¤W³£¬O 16 ¶i¨î§e²{ |
Modbus Æ[©À(¨Ì¤£¦Pfun code·|¦³¤£¦PModbus¦ì§}) ¦ì¸m 0000 ¬°°_©l¦ì§} ¨Ì¤£¦P fun code ªº°_©l¦ì¸m¤]·|¸òµÛ¤£¦P |
¥Hªí®æ§e²{ WORD »P BIT ªºÅª¨ú»P¼g¤J ¨ä¤¤¡A¬õ¦â³¡¤À¬O¦r¦ê§e²{»P¤H¾÷MODBUS¦ì§}§e²{ ¥H¤U§e²{³£¬O16¶i¨î 1. ·í¤£¦Pªº FUNTION CODE ·|¨Ï¤H¾÷MODBUS¦a§}¤£¦P 2. WORDªºFUNCTION CODE ¦³ 03(Ū¨ú)/06 (³æµ§¼g¤J)/10(¦hµ§¼g¤J)¡F¤H¾÷°_©l¦ì§}40001 3. WORDªºFUNCTION CODE ¦³ 04(°ßŪ)¡F¤H¾÷°_©l¦ì§}30001 4. BIT ªº FUNCTION CODE ¦³ 01(½u°éŪ¨ú)/05(½u°é³æµ§¼g¤J)/0F(½u°é¦hµ§¼g¤J)¡F¤H¾÷°_©l¦ì§} 1 5. BIT ªº FUNCTION CODE ¦³ 02(Ū¨úBIT¿é¤Jª¬ºA)¡F¤H¾÷°_©l¦ì§} 10001 |
Á|¨Ò¡G Y MODBUS RTU ªº¦ì§}¬O 1000(16¶i¨î)¡A·í FUN CODE ¤£¦P®É¡A¤H¾÷¹ïÀ³ªº¦ì§}¤]·|¤£¦P ·í FUN CODE ¬° 03/06®É¡AMODBUS RTUªº¤H¾÷¦ì§}¬°1000(16¶i¨î)¥ýÂন 10 ¶i¨î¡A§Y 4096¡F ¦A¥[¤W°_©l¦ì§} 40001¡A©Ò¥H FUN CODE(03/06/10)ªº¤H¾÷ MODBUS RTU ¦ìȬ° 44097¡F ¨ä¤¤ 40001 ¬°¸Ó fun code(03/06/10)ªº°_©l¦ì§} |
ª¾¹D¤H¾÷¦ì§}«á¡A´N¥i¥H²³æ¦a³]Ȩì¤H¾÷¤º |
¥ý¶}±Ò¤H¾÷³nÅé |
|
±M®×¦WºÙ: MODBUS RTU
±M®×_MASTER ¦ì¸m¡G¦sÀɧ¹¾ã¸ô®|(¥i¨ÌÓ¤H»Ý¨D³]©w) |
À³¥Î¦WºÙ: MODBUS RTU ±M®×_MASTER
¤H¾÷«¬¸¹¡G¦b¦¹¥H 7"¤HÃÕ¬°¨Ò |
|
³s½uºØÃþ:ª½±µ³s½u(¦ê¤f)
¸Ë¸m/¦øªA¾¹: ¦]¬°n·íMaster©Ò¥HDriver¿ï(¹ï¤è¬OSlave) |
|
³]©w¶Ç¿é°Ñ¼Æ(¶·»Pn§ì¨úªº³]³Æ¬Û¦P)
³t²v / ¼Æ¾Ú¦ì¼Æ / ®ÕÅç / µ²§ô¦ì¼Æ |
|
³W¹º«á«áµe± ³W¹º ¼ÆÈ¿é¤J¡G 44097(¤H¾÷¦ì§})=0000H(MODBUS¦ì§}) ¼ÆÈÅã¥Ü¡G 34097(¤H¾÷¦ì§})=0000H(MODBUS¦ì§}) ¦ì±µÂI¡G 4097(¤H¾÷¦ì§})=0000H(MODBUS¦ì§}) «ü¥Ü¿O¡G 14097(¤H¾÷¦ì§})=0000H(MODBUS¦ì§}) ÁöµM MODBUS ¦ì§}¬Û¦P¡A¦ý¬O©Ò§ì¨úªº¸ê®ÆÃþ«¬¤£¦P¡A©Ò¹ïÀ³ªº¤H¾÷¦ì§}´N¤£¦P ¨ä¤¤¡A¸ê®ÆÃþ«¬¥ÑFUN CODE¨M©w |
|
FUNCTION CODE¡G01(½u°éŪ¨ú) FUNCTION CODE¡G05(½u°é³æµ§¼g¤J) FUNCTION CODE¡G0F(½u°é¦hµ§¼g¤J) ·í modbus ¦ì§} ¬°(0000H)„» ¤H¾÷°_©l¦ì§}1 ½d³ò¡G0001~9999 |
|
¤H¾÷§ì¨úmodbus RTU¦a§}½d³ò(BIT)
FUNCTION CODE¡G02(Ū¨ú¨úBIT¿é¤Jª¬ºA) |
|