Detailed Description
2.12 Block descriptions
PLC Basic Program Solution Line (P3 sl)
Function Manual, 08/2005 Edition, 6FC5397-0BP10-0BA0
2-87
Code Comment
END_VAR
VAR_OUTPUT
MaxBAG: INT ;
MaxChan: INT ;
MaxAxis: INT ;
ActivChan: ARRAY[1..10] OF BOOL;
ActivAxis: ARRAY[1..31] OF BOOL;
UDInt: INT;
UDHex: INT;
UDReal: INT;
END_VAR
Description of formal parameters 840D
The table below lists all formal parameters of the RUN_UP function for the 840D:
Signal Type Type Value range Remarks
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
Start address for status double
word for data transmission to the
machine control panel:
DW#16#08000000: Timeout,
otherwise 0
MCP1StatRec
MCP2StatRec
I Pointer Q0.0 to Q124.0,
F0.0 to F252.0 or
DBn DBX0.0 to
DBXm.0
Start address for status double
word for data reception by machine
control panel:
DW#16#00000400: Timeout,
otherwise 0
MCP1BusAdr
MCP2BusAdr
I Int 1...15
1 ... 126
MPI/MCP bus address of MCP
DP slave: PROFIBUS address
MCP1Timeout
MCP2Timeout
I S5time Recommendation:
700 ms
Cyclic sign-of-life monitoring for
machine control panel