EasyManuals Logo
Home>Mitsubishi>Controller>MELSEC-Q/L

Mitsubishi MELSEC-Q/L User Manual

Mitsubishi MELSEC-Q/L
850 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 #245 background imageLoading...
Page #245 background image
243
WORD, WORDP
1
2
3
4
6
7
8
6.3 Data conversion instructions
6.3.8 WORD, WORDP
: BIN 32-bit data or head number of the devices where the BIN 32-bit data is stored (BIN 32 bits)
:
Head number of the devices where the converted BIN 16-bit data will be stored (BIN 16 bits)
Function
Converts BIN 32-bit data at device designated by to BIN 16-bit data with sign, and stores the result at a device designated
by .
Devices can be designated in the range from -32768 to 32767.
Operation Error
(1) In the following case, an operation error occurs, the error flag (SM0) turns ON, and an error code is stored into SD0.
Program Example
(1) The following program converts the BIN 32-bit data at R100 and R101 to BIN 16-bit data when X20 is ON, and stores it
at D100.
[Ladder Mode] [List Mode]
[Operation]
6.3.8 WORD, WORDP Conversion from BIN 32-bit to BIN 16-bit data
6.3.8
WORD, WORDP
Setting
Data
Internal Devices
R, ZR
J\
U\G
Zn
Constants
K, H
Other
Bit Word Bit Word
––
–– ––
Error
code
Error details
Q00J/
Q00/
Q01
QnH QnPH QnPRH QnU LCPU
4100
The data specified by +1 and are outside the range of
-32768 to
32767.
Basic
Process
High
performance
Redundant
Universal
LCPU
Command
Command
WORDP
WORD
S D
DS
WORDP
WORD
S
D
S
D
S
D
BIN 32-bit data
Upper 16 bits
+1
Lower 16 bits BIN 16-bit data
S S D
S S
Step
Instruction
Device
8253
H
FFFF8253
H
D100R100R101
(-32173)(-32173)

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Mitsubishi MELSEC-Q/L and is the answer not in the manual?

Mitsubishi MELSEC-Q/L Specifications

General IconGeneral
BrandMitsubishi
ModelMELSEC-Q/L
CategoryController
LanguageEnglish

Related product manuals