Generic State Diagram; How To Register The Safety Fb Library To A Project; Copying And Pasting A Ladder Containing A Safety Fb - Mitsubishi Electric MELSEC iQ-R Series Safety Function Block Reference

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

Advertisement

2.4

Generic State Diagram

The safety FB state transitions according to the state diagram described in the safety FB specifications. However, a program
operation is suspended while the operation status of the CPU module is in STOP or PAUSE. Consequently, the state
transition does not occur. The following shows how to read the state diagram.
Start
0
Idle
0000H
i_bActivate
=OFF
0
Init
8001H
i_bS_In
=OFF
2
Run
i_bActivate
8000H
0
=OFF
Basic way to read the state diagram
• The state name and diagnostic code are indicated in the circle.
Idle
0000H
The state name is "Idle", and the diagnosis code is "0000H".
• The arrows connecting two circles indicate the direction of the state transition. Also, the transition conditions are described near the arrows. When there are
multiple transition destination states, the circled numbers indicate the transition priority when multiple transition conditions are satisfied simultaneously. (0 is
the highest priority.)
2
1
Run
8000H
0
There are three transition destination states from the Run state depending on the condition. The transition priority is in the following order: 8000H → 0000H,
8000H → C001H, and 8000H → 8001H.
• If i_bActivate input signal is set to OFF, any state transitions to the Idle state.
• Meaning of transition state symbols
⋅ AND, OR, XOR, and NOT: Logical operators
⋅ R_TRIG at signal: The signal is changed from OFF to ON
⋅ F_TRIG at signal: The signal is changed from ON to OFF
• Variable name with no ON/OFF specification on the state diagram indicates that the variable is ON.
2.5

How to Register the Safety FB Library to a Project

For details, refer to the following.
 GX Works3 Operating Manual
2.6
Copying and Pasting a Ladder containing a Safety
FB
A program containing a safety FB cannot be selected to copy/paste on the navigation window. Select a ladder block and copy/
paste it.
2 GENERAL SPECIFICATIONS
12
2.4 Generic State Diagram
Generic state diagram
i_bActivate=OFF
0
i_bActivate
=OFF
1
i_bActivate=ON
0
o_bError
1
Error 1
1
C001H
i_bReset
2
i_bS_In=ON AND
(R_TRIG at
i_bReset)=ON
o_bError
1
Basic states in each area and conditions of
state transition
Safety FB state
(1) Safety FBs are not active.
(2) Safety outputs are OFF.
o_bReady=OFF
o_bReady=ON
Safety FB state
(1) Safety FBs are active.
(2) Safety outputs are OFF.
o_bS_Out=OFF
o_bS_Out=ON
Safety FB state
(1) Safety FBs are active.
(2) Safety outputs are ON.
State transition from a
non-active FB to an active FB
State transition of safety output
from OFF to ON

Advertisement

Table of Contents
loading

Table of Contents