Delta DVP-ES2 User Manual Page 237

  • Download
  • Add to my manuals
  • Print
  • Page
    / 702
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 236
3. Instruction Set
3-121
API Mnemonic Operands Function
52
MTR
Input Matrix
Controllers
ES2/EX2 SS2
SA2
SE
SX2
Bit Devices Word devices Program Steps Type
OP
X Y M S K H KnX KnY KnM KnS T C D E F
S
*
D
1
*
D
2
** *
n * *
MTR: 9 steps
PULSE 16-bit 32-bit
ES2/EX2 SS2
SA2
SE
SX2 ES2/EX2 SS2
SA2
SE
SX2 ES2/EX2 SS2
SA2
SE
SX2
Operands:
S: Head address of input device D
1
: Head address of output device D
2
: Head address of
matrix scan n: Number of arrays in the matrix
Explanations:
1. S is the source device of the matrix input and occupies 8 consecutive points.
D
1
is the trigger device (transistor output Y) to read input signals and occupies n consecutive
points
D
2
is the head address of the matrix which stores the read status from inputs
2. This instruction allows 8 continuous input devices starting from S to be used n times, which
means the operation result can be displayed with a matrix table starting from D
2 .
Each set of
8 input signals are grouped into an “array” and there are n number of arrays. Each array is
selected to be read by triggering output devices starting from D
1
. The result is stored in a
matrix-table which starts at corresponding head address D
2
.
3. Maximum 8 arrays can be specified (n = 8) to obtain 64 input points (8 × 8 = 64).
4. The processing time of each array is approximately 25ms, i.e. an 8 array matrix would cost
200ms to finish reading. In this case, input signals with ON/OFF speed faster than 200ms are
not applicable in the matrix input.
5. It is recommended to use special auxiliary relay M1000 (normally open contact).
6. Whenever this instruction finishes a matrix scan, M1029 will be ON for one scan period..
7. There is no limitation on the number of times for using the instruction, but only one instruction
can be executed in the same time.
8. Flag: M1029, execution completed flag.
Program Example:
When PLC runs, MTR instruction executes. The status of input points X40~X47 is read 2 times in
the driven order of output points Y40 and Y41, i.e. 16 signals will be generated and stored in
internal relay M10~M17 and M20~M27.
Page view 236
1 2 ... 232 233 234 235 236 237 238 239 240 241 242 ... 701 702

Comments to this Manuals

No comments