Detailed description
2.12 Block descriptions
Power Line Basic PLC Program (P3)
Function Manual, 08/2005 Edition, 6FC5397-0BP10-0BA0
2-95
Code Comment
VAR_OUTPUT
MaxBAG: INT ;
MaxChan: INT ;
MaxAxis: INT ;
ActivChan: ARRAY[1..10] OF BOOL;
ActivAxis: ARRAY[1.0.31] OF BOOL;
UDInt : INT ;
UDHex: INT ;
UDReal : INT ;
END_VAR
Description of formal parameters 810D, 840D
The table below lists all formal parameters of the RUN_UP function for 810D, 840D:
Signal I/O Type Value range Remarks
MCPNum I Int Up to 2 Number of active MCPs
0: No MCP installed
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 Bus address of machine control
panel
MCP1Timeout
MCP2Timeout
I S5time Recommendation:
700 ms
Cyclic sign-of-life monitoring for
machine control panel
MCP1Cycl
MCP2Cycl
I S5time Recommendation:
200 ms
Time reference for cyclic updating
of signals to machine control panel