Skip to main content

CM3 Thermocouple Module Buffer Memory

To write to buffer memory, use the TO instruction.

To read from buffer memory, use the FROM instruction.

Please refer to the table below for writing to and reading from buffer memory.

CM3-SP04ETO Buffer Memory
Memory AddressDetailsReadWriteLink
HexadecimalDecimal
00H0TC conversion Enable/DisableTC conversion Enable/Disable
01H1Channel 1 Temperature detection value (°C)-Temperature detection value (°C)
02H2Channel 2 Temperature detection value (°C)-
03H3Channel 3 Temperature detection value (°C)-
04H4Channel 4 Temperature detection value (°C)-
05H5Reserved--
06H6Reserved--
07H7Reserved--
08H8Reserved--
09H9Channel 1 ~ Channel 4 Thermocouple type settingThermocouple type setting
0AH10Digital output setting 1Digital output setting
0BH11Channel 1 Temperature detection value (°F)-Temperature detection value (°F)
0CH12Channel 2 Temperature detection value (°F)-
0DH13Channel 3 Temperature detection value (°F)-
0EH14Channel 4 Temperature detection value (°F)-
0FH15Reserved--
10H16Reserved--
11H17Reserved--
12H18Reserved--
13H19Information for operation channel-Information for operation channel
14H20Assigning type setup data
15H21Channel 1 Digital conversion value-Digital conversion value
16H22Channel 2 Digital conversion value-
17H23Channel 3 Digital conversion value-
18H24Channel 4 Digital conversion value-
19H25Reserved--
1AH26Reserved--
1BH27Reserved--
1CH28Reserved--
1DH29Digital output setting 2Digital output setting
1EH30Designate Average ProcessDesignate Average Process
1FH31Channel 1 Error code-Error code
20H32Channel 2 Error code-
21H33Channel 3 Error code-
22H34Channel 4 Error code-
23H35Reserved--
24H36Reserved--
25H37Reserved--
26H38Reserved--
27H39Reserved--
28H40Requesting data for calibration
29H41Channel 1 Maximum temperature input valueMaximum temperature input value
2AH42Channel 2 Maximum temperature input value
2BH43Channel 3 Maximum temperature input value
2CH44Channel 4 Maximum temperature input value
2DH45Reserved--
2EH46Reserved--
2FH47Reserved--
30H48Reserved--
31H49Assigning temperature setting dataAssigning temperature setting data
32H50Assigning temperature setting dataAssigning temperature setting data
33H51Channel 1 Minimum temperature input valueMinimum temperature input value
34H52Channel 2 Minimum temperature input value
35H53Channel 3 Minimum temperature input value
36H54Channel 4 Minimum temperature input value
37H55Reserved--
38H56Reserved--
39H57Reserved--
3AH58Reserved--
3BH59Channel 1 Average time/filter coefficient settingAverage time/filter coefficient setting
3CH60Channel 2 Average time/filter coefficient setting
3DH61Channel 3 Average time/filter coefficient setting
3EH62Channel 4 Average time/filter coefficient setting
3FH63Operating System Version-OS Version
40H64Channel 1 Maximum temperature in changingMaximum temperature in changing
41H65Channel 2 Maximum temperature in changing
42H66Channel 3 Maximum temperature in changing
43H67Channel 4 Maximum temperature in changing
44H68Reserved--
45H69Reserved--
46H70Reserved--
47H71Reserved--

Thermocouple Conversion Enable/Disable

  • Setup TC conversion enable or disable for each channel.
  • The initial value is thermocouple conversion disable.
  • In order to save the set value to the TC module, Requesting to save set value (Yn.2) must be ON/OFF.
  • The set value is stored in EEPROM and is operated by the previous set value when the power is turned ON/OFF.
