Configuring Event Messages
04/99
44
Getting Started with C7-621-AS-i
In the status line (not shown in the figure), you will see the relevant address which connects the message
to the PLC. In your example, for message no. 001 the address is
System ON:
DB 46 DBX 5.0
.
Generating the control program
To allow the exchange of data between the C7-CPU and C7-OP you must still adjust your control pro-
gram and reload it into the C7. In your user program you have programmed certain message flags for as
soon as certain operating states occur. Transfer these message flags to DB46.DBW4
In the SIMATIC Manager, open the function block
FC2
and create a new network with the following
program lines.
Network 6 : Data interface
L
MW20
// Message flags
T
DB46.DBW4
// Data block CPU_OP
Save the block and reload it into the CPU. Also update the flash memory via the function
Save RAM
to ROM
. Make sure that the C7-CPU is in the operating mode STOP during this save process. Then
select the operating mode RUNP again.
Using the softkey
F1
on the C7-621-AS-i, select the standard screens and put the device in transfer
mode via
System
→
Mode
.
Transfer the ProTool configuration back to the C7-621-AS-i control system.