EasyManuals Logo

Siemens MCP 398C Function Manual

Siemens MCP 398C
2184 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #1345 background imageLoading...
Page #1345 background image
Detailed description
2.7 Structure and functions of the basic program
Basic logic functions: PLC basic program solution line (P3 sl)
Function Manual, 11/2006, 6FC5397-0BP10-2BA0
71
Example OP's: Direct control key
The direct control keys of the OP's at the Ethernet-Bus should be transferred to the PLC. Till
now, the direct control keys have been transfered to the PLC via the Profibus or via a special
cable connection between OP and MCP.
For connecting the direct control keys via the Ethernet, this concerns e.g. the "OP08T", there
is a parameterization in the basic program for activating the data transport. The related
parameters lie in the instance DB of the FB 1 (OpKeyNum to OpKeyBusType, see data
table). The parameters are provided by the user in the start OB 100 through the switching of
the parameter at the FB 1 call. The bus address and Op1/2KeyStop can also be modified in
the cyclic operation by writing the FB 1-Instance-DB DB 7.
The transport of the user data of the direct control keys runs in the same way as in the case
of Ethernet-MCP. The data transport can also be stopped and restarted via writing the DB 7-
parameter "Op1/2KeyStop". During the Stop-phase the address of the direct control key
module (TCU-index or the MCP-address) can also be changed.
After resetting the Stop-signal a connection to the new address is established.
In the interface signals from NCK
DB10, ... DBX104.3 (OP1Key ready) and DB10, ... DBX104.4 (OP2Key ready) the status of
the respective direct control key interface can be read.
Address Direct Control Keys
For the parameter Op1/2KeyBusAdr the TCU-index is normally to be used. This affects the
OP’s, such as OP08T, OP12T, which for the direct control keys do not have special cable
connection to an Ethernet-MCP.
If OP’s with direct control keys have a special cable connection and these are connected to
an Ethernet-MCP, then for the parameter Op1/2KeyBusAdr the address of the MCP (DIP-
switch setting of the MCP) is to be used. Only the data stream of the direct control keys (2
bytes) is transferred via the direct control key interface.
Alarm direct control keys
An error entry is also made in the PLC alarm buffer for timeouts. resulting in the following
error messages on the HMI:
- 400274: Direct control key 1 failed or
- 400275: Direct control key 2 failed
Control unit switching for direct control keys
The user switches Op1/2KeyBusAdr with 0xFF and Stop = TRUE in the startup block OB
100. Via the M to N block FB 9 the direct control key address of the M to N-interface is
stored to the parameter "Op1KeyBusAdr".

Table of Contents

Other manuals for Siemens MCP 398C

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Siemens MCP 398C and is the answer not in the manual?

Siemens MCP 398C Specifications

General IconGeneral
BrandSiemens
ModelMCP 398C
CategoryControl Systems
LanguageEnglish

Related product manuals