H-16
4 Programming
4.1 Loading/Writing of Conversion Data
FX
3G
/FX
3U
/FX
3UC
PLC User's Manual - Analog Control Edition
FX
3U
-3A-ADP (2-channel analog Input, 1-channel analog output)
4. Programming
This chapter explains how to create programs for inputting and outputting analog data using the 3A-ADP.
4.1 Loading/Writing of Conversion Data
Loading of A/D Conversion Data
1) The input analog data will be converted into digital data and then stored in the special devices of the
FX
3U/FX3UC/FX3G Series PLC.
2) If the data is stored in the special devices, the averaging time can be set, and the input mode can be
specified.
3) Special auxiliary relays (10 points) and special data registers (10 points) are assigned automatically
starting from the adapter nearest the main unit.
→ For a detailed description of special device assignment, refer to Section 4.2.
Writing of D/A Conversion Data
1) The input digital data will be converted into analog data and then output to the terminals.
2) If data is stored in the special devices, the averaging time can be set, and the output mode can be
specified.
3) Special auxiliary relays (10 points) and special data registers (10 points) are assigned automatically
starting from the adapter nearest the main unit.
→ For a detailed description of special device assignment, refer to Section 4.2.
•FX
3U, FX3UC Series PLC
The analog special adapter nearest to the main unit is counted as the 1st analog special adapter, and the
next adapter as the 2nd analog special adapter, and so on. However, in this case, do not include the
highspeed input/output special adapter, communication special adapter, and the CFcard special adapter.
Sequence
program
Special devices
A/D
or
D/A
Communic
-ation
special
adapter
FX
3U
-3A FX
3U
-3A FX
3U
-3A FX
3U
-3A
-ADP -ADP -ADP -ADP
FX
3U
/FX
3UC
Series PLC
1st2nd3rd4th
High-speed
input/output
special
adapter
Special auxiliary relays:
M8280 to M8289
Special data registers:
D8280 to D8289.
Special auxiliary relays:
M8270 to M8279
Special data registers:
D8270 to D8279
Special auxiliary relays:
M8260 to M8269
Special data registers:
D8260 to D8269
Special auxiliary relays:
M8290 to M8299
Special data registers:
D8290 to D8299
A/D
or
D/A
A/D
or
D/A
A/D
or
D/A