02.09.2014 Views

ISPSoft User Manual

ISPSoft User Manual

ISPSoft User Manual

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

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

(e) One operand is a symbol whose data type is WORD/DWORD/LWORD, and the other<br />

operand is a symbol whose data type is INT/DINT/LINT. The data length of the operand at<br />

the left side of := must be larger than or equal to the data length of the operand at the right<br />

side of :=.<br />

(f) Both operands are symbols whose data types are REAL/LREAL/STRING. The data<br />

lengths of the operands must be the same.<br />

• Example<br />

Example 1: The value of M0 is assigned to the symbol OUT_0.<br />

Example 2: M0 is set to ON.<br />

Example 3: The value in D2 is added to the value in D1. The sum is stored in D0.<br />

Example 4: 3 is assigned to the symbol DATA.<br />

Example 5: The system judges whether the value of the arithmetic expression 3*2+6* (5+3) is<br />

equal to the value stored in D0. The judgement result is sent to M0.<br />

11-8

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

Saved successfully!

Ooh no, something went wrong!