Delta ISPSoft — 13.1.7 Notes on ST Programming

Chapter 13 Structured Texts  Octal value: 8#55640 (A value is preceded by 8#.)  Binary value: 2#101101110100000 (A value is preceded by 2#.)  String: “XYZ” (Characters are put in double quotes.)  Boolean value (BOOL): TRUE or FALSE  In a structured text in ISPSoft, the data types of the operands in an expression must be the same. However, if the data type of one operand is INT and the data type of the other operand is WORD, both operands can take part in the operation. Likewise, if the data type of one operand is DINT and the data type of the other operand is DWORD, the two operands can take part in the operation as well.

If the data lengths of the operands in an expression are different, the operands cannot take part in the operation.  If the data type of a symbol is WORD, DWORD, the system regards it as a signed integer during the operation.  Although there is no limit to the number of lines, users still have to consider the capacity of the memory in the PLC.  The sections of a structured text in ISPSoft can be copied/cut/pasted. Users can copy the edited text into a structured text in ISPSoft. 13-9