2 Instruction Descriptions
2-624
NJ-series Instructions Reference Manual (W502)
ResetCJBError
The ResetCJBError instruction resets a Controller error in the I/O bus.
The ResetCJBError instruction resets a Controller error in the I/O bus. If the Unit specified by unit num-
ber UnitNo is a CJ-series Special Unit, the Unit is restarted.
The data type of UnitNo is enumerated type _eUnitNo. The meanings of the enumerators are as fol-
lows:
Instruction Name FB/FUN Graphic expression ST expression
ResetCJBError Reset I/O Bus Error FB ResetCJBError_instance(
Execute, UnitNo, Done,
Busy, Error, ErrorID);
Variables
Name Meaning I/O Description Valid range Unit Default
UnitNo Unit num-
ber
Input Unit number for which to
reset errors
_CBU_No00 to
_CBU_No15,
_SIO_No00 to
_SIO_No95
_UNIT_ALL
--- _UNIT
_ALL
Boolean
Bit strings Integers
Real
numbers
Times, durations,
dates, and text strings
BOOL
BYTE
WORD
DWORD
LWORD
USINT
UINT
UDINT
ULINT
SINT
INT
DINT
LINT
REAL
LREAL
TIME
DATE
TOD
DT
STRING
UnitNo Refer to Function for the enumerators of the enumerated type _eUnitNo.
Function
Enumerators Meaning
_CBU_No00 to _CBU_No15 Unit number of CPU Bus Unit, 00 to 15
_SIO_No00 to _SIO_No95 Unit number of Special I/O Unit, 00 to 95
_UNIT_ALL All Units
ResetCJBError
ResetCJBError_instance
EN Done
UnitNo Busy
Error
ErrorID