EasyManua.ls Logo

Omron NJ301-1200 - Page 381

Omron NJ301-1200
400 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
A-97
Appendices
NJ-series CPU Unit Hardware User’s Manual (W500)
A-4 Load Short-circuit Protection and Line Disconnection Detection for CJ-series Basic I/O Units
A
A-4-1 Load Short-circuit Protection and Line Disconnection Detection for CJ1W-
OD202
Programming Example
In this example, CJ1W-OD202 is mounted in slot 0 of rack 0.
This example shows how to change output Jxx_Ch0_Out00 to FALSE immediately if the Alarm Out-
put Bit _CJB_IOUnitInfo[0,0,0] changes to TRUE and how to keep the output FALSE until the cause
is removed and the bit is reset with RstOD202.
To prevent the Alarm Output Bit from changing to TRUE momentarily when the inductive load turns
ON, the alarm output is not changed to TRUE for 200 ms after input En_OD202 changes to TRUE.
Variable Data type
Initial
value
Address Comment
OutData BOOL FALSE Output data
NG BOOL FALSE TON_OC202 timer output
ResetOD202 BOOL FALSE Reset switch
AlarmOut BOOL FALSE Error flag
J01_Ch1_Out00 BOOL IOBus://rack#0/slot#0/Ch1_Out/Ch1
_Out00
OC202 output
_CJB_IOUnitInfo ARRAY[0..3,0..9,
0..7] OF BOOL
Basic I/O Unit information
array
NG
ResetOD202
OutData
AlarmOut
OutData AlarmOut
AlarmOut
_CJB_IOUnitInfo[0.0.0]
TON_OD202
TON
In Q
PT ET
Jxx_Ch1_Out00
T#200ms
NG

Table of Contents

Other manuals for Omron NJ301-1200

Related product manuals