
M100+ÍØÕ¹»úµãλ¶Áд˵Ã÷ʾÀý
1¡¢DI¶ÁÈ¡
¼Ä´æÆ÷²ÎÊý£ºIOÍØÕ¹»úµÄDIµÄ¼Ä´æÆ÷µØÖ·°´ÕÕ˳ÐòÒÀ´Î˳ÑÓ£¬±ÈÈçÍØÕ¹»úµÄµÚÒ»¸öDI¼Ä´æÆ÷µØַΪ10003(0x0002)
¶Á£¨²É¼¯£©
µãλÃû³Æ | ½ÓÈëλÖà | ¼Ä´æÆ÷µØÖ· | ¹¦ÄÜÂë | ĬÈÏ״̬ |
DI1 | Ö÷»ú | 10001£¨0x0000£© | 0x02 | 0 |
DI2 | Ö÷»ú | 10002£¨0x0001£© | 0x02 | 0 |
DI3 | IOÍØÕ¹»ú | 10003£¨0x0002£© | 0x02 | 0 |
DI4 | IOÍØÕ¹»ú | 10004£¨0x0003£© | 0x02 | 0 |
... | IOÍØÕ¹»ú | ... | 0x02 | 0 |
DI ¼ì²â£º
͸´«Ä£Ê½Ï£¬Í¨¹ýÍøÂçÏòM100·¢ËÍModbusÖ¸Áî¿ÉÒÔ¶ÁÈ¡DI״̬£¬Ò²¿ÉÒÔͨ¹ýÍøÒ³µ÷ÊÔ½çÃæ»ñÈ¡DI״̬¡£
±ßÔµ¼ÆËãģʽÏ£¬Í¨¹ýÊý¾Ý¶ÁдµãλÀ´ÊµÏÖDIµÄ¼ì²â¡£
DI ״̬ĬÈÏΪ0£¬ÊäÈëÓÐЧÐźÅÖ®ºó״̬Ϊ1¡£Í¨¹ýModbusÐÒé02¹¦ÄÜÂë½øÐжÁÈ¡£¬DI״̬°´Î»½øÐлظ´£¬ÀýÈç»Ø¸´×´Ì¬0x01£¬ »»Ëã¶þ½øÖÆ£º00000001£¬Ôò±íʾDI1ÓÐЧÊäÈ룬DI2ÎÞЧÊý¾Ý¡£
²Ù×÷ | ʾÀý |
DI1״̬²éѯ£¨modbus TCP£© | ²éѯ£º00 00 00 00 00 06 64 02 00 00 00 01 ÏìÓ¦£¨±ÕºÏ£©£º00 00 00 00 00 04 64 02 01 01 ÏìÓ¦£¨¶Ï¿ª£©£º00 00 00 00 00 04 64 02 01 00 |
DI1״̬²éѯ£¨modbus RTU£© | ²éѯ£º64 02 00 00 00 01 B0 3F ÏìÓ¦£¨±ÕºÏ£©£º64 02 01 01 7E 84 ÏìÓ¦£¨¶Ï¿ª£©£º64 02 01 00 BF 44 |
DI2״̬²éѯ£¨modbus TCP£© | ²éѯ£º00 00 00 00 00 06 64 02 00 01 00 01 ÏìÓ¦£¨±ÕºÏ£©£º00 00 00 00 00 04 64 02 01 01 ÏìÓ¦£¨¶Ï¿ª£©£º00 00 00 00 00 04 64 02 01 00 |
DI2״̬²éѯ£¨modbus RTU£© | ²éѯ£º64 02 00 01 00 01 E1 FF ÏìÓ¦£¨±ÕºÏ£©£º64 02 01 01 7E 84 ÏìÓ¦£¨¶Ï¿ª£©£º64 02 01 00 BF 44 |
DI1~DI2״̬²éѯ£¨modbus TCP£© | ²éѯ£º00 00 00 00 00 06 64 02 00 00 00 02 ÏìÓ¦£º00 00 00 00 00 04 64 02 01 03 ״ֵ̬03£¬»»Ëã¶þ½øÖÆ0000 0011£¬DI1±ÕºÏ£¬DI2±ÕºÏ ÏìÓ¦£º00 00 00 00 00 04 64 02 01 01 ״ֵ̬01£¬»»Ëã¶þ½øÖÆ0000 0001£¬DI1±ÕºÏ£¬DI2¶Ï¿ª ÏìÓ¦£º00 00 00 00 00 04 64 02 01 02 ״ֵ̬02£¬»»Ëã¶þ½øÖÆ0000 0010£¬DI1¶Ï¿ª£¬DI2±ÕºÏ ÏìÓ¦£º00 00 00 00 00 04 64 02 01 00 ״ֵ̬00£¬»»Ëã¶þ½øÖÆ0000 0000£¬DI1¶Ï¿ª£¬DI2¶Ï¿ª |
DI1~DI2״̬²éѯ£¨modbus RTU£© | ²éѯ£º64 02 00 00 00 02 F0 3E ÏìÓ¦£º64 02 01 03 FF 45 ״ֵ̬03£¬»»Ëã¶þ½øÖÆ0000 0011£¬DI1±ÕºÏ£¬DI2±ÕºÏ ÏìÓ¦£º64 02 01 01 7E 84 ״ֵ̬01£¬»»Ëã¶þ½øÖÆ0000 0001£¬DI1±ÕºÏ£¬DI2¶Ï¿ª ÏìÓ¦£º64 02 01 02 3E 85 ״ֵ̬02£¬»»Ëã¶þ½øÖÆ0000 0010£¬DI1¶Ï¿ª£¬DI2±ÕºÏ ÏìÓ¦£º64 02 01 00 BF 44 ״ֵ̬00£¬»»Ëã¶þ½øÖÆ0000 0000£¬DI1¶Ï¿ª£¬DI2¶Ï¿ª |
DI3״̬²éѯ£¨modbus TCP£© | ²éѯ£º00 00 00 00 00 06 64 02 00 02 00 01 ÏìÓ¦£¨±ÕºÏ£©£º00 00 00 00 00 04 64 02 01 01 ÏìÓ¦£¨¶Ï¿ª£©£º00 00 00 00 00 04 64 02 01 00 |
DI3״̬²éѯ£¨modbus RTU£© | ²éѯ£º64 02 00 02 00 01 11 FF ÏìÓ¦£¨±ÕºÏ£©£º64 02 01 01 7E 84 ÏìÓ¦£¨¶Ï¿ª£©£º64 02 01 00 BF 44 |
DI4״̬²éѯ£¨modbus TCP£© | ²éѯ£º00 00 00 00 00 06 64 02 00 03 00 01 ÏìÓ¦£¨±ÕºÏ£©£º00 00 00 00 00 04 64 02 01 01 ÏìÓ¦£¨¶Ï¿ª£©£º00 00 00 00 00 04 64 02 01 00 |
DI4״̬²éѯ£¨modbus RTU£© | ²éѯ£º64 02 00 03 00 01 40 3F ÏìÓ¦£¨±ÕºÏ£©£º64 02 01 01 7E 84 ÏìÓ¦£¨¶Ï¿ª£©£º64 02 01 00 BF 44 |
2¡¢DO¶Áд
¼Ä´æÆ÷²ÎÊý£ºIOÍØÕ¹»úµÄDOµÄ¼Ä´æÆ÷µØÖ·°´ÕÕ˳ÐòÒÀ´Î˳ÑÓ£¬±ÈÈçÍØÕ¹»úµÄµÚÒ»¸öDO¼Ä´æÆ÷µØַΪ00003(0x0002)¡£
µãλÃû³Æ | ½ÓÈëλÖà | ¼Ä´æÆ÷µØÖ· | ¹¦ÄÜÂë | ĬÈÏ״̬ |
DO1 | Ö÷»ú | 00001£¨0x0000£© | 0x01,0x05,0x0F | ¶Ï¿ª(NO) |
DO2 | Ö÷»ú | 00002£¨0x0001£© | 0x01,0x05,0x0F | ¶Ï¿ª(NO) |
DO3 | IOÍØÕ¹»ú | 00003£¨0x0002£© | 0x01,0x05,0x0F | ¶Ï¿ª |
DO4 | IOÍØÕ¹»ú | 00004£¨0x0003£© | 0x01,0x05,0x0F | ¶Ï¿ª |
... | IOÍØÕ¹»ú | ... | 0x01,0x05,0x0F | ¶Ï¿ª |
DO¿ØÖÆ£º
͸´«Ä£Ê½Ï£¬Í¨¹ýÍøÂçÏòM100·¢ËÍModbusÃüÁ¼´¿É¶ÁÈ¡DO״̬£¬Í¬Ê±Ò²¿ÉÒÔͨ¹ýÍøÒ³µ÷ÊÔ½çÃæÀ´ÊµÏÖ¿ØÖÆ¡£
±ßÔµ¼ÆËãģʽÏ£¬Í¨¹ýÊý¾Ý¶Áд·½Ê½¶ÔDO½øÐпØÖƺͲɼ¯¡£
DOĬÈÏ״̬ΪNO¶Ï¿ª£¬¿ÉÒÔͨ¹ýModbusÃüÁîÂë01¶ÁÈ¡DO״̬£¬Í¨¹ý05»ò0F¹¦ÄÜÂë¶ÔDO½øÐпØÖÆÊä³ö¡£ DO״̬²éѯ¾ù°´Î»½øÐлظ´£¬ÀýÈç»Ø¸´×´Ì¬Îª0x02£¬Ôò»»Ëã¶þ½øÖÆΪ00000010£¬Ôò±íʾDO1ΪNO±ÕºÏ£¬DO2ΪNO¶Ï¿ª¡£
²Ù×÷ | ʾÀý |
DO1״̬²éѯ£¨modbus TCP£© | ²éѯ£º00 00 00 00 00 06 64 01 00 00 00 01 ÏìÓ¦£¨±ÕºÏ£©£º00 00 00 00 00 04 64 01 01 01 ÏìÓ¦£¨¶Ï¿ª£©£º00 00 00 00 00 04 64 01 01 00 |
DO1״̬²éѯ£¨modbus RTU£© | ²éѯ£º64 01 00 00 00 01 F4 3F ÏìÓ¦£¨±ÕºÏ£©£º64 01 01 01 8E 84 ÏìÓ¦£¨¶Ï¿ª£©£º64 01 01 00 4F 44 |
DO1 NO±ÕºÏ¿ØÖÆ£¨modbus TCP£© | ¿ØÖÆ£º00 00 00 00 00 06 64 05 00 00 FF 00 ÏìÓ¦£º00 00 00 00 00 06 64 05 00 00 FF 00 |
DO1 NO±ÕºÏ¿ØÖÆ£¨modbus RTU£© | ¿ØÖÆ£º64 05 00 00 FF 00 85 CF ÏìÓ¦£º64 05 00 00 FF 00 85 CF |
DO1 NO¶Ï¿ª¿ØÖÆ£¨modbus TCP£© | ¿ØÖÆ£º00 00 00 00 00 06 64 05 00 00 00 00 ÏìÓ¦£º00 00 00 00 00 06 64 05 00 00 00 00 |
DO1 NO¶Ï¿ª¿ØÖÆ£¨modbus RTU£© | ¿ØÖÆ£º64 05 00 00 00 00 C4 3F ÏìÓ¦£º64 05 00 00 00 00 C4 3F |
DO2״̬²éѯ£¨modbus TCP£© | ²éѯ£º00 00 00 00 00 06 64 01 00 01 00 01 ÏìÓ¦£¨±ÕºÏ£©£º00 00 00 00 00 04 64 01 01 01 ÏìÓ¦£¨¶Ï¿ª£©£º00 00 00 00 00 04 64 01 01 00 |
DO2״̬²éѯ£¨modbus RTU£© | ²éѯ£º64 01 00 01 00 01 A5 FF ÏìÓ¦£¨±ÕºÏ£©£º64 01 01 01 8E 84 ÏìÓ¦£¨¶Ï¿ª£©£º64 01 01 00 4F 44 |
DO2 NO±ÕºÏ¿ØÖÆ£¨modbus TCP£© | ¿ØÖÆ£º00 00 00 00 00 06 64 05 00 01 FF 00 ÏìÓ¦£º00 00 00 00 00 06 64 05 00 01 FF 00 |
DO2 NO±ÕºÏ¿ØÖÆ£¨modbus RTU£© | ¿ØÖÆ£º64 05 00 01 FF 00 D4 0F ÏìÓ¦£º64 05 00 01 FF 00 D4 0F |
DO2 NO¶Ï¿ª¿ØÖÆ£¨modbus TCP£© | ¿ØÖÆ£º00 00 00 00 00 06 64 05 00 01 00 00 ÏìÓ¦£º00 00 00 00 00 06 64 05 00 01 00 00 |
DO2 NO¶Ï¿ª¿ØÖÆ£¨modbus RTU£© | ¿ØÖÆ£º64 05 00 01 00 00 95 FF ÏìÓ¦£º64 05 00 01 00 00 95 FF |
DO1~DO2״̬²éѯ£¨modbus TCP£© | ²éѯ£º00 00 00 00 00 06 64 01 00 00 00 02 ÏìÓ¦£º00 00 00 00 00 04 64 01 01 00 ״ֵ̬00£¬»»Ëã¶þ½øÖÆ0000 0000£¬DO1¶Ï¿ª£¬DO2¶Ï¿ª ÏìÓ¦£º00 00 00 00 00 04 64 01 01 01 ״ֵ̬01£¬»»Ëã¶þ½øÖÆ0000 0001£¬DO1±ÕºÏ£¬DO2¶Ï¿ª ÏìÓ¦£º00 00 00 00 00 04 64 01 01 02 ״ֵ̬02£¬»»Ëã¶þ½øÖÆ0000 0010£¬DO1¶Ï¿ª£¬DO2±ÕºÏ ÏìÓ¦£º00 00 00 00 00 04 64 01 01 03 ״ֵ̬03£¬»»Ëã¶þ½øÖÆ0000 0011£¬DO1±ÕºÏ£¬DO2±ÕºÏ |
DO1~DO2״̬²éѯ£¨modbus RTU£© | ²éѯ£º64 01 00 00 00 02 B4 3E ÏìÓ¦£º64 01 01 00 4F 44 ״ֵ̬00£¬»»Ëã¶þ½øÖÆ0000 0000£¬DO1¶Ï¿ª£¬DO2¶Ï¿ª ÏìÓ¦£º64 01 01 01 8E 84 ״ֵ̬01£¬»»Ëã¶þ½øÖÆ0000 0001£¬DO1±ÕºÏ£¬DO2¶Ï¿ª ÏìÓ¦£º64 01 01 02 CE 85 ״ֵ̬02£¬»»Ëã¶þ½øÖÆ0000 0010£¬DO1¶Ï¿ª£¬DO2±ÕºÏ ÏìÓ¦£º64 01 01 03 0F 45 ״ֵ̬03£¬»»Ëã¶þ½øÖÆ0000 0011£¬DO1±ÕºÏ£¬DO2±ÕºÏ |
DO1~DO2 NO¿ØÖÆ£¨modbus TCP£© | ¿ØÖÆ£¨DO1¶Ï¿ª£¬DO2¶Ï¿ª£©£º00 00 00 00 00 08 64 0F 00 00 00 02 01 00 ÏìÓ¦£º00 00 00 00 00 06 64 0F 00 00 00 02 ¿ØÖÆ£¨DO1±ÕºÏ£¬DO2¶Ï¿ª£©£º00 00 00 00 00 08 64 0F 00 00 00 02 01 01 ÏìÓ¦£º00 00 00 00 00 06 64 0F 00 00 00 02 ¿ØÖÆ£¨DO1¶Ï¿ª£¬DO2±ÕºÏ£©£º00 00 00 00 00 08 64 0F 00 00 00 02 01 02 ÏìÓ¦£º00 00 00 00 00 06 64 0F 00 00 00 02 ¿ØÖÆ£¨DO1±ÕºÏ£¬DO2±ÕºÏ£©£º00 00 00 00 00 08 64 0F 00 00 00 02 01 03 ÏìÓ¦£º00 00 00 00 00 06 64 0F 00 00 00 02 |
DO1~DO2 NO¿ØÖÆ£¨modbus RTU£© | ¿ØÖÆ£¨DO1¶Ï¿ª£¬DO2¶Ï¿ª£©£º64 0F 00 00 00 02 01 00 18 80 ÏìÓ¦£º64 0F 00 00 00 02 DD FF ¿ØÖÆ£¨DO1±ÕºÏ£¬DO2¶Ï¿ª£©£º64 0F 00 00 00 02 01 01 D9 40 ÏìÓ¦£º64 0F 00 00 00 02 DD FF ¿ØÖÆ£¨DO1¶Ï¿ª£¬DO2±ÕºÏ£©£º64 0F 00 00 00 02 01 02 99 41 ÏìÓ¦£º64 0F 00 00 00 02 DD FF ¿ØÖÆ£¨DO1±ÕºÏ£¬DO2±ÕºÏ£©£º64 0F 00 00 00 02 01 03 58 81 ÏìÓ¦£º64 0F 00 00 00 02 DD FF |
DO3״̬²éѯ£¨modbus TCP£© | ²éѯ£º00 00 00 00 00 06 64 01 00 02 00 01 ÏìÓ¦£¨±ÕºÏ£©£º00 00 00 00 00 04 64 01 01 01 ÏìÓ¦£¨¶Ï¿ª£©£º00 00 00 00 00 04 64 01 01 00 |
DO3״̬²éѯ£¨modbus RTU£© | ²éѯ£º64 01 00 02 00 01 55 FF ÏìÓ¦£¨±ÕºÏ£©£º64 01 01 01 8E 84 ÏìÓ¦£¨¶Ï¿ª£©£º64 01 01 00 4F 44 |
DO3 ±ÕºÏ¿ØÖÆ£¨modbus TCP£© | ¿ØÖÆ£º00 00 00 00 00 06 64 05 00 02 FF 00 ÏìÓ¦£º00 00 00 00 00 06 64 05 00 02 FF 00 |
DO3 ±ÕºÏ¿ØÖÆ£¨modbus RTU£© | ¿ØÖÆ£º64 05 00 02 FF 00 24 0F ÏìÓ¦£º64 05 00 02 FF 00 24 0F |
DO3 ¶Ï¿ª¿ØÖÆ£¨modbus TCP£© | ¿ØÖÆ£º00 00 00 00 00 06 64 05 00 02 00 00 ÏìÓ¦£º00 00 00 00 00 06 64 05 00 02 00 00 |
DO3 ¶Ï¿ª¿ØÖÆ£¨modbus RTU£© | ¿ØÖÆ£º64 05 00 02 00 00 65 FF ÏìÓ¦£º64 05 00 02 00 00 65 FF |
DO4״̬²éѯ£¨modbus TCP£© | ²éѯ£º00 00 00 00 00 06 64 01 00 03 00 01 ÏìÓ¦£¨±ÕºÏ£©£º00 00 00 00 00 04 64 01 01 01 ÏìÓ¦£¨¶Ï¿ª£©£º00 00 00 00 00 04 64 01 01 00 |
DO4״̬²éѯ£¨modbus RTU£© | ²éѯ£º64 01 00 03 00 01 04 3F ÏìÓ¦£¨±ÕºÏ£©£º64 01 01 01 8E 84 ÏìÓ¦£¨¶Ï¿ª£©£º64 01 01 00 4F 44 |
DO4 ±ÕºÏ¿ØÖÆ£¨modbus TCP£© | ¿ØÖÆ£º00 00 00 00 00 06 64 05 00 03 FF 00 ÏìÓ¦£º00 00 00 00 00 06 64 05 00 03 FF 00 |
DO4 ±ÕºÏ¿ØÖÆ£¨modbus RTU£© | ¿ØÖÆ£º64 05 00 03 FF 00 75 CF ÏìÓ¦£º64 05 00 03 FF 00 75 CF |
DO4 ¶Ï¿ª¿ØÖÆ£¨modbus TCP£© | ¿ØÖÆ£º00 00 00 00 00 06 64 05 00 03 00 00 ÏìÓ¦£º00 00 00 00 00 06 64 05 00 03 00 00 |
DO4 ¶Ï¿ª¿ØÖÆ£¨modbus RTU£© | ¿ØÖÆ£º64 05 00 03 00 00 34 3F ÏìÓ¦£º64 05 00 02 00 00 34 3F |
3¡¢AI¶ÁÈ¡
Êý¾ÝÀàÐÍ£ºAIÊý¾ÝΪ32λµ¥¾«¶È¸¡µãÊý£¨ABCD£©£¬Ã¿¸öAIÕ¼2¸ö¼Ä´æÆ÷£¬µ¥Î»ÊÇuA£¬×ª»»ÎªmA¹«Ê½Îª£ºÄ£ÄâÁ¿Öµ=·µ»Ø²ÎÊý Öµ/1000£¬¹«Ê½¿ÉÔÚ±ßÔµµãλÌí¼Ó¡£
¼Ä´æÆ÷²ÎÊý£ºIOÍØÕ¹»úµÄAIµÄ¼Ä´æÆ÷µØÖ·°´ÕÕ˳ÐòÒÀ´Î˳ÑÓ£¬ÒòΪAIΪ32λ¸¡µãÊý£¬ËùÒÔÿ´ÎµØַ˳ÑÓÐèÒªÔö¼Ó2£¬±ÈÈçÍØÕ¹»ú µÄµÚÒ»¸öAI¼Ä´æÆ÷µØַΪ30005(0x0004)¡£
µãλÃû³Æ | ½ÓÈëλÖà | ¼Ä´æÆ÷µØÖ· | ¹¦ÄÜÂë |
AI1 | Ö÷»ú | 30001£¨0x0000£© | 0x04£¨¶ÁÀëÉ¢Á¿£© |
AI2 | Ö÷»ú | 30003£¨0x0002£© | 0x04£¨¶ÁÀëÉ¢Á¿£© |
AI3 | IOÍØÕ¹»ú | 30005£¨0x0004£© | 0x04£¨¶ÁÀëÉ¢Á¿£© |
AI4 | IOÍØÕ¹»ú | 30007£¨0x0006£© | 0x04£¨¶ÁÀëÉ¢Á¿£© |
... | IOÍØÕ¹»ú | ... | 0x04£¨¶ÁÀëÉ¢Á¿£© |
Ä£ÄâÁ¿»ñÈ¡£ºÍ¨¹ýÍøÒ³µ÷ÊÔ½çÃæ»ñÈ¡AIµÄÄ£ÄâÁ¿¼ì²â½á¹û£¬Í¸´«Ä£Ê½Ï£¬Ò²¿ÉÒÔͨ¹ýÍøÂçÏòM100·¢ËÍModbusÃüÁî½øÐвéѯ£¬Í¨¹ýModbus¹¦ÄÜÂë04»ñÈ¡AIµÄÖµ¡£
²Ù×÷ | ʾÀý |
AI1״̬²éѯ£¨modbus TCP£© | ²éѯ£º00 00 00 00 00 06 64 04 00 00 00 02 ÏìÓ¦£º00 00 00 00 00 07 64 04 04 45 8D 08 00 |
AI1״̬²éѯ£¨modbus RTU£© | ²éѯ£º64 04 00 00 00 02 78 3E ÏìÓ¦£º64 04 04 45 8D 08 00 4C 65 ½âÎö£º45 8D 08 00Ϊµ¥¾«¶È¸¡µãÐÍ£¬×ª»»ÎªÊ®½øÖÆΪ4513ua |
AI2״̬²éѯ£¨modbus TCP£© | ²éѯ£º00 00 00 00 00 06 64 05 00 00 FF 00 ÏìÓ¦£º00 00 00 00 00 06 64 05 00 00 FF 00 |
AI2״̬²éѯ£¨modbus RTU£© | ²éѯ£º64 04 00 02 00 02 D9 FE ÏìÓ¦£º64 04 04 45 F9 98 00 60 7F ½âÎö£º45 F9 98 00Ϊµ¥¾«¶È¸¡µãÐÍ£¬×ª»»ÎªÊ®½øÖÆΪ7987ua |
AI1~AI2״̬²éѯ£¨modbus TCP£© | ²éѯ£º00 00 00 00 00 06 64 04 00 00 00 042 ÏìÓ¦£º00 00 00 00 00 0B 64 04 08 45 8D 08 00 45 F9 98 00 |
AI1~AI2״̬²éѯ£¨modbus RTU£© | ²éѯ£º64 04 00 00 00 04 F8 3C ÏìÓ¦£ºRx:023-64 04 08 45 8D 08 00 45 F9 98 00 FD 72 |
AI3״̬²éѯ£¨modbus TCP£© | ²éѯ£º00 00 00 00 00 06 64 04 00 04 00 02 ÏìÓ¦£º00 00 00 00 00 07 64 04 04 45 9C 40 00 |
AI3״̬²éѯ£¨modbus RTU£© | ²éѯ£º64 04 00 04 00 02 39 FF ÏìÓ¦£º64 04 04 45 9C 40 00 2A 60 ½âÎö£º45 9C 40 00Ϊµ¥¾«¶È¸¡µãÐÍ£¬×ª»»ÎªÊ®½øÖÆΪ5000ua |
AI4״̬²éѯ£¨modbus TCP£© | ²éѯ£º00 00 00 00 00 06 64 04 00 04 00 02 ÏìÓ¦£º00 00 00 00 00 07 64 04 04 45 9C 40 00 |
AI4״̬²éѯ£¨modbus RTU£© | ²éѯ£º64 04 00 06 00 02 98 3F ÏìÓ¦£º64 04 04 45 A9 30 00 1F AE ½âÎö£º45 A9 30 00Ϊµ¥¾«¶È¸¡µãÐÍ£¬×ª»»ÎªÊ®½øÖÆΪ5414ua |
4¡¢AO¶Áд
Êý¾ÝÀàÐÍ£ºAOÊý¾ÝΪ32λµ¥¾«¶È¸¡µãÊý£¨ABCD£©£¬Ã¿¸öAOÕ¼2¸ö¼Ä´æÆ÷£¬µ¥Î»ÊÇmV£¬×ª»»ÎªV¹«Ê½Îª£ºµçѹֵ = ·µ»Ø²ÎÊýÖµ /1000£¬¹«Ê½¿ÉÔÚ±ßÔµµãλÌí¼Ó¡£
¼Ä´æÆ÷²ÎÊý£ºIOÍØÕ¹»úµÄAOµÄ¼Ä´æÆ÷µØÖ·°´ÕÕ˳ÐòÒÀ´Î˳ÑÓ£¬ÒòΪAOΪ32λ¸¡µãÊý£¬ËùÒÔÿ´ÎµØַ˳ÑÓÐèÒªÔö¼Ó2£¬±ÈÈçÍØÕ¹»úµÄµÚÒ»¸öAI¼Ä´æÆ÷µØַΪ40001(0x0000)£¬µÚ¶þ¸öAI¼Ä´æÆ÷µØַΪ40003(0x0002)¡£
µãλÃû³Æ | ½ÓÈëλÖà | ¼Ä´æÆ÷µØÖ· | ¹¦ÄÜÂë |
AO1 | IOÍØÕ¹»ú | 40001£¨0x0000£© | 0x03,0x06,0x10 |
AO2 | IOÍØÕ¹»ú | 40003£¨0x0002£© | 0x03,0x06,0x10 |
AO3 | IOÍØÕ¹»ú | 40005£¨0x0004£© | 0x03,0x06,0x10 |
AO4 | IOÍØÕ¹»ú | 40007£¨0x0006£© | 0x03,0x06,0x10 |
... | IOÍØÕ¹»ú | ... | 0x03,0x06,0x10 |
×¢£ºAOµãλµÄģʽÅäÖÃÖ»ÄÜÔÚÍØÕ¹»úµ¥¶ÀʹÓõÄʱºòͨ¹ýÍØÕ¹»ú´®¿Ú·¢ËͲŻáÏìÓ¦£¬½Óµ½M100ÉÏÖ®ºóAOµÄÊä³öģʽÅäÖÃÖ»ÄÜͨ¹ýÒ³ÃæÅäÖ㬲»ÔÙÖ§³ÖÖ¸ÁîÅäÖÃ
²Ù×÷ | ʾÀý |
AO1µçÁ÷Êä³ö4mA£¨modbus RTU£© | ÅäÖãº64 10 00 00 00 02 04 45 7A 00 00 28 B7 ÏìÓ¦£º64 10 00 00 00 02 48 3D ½âÎö£º45 7A 00 00Ϊµ¥¾«¶È¸¡µãÐÍ£¬×ª»»ÎªÊ®½øÖÆΪ4000ua |
AO1µçÁ÷Êä³ö4mA£¨modbus TCP£© | ÅäÖãº00 00 00 00 00 0B 64 10 00 00 00 02 04 45 7A 00 00 ÏìÓ¦£º00 00 00 00 00 06 64 10 00 00 00 02 ½âÎö£º45 7A 00 00Ϊµ¥¾«¶È¸¡µãÐÍ£¬×ª»»ÎªÊ®½øÖÆΪ4000ua |
AO1״̬²éѯ£¨modbus RTU£© | ²éѯ£º64 03 00 00 00 02 CD FE ÏìÓ¦£º64 03 04 45 9C 40 00 2B D7 ½âÎö£º45 9C 40 00Ϊµ¥¾«¶È¸¡µãÐÍ£¬×ª»»ÎªÊ®½øÖÆΪ5000ua |
AO1״̬²éѯ£¨modbus TCP£© | ²éѯ£º00 00 00 00 00 06 64 03 00 00 00 02 ÏìÓ¦£º00 00 00 00 00 07 64 03 04 45 9C 40 00 ½âÎö£º45 9C 40 00Ϊµ¥¾«¶È¸¡µãÐÍ£¬×ª»»ÎªÊ®½øÖÆΪ5000ua |
AO2µçÁ÷Êä³ö4mA£¨modbus RTU£© | ÅäÖãº64 10 00 02 00 02 04 45 7A 00 00 A9 6E ÏìÓ¦£º64 10 00 02 00 02 E9 FD ½âÎö£º45 7A 00 00Ϊµ¥¾«¶È¸¡µãÐÍ£¬×ª»»ÎªÊ®½øÖÆΪ4000ua |
AO2µçÁ÷Êä³ö4mA£¨modbus TCP£© | ÅäÖãº00 00 00 00 00 0B 64 10 00 02 00 02 04 45 7A 00 00 ÏìÓ¦£º00 00 00 00 00 06 64 10 00 02 00 02 ½âÎö£º45 7A 00 00Ϊµ¥¾«¶È¸¡µãÐÍ£¬×ª»»ÎªÊ®½øÖÆΪ4000ua |
AO2״̬²éѯ£¨modbus RTU£© | ²éѯ£º64 03 00 02 00 02 6C 3E ÏìÓ¦£º64 03 04 45 9C 40 00 2B D7 ½âÎö£º45 9C 40 00Ϊµ¥¾«¶È¸¡µãÐÍ£¬×ª»»ÎªÊ®½øÖÆΪ5000ua |
AO2״̬²éѯ£¨modbus TCP£© | ²éѯ£º00 00 00 00 00 06 64 03 00 02 00 02 ÏìÓ¦£º00 00 00 00 00 07 64 03 04 45 9C 40 00 ½âÎö£º45 9C 40 00Ϊµ¥¾«¶È¸¡µãÐÍ£¬×ª»»ÎªÊ®½øÖÆΪ5000ua |
AO1~AO2µçÁ÷Êä³ö4mA£¨modbus RTU£© | ÅäÖãº64 10 00 00 00 04 08 45 7A 00 00 45 7A 00 00 38 4C ÏìÓ¦£º64 10 00 00 00 04 C8 3F ½âÎö£º45 7A 00 00Ϊµ¥¾«¶È¸¡µãÐÍ£¬×ª»»ÎªÊ®½øÖÆΪ4000ua |
AO1~AO2µçÁ÷Êä³ö4mA£¨modbus TCP£© | ÅäÖãº00 00 00 00 00 0F 64 10 00 00 00 04 08 45 7A 00 00 45 7A 00 00 ÏìÓ¦£º00 00 00 00 00 06 64 10 00 00 00 04 ½âÎö£º45 7A 00 00Ϊµ¥¾«¶È¸¡µãÐÍ£¬×ª»»ÎªÊ®½øÖÆΪ4000ua |
AO1~AO2״̬²éѯ£¨modbus RTU£© | ²éѯ£º64 03 00 00 00 04 4D FC ÏìÓ¦£º64 03 08 45 7A 00 00 45 7A 00 00 51 07 ½âÎö£º45 7A 00 00Ϊµ¥¾«¶È¸¡µãÐÍ£¬×ª»»ÎªÊ®½øÖÆΪ4000ua |
AO1~AO2״̬²éѯ£¨modbus TCP£© | ²éѯ£º00 00 00 00 00 06 64 03 00 00 00 04 ÏìÓ¦£º00 00 00 00 00 0B 64 03 08 45 7A 00 00 45 7A 00 00 ½âÎö£º45 9C 40 00Ϊµ¥¾«¶È¸¡µãÐÍ£¬×ª»»ÎªÊ®½øÖÆΪ5000ua |