FX2N-8AD Analog input block Adjustment of I/O Characteristics 9

9-8

Figure 9.2: Example program

*1 It takes approximately 5 seconds to change the input mode (BFM #0, BMF #1) (to change

each set value).

Assure the time interval of 5 seconds or more after change of the input m ode unt il execution

of write of each setting (TO instruction).

The I/O characteristics can be written (by BFM #21) to one channel at a time, or two or

more channels at a time.

X000 K0 K0 H1600 K1
TO
P
K0 K1 HFFA1 K1
TO
P
K0 K41 K0 K2
TO
P
K0 K51 K1250 K2
TO
P
K0 K44 K0 K1
TO
P
K0 K54
K10000
K1
TO
P
K0 K21 H00FF K1
Operation
start
instruction
Specifies the input mode of CH1 to CH4.
Specifies the input mode of CH5 to CH8.
Writes the offset value of CH1 and CH2.
Writes the gain value of CH1 and CH2.
Writes the offset value of CH4.
Writes the gain value of CH4.
Writes the offset value and gain value of all c hannels at a time.
TO
P
M0
M0 SET
TO K50 *1
T0
RST M0