3. Instructions
1032
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Flags
Related Auxiliary Area Words and Bits
Function
FPD(269) performs time monitoring and logic diagnosis.
The next block is diagnosed at the following point.
Note *The logic diagnosis block begins with the first LD (not LD TR) or LD NOT instruction after FPD(269) and
ends with the first OUT (not OUT TR) or other right-hand instruction.
Name Label Operation
Error Flag ER • ON if C is not within the specified range of 0000 to 01FF or 8000 to 81FF.
• ON if T is not within the specified range of 0000 to 270F.
• OFF in all other cases.
Carry Flag CY • ON if the diagnostic output is still OFF after the monitoring time has elapsed.
• OFF in all other cases.
Name Address Operation
FAL Error Flag A402.15 ON when a non-fatal (FAL) error is registered in time monitoring.
Executed FAL Number Flags A360.01 to
A391.15
When a non-fatal (FAL) error is registered in time monitoring, the corresponding flag will be turned ON.
Flags A36001 to A39115 correspond to FAL numbers 0001 to 01FF.
Error Log Area A100 to A199 The Error Log Area contains the error codes and time/date of occurrence for the most recent 20 errors,
including errors generated by FPD(269).
Error code A400 When an error occurs its error code is stored in A400. The error codes for FAL numbers 0001 to 01FF
are 4101 to 42FF, respectively.
If two or more errors occur simultaneously, the error code of the most serious error will be stored in
A400.
FPD Teaching Bit A598.00 Turn this bit ON when you want the monitoring time to be set automatically (teaching function) when
FPD(269) is executed.
T
R
Diagnostic output B
Logic diagnosis function
Time monitoring function:
Starts timing when execution condition A goes ON.
Generates a non-fatal error if output B isn't turned
ON within the monitoring time.
Execution
condition A
Error-processing
block (optional)
Logic diagnosis block*
Next instruction block
Logic diagnosis
execution condition C
Determines which input in C prevents
output B from going ON.