hi all,
I'm trying to develop a GUI in V. basic 2008 to write values in memory adresses of an OMRON CPM1A-40 PLC. I'm using cx-programmer for ladder program and cx-server lite to allow V. basic to communicate with the plc using omron communication control .ocx. Also have configured the .ocx with a .cdm file created by cx-server.
Using Win XP SP3, Cx-programmer, Cx-server lite
Hardware- CPM1A-40
Communications- PC->USB->USB to RS232 Converter cable-> Cif- PLC
Note that communication between PLC and CX-programmer is ok
But within V. Basic it doesnt seem to communicate at all, and if it does it can´t set or get any data in/from PLC.
I wonder if anyone has done something similar that wouldn't mind helping.
Any suggestions are welcome
Best Regards,
Paulo Martins
I'm trying to develop a GUI in V. basic 2008 to write values in memory adresses of an OMRON CPM1A-40 PLC. I'm using cx-programmer for ladder program and cx-server lite to allow V. basic to communicate with the plc using omron communication control .ocx. Also have configured the .ocx with a .cdm file created by cx-server.
Using Win XP SP3, Cx-programmer, Cx-server lite
Hardware- CPM1A-40
Communications- PC->USB->USB to RS232 Converter cable-> Cif- PLC
Note that communication between PLC and CX-programmer is ok
But within V. Basic it doesnt seem to communicate at all, and if it does it can´t set or get any data in/from PLC.
I wonder if anyone has done something similar that wouldn't mind helping.
Any suggestions are welcome
Best Regards,
Paulo Martins