Hi,
I'm brand spanking new to PLC (and COM port) programming, having spent my career so far doing standard Windows desktop programming.
In my new role, I need to be communicate with an OMRON CPM2A PLC via a serial port. I'm busy going through examples on the net on how to open and close COM ports in C++, but its slow going, and I know nothing about how to control the PLC itself.
Does anyone have any helpful suggestions or perhaps example code for this PLC and/or simple COM port code in C++ and/or Delphi?
Thanks in advance,
Alain
I'm brand spanking new to PLC (and COM port) programming, having spent my career so far doing standard Windows desktop programming.
In my new role, I need to be communicate with an OMRON CPM2A PLC via a serial port. I'm busy going through examples on the net on how to open and close COM ports in C++, but its slow going, and I know nothing about how to control the PLC itself.
Does anyone have any helpful suggestions or perhaps example code for this PLC and/or simple COM port code in C++ and/or Delphi?
Thanks in advance,
Alain