05.06.2015 Views

ZM-71SE About version 1.2.1.0 - Soliton

ZM-71SE About version 1.2.1.0 - Soliton

ZM-71SE About version 1.2.1.0 - Soliton

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

=Indirect Designation Memory (corresponds to page 14-23)<br />

Indirect Designation Memory<br />

Expansion Code<br />

Set when the SPU memory slot number of a Mitsubishi PLC and a Yokogawa PLC CPU<br />

number are specified.<br />

[Example]<br />

Sharp F (file)register specified : 0 to 7(H), 10 to 20 (H) Additional item<br />

Mitsubishi for Slot No. 0: 00<br />

Mitsubishi for Slot No. 1: 01<br />

Yokogawa for CPU No. 1: 00<br />

Yokogawa for CPU No. 2: 01<br />

Notes on Macro Commands (corresponds to page 14-24)<br />

The macro block calculates DEC numbers with a sign.<br />

One macro can be a maximum of 1024 lines (instructions) long.<br />

* Or, a maximum of 256 lines on the <strong>ZM</strong>70.<br />

The maximum number of macro lines that can be executed is 160,000 (instructions). If the<br />

number of lines in a macro exceeds this value, the system will forcibly stop operation.<br />

* Or, a maximum of 5,000 lines (instruction) on the <strong>ZM</strong>70.<br />

When you want to set PLC memory using the MOV and BMOV commands, the system will<br />

access the PLC memory with each command and thus slow the processing speed. Therefore,<br />

the following tips should be observed.<br />

[Example]<br />

Line No.0 D200=u200(W)<br />

Line No.1 D201=u201(W)<br />

Line No.2 D202=u202(W)<br />

Line No.3 D203=u203(W)<br />

Line No.4 D204=u204(W)<br />

Since the system functions as follows: Write “D200” on line No. 0. Write D201 on line No. 1. Write<br />

D202 on line No. 2. Write D203 on line No. 4. Write D204 on line No. 4.; it will take a long time to<br />

communicate. In this case you could construct a macro such as the one shown below.<br />

Line No.0<br />

D200=u200 C:5(BMOV)<br />

This line not only improves the processing speed, but it also decreases the number of lines in a<br />

program. With some consideration, a program can be greatly simplified by using macros.<br />

Additional item

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!