THIMMY01
Member
Hi everyone,
I'm quite new here and new to plc ladder programming. I have done some courses to have basic knowledge of the program, and I'm currently working on a project using Gx works 2, mainly about using a plc as a supervisory function or control with Arduino uno for controlling flow rate through a motorized control valve. The logic is that:
1. the PLC will have two feedbacks; one for the motor position and the other for the flow rate.
2. the PLC will be able to get a setpoint from HMI
3. the PLC will send analog signal to the arduino based on the setpoint from the HMI(the arduino will use PID to control the motorised valve).
4. the PLC gets acknowledgement from the arduino
5. the PLC checks if there's error after comparing the setpoint with the feedbacks and update the arduino
6. The PLC updates the HMI on it's I/O status.
I will glad to get any help here as to how to go about the ladder programming to accomplish the above PLC logic. Thanks in anticipation.
I'm quite new here and new to plc ladder programming. I have done some courses to have basic knowledge of the program, and I'm currently working on a project using Gx works 2, mainly about using a plc as a supervisory function or control with Arduino uno for controlling flow rate through a motorized control valve. The logic is that:
1. the PLC will have two feedbacks; one for the motor position and the other for the flow rate.
2. the PLC will be able to get a setpoint from HMI
3. the PLC will send analog signal to the arduino based on the setpoint from the HMI(the arduino will use PID to control the motorised valve).
4. the PLC gets acknowledgement from the arduino
5. the PLC checks if there's error after comparing the setpoint with the feedbacks and update the arduino
6. The PLC updates the HMI on it's I/O status.
I will glad to get any help here as to how to go about the ladder programming to accomplish the above PLC logic. Thanks in anticipation.