Detailed description
2.12 Block descriptions
Power Line Basic PLC Program (P3)
Function Manual, 08/2005 Edition, 6FC5397-0BP10-0BA0
2-99
Code Comment
//1 - HHU on MPI
BHGIn: POINTER; //Transmit data of the HHU
BHGOut: POINTER; //Receive data of the HHU
BHGStatRec: POINTER; //Status DW for receiving HHU
BHGTimeout: S5TIME:= S5T#700MS;
NCCyclTimeout: S5TIME:= S5T#200MS;
NCRunupTimeout: S5TIME:= S5T#50S;
ListMDecGrp: INT:= 0;
NCKomm: BOOL:= FALSE;
MMCToIF: BOOL:= TRUE;
HWheelMMC: BOOL:= TRUE; //Selection of handwheel using MMC
MsgUser: INT:= 10; //Number of user areas in DB 2
UserIR: bool:= FALSE //User programs in OB 40,
//Observe local data expansion!
IRAuxfuT: bool:= FALSE; //Evaluate T function in OB 40
IRAuxfuH: bool:= FALSE; //Evaluate H function in OB 40
IRAuxfuE: bool:= FALSE; //Evaluate E function in OB40
UserVersion: Pointer; //Pointer to string variable indicated
//in version display
END_VAR
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 and 840D
The table below lists all formal parameters of the RUN_UP function for the 810D and 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 E0.0 to E120.0 or
M0.0 to M248.0 or
DBn.DBX0.0 to
DBXm.0
Start address for
input signals of relevant
machine control panel
1)