EasyManua.ls Logo

Omron NX-SL series User Manual

Omron NX-SL series
270 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #47 background imageLoading...
Page #47 background image
2 - 13
2 Standard Functions
NX-series Safety Control Unit Instructions Reference Manual (Z931)
Data Type Conversion Instructions
2
BOOL_TO_DINT
BOOL_TO_DINT
This function converts a BOOL variable to a DINT variable.
If you omit an input or output parameter, a building error will occur.
This function converts BOOL data In to DINT data Out.
If the value of In is FALSE, the value of Out is DINT#0.
If the value of In is TRUE, the value of Out is DINT#1.
To check for DINT data, refer to DINT_TO_BOOL.
The input condition depends on whether the output is safety data or standard data. If the condition is
not met, a building error will occur.
If you set a safety data type variable for the output terminal, set a safety data type variable for the
input terminal as well.
If you set a standard data type variable for the output terminal, you can set either a safety data type
variable or a standard data type variable for the input terminal.
Instruction Name FB/FUN Graphic expression
BOOL_TO_DINT Convert BOOL to
DINT
FUN
Variables
Name I/O Description Valid range Default
In Data to con-
vert
Input Data to con-
vert
TRUE or FALSE FALSE
Out Conversion
result
Output Conversion
result
DINT#0 or DINT#1 DINT#0
Boolean Bit strings Integers Durations
BOOL
SAFEBOOL
BYTE
SAFEBYTE
WORD
SAFEWORD
DWORD
SAFEDWORD
INT
SAFEINT
DINT
SAFEDINT
TIME
SAFETIME
In OK OK
Out OK OK
Function
Additional Information
Precautions for Correct Use
BOOL_TO_DINT

Table of Contents

Question and Answer IconNeed help?

Do you have a question about the Omron NX-SL series and is the answer not in the manual?

Omron NX-SL series Specifications

General IconGeneral
BrandOmron
ModelNX-SL series
CategoryControl Unit
LanguageEnglish

Summary

Introduction to Instructions for Safety Control Units and Interpreting Instruction Descriptions

Types of Instructions

Describes the three types of instructions used with Safety Control Units.

Interpreting Instruction Descriptions

Explains the notation used to describe instructions.

Standard Functions

Execution Control Instructions

Details instructions for controlling program execution flow.

Data Type Conversion Instructions

Explains instructions for converting data types between different formats.

Boolean Operation Instructions

Describes instructions for performing logical Boolean operations.

Math Instructions

Details instructions for arithmetic operations on integers and durations.

Comparison Instructions

Instructions for comparing values of variables.

Selection Instructions

Instructions for selecting values based on conditions.

Safety Standard Function Blocks

Safety Standard Function Block Instructions

Lists and describes safety standard function block instructions.

SF_CTD

Decrements the counter value when the counter input signal is received.

SF_CTU

Increments the counter value when the counter input signal is received.

SF_CTUD

Creates an up-down counter operating on up and down counter inputs.

SF_F_TRIG

Outputs TRUE for one task period when the input signal changes to FALSE.

SF_R_TRIG

Outputs TRUE for one task period when the input signal changes to TRUE.

SF_RS

Retains the value of a SAFEBOOL variable, giving priority to Reset.

SF_SR

Retains the value of a SAFEBOOL variable, giving priority to Set.

SF_TOF

Outputs FALSE when the set time elapses after the timer starts.

SF_TON

Outputs TRUE when the set time elapses after the timer starts.

SF_TP

Outputs TRUE during the set time after the timer starts.

Safety Function Blocks

General Rules for Safety Function Blocks

Provides general rules for safety function blocks, including rules specific to FBs.

Safety Function Block Instructions

Lists and describes various safety function blocks.

SF_Antivalent

Monitors discrepancy time for two antivalent SAFEBOOL inputs.

SF_EDM

Controls a safety output and monitors actuator control.

SF_EmergencyStop

Monitors the input from an emergency stop button.

SF_EnableSwitch

Supports stopping a safety function using an enable switch.

SF_Equivalent

Monitors discrepancy time for two equivalent SAFEBOOL inputs.

SF_ESPE

Monitors electro-sensitive protective equipment (ESPE).

SF_GuardLocking

Controls entry to hazardous areas with a four-state interlock guard.

SF_GuardMonitoring

Monitors safety guards and opens/closes them.

SF_ModeSelector

Selects system operation mode (automatic, manual, etc.).

SF_MutingPar

Performs parallel muting with four muting sensors.

SF_MutingPar_2Sensor

Performs parallel muting with two muting sensors.

SF_MutingSeq

Performs sequential muting with four muting sensors.

SF_OutControl

Controls a safety output with control and safety signals.

SF_SafetyRequest

Makes requests for safe state and monitors actuator safety state.

SF_TestableSafetySensor

Tests functionality with external test function of ESPE sensors.

SF_TwoHandControlTypeII

Provides type II, two-hand control function per ISO 13851.

SF_TwoHandControlTypeIII

Provides type III, two-hand control function per ISO 13851.

Index

Related product manuals