DVP - ES2/EX2/SS2/SA2/SX2 Operation Manual - Programming

Before execution

M1095

After rotation to the left

M1095 1

 

b15

 

 

 

 

 

 

B0

 

 

 

1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0

 

D0

 

 

1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0

 

D1

 

1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0

 

D2

 

 

 

 

 

MBR

 

M1097=0

 

 

 

0

1

0 1

0 1

0

1 0 1

0 1

0 1

0 1

 

D20

0

1

0 1

0 1

0

1 0 1

0 1

0 1

0 1

 

D21

0

1

0 1

0 1

0

1 0 1

0 1

0 1

0 1

 

D22

Program Example 2:

When X1 = ON, M1097 = ON, indicating a right matrix rotation is performed. The 16-bit registers D0 ~ D2 will perform a right matrix rotation and the result will be stored in the matrix of the 16-bit registers D20 ~ D22. The matrix carry flag M1095 will be OFF (0).

X1

M1097

MBRP D0 D20 K3

D0 Before execution D1

D2

 

b15

 

 

 

 

 

 

 

 

 

 

 

b0

 

 

1

0

1

0

1

0

1 0

1

0

1

0

1 0

1

0

 

 

M1095

 

 

1 0 1 0 1

0 1 0 1

0 1 0

1 0 1 0

 

 

 

 

1 0 1 0 1

0 1 0 1 0 1 0

1 0 1 0

 

 

 

 

 

 

 

MBR M1097=1

After rotation

D20

0

1

0

1

0

1

0

1

0 1

0 1

0

1

0 1

0

M1095

D21

0

1

0

1

0

1

0

1

0 1

0 1

0

1

0 1

 

 

to the right

D22

0

1

0

1

0

1

0

1

0 1

0 1

0

1

0 1

 

 

 

 

 

3 - 422

Page 538
Image 538
Delta DVP-ES2/EX2/SS2/SA2/SX2/SE manual Mbr