You can use the On-line Point and Interval utilities on the Utils> Debug menus to test your project. For more information, refer to the manual VisiLogic – Utilities.
You can use the On-line Point and Interval utilities on the Utils> Debug menus to test your 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 establish 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. 
Open Remote Access to debug remote controllers via network or modem connections.

In Online Test mode, you can view the power flow, and view and force operand values and element status. You can also select a controller that is directly connected to the PC, or a PLC's network ID # if the PC is linked to a CANbus or RS485 network.

Force I/0, by right-clicking the operand and setting the desired state

|
Note ♦ |
The controller can send and receive SMS messages when the controller is in Test mode. |