Hi all,
I would like to set up the following:
- Opta as a Modbus slave, either over RS485 or TCP/IP (ethernet).
- Movicon.NExT (SCADA HMI) program on laptop as Modbus master to control Opta relays, display Opta inputs on screen.
Movicon can handle both Modbus Serial and TCP/IP protocol, only requiring a Host Name (IP address) for TCP/IP, and Port Number/Baud Rate/Data Bits/Parity for Serial.
Modbus TCP/IP:
- Do I need to configure a static IP address in the Sketch editor?
- Due to company regulations, once I connect the Ethernet cable between Opta and Laptop, the wifi shuts off. I can check the IP address of the ethernet network between the Opta and laptop once they are connected using ipconfig. In PLC IDE > Set Up Communication > ModbusTCP, do I use the IP address from ipconfig?
- How about in Movicon? What IP address do I use?
- Do I need to do any additional prep in PLC IDE?
Modbus Serial via RS485:
- Purchased this converter off of Amazon: Amazon.co.jp: DSD TECH USB 2.0 to RS485 Serial Data Converter CP2102 Adapter for Windows 7,8,10,Linux,Mac OS : Computers, and have wired A, B and GND to the Opta.
- The RS485-USB converter appears as COM8 in PLC IDE > Set Up Communication > Modbus. What Modbus Address do I use? I keep getting "ERROR" trying to connect. I know for the regular USB-C connection, the address 247 works.
Any help would be appreciated. Let me know if you need any additional details.