Mitsubishi Electronics MELSEC-F Fan User Manual


 
FX2N-5A Special function block Adjustment of I/O Characteristics 8
8-9
Figure 8.1: Example program
The I/O characteristics can be written (BFM #21) to one channel at a time, or two or more
channels at a time.
M100
K0 K0
H1600
K1
TO K0 K1
H0001
K1
TO K0 K41 K0 K1
TO K0 K51
K6000
K1
TO K0 K44 K0 K1
TO K0 K54
K10000
K1
TO K0 K21
H001B
K1
Specifies the input mode of CH1 to CH4.
Specifies the output mode.
Writes the offset value of CH1.
Writes the gain value of CH1.
Writes the gain value of CH4.
Writes the offset value of CH4.
Offset value/gain value of analog input channel CH1,
CH2, CH4 and the analog output channel is write.
TO
TO K0 K45 K0 K1
TO K0 K55
K6000
K1
Offset value of analog output channel.
Gain value of analog output channel.
X0
M100
Operation start
instruction
PLS
TO K0 K42 K0 K1
Writes the offset value of CH2.
TO K0 K52
K6000
K1
Writes the gain value of CH2.