1
Technical support / 2424+ VB2008 to RS485 Serial Data Problems
« on: April 22, 2011, 02:30:52 PM »
Help!
I'm having trouble successfully sending Host Link Commands from the host PC to the Com3 port (RS485) of the 2424+ PLC. I can get an ASCII string from the PLC to the host with no problems but the PLC does not seem to be able to get or act upon data from the PC. Example:
From a standard VB2008 Serialport1.writeline routine, I'm sending @01Wb0100FF00* + VbCr to Com3 on the PLC (Blank Program) expecting to turn on Output #1. Does not work.
This method always works well for me with the T100MD888, but it doesn't seem to want to cooperate on the 2424+. What I'm wondering is if there is a special setting or programming configuration that I need to make in order to set the 2424+ up for receiving HLC's via Com3. I'm probably missing something simple but I would sure appreciate any help anyone could offer. Thanks so much.
I'm having trouble successfully sending Host Link Commands from the host PC to the Com3 port (RS485) of the 2424+ PLC. I can get an ASCII string from the PLC to the host with no problems but the PLC does not seem to be able to get or act upon data from the PC. Example:
From a standard VB2008 Serialport1.writeline routine, I'm sending @01Wb0100FF00* + VbCr to Com3 on the PLC (Blank Program) expecting to turn on Output #1. Does not work.
This method always works well for me with the T100MD888, but it doesn't seem to want to cooperate on the 2424+. What I'm wondering is if there is a special setting or programming configuration that I need to make in order to set the 2424+ up for receiving HLC's via Com3. I'm probably missing something simple but I would sure appreciate any help anyone could offer. Thanks so much.