GENERIC Driver Data Types
- Last UpdatedJan 29, 2024
- 1 minute read
The following is a list of data types for the Generic Driver:
|
Data Type |
Address Format |
Short Format |
where # is |
Range |
|---|---|---|---|---|
|
DIGITAL |
Digital# |
D# |
0 to 64000 |
0 or 1 |
|
INTEGER |
Int# |
I# |
0 to 32752 |
-32,768 to 32,767 |
|
LONG |
Long# |
L# |
0 to 16376 |
-2,147,483,648 to 2,147,483,647 |
|
REAL |
Real# |
R# |
0 to 16376 |
-3.4E38 to 3.4E38 |
|
STRING |
String# |
S# |
0 to 510 |
128 bytes |
Note: Cicode INT types are 32 bit (4 bytes), whereas PLC INT types are only 16 bit (2 bytes).
STRING Handling - Plant SCADA by default supports 8 bit characters (a byte). Though the GENERIC driver supports the read and write of 8 bit characters, the PLC based devices support depends on the format of the data in the end device, it might be a 7 bit character.
On multi byte operating systems, then 2 byte character use means that only 64 characters could be displayed per string for the GENERIC driver.