Siemens SINUMERIK 828D Function Manual page 896

Hide thumbs Also See for SINUMERIK 828D:
Table of Contents

Advertisement

P3: Basic PLC Program for SINUMERIK 840D sl
13.8 Structure and functions of the basic program
An error entry is also made in the PLC alarm buffer for timeouts. As a result, the following error messages are
output at the HMI:
400260: MCP 1 failure
or
400261: MCP 2 failure
400262: HHU failure
An MCP or HHU failure is detected immediately after a cold restart even if no data have yet been exchanged
between the MCP/HHU and PLC.
The monitoring function is activated as soon as all components have signaled "Ready" after power­up.
Example OPs: Direct control key
The direct control keys of the OPs at the Ethernet Bus should be transferred to the PLC. Till now, the direct
control keys have been transferred 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.
The status of the respective direct-key interfaces can be read in the interface signal:
DB10.DBX104.3 (OP1Key ready)
or
DB10.DBX104.4 (OP2Key ready)
Address Direct Control Keys
For the parameter Op1/2KeyBusAdr the TCU-index is normally to be used. This affects the OPs, such as OP08T,
OP12T, which for the direct control keys do not have special cable connection to an Ethernet MCP.
If OPs 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. As a result, the following error messages are
output at the HMI:
400274: Direct control key 1 failed
or
400275: Direct control key 2 failed
896
Function Manual, 09/2011, 6FC5397-0BP40-2BA0
Basic Functions

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840d sl

Table of Contents