3 CPU MODULE INSTRUCTION
3.2 Basic Instruction
61
3
■
Converting character string to 16-bit/32-bit binary data
■
Two's complement of 16-bit/32-bit binary data (sign inversion)
■
Decoding from 8 to 256 bits
■
Encoding from 256 to 8 bits
■
Seven-segment decoding
■
Seven-segment with latch
■
Separating 4 bits from 16-bit data
■
Connecting 4 bits to 16-bit data
Instruction symbol
Description
Reference
VAL
Converts a character string including decimal point in the device specified by (s) to a 1 word binary
value and number of decimal fraction digits, and stores the converted data in the devices specified
by (d1) and (d2).
VALP
VAL_U
VALP_U
DVAL
Converts a character string including decimal point in the device specified by (s) to a 2 words
binary value and number of decimal fraction digits, and stores the converted data in the devices
specified by (d1) and (d2).
DVALP
DVAL_U
DVALP_U
Instruction symbol
Description
Reference
NEG
NEGP
DNEG
DNEGP
Instruction symbol
Description
Reference
DECO
DECOP
Instruction symbol
Description
Reference
ENCO
ENCOP
Instruction symbol
Description
Reference
SEGD
Decoded to data for the seven-segment display unit in the device specified by (s),and stores in the
device specified by (d).
SEGDP
Instruction symbol
Description
Reference
SEGL
The 4-digit numeric value stored in (s) is converted into BCD data, and each digit is output to the
seven-segment display unit with the BCD decoder by the time division method.
Instruction symbol
Description
Reference
DIS
Separates the 16-bit data specified by (s) into 4-bit units and stores in the lower 4 bits of (n) points
from (d). (n < 4)
DISP
Instruction symbol
Description
Reference
UNI
Connects the lower 4 bits of (n) points from the device specified by (s), and stores the result in the
device specified by (d). (n < 4)
UNIP
(d)
(d)
BIN
(d+1, d)
(d+1, d)
BIN
(d)
(s)
(n)
2
(n)
bits
(s)
(d)
(n)
2
(n)
bits
Summary of Contents for MELSEC iQ-F FX5
Page 1: ...MELSEC iQ F FX5 Programming Manual Instructions Standard Functions Function Blocks ...
Page 2: ......
Page 17: ...15 CONTENTS ...
Page 24: ...22 MEMO ...
Page 1050: ...1048 26 TIME DATA FUNCTIONS 26 4 Division MEMO ...
Page 1068: ...1066 29 COUNTER FUNCTION BLOCKS 29 4 Counter Function Block Operation error There is no error ...
Page 1107: ...I 1105 MEMO ...
Page 1111: ......