Download WinCC flexible 2008 Communication Part 1 - Internet

Transcript
Communication with SIMATIC S5 controllers
7.3 User data areas
7.3.2.2
Step 1: Creating tags or an array
Procedure
You create tags or arrays in the "Tags" editor. The dialog box is shown below.
● Specifying the names of the tags or the name of the array
● Select the connection to the PLC
The connection must already be configured in the "Connections" editor.
● Select the data type
The available data types depend on the PLC being used. If you select an illegal data
type, the tag will not be available in the "Discrete alarms" and "Analog alarms" editors.
The following data types are supported for SIMATIC S5 controllers:
PLC
S5-90U, S5-95U, S5-95 DP master, S5100U, S5-115U, S5-135U, S5-155U
Permitted data types
Discrete alarms
Analog alarms
KF
KF, KH, KM, KY, KS, KC
● Specify the address
The tag addressed here contains the bit that triggers the alarm.
As soon as the bit of the tag is set on the PLC and is transferred to the HMI device in the
configured acquisition cycle, the HMI device recognizes the alarm as "incoming".
After the same bit is reset on the PLC, the HMI device recognizes the alarm as
"outgoing".
Note
In a SIMATIC S5 PLC, the data blocks DB0 to DB9 are reserved internally for the CPU:
DB0 includes the internal list of block start addresses.
DB1 includes the internal list of periphery assignment.
DB2 is used internally for multi-processor use.
DB3 to DB9 are internal working DBs from GRAPH5.
These data blocks should not be used when connecting to a SIMATIC S5 PLC in
WinCC flexible. The data blocks are therefore blocked in the "Tags" editors.
184
WinCC flexible 2008 Communication Part 1
User's Manual, 07/2008, 6AV6691-1CA01-3AB0