Example program 10
10-1
10. Example program
This section introduces an example of program to take analog data to the PLC using the FX
2N
-
8AD.
Condition
System configuration:
The FX
2N
-8AD (unit No. 0) is connected as a special block nearest to the FX
2N
/FX
2NC
Series PLC main unit.
Input mode:
CH1 and CH2 : Mode 0 (voltage input, -10 to +10 V, resolution 20 V x 1/32,000)
CH3 and CH4 : Mode 3 (current input, +4 to +20 mA, resolution 16 mA x 1/8,000)
CH5 and CH6 : Mode 9 (thermocouple input, K type, Celsius display)
CH7 and CH8 : Mode F (unused)
Number of times of averaging:
1 (initial value) in each channel
I/O characteristics:
Standard I/O characteristics (initial value) in each channel
Convenient function:
Upper/lower limit value detection function is used.
FX2N-8AD Analog input block