Omron CJ Series Operation Manual page 225

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

Advertisement

Input vari-
able
Execute
DstNetAdr
CommPort
CmdDat
CmdSize
RespDat
Option
Additional Information
If the remote node is an OMRON Special Slave Unit or a CompoNet device from another manu-
facturer, set the response monitoring time to at least the value that is set for the message moni-
toring timer (default: 2 s). If the setting is less than the value, communications may be busy even
if the next command is executed after the first one times out.
CJ-series CompoNet Master Unit Operation Manual for NJ-series CPU Unit (Cat. No. W493)
Function
The operation SendCmd is executed when TRUE is set.
The destination network address is specified with the use of the
network address, node address and unit address.
The destination port is specified.
SendDat[0]
Command code
SendDat[1]
SendDat[2]
Slave node address (11)
SendDat[3]
SendDat[4]
Service code
SendDat[5]
SendDat[6]
Class ID
SendDat[7]
SendDat[8]
Instance ID
SendDat[9]
SendDat[10]
Attribute ID
The number of bytes corresponding to the command data to be
sent is specified.
RecvDat[0]
Command code
RecvDat[1]
RecvDat[2]
End code
RecvDat[3]
RecvDat[4]
Number of bytes received
RecvDat[5]
RecvDat[6]
Slave node address (11)
RecvDat[7]
RecvDat[8]
Service code (when completed nor-
mally)
RecvDat[9]
RecvDat[10]
Vendor code
RecvDat[11]
Response monitoring and the number of resends are specified. Response Time = 20
6 Message Communications
Example details
---
Network address: 0
Node address: 0
Unit address: 16#20
NONE (Default)
16#28
16#02
16#10
16#0B
16#00
16#0E
16#00
16#01
16#00
16#01
16#01
10
16#28
16#02
16#00
16#00
16#00
16#04
16#10
16#0B
16#00
16#8E
16#2F
16#00
Retry = 2
6
6-11

Advertisement

Table of Contents

Troubleshooting

loading

This manual is also suitable for:

Nj seriesCj1w-crm21

Table of Contents