Note that Vision PLCs have a built-in communications 'sniffer'. This is accessible in Information Mode, under System.
Touch screen models: select Serial or Ethernet, then click Monitor. Note the button that allows you to toggle between Hex and ASCII.
Non-touch screen models: Select Communication, then select Serial or Ethernet> COM Buffer. Use F2 to toggle between Hex and ASCII. In addition, press Enter, and then the Down key to toggle between Tx and Rx.
Note that in many cases, checking System Operand status can help you in the troubleshooting process.
Problem |
Possible cause |
Recommended Action |
PLC stays connected when modem connection fails |
A modem which is reset, or to which the power supply is interrupted, may lose the connection and may not send a 'No Carrier string to the PLC. In this case, the SB remains ON, as though the data link still exists. (Note that Modem Connected SBs, 86-88, turn ON when the relevant COM port receives the 'Connect' modem string. Receiving a 'No Carrier' string causes the SB to turn OFF.) |
Modem Connection and COM Port Transmit/Receive SBs can be used in conjunction with a timer to check if the line is inactive; the timer state is used to trigger Hang-up as shown below. |
VisiLogic is not able to communicate with the PLC: PLC has initialized a modem. The modem is disconnected, and a PC is plugged into the COM port. |
Once the modem is connected to the PLC, and the modem is initialized, the Modem Initialized SB turns ON. As long as this SB is ON, the COM port stays initialized to the baud rate required in order to work with the modem. If VisiLogic attempts to access the PLC via a different baud rate, the attempt will fail. The Synchronization process (using break signals) is disabled while the SB is ON. |
Either: Reset the PLC, which will reset the Modem Initialized SB, |