5.5. Explicit Massage通信
5.5. Explicit Massage通信
通过内置PLC的系统内存可在内置DevcieNet Master收发Explicit Massage。内置PLC的 Explicit Massage通信请按如下程序进行。
(1) SW161~SW179上输入Explicit Massage申请信息。
(2) SW160上输入0x0001(Request Single)。
编号 | 说明 | 其他 |
SW160 | 0x0001: Explicit Massage申请(Single Request) | 1:Error |
SW161 | MAC ID |
|
SW162 | Service ID |
|
SW163 | Class ID |
|
SW164 | Instance ID |
|
SW165 | Attribute ID |
|
SW166 | Request Data Size | MAX 26 |
SW167~SW179 | Service Request data | SB333~SB358 |
(3) SW160~SW179确认应答Massage。
编号 | 说明 | 其他 |
SW160 | 0x001X: Explicit通信进行中 0x0000: Explicit 通信完毕 0x002X: Explicit 通信超时 其他: 错误 | 1:Error |
SW161 | MAC ID |
|
SW162 | Service ID |
|
SW163 | Class ID |
|
SW164 | Instance ID |
|
SW165 | Attribute ID |
|
SW166 | Response Data Size | MAX 26 |
SW167~SW179 | Service response data | SB333~SB358 |
① SW160=0x0000代表Explicit Massage通信完毕。
确认SW166~SW179的应答即可。
② SW160=0x001x代表Explicit Massage正在通信中。
③ SW160=0x002x代表Explicit Massage出现通信错误。