I need to communicate with a PLC through Moxa 5150a (Serial Server). The PLC supports Modbus RTU. Moxa is configured for RealCOM and I am supposed to use their drivers to map a local COM port to Moxa's ipv4 address:950. However, I would like to do this mapping automatically when my program starts, so I need a way to map a COM port to an IP address. How do I do that ?
#Map COM1 to IPV4 Address
7 messages · Page 1 of 1 (latest)
When your question is answered use !solved to mark the question as resolved.
Remember to ask specific questions, provide necessary details, and reduce your question to its simplest form. For tips on how to ask a good question run !howto ask.
so what is the manual solution then
with their drivers
You download moxa's drivers, install them, and then you can map a local com to an ip address manually
But i want this to be done automatically, without their drivers, as they don t seem to do something special except this linking
ever considered that there might be a reason why they give your a driver to do that as opposed to a batch script or smth?