«n¾ì ¹q¤l³ø 307 ¥X¥Z¤é´Á | 2017.05.08

¨Ï¥Î¤H¾÷Ū¨úMODBUS RTU¸ê®Æ¥H AMENS¤H¾÷¬°¨Ò

ÀHµÛ¤u±±»â°ìªºµo®i¡A³q°T¬O¤£¥i©Î¯Êªº¤@Àô¡A¦Ó Modbus ³q°T¤S¬O¨ä¤¤ªºË³Ë³ªÌ¡A«Ü¦h±±¨î¾¹¡B¿öÀY¡B³]³Æ³£¬O¨« Modbus ³q°T¡A¨º­n¦p¦ó¥Î¤H¾÷»P Modbus ³]³Æ·¾³q¡H¦b¦¹¶¡³æ°µ­Ó¤¶²Ð¡G


²¤¶:
¦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ÃÕ¬°¨Ò
(¥i¨Ì­Ó¤H»Ý¨D³]©w)

³s½uºØÃþ:ª½±µ³s½u(¦ê¤f)

¸Ë¸m/¦øªA¾¹:
Modicon Corp. / Modicon 984 Device/Slave (RTU)

¦]¬°­n·íMaster©Ò¥HDriver¿ï(¹ï¤è¬OSlave)
¬G¿ïModicon 984 Device/Slave (RTU)

³]©w¶Ç¿é°Ñ¼Æ(¶·»P­n§ì¨úªº³]³Æ¬Û¦P)

³t²v / ¼Æ¾Ú¦ì¼Æ / ®ÕÅç / µ²§ô¦ì¼Æ
»Ý»P§Aªº Modbus RTU ³]³Æ¤@­P

³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)
·í modbus ¦ì§}¬°(0000H)„»
¤H¾÷°_©l¦ì§}10001
½d³ò¡G10001~19999



  • ±ý­q¾\©Î¨ú®ø«n¾ì¹q¤l³ø http://cht.nahua.com.tw/epaper/
  • Ãö©ó¹q¤l³øµo°e¦³¥ô¦óºÃ°Ý¡A½Ð³sµ¸ epaper@nahua.com.tw
  • ¹q¤l³øª©Åv©Ò¦³¡AÂà¸ü¥²¨s¡A±ýÂà¸ü½ÐÁpµ¸ mail@nahua.com.tw