Specifications

On-Line Test Mode (Debug) Getting Started
26 VisiLogic: Getting Started
On-Line Test Mode (Debug)
To test a project, first establish PC-PLC communications by connecting the
controller to the PC with the MJ10-22-CS25 programming (communication)
cable. Note that the V1040 supports download via a USB (Type A to mini-B)
cable. COM port 1 function is suspended when the USB port is physically
connected to a PC.
Note
You can also use Remote Access to establis
h a communication line
via modem or network.
Once you have established communications, download the project and click the
On-Line Test button. The Online Test toolbar opens, enabling you to:
Switch between Run and Stop modes.
Use Single Scan to run a single cycle of the ladder program for debugging
purposes.
You can stop the scan cycle at any point by placing OnLine Test Points,
located on the More menu, in the Ladder.
When the scan reaches an OnLine test point that is active (receives RLO),
Online Test freezes, enabling you to check element status and values,
including Timer values, at that point during Ladder execution. Note that if
more than one OnLine test point is activated, SB 35 turns ON.
Measure the time interval between 2 points in the Ladder application, by
placing Start and End Interval elements, located on the More menu,
anywhere in the application. The time interval, units of 10 micro-seconds,
is stored in the DW linked to the End Interval element. Note that Interval
elements should not be placed in Interrupt routines.