Linking To The Basic Plc And User Program - Siemens SINUMERIK 840Di sl Commissioning Manual

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

Advertisement

PROFIBUS DP Communication
8.6 DP slave MCP 310
8.6.5

Linking to the basic PLC and user program

The chapter describes the principal linking of the MCP 310 DP slave
● to the PLC basic program for transferring the standard I/O data to the VDI interface
● to the PLC user program (optional) to implement a user-specific response to a module
PLC basic program
To transfer the standard I/O data of the MCP 310 DP slave via the PLC basic program, the
corresponding I/O range must be entered in the communication parameters of the FB1
function block.
Function block FB1
The communications parameters of the MCP are called MCPx... (x = 1 or 2) in function block
FB1. A maximum of 2 machine control panels are supported by the basic PLC program.
To synchronize several MCPs, the PLC program must be adapted accordingly. This is the
user's (machine manufacturer's) responsibility.
The following parameters are relevant, if you want to operate a machine control panel MCP
310 as DP slave in a SINUMERIK 840Di sl:
MCPNum:
MCP1In:
MCP1Out:
MCP1BusAdr
The MCP2... parameters are only needed if a 2nd MCP is used in addition to the 1st MCP:
MCP2In:
MCP2Out:
MCP2BusAdr
Bus type via which the MCP is connected:
MCPBusType
NOTICE
Parameters: MCPxStop and MCPxNotSend are of no significance.
References:
For a detailed description of the PLC basic program or of function block FB 1, please refer to:
264
failure
NOTICE
Processing of additional I/O data is the sole responsibility of the user (machine
manufacturer) and is not supported by the PLC basic program.
INT
POINTER
POINTER
Byte
POINTER
POINTER
Byte
Byte
// Number of MCP
// Address of input signals
// Address of output signals
// PROFIBUS address of the MCP DP slave
// Address of input signals
// Address of output signals
// PROFIBUS address of the MCP DP slave
// MPI
= 0
// PROFIBUS
= B#16#33
// Ethernet
= B#16#55
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
Manual

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840die sl control

Table of Contents