P3: Basic PLC Program for SINUMERIK 840D sl
13.13 Block descriptions
Basic Functions
Function Manual, 09/2011, 6FC5397-0BP40-2BA0
931
Op1KeyOut
Op2KeyOut
I POINTER P#Ax.0
or
P#Mx.0
or
P#DBn.DBXx.0.
Start address for the output signals of the
affected direct control key modules
Op1KeyBusAdr
Op2KeyBusAdr
I INT 1 ... 191 Direct control keys via
Ethernet: TCU Index:
Op1KeyStop
Op2KeyStop
I BOOL 0: Start transmission
of direct control key signals
1: Stop transmission
of direct control key signals
Op1KeyNotSend
Op2KeyNotSend
I BOOL 0: Send and receive operation activated
1: Receive
direct control key signals only
OpKeyBusType I BYTE b#16#55 b#16#55: Ethernet
IdentMcpBusAdr I INT 1 ... 254 only IE devices
IdentMcpProfilNo I BYTE 0, 1 Profile of a device
0: complete device
1: only direct control keys
IdentMcpBusType I BYTE b#16#5 only IE devices
IdentMcpStrobe I BOOL Activate query
MaxBAG O INT 1 ... 10 Number of mode groups
MaxChan O INT 1 ... 10 Number of channels
MaxAxis O INT 1 ... 31 Number of axes
ActivChan O ARRAY[1...10]
OF BOOL
Bit string for active channels
ActivAxis O ARRAY[1..31]
OF BOOL
Bit string for active axes
UDInt O INT Quantity of INTEGER machine data in
DB20
UDHex O INT Quantity of hexadecimal machine data in
DB20
UDReal O INT Quantity of REAL machine data
in DB 20
IdentMcpType O BYTE Type (HT2, HT8, ...)
IdentMcpLengthIn O BYTE Length info
input data in PLC
IdentMcpLengthOut O BYTE Length info
output data in PLC
Signal
Typ
e
Type Value range Comment