Estop, external and internal with physical relay

More
1 year 11 months ago #314059 by tommylight
Done, thank you, i will delete this and the one above this after you get a chance to read it to keep this topic clean.
The following user(s) said Thank You: Mattias

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

More
1 year 11 months ago #314582 by Benb
The attached control circuit will disable the spindle and servos of the machine if an Estop push button (PB) is pressed or change tool is requested. The arrangement is combination of both software and external hardwired circuit.

To stop any movement of the machine, the approach uses estop and reset pins of the halui component and redundant hardwired external circuit to disable any movement of the machine. The interface between the software and the hardwired circuit is done through digital I/O (2 or 3 inputs and two outputs).

Operation of this system is follows:
If an Estop PB is activated or tool change is requested machine will go into an Estop state.
  • If only Estop is activated, operator is required to press push button reset to enable spindle and servos
  • If tool change is requested, operator is required to change the tool, press tool changed PB (either hardwired or UI) and press reset PB to reset the estop and continue operation. (I know operators don’t like to press two buttons sequentially in certain order, but for their hands and fingers sake the extra mental challenge makes it worthwhile, I think!.

On the left side of the sheet is the electrical schematic. Showing use 5 relays. If you decide to use this circuit you need to determine the number of contacts normally open and normally closed before ordering the relays. The MCR contacts connection to servos and VFD are hardware dependent (if you need help with this part of the diagram ask)

On the right side is a postgui block diagram reflecting net listing of hal file see below.

 

Your browser does not support embedded PDFs. Please download the file here: Download PDF.



#
# Load realtime Components and their counts

loadrt and2         count= 2
loadrt flipflop     count= 1
loadrt or2          count= 1

#
# Add functions to threads

addf and2.0                   servo-thread 
addf and2.1                   servo-thread 
addf flipflop.0               servo-thread 
addf or2.0                    servo-thread 

#
# Connect Pins with Wires

#     signal/wire                 connected Pins
#--+
+
net estop.activate.sig     halui.estop.activate  and2.1.in1  flipflop.0.out  
net estop.is-activated.sig halui.estop.is-activated  and2.0.in1  flipflop.0.reset  hm2-7i92.0.7i77.0.0.output-00  
net estop.reset.sig        halui.estop.reset  and2.0.out  
net external.reset         and2.0.in0  hm2-7i92.0.7i77.0.0.input-01  
net external=estop         flipflop.0.set  hm2-7i92.0.7i77.0.0.input-00  
net t.prepare.loop         iocontrol.0.tool-prepared  iocontrol.0.tool-prepare  
net t.xch.done             hal_manualtoolchange.changed  iocontrol.0.tool-changed  
net tool-changed           or2.0.in0  
net tool-xch.request       hal_manualtoolchange.change  iocontrol.0.tool-change  hm2-7i92.0.7i77.0.0.output-01  
net tool.changed           or2.0.out  and2.1.in0  
net tool.changed.button    hal_manualtoolchange.change_button  and2.1.out  
net tool.number            hal_manualtoolchange.number  iocontrol.0.tool-prep-number  
net ui.tool.change.pb      or2.0.in1  

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

Time to create page: 0.154 seconds
Powered by Kunena Forum