Siemens SINUMERIK 840D sl Function Manual page 865

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

Advertisement

Note
If the number of PLC machine data used is increased later, then DB20 must be deleted
beforehand. To prevent such extensions in use having any effect on the existing user program,
the data in DB20 should be accessed in symbolic form wherever possible, e.g. by means of a
structure definition in the UDT.
Alarms
400120
Explanation
Reaction
Remedy
Continuation
Example
The project in the example requires 4 integer values, 2 hexadecimal fields with bit information
and 1 real value.
Machine data:
MD14510 $MN_USER_DATA_INT[0]
MD14510 $MN_USER_DATA_INT[1]
MD14510 $MN_USER_DATA_INT[2]
MD14510 $MN_USER_DATA_INT[3]
...
MD14512 $MN_USER_DATA_HEX[0]
MD14512 $MN_USER_DATA_HEX[1]
...
MD14514 $MN_USER_DATA_FLOAT[0]
GP parameter (OB100):
CALL FB1, DB7(
Basic Functions
Function Manual, 01/2015, 6FC5397-0BP40-5BA2
Deleting DB20 in the PLC and restart
DB length is not the same as the required DB length
Alarm display and PLC stop
Delete DB20 followed by a RESET
After cold restart
MCPNum :=
MCP1In :=
MCP1Out :=
MCP1StatSend :=
MCP1StatRec :=
MCP1BusAdr :=
MCP1Timeout :=
MCP1Cycl :=
NCCyclTimeout :=
NCRunupTimeout :=
P3: Basic PLC program for SINUMERIK 840D sl
13.10 Structure and functions of the basic program
123
456
789
1011
12
AC
123.456
1,
P#E0.0,
P#A0.0,
P#A8.0,
P#A12.0,
6,
S5T#700MS,
S5T#200MS,
S5T#200MS,
S5T#50S;
865

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 828dSinumerik 840de sl

Table of Contents