02.09.2014 Views

ISPSoft User Manual

ISPSoft User Manual

ISPSoft User Manual

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

Chapter 8 Ladder Diagram<br />

(b)<br />

‣ Boolean value:<br />

AH500: SM400 (normally-open contact), or SM401 (normally-closed contact) is used.<br />

DVP: M1000 (normally-open contact), or M1001 (normally-closed contact) is used.<br />

If users want to use a symbol whose data type is ARRAY, the expression format is<br />

Identifier[Index]. Generally speaking, an index is a decimal constant. The indexes in a ladder<br />

diagram can not be symbols. The minimum index value for a symbol whose data type is<br />

ARRAY must be 0, and the maximum index value for a symbol whose data type is ARRAY can<br />

not be larger than the number of elements in the array.<br />

8.2.3 Typing Instructions<br />

<strong>User</strong>s can add devices, applied instructions and function blocks to a ladder diagram in <strong>ISPSoft</strong> by<br />

typing instructions.<br />

(1) Select a position in which an object will be inserted in a working area.<br />

(2) Type an instruction. As soon as the instruction is typed, a box which can be edited appears.<br />

After the typing of the instruction is complete, users can press Enter on the keyboard or click<br />

OK at the right side of the box. (The instruction is case-insensitive.)<br />

Besides, contacts and coils can be created by typing simple instructions. Please refer to the<br />

following figures. (The instructions typed are case-insensitive.)<br />

• Inserting a normally-open contact (contact A): “A Device address”<br />

• Inserting a normally-closed contact (contact B): “B Device address”<br />

• Inserting an output coil (OUT): “O Device address”<br />

8.2.4 Inserting Applied Instructions and Function Blocks<br />

The applied instructions and function blocks in a ladder diagram in <strong>ISPSoft</strong> are represented by<br />

blocks. The pins of a block representing an applied instruction include the pins corresponding to the<br />

operands specified in the applied instruction and an En pin. The pins of a block representing a<br />

function block include the pins corresponding to the symbols declared in the function block and an<br />

En pin. The En pin of a block representing an applied instruction or a function block is connected to<br />

the logic state preceding the En pin. If the logic state connected to the En pin of a block representing<br />

an applied instruction or a function block is ON, the applied instruction or the function block will be<br />

8-9

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

Saved successfully!

Ooh no, something went wrong!