# AT664 thermocoupler module analog input configuration

**URL:** <https://community.br-automation.com/t/at664-thermocoupler-module-analog-input-configuration/3883>\
**Category:** Controls & Vision\
**Tags:** automation-studio\
**Created:** [July 25, 2024, 12:13pm UTC](https://community.br-automation.com/t/at664-thermocoupler-module-analog-input-configuration/3883 "2024-07-25T12:13:13Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![alvarohconti](https://avatars.discourse-cdn.com/v4/letter/a/FF8800/32.png) [@alvarohconti](https://community.br-automation.com/u/alvarohconti)\
**Post date:** [July 25, 2024, 12:13pm UTC](https://community.br-automation.com/t/at664-thermocoupler-module-analog-input-configuration/3883/1 "2024-07-25T12:13:13Z")

</div>

I have 4 thermocoupler modules model 7AT664.70 and I need to configure them to read a type K thermocouple. I have a CP474 and an AF101 analog interface module. From what I saw in the manual, there is a configuration words table, which I don’t know if they are reading parameters or if they must be configured in some way to monitor the module. Every time I connect it and put it in Watch mode, nothing appears on the monitor. Can anyone help me?

 ![Captura de tela 2024-07-25 091245](https://europe1.discourse-cdn.com/brcommunity/original/2X/4/4dadd8243787b56bc9c35c93f70d06064966df1e.png)  
 ![Captura de tela 2024-07-25 091342](https://europe1.discourse-cdn.com/brcommunity/original/2X/5/53bc0e1c6c8a87ab174d3f1b4ed47a8c606eae6c.png)

---

<div class="post-metadata">

**Author:** ![corne.geerts](https://avatars.discourse-cdn.com/v4/letter/c/FF8800/32.png) [@corne.geerts](https://community.br-automation.com/u/corne.geerts)\
**Post date:** [July 25, 2024, 3:10pm UTC](https://community.br-automation.com/t/at664-thermocoupler-module-analog-input-configuration/3883/2 "2024-07-25T15:10:35Z")

</div>

I assume the IOConfig library must be used [B&R Online Help](https://help.br-automation.com/#/en/4/libraries%2Fioconfig%2Fioconfig.html) to configure the correct Configuration word.

But this is very old.

---

<div class="post-metadata">

**Author:** ![alvarohconti](https://avatars.discourse-cdn.com/v4/letter/a/FF8800/32.png) [@alvarohconti](https://community.br-automation.com/u/alvarohconti)\
**Post date:** [July 30, 2024, 11:13am UTC](https://community.br-automation.com/t/at664-thermocoupler-module-analog-input-configuration/3883/3 "2024-07-30T11:13:35Z")

</div>

Should this library be downloaded externally or do I insert it through the programming code?

---

<div class="post-metadata">

**Author:** ![krausertm](https://dub1.discourse-cdn.com/brcommunity/user_avatar/community.br-automation.com/krausertm/32/98_2.png) [@krausertm](https://community.br-automation.com/u/krausertm)\
**Post date:** [July 30, 2024, 1:06pm UTC](https://community.br-automation.com/t/at664-thermocoupler-module-analog-input-configuration/3883/4 "2024-07-30T13:06:34Z")

</div>

Right click “Libraries” → Add Object and you should find something like B&R Libraries.

---

<div class="post-metadata">

**Author:** ![alvarohconti](https://avatars.discourse-cdn.com/v4/letter/a/FF8800/32.png) [@alvarohconti](https://community.br-automation.com/u/alvarohconti)\
**Post date:** [July 31, 2024, 10:59am UTC](https://community.br-automation.com/t/at664-thermocoupler-module-analog-input-configuration/3883/5 "2024-07-31T10:59:59Z")

</div>

Thanks, I managed to add it and I’m trying to program it

---

<div class="post-metadata">

**Author:** ![alvarohconti](https://avatars.discourse-cdn.com/v4/letter/a/FF8800/32.png) [@alvarohconti](https://community.br-automation.com/u/alvarohconti)\
**Post date:** [July 31, 2024, 2:32pm UTC](https://community.br-automation.com/t/at664-thermocoupler-module-analog-input-configuration/3883/6 "2024-07-31T14:32:51Z")

</div>

I added a library and was using B&R support’s own reference programming. I created a program in ANSI C and i started. It gives an error 6024, which says it doesn’t recognize my variable. However, I created it in the command itself and I have already tried to create it in the variable configuration manually. Does anyone know how to solve it?

 ![Captura de tela 2024-07-31 113051](https://europe1.discourse-cdn.com/brcommunity/original/2X/e/edcfb6596afe059835f48d0c1bd682a8dabbff69.png)  
 ![Captura de tela 2024-07-31 113133](https://europe1.discourse-cdn.com/brcommunity/original/2X/f/f7d5887424627e51800d65cfd76a609fc337a43f.png)

---

<div class="post-metadata">

**Author:** ![krausertm](https://dub1.discourse-cdn.com/brcommunity/user_avatar/community.br-automation.com/krausertm/32/98_2.png) [@krausertm](https://community.br-automation.com/u/krausertm)\
**Post date:** [July 31, 2024, 3:08pm UTC](https://community.br-automation.com/t/at664-thermocoupler-module-analog-input-configuration/3883/7 "2024-07-31T15:08:04Z")

</div>

Have you switched on local declaration in Project → Settings?

![image](https://europe1.discourse-cdn.com/brcommunity/original/2X/0/0b6e6e569af25ce2600f680be17dfccd64e477c3.png)

Or just declare the variable in the .var file, which might be the more common solution.

---

<div class="post-metadata">

**Author:** ![alvarohconti](https://avatars.discourse-cdn.com/v4/letter/a/FF8800/32.png) [@alvarohconti](https://community.br-automation.com/u/alvarohconti)\
**Post date:** [August 1, 2024, 1:57pm UTC](https://community.br-automation.com/t/at664-thermocoupler-module-analog-input-configuration/3883/8 "2024-08-01T13:57:45Z")

</div>

Thank you, now it was
