Controlling Outputs and writing code
Posted: Thu Aug 20, 2020 7:12 am
Hi All,
I have made a machine that has a 'forklift' type operation on it that requires a hydraulic valve to operate to lower it down segment at a time (8 positions in total). I would like to use the acorn outputs to do this. I have attached a hand drawn schematic of basic wiring, plumbing and operation.
Process likes and wants if achievable...
I want to call for output 8 to operate (M68) and have the forklift go down with the hydraulic valve until it reaches or sits on the limit switch and then turn off output 8 (M88).
The problem I have or foresee is that if I am to use the limit switch as an input, when the operation starts it is sitting on the limit switch i.e telling it to stop. I need it to not 'see' the limit switch for a second or so (enough time for the lowering of forklift to get off it) and then start to look for it after to then to be able to stop output 8 (M88).
I have a feeling there is a macro or something that could be written to overcome this simply. I would appreciate if someone could help me with this as the only alternative I am able to achieve is a cumbersome external setup that would take some time to build with timers and relays etc.
Thank You in advance.
Ian Tilley
I have made a machine that has a 'forklift' type operation on it that requires a hydraulic valve to operate to lower it down segment at a time (8 positions in total). I would like to use the acorn outputs to do this. I have attached a hand drawn schematic of basic wiring, plumbing and operation.
Process likes and wants if achievable...
I want to call for output 8 to operate (M68) and have the forklift go down with the hydraulic valve until it reaches or sits on the limit switch and then turn off output 8 (M88).
The problem I have or foresee is that if I am to use the limit switch as an input, when the operation starts it is sitting on the limit switch i.e telling it to stop. I need it to not 'see' the limit switch for a second or so (enough time for the lowering of forklift to get off it) and then start to look for it after to then to be able to stop output 8 (M88).
I have a feeling there is a macro or something that could be written to overcome this simply. I would appreciate if someone could help me with this as the only alternative I am able to achieve is a cumbersome external setup that would take some time to build with timers and relays etc.
Thank You in advance.
Ian Tilley