Specified Bit Write Of Word (Signed) Type Data - Mitsubishi Electric MELSEC-Q/L Programming Manual

Hide thumbs Also See for MELSEC-Q/L:
Table of Contents

Advertisement

Specified bit write of word (signed) type data

SET_BIT_OF_INT(_E)
High
Basic
Process
Redundant Universal
performance
Structured ladder/FBD
SET_BIT_OF_INT_E
EN
ENO
s
d
n
The following function(s) can go in the dotted squares.
SET_BIT_OF_INT, SET_BIT_OF_INT_E
■Argument
Input/output
Name
argument
Input argument
EN
s
n
Output argument
ENO
d
Processing details
■Operation processing
Writes a value specified for (s) to the nth bit of (d).
■Operation result
• Function without EN/ENO
An operation is executed and the operation value is output from (d).
• Function with EN/ENO
The following table shows the executing conditions and operation results.
EN
TRUE (Operation execution)
FALSE (Operation stop)
*1 When FALSE is output from ENO, the data output from (d) is undefined. In this case, create a program so that the data output from (d) is
not used.
LCPU
ST
ENO:=
SET_BIT_OF_INT_E
(EN, s, n, d);
Description
Executing condition (TRUE: Execution, FALSE:
Stop)
Input
Input (Only a constant between 0 and 15 can be
specified)
Execution result (TRUE: Normal execution, FALSE:
Error or stop)
Output
ENO
TRUE
*1
FALSE
Data type
Bit
Bit
Word (signed)
Bit
Word (signed)
(d)
Operation output value
Undefined value
5 APPLICATION FUNCTIONS
5.1 Type Conversion Functions
5
117

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents