Siemens SINUMERIK 840D sl Function Manual page 915

Hide thumbs Also See for SINUMERIK 840D sl:
Table of Contents

Advertisement

Declaration SINUMERIK 840D sl
FUNCTION_BLOCK FB1
VAR_INPUT
Basic Functions
Function Manual, 01/2015, 6FC5397-0BP40-5BA2
MCPNum:
INT:=1;
MCP1In:
POINTER;
MCP1Out:
POINTER;
MCP1StatSend:
POINTER;
MCP1StatRec:
POINTER;
MCP1BusAdr:
INT:=6;
MCP1Timeout:
S5TIME:= S5T#700MS;
MCP1Cycl:
S5TIME:= S5T#200MS;
MCP2In:
POINTER;
MCP2Out:
POINTER;
MCP2StatSend:
POINTER;
MCP2StatRec:
POINTER;
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;
BHGIn:
POINTER;
BHGOut:
POINTER;
BHGStatSend:
POINTER;
BHGStatRec:
POINTER;
BHGInLen:
BYTE:= B#16#6;
BHGOutLen:
BYTE:= B#16#14;
BHGTimeout:
S5TIME:= S5T#700MS;
BHGCycl:
S5TIME:= S5T#100MS;
BHGRecGDNo:
INT:=2;
BHGRecGBZNo:
INT:=2;
BHGRecObjNo:
INT:=1;
P3: Basic PLC program for SINUMERIK 840D sl
// 0: No MCP
// 1: 1 MCP (default)
// 2: 2 MCPs
// Start addr. MCP1 input signals
// Start addr. MCP1 output signals
// Status DW for sending MCP1
// Status DW for receiving MCP1
// default
// Start addr. MCP2 input signals
// Start addr. MCP2 output signals
// Status DW for sending MCP2
// Status DW for receiving MCP2
// Handheld unit interface
// 0: No HHU
// 1: HHU on MPI
// 2: HHU on OPI
// Transmit data of the handheld
unit
// Receive data of the handheld
unit
// Status DW for sending HHU
// Status DW for receiving HHU
// Input 6 bytes
// Output 20 bytes
13.17 Block descriptions
915

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 828dSinumerik 840de sl

Table of Contents