9
.
Program
39
9.1.2. CMND Instructions and Send/Receive Messages
The following describes the network communications instruction (instruction word: CMND,
hereinafter referred to as CMND instruction) and outlines the basic operations of the
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 the send command.
・
Data is sent from the first command word in the following format.
*Command code #2804 is known as the FINS command for Modbus-RTU communication.
D: First response word
・
The first address is specified to store the response.
・
Data is received in the first response word in the following format.
Additional Information
For an address and a function code in the first command word, a defined device number by
Destination Device and a command code for a function in executable status 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
**
**
**
**
**
**
**
Содержание CJ2*-CPU Series
Страница 63: ...58...
Страница 64: ...2015 1115 P641 E1 01...