Data Types - Delta AH Series Operation Manual

Motion controller
Hide thumbs Also See for AH Series:
Table of Contents

Advertisement

class. In a ladder diagram, OUTPUTs are put at the right sides of function blocks with pins sending the operation
results to the caller.
 INOUT-Symbol used as a feedback pin of a function block
A symbol of this class is used as a feedback pin of a function block. It can only be declared in the function block.
Please refer to the following example. When the function block is called, the caller sends the value in D1 to DT_IO,
which is a symbol of the INOUT class. After the operation comes to an end, the final value of DT_IO is sent to D1. In a
ladder diagram, the symbols of this class are put at the left sides of function blocks.

5.4.3 Data Types

The data type of a symbol determines the format of the value of the symbol. Suppose there are two symbols VAR_1 and
VAR_2. The data type of VAR_1 is BOOL, and the data type of VAR_2 is WORD. If VAR_1 and VAR_2 are used in a
program, VAR_1 will represent a contact, and VAR_1 will represent a 16-bit device which can be involved in arithmetic
operation or transferring the data.
The data types supported by ISPSoft are listed below.
Data type
Name
BOOL
Boolean
WORD
Word
DWORD
Double Word
LWORD
Long Word
UINT
Unsigned integer
UDINT
Unsigned double integer
INT
Integer
DINT
Double integer
LINT
Long Integer
REAL
Real numbers
LREAL
Long reals
CNT
Counter
TMR
Timer
Ch a pt er 5 Un d er s t a n d in g Com m on D e v ic e s
Description
A Boolean value represents the state of a
contact, could be TRUE or FALSE.
Bit string of length 16.
Bit string of length 32.
Bit string of length 64.
16-bit data.
32-bit data.
16-bit data
32-bit data.
64-bit data.
32-bit data; applicable to single precision
floating-point instructions.
64-bit data; applicable to double precision
floating-point instructions.
16-bit counter value or 32-bit counter
value.
16-bit timer value.
Function
Program
block
5 - 1 7
5_

Advertisement

Table of Contents
loading

Table of Contents