Detailed description
2.12 Block descriptions
Basic logic functions: PLC basic program solution line (P3 sl)
Function Manual, 11/2006, 6FC5397-0BP10-2BA0
101
Code Comment
ActivAxis: ARRAY[1..31] OF BOOL;
UDInt : INT ;
UDHex: INT ;
UDReal : INT ;
IdentMcpType : BYTE ;
IdentMcpLengthIn : BYTE ;
IdentMcpLengthOut : BYTE ;
END_VAR
Description of formal parameters of SINUMERIK 840D
The table below lists all formal parameters of the RUN_UP function for the 840D:
Signal Type Type Range of values Remark
MCPNum I INT Up to 2 Number of active MCPs
0: No MCPs available
MCP1In
MCP2In
I POINTER I0.0 to I120.0 or F0.0
to F248.0 or DBn
DBX0.0 to DBXm.0
Start address for input
signals of relevant machine
control panel
MCP1Out
MCP2Out
I POINTER Q0.0 to Q120.0 or
F0.0 to F248.0 or
DBn DBX0.0 to
DBXm.0
Start address for output
signals of relevant machine
control panel
MCP1StatSend
MCP2StatSend
I POINTER Q0.0 to Q124.0,
F0.0 to F252.0 or
DBn DBX0.0 to
DBXm.0
Currently no significance
MCP1StatRec
MCP2StatRec
I POINTER Q0.0 to Q124.0,
F0.0 to F252.0 or
DBn DBX0.0 to
DBXm.0
Currently no significance
MCP1BusAdr
MCP2BusAdr
I INT 1 ... 126
192 .. 223
DP slave:
PROFIBUS address
Ethernet MCP: DIP-Setting
MCP1Timeout
MCP2Timeout
I S5time Recommendation:
700 ms
Cyclic sign-of-life monitoring for
machine control panel
MCP1Cycl
MCP2Cycl
I S5time Recommendation:
200 ms
Relevant only for Profibus
MCPMPI I BOOL false Available owing to compatibility
MCP1Stop
MCP2Stop
I BOOL 0: Start transfer of machine control
panel signals
1: Stop transfer of machine control
panel signals
DP slave: Slave deactivated