Browse
(440) 299-7778
Menu
(440) 299-7778
One-year parts and labor warranty30-day money-back guaranteeContact

The text of a manual · part 31 of 53

DL06 Micro PLC User Manual, Volume 1 of 2, pages 300 to 309

Pages 300 to 309 of 524

The original document is the PDF (6.4 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.

For the AutomationDirect Direct Logic DL06 and Koyo DL06 D0-06DD1

Page 300

Chapter 5: Standard RLL Instructions - Table Instructions

Fill (FILL)

1 2 3 4 5 6 7 8 9 10 11 12 13 14 A B C D

DS5

Used

HPP

Used

5–146

The Fill instruction fills a table of up to 255 V-memory locations with F ILL a value (Aaaa), which is either a V-memory location or a 4-digit A aaa constant. The function parameters are loaded into the first level of the accumulator stack and the accumulator by two additional instructions. Listed below are the steps necessary to program the Fill function. Step 1: - Load the number of V-memory locations to be filled into the first level of the accumulator stack. This parameter must be a HEX value, 0–FF. Step 2: - Load the starting V-memory location for the table into the accumulator. This parameter must be a HEX value. Step 3: - Insert the Fill instructions which specifies the value to fill the table with. Helpful Hint:, For parameters that require HEX values when referencing memory locations, the LDA instruction can be used to convert an octal address to the HEX equivalent and load the value into the accumulator. Operand Data Type

DL06 Range aaa

....................................A V-memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . V Pointer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . P Constant . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . K

See memory map See memory map 0–FF

Discrete Bit Flags SP53

Description On if the V-memory address is out of range.

In the following example, when X1 is on, the constant value (K4) is loaded into the accumulator using the Load instruction. This value specifies the length of the table and is placed on the first level of the accumulator stack when the Load Address instruction is executed. The octal address 1600 (V1600) is the starting location for the table and is loaded into the accumulator using the Load Address instruction. The value to fill the table with (V1400) is specified in the Fill instruction. DirectSOFT 5 Direct S OF T32 X1

K4

Load the cons tant value 4 ( HE X) into the lower 16 bits of the accumulator

O 1600

Convert the octal addres s 1600 to HE X 380 and load the value into the accumulator

LD

LDA

S S

V1400 2

F ill the table with the value in V1400

F ILL V1400

Handheld Programmer Keystrokes B STR

1

SHFT

L ANDST

D

SHFT

L ANDST

D

SHFT

F

I 5

ENT PREV

3 A 3 8

0

0

X

X

X

V1576

X

X

X

X

V1577

2

5

0

0

V1600

2

5

0

0

V1601

2

5

0

0

V1602

2

5

0

0

V1603

X

X

X

X

V1604

X

X

X

X

V1605

S S

Handheld Programmer Keys trokes

$

5

X

E 4 B

0 L L ANDST ANDST

ENT G

1

A

A 6

B

E 1

0

0

A

A 4

ENT

0

0

ENT

DL06 Micro PLC User Manual, 3rd Edition Rev. A

Page 301

Chapter 5: Standard RLL Instructions - Table Instructions

Find (FIND) DS5

Used

HPP

Used

The Find instruction is used to search for a specified value in a V-memory table of up to 255 locations. The function F IND parameters are loaded into the first and second levels of the A aaa accumulator stack and the accumulator by three additional instructions. Listed below are the steps necessary to program the Find function. Step 1: Load the length of the table (number of V-memory locations) into the second level of the accumulator stack. This parameter must be a HEX value, 0–FF. Step 2: Load the starting V-memory location for the table into the first level of the accumulator stack. This parameter must be a HEX value. Step 3: Load the offset from the starting location to begin the search. This parameter must be a HEX value. Step 4: Insert the Find instruction which specifies the first value to be found in the table. Results: - The offset from the starting address to the first V-memory location which contains the search value (in HEX) is returned to the accumulator. SP53 will be set on if an address outside the table is specified in the offset or the value is not found. If the value is not found 0 will be returned in the accumulator. Helpful Hint:, For parameters that require HEX values when referencing memory locations, the LDA instruction can be used to convert an octal address to the HEX equivalent and load the value into the accumulator. Operand Data Type ....................................A V-memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . V Constant . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . K

Discrete Bit Flags SP53

DL06 Range aaa See memory map 0–FF

Description On if there is no value in the table that is equal to the search value.

NOTE: Status flags are only valid until another instruction that uses the same flags is executed. The pointer for this instruction starts at 0 and resides in the accumulator.

In the following example, when X1 is on, the constant value (K6) is loaded into the accumulator using the Load instruction. This value specifies the length of the table and is placed in the second stack location when the following Load Address and Load instruction is executed. The octal address 1400 (V1400) is the starting location for the table and is loaded into the accumulator. This value is placed in the first level of the accumulator stack when the following Load instruction is executed. The offset (K2) is loaded into the lower 16 bits of the accumulator using the Load instruction. The value to be found in the table is specified in the Find instruction. If a value is found equal to the search value, the offset (from the starting location of the table) where the value is located will reside in the accumulator.

DL06 Micro PLC User Manual, 3rd Edition Rev. A

1 2 3 4 5 6 7 8 9 10 11 12 13 14 A B C D

5–147

Page 302

Chapter 5: Standard RLL Instructions - Table Instructions

1 2 3 4 5 6 7 8 9 10 11 12 13 14 A B C D

DirectS OF T 32 Dis5play DirectSOFT X1

S S LD K6

Load the cons tant value 6 (HE X) into the lower 16 bits of the accumulator

Offs et Begin here

LDA O 1400 C onvert octal 1400 to HE X 300 and load the value into the accumulator.

0

1

2

3 V1400

0

0

5

0

0 V1401

1

9

9

9

9 V1402

2

3

0

7

4 V1403

3

8

9

8

9 V1404

4

1

0

1

0 V1405

X

X

X

X V1406

X

X

X

X V1407

Table length

Accumulator 0

0

0

0

0

0

0

4

V1404 contains the location where the match was found. The value 8989 was the 4th location after the s tart of the s pecified table.

5

S S

LD K2 Load the cons tant value 2 into the lower 16 bits of the accumulator

F IND K8989 F ind the location in the table where the value 8989 res ides

Handheld Programmer Keystrokes $

B

ENT

STR

1

SHFT

D L ANDST 3

SHFT

L D ANDST 3

A

SHFT

D L ANDST 3

PREV

SHFT

F

N TMR

I 5

8

PREV

G 6 B

0

1 C 2 D 3

ENT E

A 4

0

ENT NEXT

I

J 8

I 9

J 8

9

ENT

Find Greater Than (FDGT)

5–148

The Find Greater Than instruction is used to search for the first occurrence of a value in a V-memory table that is greater than the specified value (Aaaa), which can be either a VF DG T memory location or a 4-digit constant. The function A aaa parameters are loaded into the first level of the accumulator stack and the accumulator by two additional instructions. Listed below are the steps necessary to program the Find Greater Than function. Step 1: Load the length of the table (up to 255 locations) into the first level of the accumulator stack. This parameter must be a HEX value, 0–FF. Step 2: Load the starting V-memory location for the table into the accumulator. This parameter must be a HEX value. Step 3: Insert the FDGT instructions which specifies the greater than search value. Results: - The offset from the starting address to the first V-memory location which contains the greater than search value (in HEX) which is returned to the accumulator. SP53 will be set on if the value is not found and 0 will be returned in the accumulator. Helpful Hint:, For parameters that require HEX values when referencing memory locations, the LDA instruction can be used to convert an octal address to the HEX equivalent and load the value into the accumulator. NOTE: This instruction does not have an offset, such as the one required for the FIND instruction.

DL06 Micro PLC User Manual, 3rd Edition Rev. A

Page 303

Chapter 5: Standard RLL Instructions - Table Instructions

Operand Data Type

DL06 Range

1 2 Discrete Bit Flags Description 3 NOTE: Status flags are only valid until another instruction that uses the same flags is executed. The pointer 4 for this instruction starts at 0 and resides in the accumulator. In the following example, when X1 is on, the constant value (K6) is loaded into the 5 accumulator using the Load instruction. This value specifies the length of the table and is placed in the first stack location after the Load Address instruction is executed. The octal address 1400 (V1400) is the starting location for the table and is loaded into the accumulator. 6 The greater than search value is specified in the Find Greater Than instruction. If a value is found greater than the search value, the offset (from the starting location of the table) where 7 the value is located will reside in the accumulator. If there is no value in the table that is greater than the search value, a zero is stored in the accumulator and SP53 will come ON. 8 9 10 11 12 13 14 A B C D aaa

....................................A V-memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . V Constant . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . K

SP53

See memory map 0–FF

On if there is no value in the table that is equal to the search value.

DirectS OF T 32 Dis DirectSOFT 5 play X1

LD

K6

S S

Load the cons tant value 6 (HE X) into the lower 16 bits of the accumulator

Begin here

LDA

O 1400

C onvert octal 1400 to HE X 300 and load the value into the accumulator.

F DG T

K8989

Table length

0

1

2

3 V1400

0

0

5

0

0 V1401

1

9

9

9

9 V1402

2

0

3

0

7

4 V1403

3

8

9

8

9 V1404

4

1

0

1

0 V1405

5

X

X

X

X V1406

V1402 contains the location where the firs t value greater than the s earch value was found. 9999 was the 2nd location after the s tart of the s pecified table.

X

X

X

X V1407

Accumulator

0

0

0

0

0

0

2

S S

F ind the value in the table greater than the s pecified value

Handheld Programmer Keystrokes B

$

STR

1

SHFT

L ANDST

D

SHFT

L ANDST

D

SHFT

F

D

5

ENT

PREV

3

A

3

6

B

0

G

3

G

6

E

1

T MLR

ENT

A

4

NEXT

A

0

I

J

8

ENT

0

I

9

J

8

9

ENT

DL06 Micro PLC User Manual, 3rd Edition Rev. A

5–149

Page 304

Chapter 5: Standard RLL Instructions - Table Instructions

Table to Destination (TTD)

1 2 3 4 5 6 7 8 9 10 11 12 13 14 A B C D

DS5

Used

HPP

Used

5–150

The Table To Destination instruction moves a value from a V-memory table to a V-memory location and increments the table pointer by 1. The first V-memory location in the table contains the table pointer which indicates the next TTD location in the table to be moved. The instruction will be Aaaa executed once per scan provided the input remains on. The table pointer will reset to 1 when the value equals the last location in the table. The function parameters are loaded into the first level of the accumulator stack and the accumulator by two additional instructions. Listed below are the steps necessary to program the Table To Destination function. Step 1: Load the length of the data table (number of V-memory locations) into the first level of the accumulator stack. This parameter must be a HEX value, 0 to FF. Step 2: Load the starting V-memory location for the table into the accumulator. (Remember, the starting location of the table is used as the table pointer.) This parameter must be a HEX value. Step 3: Insert the TTD instruction which specifies destination V-memory location (Vaaa). Helpful Hint:, For parameters that require HEX values when referencing memory locations, the LDA instruction can be used to convert an octal address to the HEX equivalent and load the value into the accumulator. Helpful Hint: - The instruction will be executed every scan if the input logic is on. If you do not want the instruction to execute for more than one scan, a one shot (PD) should be used in the input logic. Helpful Hint:, The pointer location should be set to the value where the table operation will begin. The special relay SP0 or a one shot (PD) should be used so the value will only be set in one scan and will not affect the instruction operation. Operand Data Type

DL06 Range aaa

....................................A V-memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . V

Discrete Bit Flags SP56

See memory map

Description On when the table pointer equals the table length.

NOTE: Status flags (SPs) are only valid until:, another instruction that uses the same flag is executed, or, the end of the scan The pointer for this instruction starts at 0 and resets when the table length is reached. At first glance it may appear that the pointer should reset to 0. However, it resets to 1, not 0.

DL06 Micro PLC User Manual, 3rd Edition Rev. A

Page 305

Chapter 5: Standard RLL Instructions - Table Instructions In the following example, when X1 is on, the constant value (K6) is loaded into the accumulator using the Load instruction. This value specifies the length of the table and is placed in the first stack location after the Load Address instruction is executed. The octal address 1400 (V1400) is the starting location for the source table and is loaded into the accumulator. Remember, V1400 is used as the pointer location, and is not actually part of the table data source. The destination location (V1500) is specified in the Table to Destination instruction. The table pointer (V1400 in this case) will be increased by “1” after each execution of the TTD instruction. DirectSOFT32 5 DirectSOFT X1

Load the constant value 6 (HEX) into the lower 16 bits of the accumulator

LD K6

Convert octal 1400 to HEX 300 and load the value into the accumulator. This is the table pointer location

LDA 0 1400

Copy the specified value from the table to the specified destination (V1500)

TTD V1500

Handheld Programmer Keystrokes $

B STR

1

SHFT

L ANDST

D

SHFT

L ANDST

D

SHFT

T MLR

T MLR

ENT PREV

3 A 3

G 6 B

0 D

1 B

3

ENT E

A 4

F 1

A 0

A 5

It is important to understand how the table locations are numbered. If you examine the example table, you’ll notice that the first data location, V1401, will be used when the pointer is equal to zero, and again when the pointer is equal to six. Why? Because the pointer is only equal to zero before the very first execution. From then on, it increments from one to six, and then resets to one. Also, our example uses a normal input contact (X1) to control the execution. Since the CPU scan is extremely fast, and the pointer increments automatically, the table would cycle through the locations very quickly. If this is a problem, you have an option of using SP56 in conjunction with a one-shot (PD) and a latch (C1 for example) to allow the table to cycle through all locations one time and then stop. The logic shown here is not required, it’s just an optional method.

ENT

0 A

0

ENT

0

Table

Table Pointer

V1401

0

5

0

0

0 6

V1402

9

9

9

9

1

V1403

3

0

7

4

2

V1404

8

9

8

9

3

V1405

1

0

1

0

4

V1406

2

0

4

6

5

V1407

X

X

X

X

0

0

0

Des tination X

X

X

S S

DirectSOFT DirectSOFT32 5

(optional latch example using SP56) C0 PD

X1

C1

0 V1400

LD K6 Load the constant value 6 (HEX) into the lower 16 bits of the accumulator

C0

C1 SET

SP56

C1 RST

Since Special Relays are reset at the end of the scan, this latch must follow the TTD instruction in the program

DL06 Micro PLC User Manual, 3rd Edition Rev. A

X V1500

1 2 3 4 5 6 7 8 9 10 11 12 13 14 A B C D

5–151

Page 306

Chapter 5: Standard RLL Instructions - Table Instructions

1 2 3 4 5 6 7 8 9 10 11 12 13 14 A B C D

The following diagram shows the scan-by-scan results of the execution for our example program. Notice how the pointer automatically cycles from 0 – 6, and then starts over at 1 instead of 0. Also, notice how SP56 is only on until the end of the scan. Scan N

Before TTD Execution

After TTD Execution

Table

Table Pointer

V1401

0

5

0

0

0 6

V1402

9

9

9

9

1

V1403

3

0

7

4

2

V1404

8

9

8

9

3

V1405

1

0

1

0

4

V1406

2

0

4

6

5

V1407

X

X X

X

0

0

0

Table

0 V1400

Destination X

X X

X V1500

SP56 SP56 = OFF

0

5

0

0

0 6

V1402

9

9

9

9

1

V1403

3

0

7

4

2

V1404

8

9

8

9

3

V1405

1

0

1

0

4

V1406

2

0

4

6

5

V1407

X

X

X

X

S S

Scan N+1

Table Pointer (Automatically Incremented)

V1401

0

0

0

1 V1400

Destination 0

5

0

0

V1500

SP56 SP56 = OFF

S S

Before TTD Execution

After TTD Execution

Table

Table Pointer

V1401

0

5

0

0

0 6

V1402

9

9

9

9

1

V1403

3

0

7

4

2

V1404

8

9

8

9

3

V1405

1

0

1

0

4

V1406

2

0

4

6

5

V1407

X

X X

X

0

0

0

Table

1 V1400

Destination 0

5

0

0 V1500

SP56 SP56 = OFF

Table Pointer (Automatically Incremented)

V1401

0

5

0

0

0 6

V1402

9

9

9

9

1

V1403

3

0

7

4

2

V1404

8

9

8

9

3

V1405

1

0

1

0

4

V1406

2

0

4

6

5

V1407

X

X

X

X

S S

0

0

0

2 V1400

Destination 9

9

9

9 V1500

SP56 SP56 = OFF

S S S S S

Scan N+5

After TTD Execution

Before TTD Execution Table

Table Pointer

V1401

0

5

0

0

0 6

V1402

9

9

9

9

1

V1403

3

0

7

4

2

V1404

8

9

8

9

3

V1405

1

0

1

0

4

V1406

2

0

4

6

5

V1407

X

X X

X

0

0

0

Table

5 V1400

Destination 1

0

1

0 V1500

SP56 SP56 = OFF

0

5

0

0

0 6

V1402

9

9

9

9

1

V1403

3

0

7

4

2

V1404

8

9

8

9

3

V1405

1

0

1

0

4

V1406

2

0

4

6

5

V1407

X

X

X

X

S S

Scan N+6

5–152

Table Pointer (Automatically Incremented)

V1401

0

0

0

6 V1400

Destination 2

0

4

6 V1500

SP56 SP56 = ON until end of scan or next instruction that uses SP56

S S After TTD Execution

Before TTD Execution Table

Table Pointer

V1401

0

5

0

0

0 6

V1402

9

9

9

9

1

V1403

3

0

7

4

2

V1404

8

9

8

9

3

V1405

1

0

1

0

4

V1406

2

0

4

6

5

V1407

X

X X

X

0

0

0

Table

6 V1400

Destination 2

0

4

6 V1500

SP56 SP56 = OFF

Table Pointer (Resets to 1, not 0)

V1401

0

5

0

0

0 6

V1402

9

9

9

9

1

V1403

3

0

7

4

2

V1404

8

9

8

9

3

V1405

1

0

1

0

4

V1406

2

0

4

6

5

V1407

X

X

X

X

S S

DL06 Micro PLC User Manual, 3rd Edition Rev. A

S S

0

0

0

1 V1400

Destination 0

5

0

0 V1500

SP56 SP56 = OFF

Page 307

Chapter 5: Standard RLL Instructions - Table Instructions

Remove from Bottom (RFB) DS5

Used

HPP

Used

The Remove From Bottom instruction moves a value from the bottom of a V-memory table to a V-memory location and decrements a table pointer by 1. The first V-memory location in RFB the table contains the table pointer which indicates the next Aaaa location in the table to be moved. The instruction will be executed once per scan provided the input remains on. The instruction will stop operation when the pointer equals 0. The function parameters are loaded into the first level of the accumulator stack and the accumulator by two additional instructions. Listed below are the steps necessary to program the Remove From Bottom function. Step 1: - Load the length of the table (number of V-memory locations) into the first level of the accumulator stack. This parameter must be a HEX value, 0 to FF. Step 2: - Load the starting V-memory location for the table into the accumulator. (Remember, the starting location of the table blank is used as the table pointer.) This parameter must be a HEX value. Step 3: - Insert the RFB instructions which specifies destination V-memory location (Vaaa). Helpful Hint:, For parameters that require HEX values when referencing memory locations, the LDA instruction can be used to convert an octal address to the HEX equivalent and load the value into the accumulator. Helpful Hint: - The instruction will be executed every scan if the input logic is on. If you do not want the instruction to execute for more than one scan, a one shot (PD) should be used in the input logic. Helpful Hint:, The pointer location should be set to the value where the table operation will begin. The special relay SP0 or a one shot (PD) should be used so the value will only be set in one scan and will not affect the instruction operation. Operand Data Type

DL06 Range aaa

....................................A V-memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . V

Discrete Bit Flags SP56

See memory map

Description On when the table pointer equals zero..

NOTE: Status flags (SPs) are only valid until another instruction that uses the same flag is executed, or the end of the scan The pointer for this instruction can be set to start anywhere in the table. It is not set automatically. You have to load a value into the pointer somewhere in your program.

DL06 Micro PLC User Manual, 3rd Edition Rev. A

1 2 3 4 5 6 7 8 9 10 11 12 13 14 A B C D

5–153

Page 308

Chapter 5: Standard RLL Instructions - Table Instructions

1 2 3 4 5 6 7 8 9 10 11 12 13 14 A B C D 5–154

In the following example, when X1 is on, the constant value (K6) is loaded into the accumulator using the Load instruction. This value specifies the length of the table and is placed in the first stack location after the Load Address instruction is executed. The octal address 1400 (V1400) is the starting location for the source table and is loaded into the accumulator. Remember, V1400 is used as the pointer location, and is not actually part of the table data source. The destination location (V1500) is specified in the Remove From Bottom. The table pointer (V1400 in this case) will be decremented by “1” after each execution of the RFB instruction. DirectSOFT32 5 DirectSOFT X1

LD K6 Load the constant value 6 (HEX) into the lower 16 bits of the accumulator LDA 0 1400 Convert octal 1400 to HEX 300 and load the value into the accumulator. This is the table pointer location RFB V1500 Copy the specified value from the table to the specified destination (V1500)

Handheld Programmer Keystrokes B

$ STR

1

SHFT

L ANDST

D

SHFT

L ANDST

D

SHFT

R ORN

F

ENT PREV

3 A 3

6 B

0 B

5

G

E 1

B 1

ENT A 4 A

F 1

A 0

5

0 A

0

It is important to understand how the table locations are numbered. If you examine the example table, you’ll notice that the first data location, V1401, will be used when the pointer is equal to one. The second data location, V1402, will be used when the pointer is equal to two, etc.

0

ENT ENT

Table

Table Pointer

V1401

0

5

0

0

1

V1402

9

9

9

9

2

V1403

3

0

7

4

3

V1404

8

9

8

9

4

V1405

1

0

1

0

5

V1406

2

0

4

6

6

V1407

X

X

X

X

0

0

0

0 V1400

Des tination X

X

X

X V1500

S S DirectSOFT32 (optional one-shot method) DirectSOFTDisplay 5 (optional one-shot metod)

Also, our example uses a normal input contact (X1) to control the execution. Since the CPU scan is extremely fast, and the pointer decrements automatically, the table would cycle through the locations very quickly. If this is a problem for your application, you have an option of using a oneshot (PD) to remove one value each time the input contact transitions from low to high.

X1

C0

C0 PD LD K6 Load the constant value 6 (HEX) into the lower 16 bits of the accumulator LDA O 1400 Convert octal 1400 to HEX 300 and load the value into the accumulator. This is the table pointer location.

DL06 Micro PLC User Manual, 3rd Edition Rev. A

Page 309

Chapter 5: Standard RLL Instructions -Table Instructions The following diagram shows the scan-by-scan results of the execution for our example program. Notice how the pointer automatically decrements from 6 – 0. Also, notice how SP56 is only on until the end of the scan. Example of Execution Scan N

Before RFB Execution

After RFB Execution

Table

Table Pointer

V1401

0

5

0

0

1

V1402

9

9

9

9

2

V1403

3

0

7

4

3

V1404

8

9

8

9

4

V1405

1

0

1

0

5

V1406

2

0

4

6

6

V1407

X

X X

X

0

0

0

Table

6 V1400

Destination X

X X

X V1500

SP56 SP56 = OFF

0

5

0

0

1

V1402

9

9

9

9

2

V1403

3

0

7

4

3

V1404

8

9

8

9

4

V1405

1

0

1

0

5

V1406

2

0

4

6

6

V1407

X

X

X

X

S S

Scan N+1

Table Pointer (Automatically Decremented)

V1401

0

0

0

5 V1400

Destination 2

0

4

6

V1500

SP56 SP56 = OFF

S S

Before RFB Execution

After RFB Execution

Table

Table Pointer

V1401

0

5

0

0

1

V1402

9

9

9

9

2

V1403

3

0

7

4

3

V1404

8

9

8

9

4

V1405

1

0

1

0

5

V1406

2

0

4

6

6

V1407

X

X X

X

0

0

0

Table

5 V1400

Destination 2

0

4

6 V1500

SP56 SP56 = OFF

Table Pointer (Automatically Decremented)

V1401

0

5

0

0

1

V1402

9

9

9

9

2

V1403

3

0

7

4

3

V1404

8

9

8

9

4

V1405

1

0

1

0

5

V1406

2

0

4

6

6

V1407

X

X

X

X

S S

0

0

0

4 V1400

Destination 1

0

1

0 V1500

SP56 SP56 = OFF

S S S S S

Scan N+4

Before RFB Execution

After RFB Execution

Table

Table Pointer

V1401

0

5

0

0

1

V1402

9

9

9

9

2

V1403

3

0

7

4

3

V1404

8

9

8

9

4

V1405

1

0

1

0

5

V1406

2

0

4

6

6

V1407

X

X X

X

0

0

0

Table

2 V1400

Destination 3

0

7

4 V1500

SP56 SP56 = OFF

0

5

0

0

1

V1402

9

9

9

9

2

V1403

3

0

7

4

3

V1404

8

9

8

9

4

V1405

1

0

1

0

5

V1406

2

0

4

6

6

V1407

X

X

X

X

S S

Scan N+5

0

0

0

1 V1400

Destination 9

9

9

9 V1500

SP56 SP56 = OFF

S S

Before RFB Execution

After RFB Execution

Table

Table Pointer

V1401

0

5

0

0

1

V1402

9

9

9

9

2

V1403

3

0

7

4

3

V1404

8

9

8

9

4

V1405

1

0

1

0

5

V1406

2

0

4

6

6

V1407

X

X X

X

S S

Table Pointer (Automatically Decremented)

V1401

0

0

0

Destination 9

9

9

Table Pointer

Table

1 V1400

9 V1500

SP56 SP56 = OFF

V1401

0

5

0

0

1

V1402

9

9

9

9

2

V1403

3

0

7

4

3

V1404

8

9

8

9

4

V1405

1

0

1

0

5

V1406

2

0

4

6

6

V1407

X

X

X

X

S S

0

0

0

0 V1400

Destination 0

5

0

0 V1500

SP56 SP56 = ON until end of scan or next instruction that uses SP56

DL06 Micro PLC User Manual, 3rd Edition Rev. A

1 2 3 4 5 6 7 8 9 10 11 12 13 14 A B C D

5–155