conection between I/O and classic ladder
30 May 2011 22:18 - 30 May 2011 22:33 #10198
by BigJohnT
Replied by BigJohnT on topic Re:conection between I/O and classic ladder
To interact with classicladder you have to use the classicladder inputs and outputs. I'm not sure what you wish to do with a M101 and classicladder.
This is my tool turret that uses classicladder.
John
This is my tool turret that uses classicladder.
# Tool Turret tool change, leave the tool prep loop in as there is no prep needed
net tool-prep-loop iocontrol.0.tool-prepare => iocontrol.0.tool-prepared
net tool-cng-req iocontrol.0.tool-change => classicladder.0.in-01
net tool-cn-done iocontrol.0.tool-changed <= classicladder.0.out-01
net tool-number iocontrol.0.tool-number => classicladder.0.s32in-00
net tool-prep-number iocontrol.0.tool-prep-number => classicladder.0.s32in-01
net tur-stop hm2_5i20.0.gpio.069.out <= classicladder.0.out-02
net tur-lift-spin hm2_5i20.0.gpio.066.out <= classicladder.0.out-03
net tur-locked hm2_5i20.0.gpio.033.in_not => classicladder.0.in-02
net enc-tool-number wsum.1.sum => classicladder.0.s32in-02
net tool-cng-timeout classicladder.0.out-04 => halui.program.stop
John
Last edit: 30 May 2011 22:33 by BigJohnT.
Please Log in or Create an account to join the conversation.
31 May 2011 02:30 #10207
by andradela
Replied by andradela on topic Re:conection between I/O and classic ladder
The tool change sequence is defined by emc? Or you define it?
Please Log in or Create an account to join the conversation.
31 May 2011 11:30 - 31 May 2011 11:32 #10217
by BigJohnT
Replied by BigJohnT on topic Re:conection between I/O and classic ladder
The turret is controlled by my classicladder program. Classicladder gets the tool change request from EMC via the net tool-prep-loop line and the tool number from the net tool-number line. You can copy the .clp file (classicladder) and view it in Axis.
John
John
Last edit: 31 May 2011 11:32 by BigJohnT.
Please Log in or Create an account to join the conversation.
Time to create page: 0.095 seconds