Omron CJ1W-SCU32 Operation Manual page 74

Machine automation controller, cj / nj-series, serial communications units, cpu unit
Table of Contents

Advertisement

1 Introduction
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)
(*_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.
Modbus-RTU Slave Mode
Modbus-RTU commands are sent from the host computer to the controller.
Host computer
Command
The host computer must be programmed to send the Modbus-RTU commands and receive
responses.
1-34
and
an
Programming to
send commands
and receive
responses.
Serial Communications Unit
CJ-series Serial Communications Units Operation Manual for NJ-series CPU Unit(W494)
N.C.
of
the
SerialSend
Executing
Flag

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cj1w-scu22Cj1w-scu42

Table of Contents