Siemens SINUMERIK 840Di Function Manual page 1005

Basic machine
Hide thumbs Also See for SINUMERIK 840Di:
Table of Contents

Advertisement

Declaration 810D, 840D
Code
FUNCTION_BLOCK FB 1
VAR_INPUT
MCPNum:
MCP1In:
MCP1Out:
MCP1StatSend:
MCP1StatRec:
MCP1BusAdr:
MCP1Timeout:
MCP1Cycl:
MCP2In:
MCP2Out:
MCP2StatSend:
MCP2StatRec:
MCP2BusAdr:
MCP2Timeout:
MCP2Cycl:
MCPMPI:
MCP1Stop:
Power Line Basic PLC Program (P3)
Function Manual, 08/2005 Edition, 6FC5397-0BP10-0BA0
Caution
The text below is only relevant if an MCP1In, MCP1Out, MCP1StatSend, or
MCP1StatRec pointer parameter (or the parameters for the second MCP and the HHU) is
to be assigned to a data block (these pointers are usually stored on inputs or outputs).
To assign the MCP1In, MCP1Out, MCP1StatSend, or MCP1StatRec pointer parameter
(or the parameters for the second MCP and the HHU) to data block elements:
The In parameter (e.g., MCP1In) for this operator component must point to a data block.
The parameterized DB number must be the same for the other parameters if the other
pointers point to data blocks (the other parameters can point to inputs, outputs or flags).
All pointers of an operator component do not have to point to data blocks.
INT:= 1;
POINTER;
POINTER;
POINTER;
POINTER;
INT:= 6;
S5TIME:= S5T#700MS;
S5TIME:= S5T#200MS;
POINTER;
POINTER;
POINTER;
POINTER;
INT ;
S5TIME:= S5T#700MS;
S5TIME:= S5T#200MS;
BOOL:= FALSE;
BOOL:= FALSE;
Comment
//0: No MCP
//1: 1 MCP (default)
//2: 2 MCPs
//Start addr. MCP 1 input signals
//Start addr. MCP 1 output signals
//Status DW for sending MCP 1
//Status DW for receiving MCP 1
//Default
//Start addr. MCP 2 input signals
//Start addr. MCP 2 output signals
//Status DW for sending MCP 2
//Status DW for receiving MCP 2
Detailed description
2.12 Block descriptions
2-93

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents