Bit Processing; Digit Specification Processing - Mitsubishi MELSEC-A Series Programming Manual

Type acpu/qcpu-a (a mode)
Hide thumbs Also See for MELSEC-A Series:
Table of Contents

Advertisement

3. INSTRUCTION STRUCTURE

3.2 Bit Processing

3.2.1 1-bit processing

3.2.2 Digit specification processing

Bit processing is performed when a bit device (X, Y, M, L, S, B, F) has been specified.
Either of 1-bit processing or digit specification processing with 16-bit or 32-bit
instructions may be selected.
When the sequence instruction is used, more than one bit (one point) cannot be
specified for the bit device.
Example: LD X0, OUT Y20
When the basic and application instructions are used, the number of digits may need
to be specified for the bit device. Up to 16 points can be specified in 4 point
increments when a 16-bit instruction is used, and up to 32 points can be specified
when a 32-bit instruction is used.
(1) 16-bit instruction: K1 to 4 (4 to 16 points)
Example: Setting range by the digit specification of 16-bit data, X0 to F
Fig.3.1 Digit Specification Range of 16-Bit Instruction
(a)
When there is digit specification on the source (S) side, the range of
numeric values handled as source data are as shown in Table 3.1.
Table 3.1 List of Digit Specification and Numeric Values
Specified Number of Digits
K1 (4 points)
K2 (8 points)
K3 (12 points)
K4 (16 points)
Specification range of K3
(12 points)
Specification range of K4
(16 points)
3 − 3
Specification range of K1
(4 points)
Specification range of K2
(8 points)
16-Bit Instruction
0 to 15
0 to 255
0 to 4095
−32768 to 32767
MELSEC-A

Advertisement

Table of Contents
loading

This manual is also suitable for:

Acpu-common-p-e13j741AcpuQcpu-a

Table of Contents