05 Registers

Last modified by Mora Zhou on 2024/12/05 16:04

The following table lists all the devices that WECON LX3V series PLC supports.

Table 1

No.DeviceDescriptions
1X - InputRepresentation of physical inputs to PLC;
2Y - OutputRepresentation of physical outputs from PLC;
3M - Intermediate

Common intermediate register; System special register;

4S - StatePLC internal states flag for step control;
5T - Timer16-bit timer (1, 10 and 100ms)
6C - Counter16-bit and 32-bit up/down counter; High speed counter;
7D – Data registerData register; String register; Indirect addressing address;
8P, I - PointerJump pointer; Sub-program pointer; Interrupt pointer (high speed, );
9K, H - ConstantBinary, decimal, hexadecimal, floating point, etc.

Table 2

DeviceLX3V(1S firmware)LX3V (2N firmware)LX3VPLX3VEExpansion module
X - inputX0~X13 (Max. 12)X0~X43 (Max. 36)X0~X43 (Max. 36)X0~X43 (Max. 36)X0~X77 (Max.128)
Y - outputY0~Y7 (Max. 8)Y0~Y27 (Max. 24)Y0~Y27 (Max. 24)Y0~Y27 (Max. 24)Y0~Y77 (Max.128)

Relay X & Y

Input relay X

The input relay X represents the physical inputs to PLC. It could detect the external signal states. 0 is for open circuit, 1 is for closed circuit.

The states of input relays couldn’t be modified by program instruction, the node signal (normally open, normally closed) could be unlimited use in the program.

If connected IO expansion module, the port starts from the main module, according to the order of the numbers. But DI is named in groups of eight. For example main module is X0~X7, X10~X14. The X0 in DI expansion module corresponds to X20, not X15.

Devices numbered in: Octal, i.e. X0 to X7, X10 to X17

 [Available devices]

Table 1

ModelInputOutputModelInputOutput
LX3V-0806MR/MT-A1(D1)X0~X7Y0~Y5LX3VP-1208MR/MT-A(D)X0~X7Y0~Y5
LX3V-1208MR/MT-A1(D1)X0~X13Y0~Y7LX3VP-1212MR/MT-A(D)X0~X13Y0~Y13
LX3V-0806MR/MT-A2(D2)X0~X7Y0~Y5LX3VP-1412MR/MT-A(D)X0~X15Y0~Y13
LX3V-1208MR/MT-A2(D2)X0~X13Y0~Y7LX3VP-1616MR/MT-A(D)X0~X17Y0~Y17
LX3V-1212MR/MT-A(D)X0~X13Y0~Y13LX3VP-2416MR/MT-A(D)X0~X27Y0~Y17
LX3V-1410MR/MT-A(D)X0~X15Y0~Y11LX3VP-2424MR/MT-A(D)X0~X27Y0~Y27
LX3V-1412MR/MT-A(D)X0~X15Y0~Y13LX3VP-3624MR/MT-A(D)X0~X43Y0~Y27
LX3V-1616MR/MT-A(D)X0~X17Y0~Y17LX3VE-1412MR/MT-A(D)X0~X15Y0~Y13
LX3V-2416MR/MT-A(D)X0~X27Y0~Y17LX3VE-1616MR/MT-A(D)X0~X17Y0~Y17
LX3V-2424MR/MT-A(D)X0~X27Y0~Y27LX3VE-2416MR/MT-A(D)X0~X27Y0~Y17
LX3V-3624MR/MT-A(D)X0~X43Y0~Y27LX3VE-2424MR/MT-A(D)X0~X27Y0~Y27
   LX3VE-3624MR/MT-A(D)X0~X43Y0~Y27

Output replay Y

The output relay Y represents physical outputs from PLC. 0 is for open circuit, 1 is for closed circuit.

Depending on the output element could be divided into relay type, transistor type etc.

If connected IO expansion module, the port starts from the main module, according to the order of the numbers. But DO is named in groups of eight. For example main module is Y0~Y7, Y10~Y14. The Y0 in DO expansion module corresponds to Y20, not Y15.

Devices numbered in: Octal, i.e. Y0 to Y7, Y10 to Y17.

Relay M

Auxiliary Relay M device is used as an intermediate variable during the execution of a program, as auxiliary relays in the practical power control system which is used to transfer the state messages. It could use the word variable formed by M variables. M variables is not directly linked with any external ports, but it could contact with the outside world by the manners of copying X to M or M to Y through the program coding. A variable M could be used repeatedly.

Devices numbered in: Decimal, i.e. M0 to M9, M10 to M19. The variables that are more than M8000 are the system-specific variables, which are used to interact with the PLC user program with the system states; part of the M variables have the feature of power-saving.

General stable state suxiliary relays

The general stable state Auxiliary relays in LX3V series PLC are M0 ~ M499, there are total of 500 points. The type of auxiliary relay is related to its part number and PLC serial.

Table 1

PLCGeneralLatchedLatched-specificSystem-specific
LX3V (1S firmware)

384 ※3

(M0 – M383)

-

128 ※3

(M383 – M511)

256

(M8000-M8255)

LX3V (2N firmware)

500 ※1

(M0 – M499)

524 ※ 2

(M500 – M1023)

2048 ※3

(M1024 – M3071)

256

(M8000-M8255)

LX3VP

500 ※1

(M0 – M499)

524 ※ 2

(M500 – M1023)

2048 ※3

(M1024 – M3071)

256

(M8000-M8255)

LX3VE

500 ※1

(M0 – M499)

524 ※ 2

(M500 – M1023)

2048 ※3

(M1024 – M3071)

256

(M8000-M8255)

Users could set non-latched and latched area for Auxiliary relays in PLC by parameter setting

※1, Non-latched area, it could be changed to latched area by parameter setting.

※2, Latched area, it could be changed to non-latched area by parameter setting.

※3, The non-latched or latched feature couldn’t be changed.

Latched auxiliary relays

There are a number of latched relays whose state is retained. If a power failure should occur all output and general purpose relays are switched off. When operation is resumed the previous state of these relays is restored.

As below pictures show, in (a), relay M500 is activated when X0 is turned ON. If X0 is turned OFF after the activation of M500, the ON state of M500 is self-retained. (b) shows Circuit Waveform diagram of (a). For using this function, (c) could makes M500 “Turn ON” all the time. 

1650081615924-404.png

System-specific auxiliary relays

A PLC has a number of special auxiliary relays. These relays all have specific functions such as provide clock pulse and sign, set PLC operation mode, or use for step control, prohibit interrupt, set counter is adding count or subtract count, etc. And they are classified into the following two types.

  • Using contacts of special auxiliary relays, coils are driven automatically by the PLC. Only the contacts of these coils may be used by a user defined program.
    Examples:
    • M8000: RUN monitor (ON during run);
    • M8002: Initial pulse (Turned ON momentarily when PLC starts);
    • M8012: 100 msec clock pulse;
  • Driving coils of special auxiliary relays, a PLC executes a predetermined specific operation when these coils are driven by the user.

          Examples:


    • M8033: All output statuses are retained when PLC operation is stopped;
    • M8034: All outputs are disabled;
    • M8039: The PLC operates under constant scould mode;

Relay S

State relays S is used to design and handle step procedures, controls transfer of step by STL step instructions to simplify programming design. S also could be used as M, if there is no STL instruction. Part of the S has the feature of power-saving.

Devices numbered in: Decimal, i.e. S0 to S9, S10 to S19.

Table 1

PLCGeneralLatchedAlarm
-Initialized--Initialized-
LX3V (1S firmware)---

128 ※3

(S0 – S127)

10

(S0 – S9)

10

(S10 –S19)

 
LX3V (2N firmware)

500 ※1

(S0 – S499)

10

(S0 – S9)

10

(S10 – S19)

400 ※2

(S500 – S899)

--

100 ※2

(S900 – S999)

LX3VP

500 ※1

(S0 – S499)

10

(S0 – S9)

10

(S10 – S19)

400 ※2

(S500 – S899)

--

100 ※2

(S900 – S999)

LX3VE

500 ※1

(S0 – S499)

10

(S0 – S9)

10

(S10 – S19)

400 ※2

(S500 – S899)

--

100 ※2

(S900 – S999)

※1, Non-latched area, it could be changed to latched area by parameter setting.

※2, Latched area, it could be changed to non-latched area by parameter setting.

※3, The non-latched or latched feature couldn’t be changed.

General State Relays

As above picture shows, when X0=ON, then S0 set ON, and Y0 is activated. When X1=ON, then S11 set ON, and Y1 is activated. When X2=ON, S12 set ON, then Y2 is activated, as Figure 3-2 shows.

Latched State Relays

There are a number of latched relays whose state is retained. If a power failure should occur all output and general purpose relays are switched off. When operation is resumed the previous state of these relays is restored.

file:///C:\Users\Administrator\AppData\Local\Temp\ksohtml13508\wps31.jpg

Figure 2

1650087341412-765.png

Annunciator Flags

Some state flags could be used as outputs for external diagnosis (called annunciation) when certain applied instructions are used.

1650087434137-885.png

If X1 and X2 set ON at the same time and keep more than 1 seconds, S900 is activated, if X1 or X2 is turned OFF after the activation of S900, the ON state of S900 is self-retained. If X1 and X2 set ON at the same time less than 1 seconds, S900 is not activated.

Timer

The timer is used to perform the timing function. Each timer contains coils, contacts, and counting time value register. A driven coil sets internal PLC contacts. Various timer resolutions are possible, from 1 to 100ms. If the coil power shuts off (insufficient power), the contacts will restore to their initial states and the value will automatically be cleared. Some timers have the feature of accumulation and power-saving.

Devices numbered in: Decimal, i.e. T0 to T9, T10 to T19.

Table 1

PLC

100ms

0.1– 3276.7s

100ms

0.1 – 3276.7s

0.01–327.67s

10ms

0.01-327.67s

Retentive 1ms

0.001-32.767s

Retentive 100ms

0.1–3276.7s

LX3V (1S Firmware)

32

(T0 – T31)

31

(T32 – T62)

31

(T32 – T62)

1

(T63)

 
LX3V (2N Firmware)

200

(T0 – T199)

-

46

(T200 – T245)

Interrupted  4

(T246 – T249)

6

(T250 – T255)

Sub-program 8

(T192–T199)

LX3VP

200

(T0 – T199)

-

46

(T200 – T245)

Interrupted  4

(T246 – T249)

6

(T250 – T255)

Sub-program 8

(T192–T199)

LX3VE

200

(T0 – T199)

-

46

(T200 – T245)

Interrupted  4

(T246 – T249)

6

(T250 – T255)

Sub-program 8

(T192–T199)

General timer (T0~T245)

The timer output contact is activated when the count data reaches the value set by the constant K.

1650087703091-787.png

Figure 2

As above picture shows, when X0 is on, T200 counts from zero and accumulates 10ms clock pulses. When the current value is equal to the set value 223, timer output contact is activated; the output contact of the T200 is actuated after its coil is driven by 2.23s.

Retentive Timers (T246~T255)

1650087743260-243.png

Figure 3

As above picture shows, T250 has the ability to retain the currently reached present value even after X1 has been removed. If T1+T2=42s, T250 (open contact) set on. When X2 set ON, timer T250 will be reset.

Set value

The set value of the timer could be determined by constant (K, H) in the program memory and could also be specified indirectly with the contents of the data register (D).

1650087806303-500.png

As above program shows, D3 is set value for T10, D3=D0*2.

Counter

Counter

Counter performs counting function, it contains coil, contact and count value register. The current value of the counter increases each time coil C0 is turned ON. The output contact is activated when count value reach to preset value.

Counters which are latched are able to retain their status information, even after the PLC has been powered down. This means on re-powering up, the latched counters could immediately resume from where they were at the time of the original PLC power down.

Devices numbered in: Decimal, i.e. C0 to C9, C10 to C19

Table 1

PLC

16bit UP Counters

0 – 32,767

32bit Bi-directional Counters  -2,147,483,648 - +2,147483647

GeneralLatchedGeneralLatched
LX1S16 (C0 – C15) ※316 (C16 – C31) ※3--
LX2N100 (C0-C99) ※1100(C100 – C199) ※220 (C200 – C219) ※115 (C220 – C234) ※2
LX3V100 (C0-C99) ※1100(C100 – C199) ※220 (C200 – C219) ※115 (C220 – C234) ※2

※1, Non-latched area, it could be changed to latched area by parameter setting.

※2, Latched area, it could be changed to non-latched area by parameter setting.

※3, The non-latched or latched feature couldn’t be changed.

16bit up counter

16bit counters: 1 to +32,767, as below picture shows, the current value of the counter increases each time coil C0 is turned ON by X2. The output contact is activated when the coil is turned ON for the tenth time.

After this, the counter data remains unchanged when X2 is turned ON. The counter current value is reset to ‘0’ (zero) when the RST instruction is executed by turning ON X1 in the example. The output contact Y0 is also reset at the same time.

1650088012596-185.png

Figure 2

32bit bi-directional counter

32bit bi-directional counters: -2,147,483,648 to +2,147,483,647. C200- 219 are general, C220- 234 are latched.

The counting direction is designated with special auxiliary relays M8200 to M8234. When the special auxiliary relay is ON, it is decremented; otherwise, it is counting up.

High speed counter

Although counters C235 to C255 (21 points) are all high speed counters, they share the same range of high speed inputs. Therefore, if an input is already being used by a high speed counter, it could not be used for any other high speed counters or for any other purpose, i.e as an interrupt input.

The selection of high speed counters is not free, they are directly dependent on the type of counter required and which inputs are available.

  • Available counter types
  1. 1 phase with user start/reset: C235 to C240
  2. 1 phase with assigned start/reset: C241 to C245
  3. 2 phase bi-directional: C246 to C250
  4. A/B phase type: C251 to C255

Different types of counters could be used at the same time but their inputs must not coin-cider. Inputs X0 to X7 couldnot be used for more than one counter.

Table 3

1650088093463-330.png

U: up counter input

D: down counter input

R: reset counter (input)

S: start counter (input)

A: A phase counter input

B: B phase counter input

1 phase

1650088151106-380.png

Figure 4

As above program shows, C244 is 1 phase high speed counter with start, stop and reset functions. From the table, X1~X6 are for start and reset. C244 start counting when X12 and X6 are turned ON, the counter input terminal is X0, set value for C244 is determined by D0 (D1), so C244 could be reset by X0 or X11.

2 phase

1650088187166-773.png

Figure 5

C251~C255 are 2 phase (AB phase) high speed counter. As above (b) picture shows, C251 counts according from X0 (A phase) and X1 (B phase), when X14 is turned ON. C251 is reset when X13 is turned ON.

While A phase is turned ON, if B changes state from OFF to ON, C251 executes up count operation. While A phase is turn ON, if B changes state from ON to OFF, C251 executes down count operation. According to this principle, C251 executes up count operation while machine forward, and C251 executes down count operation while machine reverse. The M8251 monitors the C251's up / down counting status, OFF is for up counting, ON is for down counting.

Output Y: high speed pulse output transistor

  • It supports up to 4 channels, and each channel maximum output frequency is 200K;
  • The output frequency could be used for controlling inverter, stepper and servo motors and so on;

Input X: one phase

  • X0, X1 hardware counters (C235, C236, C246), could support 200K pulse input at the same time;
  • X0, X1 software counters (C241, C244, C247, C249), could support the input of 100K pulses at the same time;
  • The hardware counter could be switched to software counting using HSCS, HSCR, HSZ instructions;
  • The last four X points are software counting, which could support the input of 10K pulses at the same time.

Input X: A/B phase

  • X0, X1 hardware counter (C251), can support 100K pulse input;
  • X0, X1 software counters (C252, C254) support the simultaneous input of 50K pulses at the same time;
  • Hardware counter can be switched to software counter, using HSCS, HSCR, HSZ instructions;
  • The remaining X points are counted by software, and each 5K pulse frequency can be input at the same time;
  • There are two frequency modes for 2 phase 2 input, one is 2 times, and the other is 4 times, as following table shows, users select mode in D8200;

Table 6

Value in D8200Count icon

K2

(two times)

1650088281669-717.png

K4 or others

(four times)

(default)

1650088272392-475.png

✎Note: 
HSCS, HSCR and HSCZ couldn’t be used with Frequency multiplication
Program example1:
If X0 input pulse number >=800,The Y0 will set ON.
X6 means reset C235.
X7 means reset Y0.
You also could use M register instead of X registers.(M is a auxiliary register

✎Note: Wecon PLC X input need power DC24V signal.X0 and X1 support upto 200KHZ.X2-----X5 upto 10K.

1650088411761-720.png

Program example2: AB encoder

1650088448077-686.png

1650088461137-192.png

1650088478181-407.png

Register D

Data registers, as the name suggests, store data. The stored data could be interpreted as a numerical value or as a series of bits, being either ON or OFF. A single data register contains 16bits or one word. However, two consecutive data registers could be used to form a 32bit device more commonly known as a double word. If the contents of the data register are being considered numerically then the Most Significouldt Bit (MSB) is used to indicate if the data has a positive or negative bias. As bit devices could only be ON or OFF, 1 or 0 the MSB convention used is, 0 is equal to a positive number and 1 is equal to a negative number.

In WECON LX Series PLC, most data in the instructions are signed numbers. The bit 15 in 16-bit address is sign bit (0 means positive, 1 means negative). The high bit 15 in 32-bit address is sign bit, the data range is -32,768 - +32,767.

Devices numbered in: Decimal, i.e. D0 to D9, D10 to D19

PLCGeneralLatchedLatched- specificSystem- specificSpecial
-Files
LX3V (1S firmware)

128 ※3

(D0-D127)

-

128 ※3

(D128-D255)

D1000-D2499 could be used for files by parameter setting

256

(D8000-D8255)

16

(V0-V7)

(Z0-Z7)

LX3V (2N firmware)

200※1

(D0-D199)

312※2

(D200-D511)

7488 ※3

(D512-D7999)

D1000-D7999 could be used for files by parameter setting

256

(D8000-D8255)

16 ※3

(V0-V7)

(Z0-Z7)

LX3VP

200※1

(D0-D199)

312※2

(D200-D511)

7488 ※3

(D512-D7999)

D1000-D7999 could be used for files by parameter setting

256

(D8000-D8255)

16 ※3

(V0-V7)

(Z0-Z7)

LX3VE

200※1

(D0-D199)

312※2

(D200-D511)

7488 ※3

(D512-D7999)

D1000-D7999 could be used for files by parameter setting

256

(D8000-D8255)

16 ※3

(V0-V7)

(Z0-Z7)

LX3VM

200※1

(D0-D199)

312※2

(D200-D511)

7488 ※3

(D512-D7999)

D1000-D7999 could be used for files by parameter setting

256

(D8000-D8255)

16 ※3

(V0-V7)

(Z0-Z7)

※1, Non-latched area, it could be changed to latched area by parameter setting.

※2, Latched area, it could be changed to non-latched area by parameter setting.

※3, The non-latched or latched feature couldnot be changed.

General

A single data register contains 16bits or one word. However, two consecutive data registers could be used to form a 32bit device more commonly known as a double word. Data remains the same until the next time it is rewritten. When switch the PLC state (RUN to STOP or STOP to RUN), the data will be erased. If the special auxiliary relay M8033 is ON, the data in general data register will be retained while switch PLC state.

Latched

The data in register will be retained while switch PLC state. The latched register range could be modified by parameters.

System-special

System-special data register D8000 ~ D8255 are used for controlling and monitoring a variety of work methods and components in PLC, such as battery voltage, scould time, and is the state of action and so on. The default value will be written into those registers while PLC power on.

Index registers V, Z

The index registers are same as common data registers, is 16-bit registers for data reading and writing. There are totally 64 registers, V0-V31, Z0-Z31.

The index registers could be used in combination with other registers or values by application instructions. But they couldnot be used in combination with the basic instructions and step ladder diagram instruction.

File registers D

The file registers start from D1000 to D7999. File registers could be secured in the program memory in units of 500 points. File registers are actually setup in the parameter area of the PLC. For every block of 500 file registers allocated and equivalent block of 500 program steps are lost.

Register P, I

Pointers register P is used for entry address of jump program, and identification of sub-program starting address.

Pointer register I is used for identification of interrupted program starting address.

Devices numbered in: Decimal, i.e. P0 to P9, P10 to P19, I0 to I9, I10 to I19.

PLCSub-programInsertInsert counterCounter interrupt
-Jump to end
LX3V (1S)

63

(P0-P62)

1

(P63)

6

I00_(X000), I10_(X001), I20_(X002), I30_(X003), I40_(X004), I50_(X005)

--
LX3V (2N)

127

(P0-P62)

(P64-P127)

1

(P63)

6

I00_(X000), I10_(X001), I20_(X002), I30_(X003), I40_(X004), I50_(X005)

3

(I6_, I7_, I8_)

6

(I010, I020, I030, I040, I050, I060)

LX3VP

127

(P0-P62)

(P64-P127)

1

(P63)

6

I00_(X000), I10_(X001), I20_(X002), I30_(X003), I40_(X004), I50_(X005)

3

(I6_, I7_, I8_)

6

(I010, I020, I030, I040, I050, I060)

LX3VE

127

(P0-P62)

(P64-P127)

1

(P63)

6

I00_(X000), I10_(X001), I20_(X002), I30_(X003), I40_(X004), I50_(X005)

3

(I6_, I7_, I8_)

6

(I010, I020, I030, I040, I050, I060)

LX3VM

127

(P0-P62)

(P64-P127)

1

(P63)

6

I00_(X000), I10_(X001), I20_(X002), I30_(X003), I40_(X004), I50_(X005)

3

(I6_, I7_, I8_)

6

(I010, I020, I030, I040, I050, I060)

✎Note: The input X for interrupt register couldn’t be used for [high speed counter] and [SPD] instruction as the same time.

  1. Sub-program pointer

As below demos show, the left one is for conditional jump with [CJ] instruction, the right one is for Sub-program call with [CALL] instruction.

1650093462249-520.png

Interrupt pointer

An interrupt pointer and various usage of three, dedicated interrupt applied instructions;

  • IRET: interrupt return
  • EI: enable interrupt
  • DI: disable interrupt

Usage of interrupt

  • Input Interrupt: Receive signals from a particular input without being affected by the scould cycle of PLC;
  • Timer Interrupt: The interrupt is repeatedly triggered at intervals of the specified time (10ms~99ms);
  • Counter Interrupt: The interrupt is triggered according to the comparison result of the built-in high-speed counter of PLC;

LX Series PLC could support five kinds of contacts for programming, the detailed as the following table shows.

FormatDescription
Decimal

The set value of timer and counter (K is a constant);

The number of Auxiliary Relay(M), Timer(T), Counter(C), Status(S) and so on (the number of registers);

The value and instruction action in the operand, which are applied (K is a constant);

HexadecimalAs with the decimal, it is applied in the operand and the specific actions in the application instruction.
BinaryUsing decimal number or hexadecimal number to design the value of the timer, counter or data register. However, in the internal PLC, these data is dealt with binary numbers. Moreover, when monitoring external devices, these registers will be converted to a decimal number automatically (16 hex could be converted as well).
OctalIt is used for distribute the register number of input relay and output relay. Use the binary values of [0-7, 10-17 ... 70-77, 100-107]. [8, 9] do not exist in the octal.
BCDBinary-coded decimal (BCD) is a class of binary encodings of decimal numbers where each decimal digit is represented by a fixed number of bits, usually four or eight. Special bit patterns are sometimes used forseven segment display controlling.
BIN floatBIN float is used for calculation in PLC internal.
Decimal floatIt is only used for monitoring and improving readability.

Constant K

[K] is decimal integer symbol, mainly used for setting the value of the timer or counter or application instruction operand values. The value range in 16-bit is -32,768 – 32,767, the value range in 32-bit is -2, 147,483, 648 – 2, 147, 483, 647.

Constant H

[H] is hexadecimal numbers symbol, mainly used for setting the value of application instruction operand value. The value range in 16-bit instruction is 0000-FFFF, the value range in 32-bit instruction is 0000, 0000– FFFF, FFFF.

Constant E

[E] is single-precision floating symbol, mainly used for setting the value of application instruction operand value. It is only available in DECMP、DEZCP、DSINH、DCOSH、DTANH、DEBCD、DEBIN、DEADD、DESUB、DEMUL、DEDIV、DEXP、DLOGE、DLOG10、DESQR、DINT、DSIN、DCOS、DTAN、DASIN、DACOS、 DATAN、DRAD、DDEG instructions in LX3VP and LX3VE series. The value range is ±1.175495 E-38~±3.402823 E+38.

1650093586748-193.png

System-special address

MDescriptionLX1SLX2N or laterDDescriptionLX1SLX2N or later 

System operation

 
M8000RUN monitor, NO contactOOD8000Watchdog timerOO 
M8001RUN monitor, NC contactOOD8001

PLC type and version

LX3V/3V-A2:250**

LX3V-A1: 220**

LX3VP: 251**

LX2V: 240**

** is viewed by D8101

OO 
M8002Initial pulse NO contactOOD8002

Memory capacity

0002: 2K steps

0004: 4K steps

0008: 8K step

OO 
M8003Initial pulse NC contactOOD8003Memory type default value is 0x10.OO 
M8004ON when one or more error flags from the range M8060to M8067 [except M8062]are ONOOD8004Error BCD code of M8060~M8067, the default value is 0.OO 
M8005Battery voltage Low-OD8005Battery voltage-O 
M8006Battery error latch-OD8006The level at which a battery voltage low is detected-O 
M8007Power loss has occurred more than 5ms, M8007&M8008 are ON-OD8007The number of time a momentary power failure has occurred since power ON.-O 
M8008Power loss has occurred-OD8008The time period before shutdown when a power failure occurs (default 10ms)-O 
M8009Power failure of 24V DC service supply-OD8009The device number of module, which affected by 24VDC power failure-O 

Clock Devices

 
M8010ReservedOOD8010Current operation cycle / scould time in units of 0.1 msecOO 
M8011Oscillates in 10 msec cyclesOOD8011Minimum cycle/ scould time in units of 0.1 msecOO 
M8012

Oscillates in 100 msec

cycles

OOD8012Maximum cycle/ scould time inunits of 0.1 msecOO 
M8013Oscillates in 1 sec cyclesOOD8013Seconds data for use with an RTC (0-59)OO 
M8014Oscillates in 1 min cyclesOOD8014Minute data for use with anRTC (0-59)OO 
M8015When ON - clock stops, ON→OFF restarts clockOOD8015Hour data for use with an RTC (0-23)OO 
M8016

When ON D8013 to 19 are frozen for display but clock

continues

OOD8016Day data for use with an RTC (1-31)OO 
M8017When pulsed ON set RTC to nearest minuteOOD8017Month data for use with an RTC (1-12)OO 
M8018When ON Real Time Clockis installedOOD8018Year data for use with an RTC (2000-2099)OO 
M8019Clock data has been set outof rangeOOD8019Weekday data for use with an RTC (0-6)OO 

Operation Flags

 
M8020Set when the result of anADDor SUBis “0”OOD8020Input filter setting for devicesX000 to X007 default is 10msec, (0-60)OO 
M8021

Set when the result of a SUBis less than the

min. negative number

OOD8021Reserved   
M8022Set when ‘carry’ occurs during an ADD orwhen an overflow occurs asa result of a data shift operationOOD8022Reserved   
M8023ReservedOOD8023Reserved   
M8024Direction of BMOV-OD8024Reserved   
M8025HSC mode-OD8025Reserved   
M8026RAMP mode-OD8026Reserved   
M8027PR 16 element data string-OD8027Reserved   
M8028Switch100ms/10ms timerO-D8028Current value of the Z index registerOO 
M8029Instruction execution complete such as PLSROOD8029Current value of the V index registerOO 

PLC Operation Mode

 
M8030Battery voltage is low but BATT.V LED not lit-OD8030Reserved   
M8031Clear all unsaved memoryOOD8031Reserved   
M8032Clear all the saved memoryOOD8032Reserved   
M8033The device statuses and settings are retained when thePLC changes from RUN toSTOP and back into RUNOOD8033Reserved   
M8034All of the physical switchgear for activating outputs is disabled. However, the program still operates normally.OOD8034Reserved   
M8035Forced operation 1OOD8035Reserved   
M8036Forced operation 2OOD8036Reserved   
M8037Forced stopOOD8037Reserved   
M8038Communication parameter setting flagOOD8038Reserved   
M8039Constant scouldOOD8039Constant scould time, default 0, in units of MSOO 

Step Ladder (STL) Flags

 
M8040When ON STL state transfer is disabledOOD8040Up to 8 active STL states, from the range S0 to S899, are stored in D8040 to D8047 in ascending numerical order (Updated at END)OO 
M8041When ON STL transfer from initial state is enabled during automatic operationOOD8041OO 
M8042A pulse output is given in response to a start inputOOD8042OO 
M8043On during the last state of ZERO RETURN modeOOD8043OO 
M8044ON when the machine zero is detectedOOD8044OO 
M8045Disables the all output reset function when the operation mode is changedOOD8045OO 
M8046ON when STL monitoring has been enable (M8047)OOD8046OO 
M8047When ON D8040 to D8047 are enabled for active STL step monitoringOOD8047OO 
M8048ON when annunciator monitoring has been enabled (M8049) and there is an active annunciator flag-OD8048Reserved   
M8049When ON D8049 is enabled for actove annunciator state monitoring.-OD8049Stores the lowest currently active annunciator from the range S900 to S999 (Updated at END)-O 

Interrupt Control Flags

 
M8050I00□ disabledOOD8050Reserved   
M8051I10□ disabledOOD8051Reserved   
M8052I20□ disabledOOD8052Reserved   
M8053I30□ disabledOOD8053Reserved   
M8054I40□ disabledOOD8054Reserved   
M8055I50□ disabledOOD8055Reserved   
M8056I6□□ disabled-OD8056Reserved   
M8057I7□□ disabled-OD8057Reserved   
M8058I8□□ disabled-OD8058Reserved   
M8059Counters disabled-OD8059Reserved   

Error Detection

 
M8060I/O configuration error-OD8060The first I/O number of the unit or block causing the error-O 
M8061PLC hardware errorOOD8061Error code for hardware errorOO 
M8062PLC communication error-OD8062Error code for PLC Communications error-O 
M8063Parallel link errorOOD8063Error code for parallel link errorOO 
M8064Parameter errorOOD8064Error code identifying parameter errorOO 
M8065Syntax errorOOD8065Error code identifying syntax errorOO 
M8066Loop errorOOD8066Error code identifying loop errorOO 
M8067Operation errorOOD8067Error code identifying operation error.OO 
M8068Operation error latchOOD8068Operation error step number latchedOO 
M8069Reserved  D8069Step numbers for found errors corresponding to flags M8065 to M8067OO 

High-speed ring counter

 
M8099High-speed ring counter operationOOD8099High-speed ring counter, range: 0 to 32,767 in units of 0.1 msOO 

Other functions

 
M8100SPD (X000) pulse/ minuteOOD8100ReservedOO 
M8101SPD (X001) pulse/ minuteOOD8101

Firmware sub-version

LX3V/3VP: 160**

LX2V: 240**

The ** and D8001** combines a complete firmware version number

OO 
M8102SPD (X002) pulse/ minuteOOD8102User program capacityOO 
M8103SPD (X003) pulse/ minuteOOD8103ReservedOO 
M8104SPD (X004) pulse/ minuteOOD8104The AC/DE time for DRVI, DRVA, [100 ms default value] it effected by M8135 (Y0), it must be the same as D8165.OO 
M8105SPD (X005) pulse/ minuteOOD8105The AC/DE time for DRVI, DRVA, [100 ms default value] it effected by M8135 (Y1), it must be the same as D8166.OO 
M8106Reserved  D8106The AC/DE time for DRVI, DRVA, [100 ms default value] it effected by M8135 (Y2), it must be the same as D8167.OO 
M8107Reserved  D8107The AC/DE time for DRVI, DRVA, [100 ms default value] it effected by M8135 (Y3), it must be the same as D8168.OO 
M8108Reserved  D8108Reserved   
M8109Output refresh errorOOD8109Output refresh error device number;OO 

COM1 communication settings

 
M8110Reserved  D8110Com1 port setting (only available in 22319, 24320, 25007 or later)OO 
M8111Reserved  D8111Reserved   
M8112BD module 1 channel 1 flag bit  D8112BD module 1 channel 1 data   
M8113BD module 1 channel 2 flag bit  D8113BD module 1 channel 2 data   
M8114BD module 1 channel 3 flag bit  D8114BD module 1 channel 3 data   
M8115BD module 1 channel 4 flag bit  D8115BD module 1 channel 4 data   
M8116BD module 2 channel 1 flag bit  D8116BD module 2 channel 1 data   
M8117BD module 2 channel 2 flag bit  D8117BD module 2 channel 2 data   
M8118BD module 2 channel 3 flag bit  D8118BD module 2 channel 3 data   
M8119BD module 2 channel 4 flag bit  D8119BD module 2 channel 4 data   

COM2 communication settings

 
M8120Reserved  D8120Com2 port setting, the default value is 0OO 
M8121Sending and waiting (RS instruction)OOD8121Station number settings, the default value is 1OO 
M8122

Sending flag (RS instruction)

Instruction execution status (MODBUS)

OOD8122Amount of remaining data to be transmitted (Only for RS instruction) unit:0.1msOO 
M8123

Receiving complete flag (RS)

Communication error flag (MODBUS)

OOD8123Amount of data already received (Only to RS instruction)OO 
M8124Receiving (only to RS instruction)OOD8124Start character STX (Only to RS instruction)OO 
M8125Reserved  D8125End character ETX (Only to RS instruction)OO 
M8126Reserved  D8126Communication protocol setting, the default value is 0OO 
M8127Reserved  D8127Starting address for PC protocolOO 
M8128Reserved  D8128Data length for PC protocolOO 
M8129Timeout judgementOOD8129Timeout judgement, default value is 10 (100ms)OO 

High speed & Position

 
M8130Selects comparison tables to be used with the HSZ instructionOOD8130Contains the number of the current record being processed in the HSZ comparison tableOO 
M8131OOD8131HSZ&PLSY speed modeOO 
M8132HSZ&PLSY speed modeOOD8132HSZ&PLAY speed mode frequencyLowOO 
M8133OOD8133- 
M8134Reserved  D8134HSZ&PLAY speed mode pulsesLowOO 
M8135Reserved  D8135High 
M8136Reserved  D8136total output pulse of Y000&Y001LowOO 
M8137Reserved  D8137High 
M8138Reserved  D8138Reserved   
M8139Reserved  D8139Reserved   
M8140The CLR signal output function of ZRN is validOOD8140Accumulated value of PLSY & PLSR output pulse in Y000LowOO 
M8141Accumulator register of output pulse could latched when turn ON (D8136, D8137, D8140~D8143, D8150~D8153)OOD8141High 
M8142Reserved  D8142Accumulated value of PLSY & PLSR output pulse in Y001LowOO 
M8143Reserved  D8143High 
M8144Reserved  D8144Reserved   
M8145Stop pulse output in Y000OOD8145Bias speed of DRVI & DRVAOO 
M8146Stop pulse output in Y001OOD8146Highest speed of DRVI & DRVA (default is 100,000)LowOO 
M8147Monitor pulse output in Y000OOD8147High 
M8148Monitor pulse output in Y001OOD8148ACC/DEC time of DRVI & DRVA (default is 100)OO 
M8149Monitor pulse output in Y002OOD8149Reserved   
M8150Monitor pulse output in Y003OOD8150Accumulated value of PLSY & PLSR output pulse in Y002LowOO
M8151Reserved  D8151High
M8152Stop pulse output in Y002OOD8152Accumulated value of PLSY & PLSR output pulse in Y003LowOO
M8153Stop pulse output in Y003OOD8153High
M8154Reserved  D8154Reserved   
M8155Reserved  D8155Reserved   

Extend function

 
M8156Reserved  D8156Define clear signal in Y0 (ZRN) (default is 5=Y5)OO 
M8157Reserved  D8157Define clear signal in Y1 (ZRN) (default is 6=Y6)OO 
M8158Reserved  D8158Define clear signal in Y2 (ZRN) (default is 7=Y7)OO 
M8159Reserved  D8159Define clear signal in Y3 (ZRN) (default is 8=Y10)OO 
M8160SWAP function is XCH-OD8160Define clear signal in Y4 (ZRN) (default is 9=Y11)OO 
M8161Bit processing mode of ASC/RS/ASCII/HEX/CCDOOD8161Reserved   
M8162High-speed connection in parallel modeOOD8162Reserved   
M8163Reserved  D8163Reserved   
M8164Variable transmission points mode (FROM/TO)-OD8164Special transmission points mode (FROM/TO)OO 
M8165Reserved  D8165When enable acceleration and deceleration time, ensure the values is the same as D8104'sOO 
M8166Reserved  D8166When enable acceleration and deceleration time, ensure the values is the same as D8105'sOO 
M8167HEX processing function of SMOV-OD8167When enable acceleration and deceleration time, ensure the values is the same as D8106'sOO 
M8168HEX processing function of HEY-OD8168When enable acceleration and deceleration time, ensure the values is the same as D8107'sOO 
M8169Reserved  D8169Reserved   
Pulse catchCommunication 
M8170X000 pulse catchOOD8170Reserved   
M8171X001 pulse catchOOD8171Reserved   
M8172X002 pulse catchOOD8172Reserved   
M8173X003 pulse catchOOD8173Station number setting stateOO 
M8174X004 pulse catchOOD8174Communication sub-station setting stateOO 
M8175X005 pulse catchOOD8175Refresh range setting stateOO 
M8176Reserved  D8176Station number settingOO 
M8177Reserved  D8177Communication sub-station settingOO 
M8178Reserved  D8178Refresh range settingOO 
M8179Reserved  D8179Retries settingOO 
M8180Reserved  D8180Timeout settingOO 
CommunicationIndexed addressing 
M8181Reserved  D8181Reserved   
M8182Reserved  D8182No.2 bit device/ Content of Z1 deviceOO 
M8183Master transfers data errorOOD8183No.3 bit device/ Content of V1 deviceOO 
M8184Slave 1 transfers data errorOOD8184No.4 bit device/ Content of Z2 deviceOO 
M8185Slave 2 transfers data errorOOD8185No.5 bit device/ Content of V2 deviceOO 
M8186Slave 3 transfers data errorOOD8186No.6 bit device/ Content of Z3 deviceOO 
M8187Slave 4 transfers data errorOOD8187No.7 bit device/ Content of V3 deviceOO 
M8188Slave 5 transfers data errorOOD8188No.8 bit device/ Content of Z4 deviceOO 
M8189Slave 6 transfers data errorOOD8189No.9 bit device/ Content of V4 deviceOO 
M8190Slave 7 transfers data errorOOD8190No.10 bit device/ Content of Z5 deviceOO 
M8191Data transferringOOD8191No.11 bit device/ Content of V5 deviceOO 
M8192Reserved  D8192No.12 bit device/ Content of Z6 deviceOO 
M8193Reserved  D8193No.13 bit device/ Content of V6 deviceOO 
M8194Reserved  D8194No.14 bit device/ Content of Z7 deviceOO 
M8195Reserved  D8195No.15 bit device/ Content of V7 deviceOO 
M8196Reserved  D8196Reserved   
M8197Reserved  D8197Reserved   
M8198Reserved  D8198Reserved   
M8199Reserved  D8199Reserved   
Counters statesCommunication 
M8200C200 ControlOOD8200

Frequency multiplication of C251 device

D8200=0: 1 frequency multiplication

D8200=1: 2 frequency multiplication

D8200=2: 4 frequency multiplication

Note: HSCS, HSCR and HSCZ instructions could be used with frequency multiplication simultaneously. And this function is available in V311 or later version

OO 
M8201C201 ControlOOD8201Reserved   
M8202C202 ControlOOD8202Reserved   
M8203C203 ControlOOD8203Reserved   
M8204C204 ControlOOD8204Reserved   
M8205C205 ControlOOD8205Reserved   
M8206C206 ControlOOD8206Reserved   
M8207C207 ControlOOD8207Reserved   
M8208C208 ControlOOD8208Reserved   
M8209C209 ControlOOD8209Reserved   
M8210C210 ControlOOD8210Reserved   
M8211C211 ControlOOD8211Reserved   
M8212C212 ControlOOD8212Reserved   
M8213C213 ControlOOD8213Reserved   
M8214C214 ControlOOD8214Reserved   
M8215C215 ControlOOD8215Reserved   
M8216C216 ControlOOD8216Reserved   
M8217C217 ControlOOD8217Reserved   
M8218C218 ControlOOD8218Reserved   
M8219C219 ControlOOD8219Reserved   
M8220C220 ControlOOD8220

D8220=1 to enable the new filtering methods (four points constitute a set of filter). When use new filtering methods, the filter time which set by D8020 is not valid. And before using this filtering methods, users need to set the filtering time for each X terminals (D8221~D8228), Filter time unit is ms.

Note: This filter method only works on CPU IO, the IO in extension module is not invalid.

OO 
M8221C221 ControlOOD8221

Low bits are for setting filter time of X0~X3;

High bits are for setting filter time of X4~X7

Unit is ms

OO 
M8222C222 ControlOOD8222

Low bits are for setting filter time of X10~X13;

High bits are for setting filter time of X14~X17

Unit is ms

OO 
M8223C223 ControlOOD8223

Low bits are for setting filter time of X20~X23;

High bits are for setting filter time of X24~X27

Unit is ms

OO 
M8224C224 ControlOOD8224

Low bits are for setting filter time of X30~X33;

High bits are for setting filter time of X34~X37

Unit is ms

OO 
M8225C225 ControlOOD8225

Low bits are for setting filter time of X40~X43;

High bits are for setting filter time of X44~X47

Unit is ms

OO 
M8226C226 ControlOOD8226

Low bits are for setting filter time of X50~X53;

High bits are for setting filter time of X54~X57

Unit is ms

OO 
M8227C227 ControlOOD8227

Low bits are for setting filter time of X60~X63;

High bits are for setting filter time of X64~X67

Unit is ms

OO 
M8228C228 ControlOOD8228

Low bits are for setting filter time of X70~X73;

High bits are for setting filter time of X74~X77

Unit is ms

OO 
M8229C229 ControlOOD8229Reserved   
M8230C230 ControlOOD8230Reserved   
M8231C231 ControlOOD8231Reserved   
M8232C232 ControlOOD8232Reserved   
M8233C233 ControlOOD8233Reserved   
M8234C234 ControlOOD8234Reserved   
M8235One phase one directionalC235 ControlOOD8235Reserved   
M8236C236 ControlOOD8236Reserved   
M8237C237 ControlOOD8237Reserved   
M8238C238 ControlOOD8238Reserved   
M8239C239 ControlOOD8239Reserved   
M8240C240 ControlOOD8240Reserved   
M8241C241 ControlOOD8241Reserved   
M8242C242 ControlOOD8242Reserved   
M8243C243 ControlOOD8243Reserved   
M8244C244 ControlOOD8244Reserved   
M8245C245 ControlOOD8245Reserved   
M82462 phase bi-directionalC246 ControlOOD8246Reserved   
M8247C247 ControlOOD8247Reserved   
M8248C248 ControlOOD8248Reserved   
M8249C249 ControlOOD8249Reserved   
M8250C250 ControlOOD8250Reserved   
M8251A/B phaseC251 ControlOOD8251Reserved   
M8252C252 ControlOOD8252Reserved   
M8253C253 ControlOOD8253Reserved   
M8254C254 ControlOOD8254Reserved   
M8255C255 ControlOOD8255Reserved