User’s Manual
81
PART 3 TC218
6. Parameters
6.2 Parameter setting procedure
When you change the TC218 parameters, such as input type settings, gain/offset calibrations
and averaging times, use the following procedure.
Step (1)
Write the value "0" into the command register of the TC218 buffer memory (address H8020)
by WRITE instruction.
H8020
Command register
←
Write 0
Step (2)
Write the parameter data into the buffer memory (addresses H8000 to H801F) by WRITE
instruction. Be sure to write all the 32 words in batch.
For thermocouple, write the default value for the gain (32000) and the offset (0).
H8000
Gain for channel 1
H8001
Gain for channel 2
:
:
H801F
Input type for channel 8
←
Write the parameter data (32 words)
Step (3)
Write the value "1" into the command register (address H8020) by WRITE instruction.
H8020
Command register
←
Write 1
Step (4)
Wait until the data of the response register (address H8021) comes "1". Check the data by
READ instruction.
H8021
Response register
Check if it comes 1
Step (5)
Write the value "0" into the command register (address H8020) by WRITE instruction.
H8020
Command register
←
Write 0
When the above steps are finished and the module status (addresses H8030 to H8037) shows
no error, the parameter setting procedure is completed. The parameters are effective and they
have been saved in the TC218's EEPROM.
Note) After you write the parameters into the TC218, turn off power and on again.
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: [email protected]