7.3.4
Programming the auxiliary functions in the PLC
The following figures shows how the bit auxiliary functions M and the integer
auxiliary functions H are programmed in the PLC program.
Auxiliary function M
Programming of the M auxiliary functions will be shown by the example of the
"Tool Pot" tool swiveling device. The device is swiveled out by entering M80
in the NC program and back in by entering M86.
Fig. 7-6:
Programming the auxiliary function M
The auxiliary function Ch1_M80 is read in network 1. If this function is set (by
the NC processing M80) and the counterfunction M86 is not set, an "mTool‐
PotDown" flag is set to True. This flag controls the swiveling motion of the de‐
vice.
The auxiliary function M80 is acknowledged in network 2. To achieve this, the
PLC evaluates the "iPotDown" input signal with a TON delay. Once the signal
for 100 ms is set to "True", M80 is acknowledged by resetting bit Ch1_M80.
Flag "mToolPotDown" is also reset at the same time.
The device swivels out via the "qPotDown" output. The "qPotDown" output
receives the control signal via the "mToolPotDown" flag by network 3.
Auxiliary functions H
The "H" auxiliary functions can be used to transfer numerical values from the
NC program to the PLC. This will be shown by the example of the "command
pressure". A value of 50 is transferred to the PLC by entering H1=50 in the
NC program.
DOK-MTXMIC-EASY*******-CO06-EN-P
Bosch Rexroth AG
77/177
IndraMotion MTX micro Easy Setup for Standard Turning and Milling Machines
PLC commissioning