Channel Enable/Disable Mapping
Bit 15Bit 14Bit 13Bit 12Bit 11Bit 10Bit 9Bit 8Bit 7Bit 6Bit 5Bit 4Bit 3Bit 2Bit 1Bit 0
000000000000Channel 4Channel 3Channel 2Channel 1
  • Bit 4 ~ Bit 15 are fixed to 0 by default.

  • Channel 1 ~ 4 (bits 0 ~ 3) have TC conversion disabled if the bit is 0.

  • Channel 1 ~ 4 (bits 0 ~ 3) have TC conversion enabled if the bit is 1.

Temperature Detection Value (°C)

  • The temperature detection value stores the temperature value detected by TC conversion.
  • The value stored in the memory is the actual temperature (first decimal digit × 10).
  • The following are the temperature ranges for each thermocouple:
Thermocouple Temperature Ranges
ThermocoupleMeasured Temperature Range (°C)Maximum Range of Measured Temperature (°C)
K-200°C ~ 1,200°C-250°C ~ 1,250°C
J-200°C ~ 800°C-250°C ~ 850°C
E-200°C ~ 600°C-250°C ~ 650°C
T-200°C ~ 400°C-250°C ~ 450°C
B-400°C ~ 1,800°C-350°C ~ 1,850°C
R0°C ~ 1,750°C-50°C ~ 1,800°C
S0°C ~ 1,750°C-50°C ~ 1,800°C
N-200°C ~ 1,250°C-250°C ~ 1,300°C
  • If the value is out of range, it is measured by the minimum -50°C and the maximum 50°C.

Thermocouple Type Setting

  • In order to make the TC type available, set the bit for assigning type setup data (Buffer Memory Address 20 (14H)) to 1 and the Requesting to save set value (Yn.2) is ON/OFF.
  • The initial value is set to K type.
  • The set value stored in EEPROM and is operated by the previous set value when the power is turned ON/OFF.
Thermocouple Types & Set Values
TC TypeKJETRSBN
Set Value01234567
TC Type Bit Mapping
Bit 15 ~ Bit 4Bit 3Bit 2Bit 1Bit 0
Buffer Memory Address 9 (09H)Channel 4Channel 3Channel 2Channel 1

Temperature Detection Value (°F)

  • The temperature detection value stores the temperature value detected by TC conversion.
    • The temperature, in Fahrenheit, converted by the TC module is stored.
    • The actual temperature (the first decimal digit × 10) is stored into memory.

Information for Operation Channel

  • The information for a channel under normal conversion among conversion-enabled channels is displayed.
  • The bit for disconnected channel among conversion-enabled channels is 0 while the bit for channels under normal conversion is 1.
  • The bit for conversion-disabled channels store 0.

Digital Conversion Value

  • The temperature measured by the TC module is stored as a digital value:
    • The minimum digital value is 0 (-8,000).
    • The maximum digital value is 16,000 (8,000).
  • If the temperature is out of range, it is stored as -192 (-8,192) or 16,191 (8,191).
    • If the user input minimum and maximum values:
      • If the minimum temperature is measured, 0 (-8,000) is stored.
      • If the maximum temperature is measured, 16,000 (8,000) is stored.

Digital Output Setting

  • Select the following ranges as a digital output value:
    • 0 ~ 16,000
    • -8,000 ~ 8,000
    • -192 ~ 16,191
    • -8,192 ~ 8,191
  • If the range -192 ~ 16,191 or -8,192 ~ 8,191 is selected, the TC module displays the minimum and maximum measured temperature for each thermocouple by 0 ~ 16,000 or -8,000 ~ 8,000.
    • If the input value exceeds either range, the TC module displays -192 ~ 16,191 or -8,192 ~ 8,191.
  • The initial value is set to -192 ~ 16,191.
  • In order to save the set value to the TC module, Requesting to save set value (Yn.2) must be ON/OFF.
  • The set value is stored in EEPROM and is operated by the previous set value when the power is turned ON/OFF.
