9
Program
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.
For details on the CMND instruction, refer to Network Instructions in SECTION 3 Instructions
of the CJ Series Programmable Controllers INSTRUCTIONS REFERENCE MANUAL (Cat.
●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.
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.