4 - 16
4.6 Offset/Gain Setting
4
SETUP AND PROCEDURES BEFORE OPERATION
(a) When switching the mode using dedicated instruction (G(P).OFFGAN)
The following program example is for switching to the offset/gain setting mode
with the dedicated instruction (G(P).OFFGAN) and changing the channel for the
offset/gain setting, then writing the offset/gain values to the Q68TD-G-H02(H01)
and then switching to the normal mode.
Figure 4.10 When switching the mode using dedicated instruction (G(P).OFFGAN)
* 1 The program in the dotted area is a common program.
Stores offset/gain setting
target channel.
Copies data of D1 into D2.
Inverts bit for conversion
enable/disable setting.
Sets conversion
enable/disable.
Turns ON Operating
condition setting request (Y9).
Turns OFF Operating
condition setting request (Y9).
Stores offset temperature
setting value into D3.
Writes value to Offset
temperature setting value.
Specifies offset setting
channel.
Sets "0" for gain setting
channel.
Stores gain temperature
setting value into D4.
Writes value to Gain
temperature setting value.
Sets "0" for offset setting
channel.
Specifies gain setting
channel.
Turns ON Channel change
request (YB).
Turns OFF Channel change
request (YB).
Turns ON User range write
request (YA).
Turns OFF User range write
request (YA).
Dedicated instruction
(G.OFFGAN)
*1
Processing in normal mode