The text of a manual · part 11 of 13
Terminator I/O Installation and I/O Manual, pages 101 to 110
Pages 101 to 110 of 127
The original document is the PDF (4.1 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.
For the AutomationDirect T1K-01DC, AutomationDirect T1K-08TRS, Konnect-It T1K-01DC, Koyo T1K-01DC, Konnect-It T1K-08TRS and Koyo T1K-08TRS
Page 101
4–5 I/O Memory Map and Analog Module Resolution
Analog Input Module Memory Map 8-Channel Analog Input Module (T1F–08AD–x) Image Table Mapping Input Size Read 2 to 32 Bytes
Module Image Input Data Channel 1
Input Data Channel 2
Input Data Channel 3
Input Data Channel 4
Input Data Channel 5
Input Data Channel 6
Input Data Channel 8
Output Size Write
0 Byte
Outputs–– N/A
I/O Memory Map and Analog Module Resolution
Input Data Channel 7
Page 102
4–6 I/O Memory Map and Analog Module Resolution
I/O Memory Map and Analog Module Resolution
Memory Map of 8-Channel Analog Input Module Decimal Bit
07
06
05
04
03
02
01
00
Octal Bit
07
06
05
04
03
02
01
00
Size
Analog Value Channel 1
Read Byte 1
Analog Value Channel 1
Read Byte 2 not used
Byte3 reserved for future use
Byte4
Analog Value Channel 2
Read Byte 5
Analog Value Channel 2
Read Byte 6 not used
Byte7 reserved for future use
Byte8
Analog Value Channel 3
Read Byte 9
Analog Value Channel 3
Read Byte 10 not used
Byte11 reserved for future use
Byte12
Analog Value Channel 4
Read Byte 13
Analog Value Channel 4
Read Byte 14 not used
Byte15 reserved for future use
Byte16
Analog Value Channel 5
Read Byte 17
Analog Value Channel 5
Read Byte 18 not used
Byte19 reserved for future use
Byte20
Analog Value Channel 6
Read Byte 21
Analog Value Channel 6
Read Byte 22 not used
Byte23 reserved for future use
Byte24
Analog Value Channel 7
Read Byte 25
Analog Value Channel 7
Read Byte 26 not used
Byte27 reserved for future use
Byte28
Analog Value Channel 8
Read Byte 29
Analog Value Channel 8
Read Byte 30 not used
Byte31 reserved for future use
Byte32
Not Used
Write Byte 1
Page 103
4–7 I/O Memory Map and Analog Module Resolution
16-Channel Analog Input Module (T1F–16AD–x, T1F–16RTD and T1F–14THM) NOTE: Eventhough the T1F–14THM only has 14 channels, the module consumes 16 channels of memory (16 double words). The first 14 channels are used for input data.
Image Table Mapping Input Size Read 2 to 64 Bytes
Module Image Input Data Channel 1
Input Data Channel 2
Input Data Channel 3
Input Data Channel 4
Output Size Write
T1F–14THM and T1F–16RTD Channel Burnout Bit
0 Byte
Outputs–– N/A
NOTE: The T1F–14THM can be configured for Magnitude plus sign bit or 2’s complement data format. The T1F–16RTD processes negative temperatures in 2’s Complement format only. See the Module Data Sheets in chapter 3 for configuration information. Channel Burnout bit MSB
LSB 3 3 2 2 22 2 2 2 2 2 2 1 1 1 1 1 1 1 1 11 9 8 7 6 5 4 3 2 1 0 1 0 9 8 76 5 4 3 2 1 0 9 8 7 6 5 4 3 2 10
I/O Memory Map and Analog Module Resolution
Input Data Channel 16
Page 104
4–8 I/O Memory Map and Analog Module Resolution
I/O Memory Map and Analog Module Resolution
Memory Map of 16-Channel Analog Input Module Decimal Bit
07
06
05
04
03
02
01
00
Octal Bit
07
06
05
04
03
02
01
00
Size
Analog Value Channel 1
Read Byte 1
Analog Value Channel 1
Read Byte 2 not used
Byte3 reserved for future use
Byte4
Analog Value Channel 2
Read Byte 5
Analog Value Channel 2
Read Byte 6 not used
Byte7 reserved for future use
Byte8
Analog Value Channel 3
Read Byte 9
Analog Value Channel 3
Read Byte 10 not used
Byte11 reserved for future use
Byte12
Analog Value Channel 4
Read Byte 13
Analog Value Channel 4
Read Byte 14 not used
Byte15 reserved for future use
Byte16
Analog Value Channel 5
Read Byte 17
Analog Value Channel 5
Read Byte 18 not used
Byte19 reserved for future use
Byte20
Analog Value Channel 6
Read Byte 21
Analog Value Channel 6
Read Byte 22 not used
Byte23 reserved for future use
Byte24
Analog Value Channel 7
Read Byte 25
Analog Value Channel 7
Read Byte 26 not used
Byte27 reserved for future use
Byte28
Analog Value Channel 8
Read Byte 29
Analog Value Channel 8
Read Byte 30 not used
Byte31 reserved for future use
Byte32
Page 105
4–9 I/O Memory Map and Analog Module Resolution
Decimal Bit
07
06
05
04
03
02
01
00
Octal Bit
07
06
05
04
03
02
01
00
Size Read Byte 33
Analog Value Channel 9
Read Byte 34 not used
Byte35 reserved for future use
Byte36
Analog Value Channel 10
Read Byte 37
Analog Value Channel 10
Read Byte 38 not used
Byte39 reserved for future use
Byte40
Analog Value Channel 11
Read Byte 41
Analog Value Channel 11
Read Byte 42 not used
Byte43 reserved for future use
Byte44
Analog Value Channel 12
Read Byte 45
Analog Value Channel 12
Read Byte 46 not used
Byte47 reserved for future use
Byte48
Analog Value Channel 13
Read Byte 49
Analog Value Channel 13
Read Byte 50 not used
Byte51 reserved for future use
Byte52
Analog Value Channel 14
Read Byte 53
Analog Value Channel 14
Read Byte 54 not used
Byte55 reserved for future use
Byte56
Analog Value Channel 15
Read Byte 57
Analog Value Channel 15
Read Byte 58 not used
Byte59 reserved for future use
Byte60
Analog Value Channel 16
Read Byte 61
Analog Value Channel 16
Read Byte 62 not used
Byte63 reserved for future use Not Used
Byte64 Write Byte 1
I/O Memory Map and Analog Module Resolution
Analog Value Channel 9
Page 106
4–10 I/O Memory Map and Analog Module Resolution
Analog Input Module Resolution Input Module Resolution
Since the module has 13-bit resolution, the analog signal is converted into 8192 counts ranging from 0-8191 (213). For example, with a 0 to 10V scale, a 0V signal would be 0, and a 10V signal would be 8191. This is equivalent to a a binary value of 0000 0000 0000 to 0001 1111 1111 1111, or 000 to 1FFF hexadecimal. The following diagram shows how this relates to each signal range.
Current Input Module Resolution 4 – 20mA
0 – 20mA
–20 to 20mA
20mA
20mA
20mA 0mA
4mA 0mA 0
1638
8191
8191
–20mA –8191
8191
Voltage Input Module Resolution 0 – 10V
0 – 5V 10V
5V
10V
0V 0V
0V
I/O Memory Map and Analog Module Resolution
0
4095
0V
–5V 0
8191
–10 to 10V
–5 to 5V 5V
–10V –4095
4095
–8192
8191
NOTE: The 0 – 5V and –5 to 5V range resolution is 4095, however, if the range is exceeded to 5.5V, for example, the digital input reading will reflect the correct value up to 10V (8191). The 4 – 20mA range is 1638 to 8191. If the input current signal level falls below 4mA, the correct value will be read down to 0mA.
Channel Data Bits
The first thirteen bits represent the analog data in binary format. The fourteenth bit is the data sign bit. Bit Value Bit Value 0 1 7 128 1 2 8 256 2 4 9 512 3 8 10 1024 4 16 11 2048 5 32 12 4096 6 64 13 Sign Bit
MSB
Sign bit
LSB
1 1 1 1 11 9 8 7 6 5 4 3 2 1 0 5 4 3 2 10
– data bits
NOTE: Each Analog channel uses 4 bytes. The first and second byte contain the analog data. The third and fourth byte are not used at this time.
Page 107
4–11 I/O Memory Map and Analog Module Resolution
Each count can also be expressed in terms of the signal level by using the equation shown. The following table shows the smallest signal levels that will result in a change in the data value for each signal range. Range
Analog and Digital Value Conversions
SmallestDetectableChange +
H*L Resolution
H = high limit of the signal range L = low limit of the signal range
Signal Span (H - L)
Divide By
Smallest Detectable Change
$10V
20 V
16383
1.22 mV
$5V
10 V
8191
1.22 mV
0 to 5V
5V
4095
1.22 mV
0 to 10V
10 V
8191
1.22 mV
0 to 20mA
20 mA
8191
2.44 mA
4 to 20mA
16 mA
(8191–1638)
2.44 mA
$20mA
40 mA
16383
2.44 mA
Sometimes it is helpful to be able to quickly convert between the signal levels and the digital values. This is especially useful during machine startup or troubleshooting. The following table provides formulas to make this conversion easier. Range
If you know the digital value ...
If you know the signal level ...
A + 20D * 10 8191
D + 8191 (A ) 10) 20
–5V to + 5V
A + 10D * 5 4095
D + 4095 (A ) 5) 10
0 to 5V
A + 5D 4095
D + 4095 (A) 5
0 to 10V
A + 10D 8191
D + 8191 (A) 10
0 to 20mA
A + 20D 8191
D + 4095 (A) 4
4 to 20mA
A + 16D 6553
D + 6553 (A) 16
–20 mA to + 20mA
A + 40D * 20 8191
D + 8191 (A ) 20) 40
For example, if you are using the –10V to +10V range and you have measured the signal at 6V, you would use the following formula to determine the digital value that should be stored in the V-memory location that contains the data.
D + 8191 (A ) 10) 20 D + 8191 (6V ) 10) 20 D + (409.55) (16) D + 6552
I/O Memory Map and Analog Module Resolution
–10V to + 10V
Page 108
4–12 I/O Memory Map and Analog Module Resolution
Analog Output Module Memory Map 8-Channel Analog Ouput Module (T1F–08DA–x) Image Table Mapping
Read
Intput Size
Module Image
0 Byte
Inputs–– N/A
Output Size Write 2 to 32 Bytes
Output Data Channel 1
Module Control Byte
I/O Memory Map and Analog Module Resolution
Output Data Channel 2 Note: When using the T1F–08DA–x module in an ERM/EBC network, refer to Appendix E in the Ethernet Remote Master Module Manual (H24–ERM–M) for module configuration information.
Output Data Channel 3
Output Data Channel 4
Output Data Channel 5
Output Data Channel 6
Output Data Channel 7
Output Data Channel 8
Page 109
4–13 I/O Memory Map and Analog Module Resolution
Memory Map of 8-Channel Analog Output Module Decimal Bit
07
06
05
04
03
02
01
00
Octal Bit
07
06
05
04
03
02
01
00
Size Read Byte 1
Analog Value Channel 1
Write Byte 1
Analog Value Channel 1
Write Byte 2 not used
Byte3
Module Control Byte
Write Byte 4
Analog Value Channel 2
Write Byte 5
Analog Value Channel 2
Write Byte 6 not used
Byte7 reserved for future use
Byte8
Analog Value Channel 3
Write Byte 9
Analog Value Channel 3
Write Byte 10 not used
Byte11 reserved for future use
Byte12
Analog Value Channel 4
Write Byte 13
Analog Value Channel 4
Write Byte 14 not used
Byte15 reserved for future use
Byte16
Analog Value Channel 5
Write Byte 17
Analog Value Channel 5
Write Byte 18 used not
Byte19 reserved for future use
Byte20
Analog Value Channel 6
Write Byte 21
Analog Value Channel 6
Write Byte 22 not used
Byte23 reserved for future use
Byte24
Analog Value Channel 7
Write Byte 25
Analog Value Channel 7
Write Byte 26 not used
Byte27 reserved for future use
Byte28
Analog Value Channel 8
Write Byte 29
Analog Value Channel 8
Write Byte 30 not used
Byte31 reserved for future use
Byte32
I/O Memory Map and Analog Module Resolution
Not Used
Page 110
4–14 I/O Memory Map and Analog Module Resolution
16-Channel Analog Ouput Module (T1F–16DA–x) Image Table Mapping
Read
Intput Size
Module Image
0 Byte
Inputs–– N/A
Output Size Write 2 to 64 Bytes
Output Data Channel 1 Module Control Byte Output Data Channel 2
I/O Memory Map and Analog Module Resolution
Note: When using the T1F–16DA–x module in an ERM/EBC network, refer to Appendix E in the Ethernet Remote Master Module Manual (H24–ERM–M) for module configuration information.
Output Data Channel 3
Output Data Channel 4
Output Data Channel 16