Hi i'm making project about implementing PID on 3 phase motor. It's to hard to use PID on plc and i choose to make the PID in the Arduino to do a 2-way communication with PLC. If i want to connect Arduino Uno with PLC CP1E. What kind of Communication i shall use?
Note: I already use RS232 in plc to connect with HMI. That means i only have arduino and USB Type B in PLC to connect. I also bought MAX 232 because i thought plc has 2 port RS232.
I know this is arduino forum, but i wish someone understand the connection between plc and arduino.
Thanks.
Your topic has been moved. Please do not post in "Uncategorized"; see the sticky topics in https://forum.arduino.cc/c/using-arduino/uncategorized/184.
Hi i'm making project about implementing PID on 3 phase motor. It's to hard to use PID on plc and i choose to make the PID in the Arduino to do a 2-way communication with PLC. If i want to connect Arduino Uno with PLC CP1E. What kind of Communication i shall use?
Note: I already use RS232 in plc to connect with HMI. That means i only have arduino and USB Type B in PLC to connect. I also bought MAX 232 because i thought plc has 2 port RS232.
I know this is arduino forum, but i wish someone understand the connection between plc and arduino.
Thanks.
Please do not cross-post as it wastes peoples time. Your two topics on the same subject have been merged.
Understood. Now this is the only post about this topic right?
One option would be to implement an I2C interface using two I/O points on your PLC. But before I did that I would look into the possibility of installing a second RS232 port or using a RS485 port.
Good to hear the solution but when look it up, that means i need to wire up the plc to make another way to communicate?
Yes, the I2C protocol uses a clock line and a data line. You would have to create a routine in the PLC to transmit/receive data from the Arduino. Probably not an easy task. That is why I suggest investigating the possibility of adding a second serial port.
There are several models that show a RS-232 port and a RS-485 port. The link I found suggests the possibility of two RS-232 ports. Try contacting Omron support to investigate the possibilities.
Yes, it's possible to ad another port and i just found out that my friend has the extension. Such a fun way to hear about making a route.. but yeah it's too hard for me as a student :')