I am currently using CoDeSys V3.5 SP12 trying to grab drab some sensor data using a controller. Let me touch on the hardware architecture first.
Computer -> LAN cable -> Conprosys controller -> RS-232 Serial cable -> CHINO temperature senor
I have seen guides on how to open serial com ports using "COM.Open" and such but they are focusing on Computer -> Serial -> Controller. In my case I am hoping to open the Controller SERIAL COM port. I searched for the data sheet and it indicated that the CoDeSys syntax for that controller serial com port being "PORT 1"
Link to mentioned controller (CPS-PCS341MB-DS1-1201): https://www.contec.com/jp/download/cont ... 370d53120a
So how do I actually go about activating that Serial com port on the controller in CoDeSys?
Another issue being more of CoDeSys.
When I add Devices in CoDeSys, which do I select for my LAN then Serial configuration?
MODBUS_COM> MODBUS_MASTER_COM_PORT> MODBUS_SLAVE_COM_PORT
This has been confusing me for quite some time now, have no background on CoDeSys. Appreciate any help and confirmation, thanks.