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.

<strong>ISPSoft</strong> <strong>User</strong> <strong>Manual</strong><br />

The users can type a device name or a symbol in the box. If they type a symbol which is not<br />

declared, the Add Symbol window will appear after they press Enter on the keyboard. (Please refer<br />

to section 2.3.1 for more information about declaring a symbol.)<br />

After users click a network and press Enter on the keyboard, they can edit a box. The users can edit<br />

the next box in the network after they press Enter on the keyboard. Besides, the next network will be<br />

selected after the users press Tab on the keyboard. The users can edit a box with the keyboard. If<br />

the users have declared symbols, they can press Page Down on the keyboard when they edit a box.<br />

The users can select a symbol by the up/down key on the keyboard. After the editing is complete,<br />

the users can press Enter on the keyboard to jump to the next box. If the users want to end the<br />

editing, they can press Esc on the keyboard.<br />

Additional remark<br />

(a) If users want to use constants in a function block diagram in <strong>ISPSoft</strong>, the constants must be<br />

represented in the following ways.<br />

‣ Decimal value: 23456 (A value which is not preceded by any mark will be regarded as a<br />

decimal value.)<br />

‣ Hexadecimal value: 16#5BA0 (A value is preceded by 16#.)<br />

‣ Octal value: 8#55640 (A value is preceded by 8#.)<br />

‣ Binary value: 2#101101110100000 (A value is preceded by 2#.)<br />

‣ String: “XYZ” (Characters are put in double quotes.)<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 />

(b) 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 function<br />

block 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 />

9.2.3 AND Block and OR Block<br />

Contacts in a function block diagram can be connected in series/parallel by means of an AND/OR<br />

block. The input nodes and the output nodes of an AND/OR block must represent Boolean devices<br />

or symbols whose data types are BOOL. An AND/OR block have 32 input nodes and 32 output<br />

nodes at most. Besides, an AND/OR block has at least one output node, or is connected to the next<br />

object.<br />

• Graphical representation<br />

• Example<br />

Example 1: The contacts M0, M1, and M2 are assigned to the OR block, and the result of the<br />

operation is sent to M3. In other words, after M0, M1, and M2 are connected in<br />

parallel, the coil M3 will be driven if M0, M1, or M2 is ON.<br />

9-10

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

Saved successfully!

Ooh no, something went wrong!