Detailed Description
2.12 Block descriptions
PLC Basic Program Solution Line (P3 sl)
Function Manual, 08/2005 Edition, 6FC5397-0BP10-0BA0
2-219
Declaration of the function
FUNCTION FC 26: void
// NAME: HPU_MCP
VAR_INPUT
BAGNo : BYTE ;
ChanNo: BYTE ;
END_VAR
BEGIN
END_FUNCTION
Description of formal parameters
The table below shows all formal parameters of the "HPU_MCP" function.
Signal Type Type Value range Remarks
BAGNo I Byte 0 - b#16#0A
and
b#16#10 - b#16#1A
No. of mode group to which the mode signals are
transferred. BAGNo >= b#16#10 means access to
the second machine control panel.
ChanNo I Byte B#16#0A Channel no. for the channel signals
2.12.27.1 MCP selection signals to the user interface
Operating modes and machine functions
Source:
MCP key
Destination: Interface DB (parameter ModeGroupNo)
representation for mode group 1
AUTOMATIC DB11.DBX0.0
MDI DB11.DBX0.1
JOG DB11.DBX0.2
REPOS DB11.DBX1.1
REF DB11.DBX1.2
TEACH_IN DB11. DBX1.0
INC 1 ... 10 000, INC Var. DB11.DBB2, Bits 0 to 5