EasyManua.ls Logo

NCT 90 - Page 35

Default Icon
43 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
32
D431 ;y is on referenece switch
Z
(I007AI005) ;limit switches of Z axis are considered as
;reference point switches
U432 ;Z is not on referenece switch
E
D432 ;z is on referenece switch
Z
J1 ;end of module 001
2nd level PLC modul
:000
C004 ;calling the initialization modul
:100 ;in case of emergency state or after
turning ;the machine on
(NM0ANY007) ;time elapsed between two lubrications
(timer ;M0) and the lubrication has not been
started
LRP002
=0 ;if parameter CONST2=0 no lubrication
E
U007 ;lubrication pump on
SH0 ;stores CONST2 into H0 timer (lubrication
;time)
Z
Z
(NH0AY007) ;lubrication time elapsed (timer H0)
and pump ;is on
D007 ;pump off
LRP001 ;loads CONST1 into OP register
SM0 ;stores OP into M0 timer (time between two
;lubrications)
Z
Y405 ;tests emergency state flag
G000 ;if emergency state -> initialization
E
G100 ;no emergency state, goes to module
:100
Z
J0 ;end of module :000
Emergency state module
:003
U405 ;sets emergency state flag (PLC -> NC)
D400 ;resets machine on flag (PLC -> NC)
0
SY00 ;turns off all outputs
SY02 ;(Y000 - Y037)
D452 ;turns off spindle command signal
relay