30/135
Bosch Rexroth AG | Electric Drives
Machine Operator Terminal BTV 20.4A
4.2.5
Addressing via PLC
Machine Function Keys
Alternatives with address constants
PLC Function Keys
and Controls
In BTVs with integrated PLC, the machine function keys are directly connected
to the PLC and therefore they can be directly addressed by the PLC program.
Machine function keys
L1
L2
L3
L4
L5
L6
L7
L8
R1
R2
R3
R4
R5
R6
R7
R8
Fig.4-8:
Addressing of machine function keys
Instead of the direct address entry also address constants for Bosch Rexroth
firmware data types can be used.
Machine function keys left/right
PLC program identifier
MFT_L
MFT_R
Fig.4-9:
Addressing with address constants
The MFK_L data type contains the L1, L2,..., L8 elements of the BOOL type.
The MFK_R data type contains the R1, R2,..., R8 elements of the BOOL type.
Example in the PLC program: MFT_L.L1
PLC function key
S1 (see figure)
S2
S3
S4
S5
Rexroth MTA 200 | Project Planning Manual
Address
%I0.1480.0
%I0.1480.1
%I0.1480.2
%I0.1480.3
%I0.1480.4
%I0.1480.5
%I0.1480.6
%I0.1480.7
%I0.1481.0
%I0.1481.1
%I0.1481.2
%I0.1481.3
%I0.1481.4
%I0.1481.5
%I0.1481.6
%I0.1481.7
Address constants
A#iMFK_L
A#iMFK_R
Address key
%I*.0.0
%I*.0.1
%I*.0.2
%I*.0.3
%I*.0.4
Data type
MFK_L
MFK_R
Address LEDs
%Q*.0.0
%Q*.0.1
%Q*.0.2
%Q*.0.3
%Q*.0.4