When A Safety Program Is Used; Safety Label Types - Mitsubishi Electric MELSEC iQ-R Series Programming Manual

Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

4.8

When a Safety Program Is Used

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 38 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 Can be used in standard programs and standard function blocks as well.
An initial value cannot be set to safety labels in the CPU parameter. For details, refer to the following.
 MELSEC iQ-R CPU Module User's Manual (Application)
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
■ To use the annunciator (F)
The safe state signal status can be controlled using the annunciator (F) in the standard program. The safe state signal status
is passed from the safety program to the standard program via the standard/safety shared label (safe_state), and the status is
controlled with the annunciator No.5. If an error is detected with the annunciator, the corresponding annunciator number is
output to Y20.
• Standard program
(0)
When the safe state signal turns off, the annunciator No.5 turns on.
(4)
The annunciator number detected by SM62 (Annunciator) is output to Y20.
(8)
When the safe state signal turns on, the annunciator No.5 turns off.
*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
4.8 When a Safety Program Is Used
4
4 LABELS
51

Advertisement

Table of Contents
loading

Table of Contents