EasyManua.ls Logo

Mitsubishi MELSEC Q Series Structured Programming Manual

Mitsubishi MELSEC Q Series
268 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 #41 background imageLoading...
Page #41 background image
5.1 Type Conversion Functions
5.1.3
Bit type
word (unsigned)/16-bit string, double word (unsigned)/32-bit string type conversion
5-7
5
APPLICATION
FUNCTIONS
BOOL_TO_WORD(_E),
BOOL_TO_DWORD(_E)
BOOL_TO_WORD(_E), BOOL_TO_DWORD(_E)
5.1.3 Bit type
word (unsigned)/16-bit string, double word
(unsigned)/32-bit string type conversion
BOOL_TO_WORD(_E), BOOL_TO_DWORD(_E)
Function
Operation processing
(1) BOOL_TO_WORD, BOOL_TO_WORD_E
Converts bit type data input to into word (unsigned)/16-bit string type data, and outputs
the operation result from .
When the input value is FALSE, 0H is output in word (unsigned)/16-bit string type data.
When the input value is TRUE, 1H is output in word (unsigned)/16-bit string type data.
BOOL_TO_WORD(_E)
BOOL_TO_DWORD(_E)
_E: With EN/ENO
indicates any of the following
functions.
BOOL_TO_WORD BOOL_TO_WORD_E
BOOL_TO_DWORD
BOOL_TO_DWORD_E
Input argument, EN:
Executing condition (TRUE: Execution, FALSE: Stop) :Bit
s:
Input :Bit
Output argument, ENO:
Output status (TRUE: Normal, FALSE: Error) :Bit
d:
Output :Word (unsigned)/16-bit string, double word
(unsigned)/32-bit string
Universal
UD
High
Performance
EN ENO
ds
BOOL_TO_DWORD_E
(EN, s, d);ENO:=
Structured ladder
ST
BOOL_TO_DWORD_E
s
d
Bit type
TRUE
FALSE
Word (unsigned)/16-bit string type
1
H
0H

Table of Contents

Other manuals for Mitsubishi MELSEC Q Series

Questions and Answers:

Mitsubishi MELSEC Q Series Specifications

General IconGeneral
SeriesMELSEC Q Series
TypeModular PLC
Programming SoftwareGX Works2, GX Works3
CategoryProgrammable Logic Controller (PLC)
I/O ModulesDigital I/O, Analog I/O, High-Speed Counter, Positioning
CommunicationEthernet, CC-Link
Programming LanguagesLadder Logic, Structured Text, Function Block Diagram, Sequential Function Chart, Instruction List
MemoryFlash Memory
I/O PointsUp to 4096 points (expandable with additional modules)
Power SupplyAC or DC power supply options available, depending on the base unit and modules.
MountingDIN rail mounting
Operating Temperature0°C to 55°C
Storage Temperature-25°C to 75°C
Humidity5% to 95% (non-condensing)
Vibration Resistance10 to 57 Hz, 0.075mm amplitude
WeightVaries depending on the module, from a few grams to several kilograms.
Shock Resistance147 m/s² (3 times each in X, Y, Z directions)

Related product manuals