The TM5SAI2PH and TM5SAI4PH expansion electronic modules are Analog Resistor Temperature electronic modules with 2 and 4 Inputs respectively.
NOTICE |
INOPERABLE EQUIPMENT |
Verify that the physical wiring of the analog circuit is compatible with the software configuration for the analog channel. |
Failure to follow these instructions can result in equipment damage. |
For further information, refer to the Hardware Guide:
Reference |
Refer to |
---|---|
TM5SAI2PH |
|
TM5SAI4PH |
The converted analog values are output by the electronic module in the registers. Different resistance or temperature measurements result in different value ranges and data types.
The timing setting for data acquisition is made using the converter hardware. All activated inputs are converted during each conversion cycle.
The conversion time for the channels depends on their use. For the formulas listed in the table, 'n' corresponds to the number of channels that are agitated.
Channel Uses |
Conversion Time |
---|---|
1 channel |
1 x Input Filter time |
n channels with the same sensor type |
n x (Input Filter time + 20 ms) |
n channels with different sensor types |
n x (2 x Input Filter time + 20 ms) |
If an input is not necessary, it can be deactivated by setting the sensor type to Off, thereby reducing the refresh time.
The time saved is: Timesaving = 2 x 20 ms + Input Filter time
The Input Filter time is the conversion time for the remaining channels.
Sensor Type and Channel Deactivation
The electronic module is designed for temperature and resistance measurement. The sensor type must be specified because of the different adjustment values for temperature and resistance. To save time, individual channels can be deactivated by setting the sensor type to Off.
This table shows the sensor types:
Sensor Types |
Digital Value |
Temperature °C (°F) |
Resolution |
---|---|---|---|
Sensor type PT100 |
-2000...8500 |
-200...850 (-328...1562) |
0.1°C(0.18°F) |
Sensor type PT1000 |
-2000...8500 |
-200...850 (-328...1562) |
0.1°C (0.18°F) |
Resistance measurement 0.1...4500 Ohm |
1...45000 |
– |
0.1 Ohm |
Resistance measurement 0.05...2250 Ohm |
1...45000 |
– |
0.05 Ohm |
Variables can be defined and named in the TM5 Module I/O Mapping tab. Additional information such as topological addressing is also provided in this tab.
This table describes the I/O mapping configuration:
Channel |
Type |
Description |
---|---|---|
ModuleOK |
BYTE |
State of the compact I/O and electronic modules |
DcOk |
BOOL |
Voltage range: o0: Invalid o1: Valid |
reserved |
BOOL |
Reserved. |
NetworkOk |
BOOL |
TM5 bus: o0: Bus error o1: OK |
I/O Data valid |
BOOL |
Data validity: o0: Valid o1: Invalid |
reserved |
BOOL |
Reserved |
reserved |
BOOL |
Reserved |
reserved |
BOOL |
Reserved |
reserved |
BOOL |
Reserved |
- |
StatusInput00 |
BYTE |
Status of analog input channels (see description below) |
Inputs |
Temperature00 |
INT |
Current value of the input 0 |
... |
... |
||
Temperature03 |
Current value of the input 3 |
For further generic descriptions, refer to User-Defined Parameters Tab Description.
NOTE: The bytes dedicated to channel 2 and channel 3 are not available for the TM5SAI2PH.
The Status Input00 byte describes the status of each input channel:
Bit |
Type |
Description |
---|---|---|
0-3 |
BOOL |
00: No error detected 01: Below lower limit value 10: Above upper limit value 11: Wire break |
4-7 |
BOOL |
reserved |
In addition to the status information, the analog value is set to the values listed below, by default, when a detected error occurs. The analog value is limited to the new values if the limit values were changed.
Detected ErrorType |
Temperature Measurement Digital Value for Detected Error |
Resistance Measurement Digital Value for Detected Error |
---|---|---|
Wire break |
+32767 (7FFF hex) |
65535 (FFFF hex) |
Above upper limit value |
+32767 (7FFF hex) |
65535 (FFFF hex) |
Below lower limit value |
-32767 (8001 hex) |
0 (0 hex) |
Invalid value |
-32768 (8000 hex) |
65535 (FFFF hex) |
This table describes the TM5SAI2PH and TM5SAI4PH user-defined parameters configuration:
Name |
Value |
Default Value |
Description |
---|---|---|---|
ConnectionType |
3 wire connection 2 wire connection |
3 wire connection |
Specifies 3 wire connection or 2 wire connection. |
InputFilter |
66.7 ms 40 ms 33.3 ms 20 ms 16.7 ms 10 ms 2 ms 1 ms |
66.7 ms |
Specifies the filter time on the module. |
SensorType01 |
PT100 PT1000 0.1 Ohm to 4500.0 ohm 0.05 Ohm to 2250.0 Ohm off |
PT100 |
Specifies the sensor type. Off: the Temperature00 channel is removed from the I/O Mapping tab. |
SensorType02 |
PT100 PT1000 0.1 Ohm to 4500.0 ohm 0.05 Ohm to 2250.0 Ohm off |
PT100 |
Specifies the sensor type. Off: the Temperature01 channel is removed from the I/O Mapping tab. |
SensorType03(1) |
PT100 PT1000 0.1 Ohm to 4500.0 ohm 0.05 Ohm to 2250.0 Ohm off |
PT100 |
Specifies the sensor type. Off: the Temperature02 channel is removed from the I/O Mapping tab. |
SensorType04(1) |
PT100 PT1000 0.1 Ohm to 4500.0 ohm 0.05 Ohm to 2250.0 Ohm off |
PT100 |
Specifies the sensor type. Off: the Temperature03 channel is removed from the I/O Mapping tab. |
(1) For TM5SAI4PH. |