MELSOFT Library

Safety FB library

  • Language
    Japanese English
  • Overview
    These safety FB libraries are for the safety CPU module.
  • Applicable model
    R08SFCPU, R16SFCPU, R32SFCPU, R120SFCPU
  • Applicable engineering tool
    GX Works3
  • Type
    FB
  • Sample library
Name Version Size (byte) Last update File for download
Safety FB 1.02 1,235,936 Nov. 29, 2018 fb-safety_r.zip
Relevant manual Type
BCN-P5999-0814-C MELSEC iQ-R 安全FBリファレンス [日本語]
BCN-P5999-0815-C MELSEC iQ-R Safety Function Block Reference [English]
FB name Function name Description Ver.
M+SF_2HAND2_R Two-hand switch Type II This FB provides the two-hand control functionality. 01A
M+SF_2HAND3_R Two-hand switch Type III This FB provides the two-hand control functionality (Fixed specified time difference is 500ms). 01A
M+SF_EDM_R External device monitor This FB controls a safety output and monitors controlled actuators, e.g. subsequent contactors. 01A
M+SF_ENBLSW_R Enable switch This FB evaluates the signals of an enable switch with three positions. 01A
M+SF_ESPE_R Light curtain (ESPE) This FB is a safety-related FB for monitoring electro-sensitive protective equipment (ESPE). 01A
M+SF_ESTOP_R Emergency stop This FB is a safety-related FB for monitoring an emergency stop button. This FB can be used for emergency switch off functionality (stop category 0). 01A
M+SF_GLOCK_R Guard lock and interlocking This FB controls an entrance to a hazardous area via an interlocking guard with guard locking. 01A
M+SF_GMON_R Guard monitoring This FB monitors the relevant safety guard. There are two independent input parameters for two switches at the safety guard coupled with a time difference for closing the guard. 01A
M+SF_MODSEL_R Mode selector This FB selects the system operation mode, such as manual, automatic, and semi-automatic. 01A
M+SF_MUTE2_R Muting with 2 sensors Muting is the intended suppression of the safety function. (e.g., light barriers) In this FB, parallel muting with two muting sensors is specified. 01A
M+SF_MUTE2-2_R Muting with 2 sensors 2 Muting is the intended suppression of the safety function. (e.g., light barriers) In this FB, parallel muting with two muting sensorsis specified.
The effective time of the muting control can be set to be unlimited.
00A
M+SF_MUTEP_R Parallel muting In this FB, parallel muting with four muting sensors is specified. 01A
M+SF_MUTEP-2_R Parallel muting 2 In this FB, parallel muting with four muting sensors is specified.
The effective time of the muting control can be set to be unlimited.
00A
M+SF_MUTES_R Sequential muting In this FB, sequential muting with four muting sensors is specified. 01A
M+SF_MUTES-2_R Sequential muting 2 In this FB, sequential muting with four muting sensors is specified.
The effective time of the muting control can be set to be unlimited.
00A
M+SF_OUTC_R Output control Control of a safety output with a signal from the functional application and a safety signal with optional startup inhibits. 01A
M+SF_TSSEN_R Testable safety sensor This FB detects, for example, the loss of the sensing unit detection capability, the response time exceeding that specified, and static ON signal in single-channel sensor systems. It can be used for external testable safety sensors. 01A
M+SF_EQUI_R Dual input (NC+NC or NO+NO) This FB converts two equivalent bit inputs (both NO or NC) to one bit with discrepancy time monitoring. This FB output shows the result of the evaluation of both channels. 01A
M+SF_ANTI_R Dual input (NO+NC) This FB converts two antivalent bit inputs (NO/NC pair) to one bit output with discrepancy time monitoring. This FB output shows the result of the evaluation of both channels. 01A


[Improvement history of the safety FB from Ver.1.01 to Ver.1.02 (Nov, 2018)]

No. Description
1 The following safety FBs have been newly added.
M+SF_MUTE2-2_R
M+SF_MUTEP-2_R
M+SF_MUTES-2_R


[Precautions for using the file]

Install the FB library to the personal computer in which GX Works3 of the following version has been installed.

  1. GX Works3: Version 1.05R or later


[How to use MELSOFT Library]

  1. Select [Library] - [Install...] from the [Project] menu.
  2. In the [Import Library to Project] dialog box, select the installed library and necessary FBs, and click the [OK] button.
  3. Paste the FB from the [Element Selection] window to the program.


[Precautions for using MELSOFT Library]

  1. Before applying the FB library of MELSOFT Library to a system, check sufficiently if no problem occurs in the control of the system.