5-101
5 Understanding Programming
CJ2 CPU Unit Software User’s Manual
5-9 Checking Programs
5
5-9-3 Debugging with the Simulator
With the CX-Programmer, it is possible to generate system errors in the virtual PLC during ladder pro-
gramming simulation. It is easy to check operation of the ladder programming an the NS-series PT
when a PLC system error occurs by generating the desired fatal or non-fatal system error using a spe-
cial operation window. For information on the debugging procedure, refer to the CX-Programmer Oper-
ation Manual (Cat. No. W446).
Note Unlike with an actual error, ladder execution will not stop even if a fatal error is generated using the PLC error
generation simulation function.
Additional Information
System errors can also be generated in the PLC by using a FAL(006) or FALS(007) instruction.
Error Simulation Function
CX-Programmer
PLC Error Generation Simulator
Simulation
PLC error generation simulator
Simulation in progress
1. Start
Error List
Example: Turn ON battery error (A402.04).
Turn ON the Cycle Time Exceeded Flag (A401.08).
Turn ON the Memory Error Flag (A401.15).
2. Error generation indication
Error occurs
3. Error generation is simulated.
Virtual PLC