Bit Mapping
Bit 15Bit 14Bit 13Bit 12Bit 11Bit 10Bit 9Bit 8Bit 7Bit 6Bit 5Bit 4Bit 3Bit 2Bit 9Bit 0
000000000000Channel 4Channel 3Channel 2Channel 1
Digital Output Value
Buffer Memory 10 (0AH)Buffer Memory 29 (1DH)Digital Output Type
00-192 ~ 16,191
01-8,192 ~ 8,191
100 ~ 16,000
11-8,000 ~ 8,000

Designate Average Process

  • Set the average process of the TC module to enable/disable.
  • The initial value for the average process of all channels is disabled.
  • In order to save the set value to the TC module, Requesting to save set value (Yn.2) must be ON/OFF.
  • The set value is stored in EEPROM and is operated by the previous set value when the power is turned ON/OFF.
Average Process Enable/Disable Mapping
Bit 15Bit 14Bit 13Bit 12Bit 11Bit 10Bit 9Bit 8Bit 7Bit 6Bit 5Bit 4Bit 3Bit 2Bit 1Bit 0
000000000000Channel 4Channel 3Channel 2Channel 1
  • Channel 1 ~ 4 (bits 0 ~ 3) have average process disabled if the bit is 0.
  • Channel 1 ~ 4 (bits 0 ~ 3) have average process enabled if the bit is 1.

Error Code

  • The error code detected by the TC module is stored.
  • The error is maintained before it is cleared or the power is turned OFF.
    • If another error occurs before the previous error is not cleared, the newly generated error is ignored.
  • The error code is a decimal number.
Error Code
ValueDescription
01Disconnection
02If the NTC temperature exceeds its range.
04If the measured value exceeds the minimum or maximum range
100System error
Contact the CIMON warranty team

Minimum and Maximum Temperature Input Value

  • In order for the minimum or maximum set value to be effective, make sure the corresponding bit for temperature set data (Buffer Memory Address 49 (31H)) is set to 1 and the Requesting to save set value (Yn.2) is ON/OFF.
  • For the minimum and maximum setting, if the minimum value input by the user is larger than the maximum value, the bit for the corresponding channel becomes 1.
  • The set value stored in EEPROM and is operated by the previous set value when the power is turned ON/OFF.
  • If the maximum value is smaller than the minimum value, an error occurs.

Average Time/Filter Coefficient Setting

  • The average time/filter coefficient setting stores the set filter coefficient value and the average time set value.
  • The average time set value for 1 BYTE (lower WORD) is 1 ~ 255 seconds.
  • The filter coefficient set value for 1 BYTE (upper WORD) is 0% ~ 70%.
  • When the filter function is not used, the value is 0.

Average Time/Filter Coefficient Setting Example

  • Example: if the average time for channel 1 is 2 seconds amd the filter coefficient is 50:
    • H3202 (12,802) is stored into the buffer memory address 59 (3BH).
Average Time/Filter Coefficient Example
Filter CoefficientAverage Time
Bit 15Bit 14Bit 13Bit 12Bit 11Bit 10Bit 9Bit 8Bit 7Bit 6Bit 5Bit 4Bit 3Bit 2Bit 1Bit 0Value
0011001000000010H3202
12,802
  • If the converted temperature has severe variations due to external noise, follow below:
    • The width for variations for the converted temperature is limited before it is stored in buffer memory.
    • The range of the setting value is 0% ~ 70%.

Example: If the temperature changes as shown in the table below: it is a value that is stored in buffer memory.

Example
Conversion temperature value
Digital filter value
101513914129515
10%-14.513.29.413.512.29.35.414.0
70%-11.512.011.112.012.011.19.311.0

Current value = current value + (previous value - current value) × filter coefficient (%) ÷ 100

Operating System Version

  • The operating system version indicates the firmware version of the module.

Maximum Temperature in Changing

  • The maximum temperature in changing sets the difference between the previous measurement and the current measurement for each channel and stores the difference.
  • The range is 3 ~ 1,000.
    • The initial value is 10.
  • A low set value may cause a slow response, but high stability.
  • A high set value may cause a rapid response, but low stability.
  • If the temperature is not updated under rapidly changing temperature conditions, use a higher temperature than the current set value.