Hello everyone,
Today i have been tasked with creating a program in cx-programmer to keep a ramp at a certain angle as a tide comes in and out by by jibbing 4 hydraulic cylinders up or down. Problem is that i was only taught digital inputs and outputs during my 3rd year of my apprenticeship because we did not have the time or equipment to delve into analog inputs and outputs leaving me without the knowledge to program analog inputs.
The ramp has a 0-5 volt angle sender which i am going to adjust to 2.5 volts when the ramp is at the right angle so i need in the programming when the signal goes greater then say 2.6 volts or less than 2.4 volts (these values will need to be verified when ramp and pontoon are installed) the plc will close a solenoid and allow the hydraulic ramps to raise or lower until the sender reads 2.5 volts, I have most of the ladder logic worked out but i have no idea how to add analog inputs, address them or read the hexadecimal values the plc is converting from the 0-5v input so if anyone could help that would be great.
plc is omron CJ2M-CPU13 and analog input is CJ1W-AD081-V1
Thanks for any help.
Today i have been tasked with creating a program in cx-programmer to keep a ramp at a certain angle as a tide comes in and out by by jibbing 4 hydraulic cylinders up or down. Problem is that i was only taught digital inputs and outputs during my 3rd year of my apprenticeship because we did not have the time or equipment to delve into analog inputs and outputs leaving me without the knowledge to program analog inputs.
The ramp has a 0-5 volt angle sender which i am going to adjust to 2.5 volts when the ramp is at the right angle so i need in the programming when the signal goes greater then say 2.6 volts or less than 2.4 volts (these values will need to be verified when ramp and pontoon are installed) the plc will close a solenoid and allow the hydraulic ramps to raise or lower until the sender reads 2.5 volts, I have most of the ladder logic worked out but i have no idea how to add analog inputs, address them or read the hexadecimal values the plc is converting from the 0-5v input so if anyone could help that would be great.
plc is omron CJ2M-CPU13 and analog input is CJ1W-AD081-V1
Thanks for any help.