Delta DVP-ES2 — 3.8 Detailed Instruction Explanation

3. Instruction Set 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.

M1000 3-123 API Mnemonic Operands Function Controllers SA2 ES2/EX2 SS2 SX2 SE Controllers 52 MTR Input Matrix ES2/EX2 SS2 SA2 SX2 SE Type OP Bit Devices Word devices Program Steps X Y M S K H KnX KnY KnM KnS T C D E F MTR: 9 steps S * D 1 * D 2 * * * n * * PULSE 16-bit 32-bit ES2/EX2 SS2 SA2 SE SX2 SA2 ES2/EX2 SS2 SA2 SE SX2 ES2/EX2 SS2 SX2 SE MTR X40 Y40 M10 K2