Data Types
Overview
Data types are specific variable formats which are used to complement the description of internal formats (for instance, a structure or an enumeration). The generic format of data types is DT_xxx.
List of Data Types
The most commonly used data types are as follows:
-
DT_ACInputSetting
-
DT_CommercialReference
-
DT_DateTime
-
DT_ExtBaudRate
-
DT_ExtParity
-
DT_TripCode
-
DT_FirmwareVersion
-
DT_Language5
-
DT_OutputFallbackStrategy
-
DT_PhaseNumber
-
DT_ResetMode
-
DT_AlarmCode
These data types are described in the following tables.
DT_ACInputSetting
DT_ACInputSetting format is an enumeration that improves AC input detection:
Value |
Description |
---|---|
0 |
None (factory setting) |
1 |
< 170 V 50 Hz |
2 |
< 170 V 60 Hz |
3 |
> 170 V 50 Hz |
4 |
> 170 V 60 Hz |
DT_CommercialReference
DT_CommercialReference format is Word[6] and indicates a Commercial Reference:
Register |
MSB |
LSB |
---|---|---|
Register N |
character 1 |
Character 2 |
Register N+1 |
character 3 |
Character 4 |
Register N+2 |
character 5 |
Character 6 |
Register N+3 |
character 7 |
Character 8 |
Register N+4 |
character 9 |
Character 10 |
Register N+5 |
character 11 |
Character 12 |
Example:
Addresses 64 to 69, Word[6], Controller Commercial Reference.
If Controller Commercial Reference = LTMR:
Register |
MSB |
LSB |
---|---|---|
64 |
L |
T |
65 |
M |
(space) |
66 |
R |
|
67 |
|
|
68 |
|
|
69 |
|
|
DT_DateTime
DT_DateTime format is Word[4] and indicates Date and Time:
Register |
Bits 12-15 |
Bits 8-11 |
Bits 4-7 |
Bits 0-3 |
---|---|---|---|---|
Register N |
S |
S |
0 |
0 |
Register N+1 |
H |
H |
m |
m |
Register N+2 |
M |
M |
D |
D |
Register N+3 |
Y |
Y |
Y |
Y |
Where:
-
S = second
The format is 2 BCD digits.
The value range is [00-59] in BCD.
-
0 = unused
-
H = hour
The format is 2 BCD digits.
The value range is [00-23] in BCD.
-
m = minute
The format is 2 BCD digits.
The value range is [00-59] in BCD.
-
M = month
The format is 2 BCD digits.
The value range is [01-12] in BCD.
-
D = day
The format is 2 BCD digits.
The value range is (in BCD):
[01-31] for months 01, 03, 05, 07, 08, 10, 12
[01-30] for months 04, 06, 09, 11
[01-29] for month 02 in a leap year
[01-28] for month 02 in a non-leap year.
-
Y = year
The format is 4 BCD digits.
The value range is [2006-2099] in BCD.
Data entry format and value range are:
Data Entry Format |
DT#YYYY-MM-DD-HH:mm:ss |
|
---|---|---|
Minimum value |
DT#2006-01-01:00:00:00 |
January 1, 2006 |
Maximum value |
DT#2099-12-31-23:59:59 |
December 31, 2099 |
Note: If you give values outside the limits, the system will return a detected error. |
Example:
Addresses 655 to 658, Word[4], Date and Time setting.
If date is September 4, 2008 at 7 a.m., 50 minutes and 32 seconds:
Register |
15 12 |
11 8 |
7 4 |
3 0 |
---|---|---|---|---|
655 |
3 |
2 |
0 |
0 |
656 |
0 |
7 |
5 |
0 |
657 |
0 |
9 |
0 |
4 |
658 |
2 |
0 |
0 |
8 |
With data entry format: DT#2008-09-04-07:50:32.
DT_ExtBaudRate
DT_ExtbaudRate depends on the bus used.
DT_ModbusExtBaudRate format is an enumeration of possible baud rates with Modbus network:
Value |
Description |
---|---|
1200 |
1200 Baud |
2400 |
2400 Baud |
4800 |
4800 Baud |
9600 |
9600 Baud |
19200 |
19,200 Baud |
65535 |
Autodetection (factory setting) |
DT_ProfibusExtBaudRate format is an enumeration of possible baud rates with PROFIBUS DP network:
Value |
Description |
---|---|
65535 |
Autobaud (factory setting) |
DT_DeviceNetExtBaudRate format is an enumeration of possible baud rates with DeviceNet network:
Value |
Description |
---|---|
0 |
125 kBaud |
1 |
250 kBaud |
2 |
500 kBaud |
3 |
Autobaud (factory setting) |
DT_CANopenExtBaudRate format is an enumeration of possible baud rates with CANopen network:
Value |
Description |
---|---|
0 |
10 kBaud |
1 |
20 kBaud |
2 |
50 kBaud |
3 |
125 kBaud |
4 |
250 kBaud (factory setting) |
5 |
500 kBaud |
6 |
800 kBaud |
7 |
1000 kBaud |
8 |
Autobaud |
9 |
Factory setting |
DT_ExtParity
DT_ExtParity depends on the bus used.
DT_ModbusExtParity format is an enumeration of possible parities with Modbus network:
Value |
Description |
---|---|
0 |
None |
1 |
Even |
2 |
Odd |
DT_TripCode
DT_TripCode format is an enumeration of trip codes:
Trip Code |
Description |
---|---|
0 |
No detected error |
3 |
Ground current |
4 |
Thermal overload |
5 |
Long start |
6 |
Jam |
7 |
Current phase imbalance |
8 |
Undercurrent |
10 |
Test |
11 |
HMI port error detected |
12 |
HMI port communication loss |
13 |
Network port internal error detected |
16 |
External trip |
18 |
On-Off diagnostic |
19 |
Wiring diagnostic |
20 |
Overcurrent |
21 |
Current phase loss |
22 |
Current phase reversal |
23 |
Motor temp sensor |
24 |
Voltage phase imbalance |
25 |
Voltage phase loss |
26 |
Voltage phase reversal |
27 |
Undervoltage |
28 |
Overvoltage |
29 |
Underpower |
30 |
Overpower |
31 |
Under power factor |
32 |
Over power factor |
33 |
LTME configuration |
34 |
Temperature sensor short-circuit |
35 |
Temperature sensor open-circuit |
36 |
CT reversal |
37 |
Out of boundary CT ratio |
46 |
Start check |
47 |
Run checkback |
48 |
Stop check |
49 |
Stop checkback |
51 |
Controller internal temperature trip |
55 |
Controller internal trip (Stack overflow) |
56 |
Controller internal trip (RAM detected error) |
57 |
Controller internal trip (RAM checksum detected error) |
58 |
Controller internal trip (Hardware watchdog trip) |
60 |
L2 current detected in single-phase mode |
64 |
Non-volatile memory trip |
65 |
Expansion module communication trip |
66 |
Stuck reset button |
67 |
Logic function trip |
100-104 |
Network port internal trip |
109 |
Network port comm trip |
111 |
Fast device replacement trip |
555 |
Network port configuration trip |
DT_FirmwareVersion
DT_FirmwareVersion format is an XY000 array that describes a firmware revision:
-
X = major revision
-
Y = minor revision.
Example:
Address 76, UInt, Controller firmware version.
DT_Language5
DT_Language5 format is an enumeration used for language display:
Language Code |
Description |
---|---|
1 |
English (factory setting) |
2 |
Français |
4 |
Español |
8 |
Deutsch |
16 |
Italiano |
Example:
Address 650, Word, HMI language.
DT_OutputFallbackStrategy
DT_OutputFallbackStrategy format is an enumeration of motor output states when loosing communication:
Value |
Description |
Motor Modes |
---|---|---|
0 |
Hold LO1 LO2 |
For all modes |
1 |
Run |
For 2-step mode only |
2 |
LO1, LO2 OFF |
For all modes |
3 |
LO1, LO2 ON |
Only for overload, independent and custom operating modes |
4 |
LO1 ON |
For all modes except 2-step |
5 |
LO2 ON |
For all modes except 2-step |
DT_PhaseNumber
DT_PhaseNumber format is an enumeration, with only 1 bit activated:
Value |
Description |
---|---|
1 |
1 phase |
2 |
3 phases |
DT_ResetMode
DT_ResetMode format is an enumeration of possible modes for thermal trip reset:
Value |
Description |
---|---|
1 |
Manual or HMI |
2 |
Remote by network |
4 |
Automatic |
DT_AlarmCode
DT_AlarmCode format is an enumeration of alarm codes:
Alarm Code |
Description |
---|---|
0 |
No alarm |
3 |
Ground current |
4 |
Thermal overload |
5 |
Long start |
6 |
Jam |
7 |
Current phase imbalance |
8 |
Undercurrent |
10 |
HMI port |
11 |
LTMR internal temperature |
18 |
Diagnostic |
19 |
Wiring |
20 |
Overcurrent |
21 |
Current phase loss |
23 |
Motor temp sensor |
24 |
Voltage phase imbalance |
25 |
Voltage phase loss |
27 |
Undervoltage |
28 |
Overvoltage |
29 |
Underpower |
30 |
Overpower |
31 |
Under power factor |
32 |
Over power factor |
33 |
LTME configuration |
46 |
Start check |
47 |
Run checkback |
48 |
Stop check |
49 |
Stop checkback |
109 |
Network port comm loss |
555 |
Network port configuration |