Skip to main content

CM3 RTD 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-SP04ERO Buffer Memory
Memory AddressDetailsReadWriteLink
HexadecimalDecimal
00H0RTD conversion Enable/DisableRTD 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--
09H9Designate RTD typeDesignate RTD type
0AH10Digital output setting 1Digital output setting
0CH12Channel 1 Temperature detection value (°F)-Temperature detection value (°F)
0DH13Channel 2 Temperature detection value (°F)-
0EH14Channel 3 Temperature detection value (°F)-
0FH15Channel 4 Temperature detection value (°F)-
10H16Reserved--
11H17Reserved--
12H18Reserved--
13H19Reserved--
13H19Information for operation channel-Information for operation channel
14H20Designate RTD typeDesignate RTD type
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--
31H49Minimum and Maximum Scale setting dataMinimum and Maximum Scale setting data
32H50Minimum and Maximum set error-Minimum and Maximum set error
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

RTD Conversion Enable/Disable

  • Setup RTD conversion enable or disable for each channel.
  • The initial value is thermocouple conversion disable.
  • In order to save the set value to the RTD 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 RTD conversion disabled if the bit is 0.

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

Temperature Detection Value (°C)

  • The temperature detection value stores the temperature value detected by RTD conversion.
  • The temperature conversion value range is -200°C ~ 600°C.
    • If the value is out of the range, -250°C ~ 650°C is measured.
      • If the value is out of this range, -250°C ~ 650°C is fixed.

Designate RTD Type

  • The initial value is PT100.
  • In order to save the set value to the RTD 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
Most Significant BitLeast Significant Bit
Channel 4Channel 3Channel 2Channel 1
0000000000000000

The PLC-S only uses buffer memory address 9 (09H). RTD will be used as below:

RTD Type Setup
Memory Address 9 (09H)RTD Type
0 (0000)PT100
1 (0001)JPT100
2 (0010)PT1000
3 (0011)Ni1000 (DIN43760)
4 (0100)Ni1000 (TCR5000)

Temperature Detection Value (°F)

  • The temperature detection value stores the temperature value detected by RTD conversion.
    • The temperature, in Fahrenheit, converted by the RTD module is stored.
    • The actual temperature (the first decimal digit × 10) is stored into memory.
  • The temperature conversion value range is -392°F ~ 1,112°F.
    • If the value is out of the range, -482°F ~ 1,202°F is measured.
      • If the value is out of this range, -482°F ~ 1,202°F is fixed.

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

  • If the temperature measured by the RTD module is -200°C (-328°F), it is stored as the digital value 0 (-8,000).
  • If the temperature measured by the RTD module is 600°C* (1,112°F), it is stored as the digital value 16,000 (8,000).
  • 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 RTD 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 RTD 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 RTD 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 RTD 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 RTD 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 RTD 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 (A or B)
02Disconnection (b or both A and B)
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.

Minimum and Maximum Scale Setting Data

Minimum and Maximum Scale Setting Data 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 the setting disabled if the bit is 0.
    • The scale values of PT100, JPT100, and PT1000 are -200°C ~ 600°C (-328°F ~ 1,112°F).
    • The scale values of Ni1000_DIN and Ni1000_TCR are -50°C ~ 160°C (-58°F ~ 320°F)
  • Channel 1 ~ 4 (bits 0 ~ 3) have the setting enabled if the bit is 1.

Minimum and Maximum Set Error

Minimum and Maximum Set Error 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 no errors if the bit is 0.
  • Channel 1 ~ 4 (bits 0 ~ 3) have errors enabled if the bit is 1.
    • If the maximum value is smaller than the minimum value, an error occurs.
    • If PT100, JPT100, or PT1000:
      • Errors occur if the minimum value is less than -200 or the maximum value is greater than 600.
    • If Ni1000_DIN or Ni1000_TCR:
      • Errors occur if the minimum value is less than -50 or the maximum value is greater than 160.

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