PLC sample applications
5.2 PLC sample application (milling)
PLC Subroutines Manual
82 Operating Instructions, 12/2012, 6FC5397-2EP10-0BA0
Machine data Corresponding function
Bit 1 Function of spindle braking
Bit 2 Password clearing by power-on (0: delete the password; 1: do not delete
the password)
14512[19]
Bit 7 MM+ (Manual Machine Plus) function (enabled when the MM+ has been
licensed and corresponding PLC subroutine has been called)
5.2 PLC sample application (milling)
This sample application is applicable to machines with the following configurations:
● Three axes: axes X, Y and Z, with a hardware limit switch respectively in the positive and
negative directions of each axis
● An analog spindle: SP (the fourth axis)
● PLC-controlled timely and quantitatively lubrication system
● PLC-controlled cooling system
Table 5- 3 Assignment of inputs and outputs
Signal Description Remark
I0.0 Emergency Stop button Normally closed
I0.1 Limit switch in the "+" direction of axis X Normally closed
I0.2 Limit switch in the "-" direction of axis X Normally closed
I0.3 Limit switch in the "+" direction of axis Y
I0.4 Limit switch in the "-" direction of axis Y
I0.5 Limit switch in the "+" direction of axis Z Normally closed
I0.6 Limit switch in the "-" direction of axis Z Normally closed
I0.7 Reference point switch of axis X Normally open
I1.0 Reference point switch of axis Y
I1.1 Reference point switch of axis Z Normally open
I1.2 Disk-style tool magazine: tool magazine count Valid at a low level
I1.3 Disk-style tool magazine: tool magazine at the spindle
position
Valid at a low level
I1.4 Disk-style tool magazine: tool magazine at the original
position
Valid at a low level
I1.5 Disk-style tool magazine: tool at the release position Valid at a low level
I1.6 Disk-style tool magazine: tool at the clamping position Valid at a low level
I1.7 Valid at a low level
I2.0 Normally closed
I2.1 Reserved
I2.2
I2.3 Normally open
I2.4 Coolant level too low Normally closed
I2.5 Cooling pump motor overload Normally closed
I2.6 Lubricant level too low Normally closed