Safety Function Blocks (Safety Fb) - Mitsubishi Electric MELSEC iQ-R Series Programming Manual

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

Advertisement

Safety function blocks (Safety FB)

This section describes safety function blocks.
Instances
■ Structure of instance
An instance of a safety function block consists of the following data areas.
: Applicable, : Not applicable
Data area
Local label area
Local latch label area
Creating programs
■ Applicable devices and labels
The following table lists the devices and labels that can be used in safety function blocks.
: Applicable, : Not applicable
Type of device/label
Label (other than the pointer type)
Label (pointer type)
Device
Pointer
Number of steps (subroutine type function blocks)
■ Passing the argument
When calling a safety function block, the calling source generates the processing that passes the argument and return value
before and after the call processing. The instruction used to pass the argument differs depending on the class and data type
of the argument. The following table summarizes the instructions that can be used to pass the argument.
: Applicable, : Not applicable
Argument class
Data type
VAR_INPUT
Bit
VAR_IN_OUT
Word [unsigned]/bit string [16 bits]
Double word [unsigned]/bit string [32 bits]
Word [signed]
Double word [signed]
Single-precision real number
Double-precision real number
Time
String
String [Unicode]
Array, Structure
For the number of steps required for each instruction, refer to the following.
 MELSEC iQ-R Programming Manual (Instructions, Standard Functions/Function Blocks)
Description
Used to assign the local label of the function block.
Used to assign the latch attribute local label of the function block.
Global label
Local label
Standard/safety shared label
Safety global label
Safety local label
Pointer type global label
Pointer type local label
Global device
Local device
Safety global device
Safety local device
Global pointer
Local pointer
Instruction used
LD+OUT
LD+MOV
LD+DMOV
LD+EMOV
LD+EDMOV
LD+DMOV
LD+$MOV
LD+$MOV_WS
LD+BMOV
3 PROGRAM ORGANIZATION UNITS
3.5 When a Safety Program Is Used
Availability
Availability
Availability
37
3

Advertisement

Table of Contents
loading

Table of Contents