EasyManua.ls Logo

Omron CJ2M-CPU Series - Page 44

Omron CJ2M-CPU Series
64 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
9
Program
41
9.1.2. CMND Instructions and Send/Receive Messages
The following overviews the basic operations to execute the network communications
instruction (instruction word: CMND, hereinafter referred to as CMND instruction) and to
send/receive messages.
Additional Information
For details on the CMND instruction, refer to Network Instructions in SECTION 3 Instructions
of the CJ Series Programmable Controllers INSTRUCTIONS REFERENCE MANUAL (Cat.
No. W474).
CMND instruction operand data
S: First command word
The first address is specified to set a send command.
Data is sent from the first command word in the following format.
*Command code #2804 is a FINS command for Modbus-RTU communication.
D: First response word
The first address is specified to store a response.
Data is received at the first response word in the following format.
Additional Information
For the address and the function code in the first command word, a device number defined by
Destination Device and a command code for an executable function are set.
For details, refer to the manuals for Destination Device.
28
Command
04
Command
code
Address
Function
code
Data
+0CH
+1CH
**
**
**
**
**
Response
Command
code
Address
Function
code
End code
Data
28
04
+0CH
+1CH
+2CH
**
**
**
**
**
**
**

Other manuals for Omron CJ2M-CPU Series

Related product manuals