Variables; Standard Data Types - Panasonic GM1 User Manual

Motion controller controller rtex
Hide thumbs Also See for GM1:
Table of Contents

Advertisement

6.5 Variables

6.5 Variables

Variables are declared in the main pane of POU objects for programs.

6.5.1 Standard Data Types

GM Programmer allows the following data types to be used as standard data types.
Type
Data type
Truth
BOOL
Integer
BYTE
Integer
WORD
Integer
DWORD
Integer
LWORD
Integer
SINT
Integer
USINT
Integer
INT
Integer
UINT
Integer
DINT
Integer
UDINT
Integer
LINT
Integer
ULINT
Floating-point
REAL
number
Floating-point
LREAL
number
Character
STRING
string
Character
WSTRING
string
Time
TIME
Time
LTIME
Time
TIME_OF_DAY
Date
DATE
Date and time
DATE_AND_TIME
6-18
Range
TRUE (1) and FALSE (0)
0 to 255
0 to 65535
0 to 4,294,967,295
64
0 to 2
-1
-128 to 127
0 to 255
-32,768 to 32,767
0 to 65535
-2,147,483,648 to 2,147,483,647
0 to 4,294,967,295
63
63
-2
to 2
-1
64
0 to 2
-1
-3.402823e+38 to 3.402823e+38
-1.7976931348623158 e +308 to
1.7976931348623158e+308
0 to 4,294,967,295
0 to 213503d23h34m33s709ms551us615ns
0 (00:00:00:000) to
4294967295 (11:59:59 PM:999)
0 (1970-01-01) to
4294967295 (2106-02-07)
0 (1970-01-01,00:00:00) to
4294967295 (2106-02-07,06:28:15)
Size (in bits)
8
8
16
32
64
8
8
16
16
32
32
64
64
32
64
(Number of
characters + 1)
× 8
(Number of
characters + 1)
× 16
32
64
32
32
32
WUME-GM1RTXOP-01

Advertisement

Table of Contents
loading

This manual is also suitable for:

Gm1 series

Table of Contents