Example Of User Program For Remote I/O Communications - Omron CJ1W-DRM21 Operation Manual

Machine automation controller cj-series, nj-series cpu unit
Hide thumbs Also See for CJ1W-DRM21:
Table of Contents

Advertisement

4 Remote I/O Master Communications
4-6
Example of User Program for Remote
I/O Communications
When user program are written for remote I/O communications, make sure it performs I/O processing
with a slave under the following conditions:
• *_Mstr1IOCommSta (I/O Data Communications Status) is changed to TRUE.
• *_UnitErr (Unit Error) is changed to FALSE.
Example: There is no jump and slave I/O is processed when the JMP(004) instruction input condition is
FALSE in the following instructions. There is a jump and slave I/O is not processed when the JMP(004)
instruction input condition is TRUE.
STEP1:
Precautions for Correct Use
Precautions for Correct Use
Even if there is a communications error with the slave, the slave input data is saved in the allo-
cated area.
To prevent operating errors, make a user program so that no slave I/O processing will occur
when *_UnitErr (Unit Error) is TRUE.
4-32
(I/O Data Communications)
aaaa_Mstr1IOCommSta
(Unit Error)
aaaa_UnitErr
Slave I/O processing
Processing other than slave I/O
CJ-series DeviceNet Units Operation Manual for NJ-series CPU Unit(W497)
STEP1

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents