2-625
2 Instruction Descriptions
NJ-series Instructions Reference Manual (W502)
System Control Instructions
2
ResetCJBError
The following example is for when UnitNo is _CBU_No00. The Controller error on the I/O bus is reset
and the CPU Bus Unit with unit number 0 is restarted.
• The error may not be reset immediately after you execute this instruction. Use the GetCJBError
instruction to confirm that the errors were reset.
• An error occurs in the following cases. ENO will be FALSE.
• The value of UnitNo is outside of the valid range.
• The Unit specified by UnitNo does not exist.
Related System-defined Variables
Name Meaning Data type Description
_CJB_ErrSta I/O Bus Error Status WORD Contains the error status of the I/O bus.
Refer to the NJ-series CPU Unit Software
User's Manual (Cat. No. W501) for details.
Precautions for Correct Use
ResetCJBError_instance(A, _CBU_No00,
abc, def, ghi, jkl);
LD
ST
_CBU_No00
A
ResetCJBError
ResetCJBError_instance
def
ghi
jkl
abc
EN Done
UnitNo Busy
Error
ErrorID