Detailed description
2.12 Block descriptions
Basic logic functions: PLC basic program solution line (P3 sl)
Function Manual, 11/2006, 6FC5397-0BP10-2BA0
99
Declaration SINUMERIK 840D
Code Comment
FUNCTION_BLOCK FB 1
VAR_INPUT
MCPNum:
INT:=1;
//0: No MCP
//1: 1 MCP (default)
//2: 2 MCPs
MCP1In:
POINTER;
//Start addr. input signals MCP 1
MCP1Out:
POINTER;
//Start addr. output signals MCP 1
MCP1StatSend:
POINTER;
//Status DW for sending MCP 1
MCP1StatRec:
POINTER;
//Status DW for receiving MCP 1
MCP1BusAdr:
INT:=6;
//Default
MCP1Timeout:
S5TIME:= S5T#700MS;
MCP1Cycl:
S5TIME:= S5T#200MS;
MCP2In:
POINTER;
//Start addr. input signals MCP 2
MCP2Out:
POINTER;
//Start addr. output signals MCP 2
MCP2StatSend:
POINTER;
//Status DW for sending MCP 2
MCP2StatRec:
POINTER;
//Status DW for receiving MCP 2
MCP2BusAdr:
INT ;
MCP2Timeout:
S5TIME:= S5T#700MS;
MCP2Cycl:
S5TIME:= S5T#200MS;
MCPMPI:
BOOL:= FALSE;
MCP1Stop:
BOOL:= FALSE;
MCP2Stop:
BOOL:= FALSE;
MCP1NotSend:
BOOL:= FALSE;
MCP2NotSend:
BOOL:= FALSE;
MCPSDB210:
BOOL:= FALSE;
MCPCopyDB77:
BOOL:= FALSE;
MCPBusType:
BYTE=B#16#0;
HHU:
INT:=0;
//Handheld unit interface
//0: No HHU
//1: HHU on MPI
//2: HHU on OPI
BHGIn:
POINTER;
//Transmit data of the HHU
BHGOut:
POINTER;
//Receive data of the HHU
BHGStatSend:
POINTER;
//Status DW for sending HHU
BHGStatRec:
POINTER;
//Status DW for receiving HHU
BHGInLen:
BYTE:= B#16#6;
//Input 6 bytes
BHGOutLen:
BYTE:= B#16#14;
//Output 20 bytes
BHGTimeout:
S5TIME:= S5T#700MS;
BHGCycl:
S5TIME:= S5T#100MS;
BHGRecGDNo:
INT:=2;
BHGRecGBZNo:
INT:=2;
BHGRecObjNo:
INT:=1;
Summary of Contents for SINUMERIK 840D sl
Page 282: ...Index Basic logic functions Acceleration B2 64 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Page 388: ...Basic logic functions Travel to fixed stop F1 Function Manual 11 2006 6FC5397 0BP10 2BA0 52 ...
Page 962: ...Index Basic logic functions Emergency Stop N2 20 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Page 1704: ...Constraints Basic logic functions Spindles S1 94 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Page 1716: ...Index Basic logic functions Spindles S1 106 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Page 1996: ...Index Basic logic functions Tool Offset W1 208 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Page 2150: ...Table of contents Basic logic functions Appendix 4 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Page 2184: ...Glossary Basic logic functions Appendix 38 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...