
1 Introduction
1-34
CJ-series Serial Communications Units Operation Manual for NJ-series CPU Unit(W494)
z
No-protocol Mode
Creating the User Program
Execute the SerialSend instruction to send the program to the external device from the Controller.
For the SerialSend instruction, include an N.O. of the Network Communications Instruction Enabled
Flag (_Port_isAvailable) and an N.C. of the SerialSend Executing Flag
(*_P1_NopSerialSendExecSta/*_P2_NopSerialSendExecSta) in an AND condition as the input con-
dition.
Execute the SerialRcv or SerialRcvNoClear instruction to receive data at the Controller from the
external device.
Include an N.O. input for the Reception Completed Flag (*_P1_NopRcvCompleteSta or
*_P2_NopRcvCompleteSta) and an N.O. input of the Network Communications Instruction Enabled
Flag (_Port_isAvailable) in an AND condition as the input condition to the SerialRcv or SerialRcvNo-
Clear instruction.
z
Modbus-RTU Slave Mode
Modbus-RTU commands are sent from the host computer to the controller.
The host computer must be programmed to send the Modbus-RTU commands and receive
responses.
Programming to
send commands
and receive
responses.
Host computer
Command
Serial Communications Unit
Содержание CJ1W-SCU22
Страница 192: ...4 Using Protocol Macros 4 56 CJ series Serial Communications Units Operation Manual for NJ series CPU Unit W494...
Страница 250: ...6 No protocol Mode 6 22 CJ series Serial Communications Units Operation Manual for NJ series CPU Unit W494...
Страница 460: ...A Standard System Protocol R 126 CJ series Serial Communications Units Operation Manual for NJ series CPU Unit W494...
Страница 473: ...Index 1 CJ series Serial Communications Units Operation Manual for NJ series CPU Unit W494 I Index...