Sending Explicit Messages Using Sendcmd Instruction - Omron CJ Series Operation Manual

Machine automation controller
Hide thumbs Also See for CJ Series:
Table of Contents

Advertisement

6 Message Communications
6-2-2

Sending Explicit Messages Using SendCmd Instruction

Example: Sending Explicit Messages Using SendCmd Instruction
NJ-series CPU Unit
SendCmd
Explicit message
Operation
In the following example, the READ CONTROLLER INFORMATION command (2802) is used to
read the vendor code of a Slave Unit from the Master Unit with unit address 16#20. (The vendor
code for OMRON is 002F hex.)
SendCmd
Execute
DstNetAdr
CommPort
CmdDat
CmdSize
RespDat
Option
6-10
CompoNet Unit No. 0
Unit address: 20 hex
Slave node address: 11
Command source
SendDat[0]
SendDat[1]
Done
SendDat[9]
Busy
SendDat[10]
Error
ErrorID
ErrorIDEx
RecvDat[0]
RespDat
RecvDat[1]
RecvDat[10]
RecvDat[11]
CJ-series CompoNet Master Unit Operation Manual for NJ-series CPU Unit (Cat. No. W493)
Destination
Command code
interpretation
Execution

Advertisement

Table of Contents

Troubleshooting

loading

This manual is also suitable for:

Nj seriesCj1w-crm21

Table of Contents