![background image](http://html.mh-extra.com/html/omron/cj1w-pnt21/cj1w-pnt21_operation-manuals_742351155.webp)
6 Message Communications
6-4
CJ-series PROFINET IO Controller Unit Operation Manual for NJ-series CPU Unit (W511)
Input Variable
Function
Example Details
Execute
The operation SendCmd is executed when TRUE is set.
---
DstNetAdr
The destination network address is specified with the use of
the network address/node address/unit address.
Network address: 2
Node address: 65
Unit address: 16#0
CommPort
The destination port is specified.
NONE (Default)
CmdDat
Sdata[0]
Command code
16#28
Sdata[1]
16#01
Sdata[2]
Slave node address (65)
16#00
Sdata[3]
ServiceCode
16#0E
Sdata[4]
ClassID
16#00
Sdata[5]
16#9C
Sdata[6]
InstanceID
16#00
Sdata[7]
16#01
Sdata[8]
AttributeID
16#73
CmdSize
The number of bytes corresponding to the
command data to be sent is specified.
09
RespDat
Rdata[0]
Command code
16#28
Rdata[1]
16#01
Rdata[2]
End code
16#00
Rdata[3]
16#00
Rdata[4]
Number of bytes received
16#00
Rdata[5]
16#24
Rdata[6]
Slave node address (65)
16#00
Rdata[7]
ServiceCode (when completed normally)
16#8E
Rdata[8]
Number of slave alarm data: 32 (20 Hex)
16#20
Rdata[9]
Status of slave #4, slave #3 (2 bits each)
16#00
Rdata[10]
Status of slave #8, slave #7 (2 bits each)
16#00
Rdata[11]
Status of slave #1, slave #2 (2 bits each)
16#00
Rdata[12 to 41] --
(continue)
Option
Response monitoring, and number of resends, are specified.
ResponseTime = 3C
Retry = 0
Execute
DstNetAdr
CommPort
CmdDat
CmdSize
RespDat
Option
Done
Sdata[0]
Sdata[1]
Sdata[7]
Command code
interpretation
Execution
Sdata[8]
Response
SendCmd
Busy
Error
ErrorID
ErrorIDEx
SendCmd
Rdata[0]
Rdata[1]
Rdata[8]
Rdata[9]
Command source
Destination
RespDat
Содержание CJ1W-PNT21
Страница 3: ......
Страница 16: ...13 CJ series PROFINET IO Controller Unit Operation Manual for NJ series CPU Unit W511 ...
Страница 107: ...3 Configuration Software 3 36 CJ series PROFINET IO Controller Unit Operation Manual for NJ series CPU Unit W511 ...
Страница 198: ...Index 1 CJ series PROFIBUS Master Unit Operation Manual for NJ series CPU Unit W509 I Index ...