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
Содержание MELSEC iQ-F FX5
Страница 1: ...MELSEC iQ F FX5 Programming Manual Instructions Standard Functions Function Blocks ...
Страница 2: ......
Страница 17: ...15 CONTENTS ...
Страница 24: ...22 MEMO ...
Страница 25: ...23 PART 1 PART 1 OVERVIEW Part 1 consists of the following chapter 1 OVERVIEW 2 PRECAUTIONS ON PROGRAMMING ...
Страница 126: ...124 6 SEQUENCE INSTRUCTIONS 6 3 Output Instructions Operation error There is no operation error ...
Страница 132: ...130 6 SEQUENCE INSTRUCTIONS 6 3 Output Instructions Operation error There is no operation error ...
Страница 140: ...138 6 SEQUENCE INSTRUCTIONS 6 3 Output Instructions Operation error There is no operation error ...
Страница 191: ...7 BASIC INSTRUCTIONS 7 2 Arithmetic Operation Instructions 189 7 Operation error There is no operation error ...
Страница 202: ...200 7 BASIC INSTRUCTIONS 7 2 Arithmetic Operation Instructions Operation error There is no operation error ...
Страница 278: ...276 7 BASIC INSTRUCTIONS 7 4 Bit Processing Instructions Operation error There is no operation error ...
Страница 280: ...278 7 BASIC INSTRUCTIONS 7 4 Bit Processing Instructions Operation error There is no operation error ...
Страница 915: ...18 TYPE CONVERSION FUNCTIONS 18 13 Converting DWORD to WORD 913 18 Operation error There is no operation error ...
Страница 917: ...18 TYPE CONVERSION FUNCTIONS 18 14 Converting DWORD to INT 915 18 Operation error There is no operation error ...
Страница 932: ...930 18 TYPE CONVERSION FUNCTIONS 18 26 Converting DINT to WORD Operation error There is no operation error ...
Страница 1050: ...1048 26 TIME DATA FUNCTIONS 26 4 Division MEMO ...
Страница 1068: ...1066 29 COUNTER FUNCTION BLOCKS 29 4 Counter Function Block Operation error There is no error ...
Страница 1107: ...I 1105 MEMO ...
Страница 1111: ......