38.4
Safety Label
A label used in safety programs is called a safety label. Information not described in this section is same as that of standard
labels. ( Page 372 LABELS)
Safety label types
There are three safety label types. Only the following labels can be used in safety programs.
*1
• Safety global label
• Standard/safety shared label
• Safety local label
*1 Safety devices can be assigned.
*2 This label can be used in both standard programs and standard function blocks.
• An initial value cannot be set to safety labels and standard/safety shared labels in the CPU parameter.
• To use aliases, a safety label can assign only safety labels as its original data location. Likewise, a standard/
safety shared label can assign only standard/safety shared labels. A standard label cannot assign safety
labels and standard/safety shared labels as its original data location. ( GX Works3 Operating Manual)
How to use standard/safety shared labels
A standard/safety shared label is used to pass device data from a safety program to a standard program, and vice versa.
When a standard/safety shared label is used in a safety program as shown in the examples below, the program needs to be
created so that the safety state is secured.
■To restart safety control by the command from the GOT
Standard control
Standard control
Standard program
Perform write to turn on M0 from GOT.
SM400
M0
*2
Safety control
Transfer data.
Used in a safety control.
Standard/safety
shared label
Safety program
Create a program in which the safety control processing is set in
a safety program and the standard/safety shared label is used.
Standard/safety
shared label
GOT_OPE
[ SET GOT_OPE ]
Safety control
SA\M0
Restart processing
38 SAFETY DEVICES, SAFETY LABELS, AND CONSTANTS
38
681
38.4 Safety Label