Classic ladder (how to use Keep relay function)

More
06 Jul 2017 17:38 #95442 by snujcnc
Dear all

I am looking for solution for classic ladder programming
if i want to store last input status or some value in classic ladder how can i do that

for example if i make counting of proximity on turret and what to store this location and on next power on machine i want to read that value or i want to know exact counter value ....

generally other system use keep relay (which stores required value in register and can be used on next power on )

Please Log in or Create an account to join the conversation.

More
06 Jul 2017 18:31 #95445 by Todd Zuercher
For your counter value, I think you can use a "Variable Assignment" to retain the value between sessions, according to the docs anyway.
linuxcnc.org/docs/2.6/html/ladder/classi..._variable_assignment
I don't know if it works though.

Please Log in or Create an account to join the conversation.

More
06 Jul 2017 18:52 #95446 by snujcnc
I think it works

Update once test

Thank you

Please Log in or Create an account to join the conversation.

Time to create page: 0.117 seconds
Powered by Kunena Forum