fp2 Newanalog e
fp2 Newanalog e
WARNING
If critical situations that could lead to user’s death or serious injury is assumed by
mishandling of the product.
-Always take precautions to ensure the overall safety of your system, so that the whole
system remains safe in the event of failure of this product or other external factor.
-Do not use this product in areas with inflammable gas. It could lead to an explosion.
-Exposing this product to excessive heat or open flames could cause damage to the lithium
battery or other electronic parts.
CAUTION
If critical situations that could lead to user’s injury or only property damage is
assumed by mishandling of the product.
-To prevent excessive exothermic heat or smoke generation, use this product at the values
less than the maximum of the characteristics and performance that are assured in these
specifications.
-Do not dismantle or remodel the product. It could cause excessive exothermic heat or smoke
generation.
-Do not touch the terminal while turning on electricity. It could lead to an electric shock.
-Use the external devices to function the emergency stop and interlock circuit.
-Connect the wires or connectors securely.
The loose connection could cause excessive exothermic heat or smoke generation.
-Do not allow foreign matters such as liquid, flammable materials, metals to go into the inside
of the product. It could cause excessive exothermic heat or smoke generation.
-Do not undertake construction (such as connection and disconnection) while the power
supply is on. It could lead to an electric shock.
Copyright / Trademarks
-This manual and its contents are copyrighted.
-You may not copy this manual, in whole or part, without written consent of Panasonic
Industrial Devices SUNX Co., Ltd.
-Windows is a registered trademark of Microsoft Corporation in the United States and other
countries.
-All other company names and product names are trademarks or registered trademarks of
their respective owners.
PLC_ORG
Table of Contents
Precautions Before You Start
3. Wiring....................................................................................................... 3-1
3.1 Wiring of Terminal Block ................................................................................................ 3-2
3.1.1 Input Unit (FP2-AD8X) (FP2-RTD) ............................................................................. 3-2
3.1.2 Input Unit (FP2-AD8VI)/Output Unit (FP2-DA4) ......................................................... 3-5
i
4.2 I/O Allocation and Slot Numbers .................................................................................... 4-4
4.2.1 Occupation I/O Areas and I/O Allocation .................................................................... 4-4
4.2.2 Confirmation of I/O No. Allocation ............................................................................... 4-5
4.2.3 Slot Numbers .............................................................................................................. 4-6
iii
Precautions Before You Start
Differences with the conventional unit A:Available
Remarks
Measurement FP2-AD8 FP2-AD8VI FP2-AD8X FP2-RTD
Input type Type (between
range AFP2400 AFP2400L AFP2401 AFP2402
channels)
Non-isolated A A A
10 V -10 to +10 V
Isolated A
Non-isolated A A A
Voltage 1 to 5 V 1 to 5 V
Isolated A
Non-isolated A A
100 mV -100 to +100 mA
Isolated A
20 mA -20 to +20 mA Non-isolated A A
Current
4 to 20 mA 4 to 20 mA Non-isolated A A
S 0 to +1500 C A A
J -200 to +750 C A A
J -100 to 400 C A
Non-isolated
K -200 to +1000 C A A
Thermo- (FP2-AD8)
K -200 to 1200 C A
couple Isolated
K -100 to 600 C A
(FP2-AD8X)
T -200 to +350 C A A
R 0 to +1500 C A A
N -200 to 1300 C A
Pt100 -100 to +500 C A
Resistance Pt100 -200 to +650 C A A
thermo- Pt100 -100 to 200 C A A
Non-isolated
meter JPt100 -200 to +650 C A A
device JPt100 -100 to 200 C A A
Pt1000 -100 to +100 C A A A
For further details, refer to the specifications in the following manuals before you use.
FP/FP2SH Hardware Manual ARCT1F320
FP series Programming Manual ARCT1F353
iv
Chapter 1
Functions and Restrictions of the Unit
1.1 Features and Functions of the Unit
Features of analog input unit
• This is a unit to import various analog values (such as voltage, current or temperature) of displacement
sensors or pressure sensors, and to convert them to digital values in the unit.
• Input with multiple channels is available.
Analog input unit: 8 channels
Twenty types of input range such as voltage and temperature sensor are selectable and available for
various connection devices.(FP2-AD8X)
• Resistance thermometer device and thermocouple can be directly connected. (FP2-AD8X, FP2-RTD)
• High-speed conversion of 500 µs/channel for voltage/current range, etc.
• The resolution is 1/13107 to 1/65536 (temperature sensor is 0.1 °C. The input analog values are
converted to a maximum of 16-bit digital data.
1-2
1.2 Type of Unit
1-3
1.3 Analog I/O Data Processing Functions
2. Digital conversion
The analog input values are automatically converted to digital values successively in the unit.
For the analog input, the following optional settings are available.
The optional settings can be specified by writing into the shared memory using the programs for each
channel if necessary.
1-4
1.3.2 Analog Output Processing
The following process is performed.
1. Writing of digital data
The digital data for the analog output are written in the output relay area (WY) corresponding to each
channel by the user program.
2. Analog conversion
The written data are automatically converted to analog values successively in the unit.
For the analog output, the following optional settings are available.
The optional settings can be specified by writing into the shared memory using the programs for each
channel if necessary.
1-5
1.4 Installation Restrictions
1-6
1.5 Current Consumption
The internal current consumption values for the FP2 analog units noted below.
When the system is configured, the other units being used should be taken into consideration, and a
power supply unit with a sufficient capacity should be used.
Current consumption
Name Part No. Product No.
(at 5 V DC)
FP2 analog input unit
FP2-AD8VI AFP2400L 400 mA or less
(Voltage/current type)
FP2 analog input unit
FP2-AD8X AFP2401 300 mA or less
(Channel isolation type)
FP2 RTD input unit FP2-RTD AFP2402 300 mA or less
FP2 Analog output unit FP2-DA4 AFP2410 600 mA or less
1-7
1-8
1-9
Chapter 2
Parts and Functions
2.1 Analog Input Unit
2-2
2.1.2 Analog Input Unit (Channel isolation type) (FP2-AD8X)
AFP2401
2-3
2.1.3 RTD Input Unit (FP2-RTD)
AFP2402
2-4
2.2 Analog Output Unit (FP2-DA4)
AFP2410
2-5
2-6
Chapter 3
Wiring
3.1 Wiring of Terminal Block
Suitable wires
No. of wires Size Nominal cross-sectional area
1 wire AWG #28 to 16 0.08 to 1.25mm2
2 wires AWG #28 to 20 0.08 to 1.5mm2
3-2
Wiring method
(1) Remove the terminal block.
If it is hard to remove, insert a driver for the terminal block into a gap between the terminal
block and the case, and remove the terminal block
1. Firstly, remove the terminal block at the side of
ch4 to ch7. Insert the driver into the ch4 side
and ch7 alternately.
(3) Insert the wire into the terminal block until it contacts the back of the block socket, and then
tighten the screw clockwise to fix the wire in place. (Tightening torque: 0.22 N·m to 0.25 N·m
(2.3 kgf·cm to 2.5 kgf·cm))
3-3
Note:
• When removing the wire’s insulation, be careful not to scratch the core wire.
• Do not twist the wires to connect them.
• Do not solder the wires to connect them. The solder may break due to vibration.
• After wiring, make sure stress is not applied to the wire.
• In the terminal block socket construction, if the wire closes upon counter-clockwise rotation, the
connection is faulty. Disconnect the wire, check the terminal hole, and then re-connect the wire.
3-4
3.1.2 Input Unit (FP2-AD8VI)/Output Unit (FP2-DA4)
Suitable terminals and wires
M3 terminal screws are used for the terminals of analog input and output units. The following suitable
solderless terminals are recommended for the wiring to the terminals
Suitable wires
Suitable wires Tightening torque
2
AWG22 to 14 (0.3 to 2.0mm ) 0.5 to 0.6 N・m
Note:
Install the terminal block by inserting it all the way to its original position and pressing the lock button on
the bottom of the unit. Then confirm that the terminal block is securely attached and cannot be removed.
3-5
3.2 Wiring for Analog Input
The voltage (approx. –10V) may be output momentarily (for approx. 200 ms) from the output terminal of
the analog output unit when the power supply of FP2/FP2SH turns on/off.
If it becomes a problem on the system, take appropriate measures, such as delaying the timing of the
power activation of connected external devices from the power activation of the PLC.
Note:
• Use double-core twisted-pair shielded wires. It is recommended to ground them. However, depending
on the conditions of the external noise, it may be better not to ground the shielding.
• Do not have the analog input wiring close to AC wires, power wires, or load wires from sources other
than the PLC.
3-6
3.2.2 Analog Input Unit (FP2-AD8X)
Voltage input (1 to 5 V, -10 to +10 V, -100 to +100 mV)
Note:
• Use double-core twisted-pair shielded wires. It is recommended to ground the shielding. However,
depending on the conditions of the external noise, it may be better not to ground the shielding.
• Do not have the analog input wiring close to AC wires, power wires, or load wires from sources other
than the PLC.
Thermocouple (J, K, R, S, T, N)
Note:
• Perform the wiring correctly according to the polarity of the thermocouple. Also, to lengthen the signal
wire of the thermocouple, use the compensating wire of the thermocouple. (It is recommended to use
shielded wires and to ground the shielding.)
• Do not have the analog input wiring close to AC wires, power wires, or load wires from sources other
than the PLC.
3-7
R.T.D. (Resistance thermometer device) (Pt100, JPt100, Pt1000)
Note:
• For copper wiring used in wiring the R.T.D. (resistance thermometer device), use insulated and thick
wiring not to allow a large build-up in electrical resistance. (It is recommended to use shielded wires
and to ground the shielding.)
• Do not have the analog input wiring close to AC wires, power wires, or load wires from sources other
than the PLC.
3-8
Current input (4 to 20 mA, -20 to +20 mA)
When using FP2-AD8X as current input, connect the provided 250Ωresistor, and then input after
converting it to voltage.
3-9
3.2.3 RTD Input Unit (FP2-RTD)
R.T.D. (Resistance thermometer device) input (Pt100, JPt100, Pt1000)
Note:
• For copper wiring used in wiring the R.T.D. (resistance thermometer device), use insulated and thick
wiring not to allow a large build-up in electrical resistance. (It is recommended to use shielded wires
and to ground the shielding.)
• Do not have the analog input wiring close to AC wires, power wires, or load wires from sources other
than the PLC.
3-10
3.3 Wiring for Analog Output
Note:
• For the analog output wiring, always use double-core twisted-pair shielded wires.
• Ground the shielding of the shielded wires at the side of the load devices. However, depending on the
conditions of the external noise, it may be necessary to ground externally, or better not to ground the
shielding.
• Do not have the analog input wiring close to AC wires, power wires, or load wires from sources other
than the PLC.
• The terminals marked with a dot on the input and output terminal blocks are not to be used. However,
they may be connected to circuits internally, so be sure not to connect any wiring to them.
3-11
3-12
Chapter 4
Setting I/O Range and I/O Allocation
4.1 I/O Allocation
Note) The range setting switch for FP2-AD8VI is a octal switch. The switches No. 6 to 8 must be used
being switched off. If they are on, it does not operate properly.
Default setting
All the switches are off.
Especially note:
Do not set the range setting switch to “not used”. If setting to “not used”, the unit will not operate properly.
4-2
4.1.2 Setting the Analog Output Range
How to set the output range
The analog output range setting can only be performed by the range setting switch. At the analog output
units, use the range setting switches 1 to 4 to set the range for each channel.
Default setting
All the switches are off.
Especially note:
For the analog output unit, be sure to have the range setting switches 5 and 6 set to off. If setting to on,
the unit will not operate properly.
4-3
4.2 I/O Allocation and Slot Numbers
Analog input unit Occupation number of points: 128 points (Input: 128 points)
Channel FP2 I/O number Programming tool software
Ch0 WX(n): X(n)0 to X(n)F
Ch1 WX(n+1): X(n+1)0 to X(n+1)F
Ch2 WX(n+2): X(n+2)0 to X(n+2)F
Ch3 WX(n+3): X(n+3)0 to X(n+3)F
Analog input 128SX
Ch4 WX(n+4): X(n+4)0 to X(n+4)F
Ch5 WX(n+5): X(n+5)0 to X(n+5)F
Ch6 WX(n+6): X(n+6)0 to X(n+6)F
Ch7 WX(n+7): X(n+7)0 to X(n+7)F
Note:
• The I/O number shown by an “n” in the table above is determined according to the installed slot
position and the I/O allocation for other units.
• The occupation number of points remains unchanged even if the number of channels to use has been
reduced in the shared memory setting.
4-4
4.2.2 Confirmation of I/O No. Allocation
I/O numbers and slot numbers are necessary to generate programs. Those numbers vary depending on
the installation position to the backplane. Confirm they are as per design.
Confirm the occupation I/O areas for all the units installed between the CPU unit and the analog unit.
The next number is allocated for the analog unit as I/O area.
Example:
When installing the analog input unit next to three 16-point I/O units.
Example:
When installing the analog output unit next to three 16-point I/O units.
Note:
• If there are any blank slots between the CPU unit and the analog unit, confirm whether the I/O areas
have been allocated for the blank slots.
• The areas for 16 points are automatically allocated for each blank slots during “I/O mounting allocation”
or “automatic allocation”
• When using the two-module type CPU unit, also confirm the I/O area allocated by the unit built in the
CPU units.
4-5
4.2.3 Slot Numbers
Slot numbers are necessary to set various items by programs for the analog unit.
4-6
Note:
When using the two-module type CPU unit, the slot No. “0” is allocated to the unit built in the CPU.
When installing on the backplane which the CPU unit with the S-Link is mounted, count the slot numbers
for the unit built in the CPU unit as “0, 1”.
4-7
4-8
Chapter 5
Power On/Off and Initial Settings
5.1 Unit Operation When turning the Power On/Off
The time from the startup of the FP2 until the first analog input data is written in the shared
memory
R.T.D. (Resistance
Analog input unit
Input range thermometer device) unit
FP2-AD8VI FP2-AD8X FP2-RTD
Non-isolated voltage input range 430 ms 500 ms -
Isolated voltage input range - 4500 ms -
Current input range 430 ms - -
Thermocouple input range - 4500 ms -
R.T.D. (Resistance thermometer
- 4500 ms 4500 ms
device) input range
• The preparation completion flag in the shared memory area No. 10 changes from off to on only when
the power supply turns on. The flag does not change when switching the RUN mode/PROG. mode.
• The values of the shared memory right after turning the power supply on are preset to the default
values specified for every memory area numbers.
5-2
5.2 Initial Setting Programs
• No. of data
Specifies the number of words to be written in the shared memory.
Program example:
Reference:
• For the information on the table of shared memory area, <12.3 Table of Shared Memory Area>.
• For the information on the program example, <Chapter 7, 8 Sample Programs>.
5-3
5.2.2 Output Settings
No execution channel of analog output conversion processing setting
(Shared memory addresses: 22)
Can specify the channels not to execute the analog output processing.
Specify when you want to shorten the conversion processing time for unused output channels.
• No. of data
Specifies the number of words to be written in the shared memory.
Program example:
Reference:
• For the information on the table of shared memory area, <12.3 Table of Shared Memory Area>.
• For the information on the program example, <Chapter 9, 10 Sample Programs>.
5-4
Chapter 6
Analog I/O Conversion Characteristics
6.1 Analog Input Conversion Characteristics
6-2
6.1.3 Voltage Input Range: 1 to 5 V
Input range: 1 to 5 V
Analog input value Digital converted
(mA) value (K)
5 13107
4 9829
3 6553
2 3276
1 0
6-3
6.1.5 Voltage Input Range: -100 to +100 mV
Input range: -100 to +100 mV
Analog input value Digital converted
(mA) value (K)
100 32767
75 24575
50 16383
25 8191
0 0
-25 -8192
-50 -16384
-75 -24576
-100 -32768
6-4
6.1.6 Thermocouple Input Range
Reference:
For the information on broken wires, see <8.2.1 Broken Wire Detection for Analog Unit>.
6-5
6.1.7 R.T.D. (Resistance Thermometer Device) Input Range
Reference:
For the information on broken wires, see <8.2.1 Broken Wire Detection for Analog Unit>.
6-6
6.2 Analog Output Conversion Characteristics
7-2
7.2 Timing for Reading Data
Input conversion processing time for input unit
Conversion time differs depending on the used ranges and number of channels.
The conversion time can be shorten for the number of channels where the conversion is not executed by
using the execution/no execution setting.
AFP2400L
Converts in order of base processing→ch0→ch1→ch2→ch3→base processing→….
The base time is fixed at 400 µs regardless
of the number of conversion channels.
7-3
7.3 Sample Program
Settings
Setting value for
Item Descriptions
example program
Execution channel of
Ch0 to ch5: Set to execution Specify H1111 for shared memory address 16.
analog input conversion
(ch6 to ch7: Set to no execution) Specify H11 for shared memory address 17.
processing
WX0 Analog input data for ch0
WX1 Analog input data for ch1
WX2 Analog input data for ch2
I/O allocation
WX3 Analog input data for ch3
WX4 Analog input data for ch4
WX5 Analog input data for ch5
DT100 Input data read area for ch0
DT101 Input data read area for ch1
DT102 Input data read area for ch2
Data register allocation
DT103 Input data read area for ch3
DT104 Input data read area for ch4
DT105 Input data read area for ch5
Address 10 Preparation completion flag for ch0 to ch7
Execution/no execution of conversion
Address 16
Shared memory processing setting for ch0 to ch3.
Execution/no execution of conversion
Address 17
processing setting for ch4 to ch7.
Key Point:
The preparation completion flag indicates that the conversion is ready for the analog unit when turning
the power supply on. As data may be unstable values during the start-up of the power supply, make sure
to confirm that this flag turns on, and then create a program to read the data. The time taken from the
start-up of the power supply until the preparation completion flag turns on differs depending on the
ranges.
Reference: <12.1 Table of Performance Specifications “Input conversion data setup time”>
Note:
• The ranges for the converted values differ depending on the used ranges.
• The number of input contacts and specified slot numbers differ depending on the installation positions
of the units.
7-4
Sample program:
7-5
7.3.2 Scale Conversion Processing Program
Program outline
This program read the scale-converted analog data for ch0 and ch1 of the analog input unit to any data
registers.
Settings
Setting value for
Item Descriptions
example program
Execution channel of
Ch0 to ch1: Set to execution
analog input conversion Specify H11 for shared memory address 16.
(ch2 to ch3: Set to no execution)
processing
WX0 Analog input data for ch0
I/O allocation
WX1 Analog input data for ch1
DT100 Input data read area for ch0
DT101 to DT102 Scale-conversion for ch0 (DT100x4000)
DT103 Scale-conversion for ch0 (DT100x4000/13107)
DT104 Scale-conversion for ch0 (DT103+1000)
Data register allocation
DT110 Input data read area for ch1
DT111 to 112 Scale-conversion for ch1 (DT110x4000)
DT113 Scale-conversion for ch1 (DT110x4000/13107)
DT114 Scale-conversion for ch1 (DT113+1000)
Address 10 Preparation completion flag for ch0 to ch7
Shared memory Execution/no execution of conversion
Address 16
processing setting for ch0 to ch3.
Key Point:
Scale-conversion
The converted values read from the analog unit are fractional numbers. Convert to round figures if
necessary.
Example: For the range of 1 to 5 V
Converted values to be read from the analog unit: K0 to K13107
Sets the values to be converted: K1000 to K5000
Calculates the scale and the offset specified in the program replacing with the values to be converted in
the conversion characteristics graph.
Note:
• The ranges for the converted values differ depending on the used ranges.
• The number of input contacts and specified slot numbers differ depending on the installation positions
of the units.
Reference:
<chapter 6 Analog I/O Conversion Characteristics>
<4.2 I/O Allocation and Slot Numbers>
7-6
Sample program:
7-7
7-8
Chapter 8
Optional Settings for Analog Input
8.1 Average Processing Setting
Program outline
The number of average processing times is specified for the shared memory address 22 to 29 by user
program.
When ch0: No average processing, ch1: 3 times, ch2: 10 times
8-2
Timing for average processing
• The data to be read by sampling are converted successively.
Note) The conversion time differs depending on the used number of channels and the setting ranges.
• Average processing is performed for the values going back for the specified number of times from the
latest data except the maximum value and minimum value, and then the average value is output.
8-3
8.1.2 Sample Program
Program outline
After averaging the analog input data for ch0 to ch2 for the analog input unit, the program reads the
averages to the data registers DT100 to DT102 using the preparation completion flag.
Settings
Setting value for
Item Descriptions
example program
Execution channel of
analog input conversion Ch0 to ch2: Set to execution Specify H111 for shared memory address 16.
processing
WX0 Analog input data for ch0
I/O allocation WX1 Analog input data for ch1
WX2 Analog input data for ch2
DT100 Input data read area for ch0
Data register allocation DT101 Input data read area for ch1
DT102 Input data read area for ch2
Address 10 Preparation completion flag for ch0 to ch7
Execution/no execution of conversion
Address 16
processing setting for ch0 to ch3.
Shared memory
Address 22 Average processing times setting for ch0
Address 23 Average processing times setting for ch1
Address 24 Average processing times setting for ch2
Key Point:
The average processing is performed in the analog unit by specifying the average processing times for
the shared memory addresses 22 to 29.
Note:
• The ranges for the converted values differ depending on the used ranges.
• The number of input contacts and specified slot numbers differ depending on the installation positions
of the units.
• Specify the average processing times within a range of K3 to K64.
8-4
Sample program:
8-5
8.1.3 Offset Setting Program
Program outline
This program offsets the analog input data read from ch0 and ch1, and then reads it to the data registers
DT100 to DT101.
Settings
Setting value for
Item Descriptions
example program
Execution channel of
Ch0 to ch1: Set to execution
analog input conversion Specify H11 for shared memory address 16.
(ch2 to ch3): Set to no execution
processing
WX0 Analog input data for ch0
I/O allocation
WX1 Analog input data for ch1
DT100 Input data read area for ch0
Data register allocation
DT101 Input data read area for ch1
Address 10 Preparation completion flag for ch0 to ch7
Execution/no execution of conversion
Address 16
Shared memory processing setting for ch0 to ch3.
Address 30 Offset changing setting for ch0 analog input
Address 31 Offset changing setting for ch1 analog input
Key Point:
• The offset setting is to correct the deviation created when inputting standard analog input values
<current/voltage/temperature>.
• The converted digital values can be offset in programs using the incremental or decremental instruction
Note:
• The ranges for the converted values differ depending on the used ranges.
• The number of input contacts and specified slot numbers differ depending on the installation positions
of the units.
• Set offset values for each channel. The offsets may differ for each channel even if the analog input
value are same.
• The conversion method and converted values for the area around the maximum and minimum values
differs depending on the offset directions, so confirm the I/O conversion characteristics.
8-6
Sample program:
8-7
8.2 Temperature Sensor Input Broken Wire Detection
Note:
For the broken wire detection in the three-wire resistance thermometer device input wiring, depending on
which wire breaks as shown below, there are situations where the broken wire detection cannot be
performed.
• Wire (A) connected to the A/+ terminal is broken: Broken wire detection is possible.
• Wire (B) and (C) connected to the B/- terminal and the V/b terminal are broken together: Broken wire
detection is possible.
• Only wire (B) connected to the B/- terminal is broken: Broken wire detection is not possible.
• Only wire (D) connected to the b terminal is broken: Broken wire detection is not possible.
8-8
8.2.2 Sample Program
Program outline
The conditions on the input wiring of the temperature sensors (such as thermocouple or resistance
thermometer device) for each channel are read to the internal relays R10 to R12 using the broken-wire
detection flag for ch0 to ch2.
Settings
Setting value for
Item Descriptions
example program
Execution channel of
analog input conversion Ch0 to ch2: Set to execution Specify H111 for shared memory address 16.
processing
WX0 Analog input data for ch0
I/O allocation WX1 Analog input data for ch1
WX2 Analog input data for ch2
DT100 Input data read area for ch0
Data register allocation DT101 Input data read area for ch1
DT102 Input data read area for ch2
R10 Broken-wire detection flag for ch0
Internal relay allocation1 R11 Broken-wire detection flag for ch1
R12 Broken-wire detection flag for ch2
Address 10 Preparation completion flag for ch0 to ch3
Execution/no execution of conversion
Shared memory Address 16
processing setting for ch0 to ch3.
Address 42 Broken-wire detection flag for ch0 to ch7
Key Point:
The broken-wire flags are stored in the shared memory address 42 for each channel.
At the same time, the analog input data becomes 20000.
Note:
• The ranges for the converted values differ depending on the used ranges.
• The number of input contacts and specified slot numbers differ depending on the installation positions
of the units.
8-9
Sample program:
8-10
Chapter 9
Basics of Analog Output
9.1 Writing the Analog Output Data
Basics of the analog output operation
1) Writes data into the relevant output relay area WY using the user program of the CPU unit to obtain
analog output.
Note) The converted analog values differ depending on the range settings.
The specified slot numbers differ depending on the installation position of the units.
2) The digital data written in the analog unit are converted to the analog values within the analog unit
successively.
Program outline
When writing the data in DT100 into the output relay area WY0 for ch0
9-2
9.2 Sample Program
Settings
Setting value for
Item Descriptions
example program
Execution channel of
Ch0 to ch1: Set to execution
analog input conversion Specify H11 for shared memory address 22.
(ch2 to ch3: Set to no execution)
processing
WY0 Digital output data for ch0
I/O allocation
WY1 Digital output data for ch1
DT100 Output data write area for ch0
DT101 Output data write area for ch1
Data register allocation
Execution/no execution of conversion
Address 22
processing setting for ch0 to ch3.
Note:
• Written digital values and output values differ depending on the used ranges.
• The number of input contacts and specified slot numbers differ depending on the installation positions
of the units.
9-3
Sample program:
9-4
Chapter 10
Optional Settings for Analog Output
10.1 Analog Output Hold Setting
Analog output hold function
• When switching from the RUN mode to the PROG. mode, this program holds the analog output.
• Specify the output hold setting in the shared memory area for each channel.
• Any value can be set for the output data.
Note) The converted digital values differ depending on the used ranges.
The specified area number differs depending on the installation position.
Program outline
When setting the shared memory address 17 to “H1”, and holding the output at the final value in the
RUN mode.
Note:
When the analog output hold setting is not performed, the output in the PROG. mode will be the output
(0 V or 0 mA) equivalent to the digital value K0.
10-2
10.2 Sample Program
Settings
Setting value for
Item Descriptions
example program
I/O allocation WY0 Digital output data
DT0 Output data write area for ch0
Data register allocation
DT30 Area specified in output hold setting
Analog output hold setting
Shared memory Address 17 H0: Non-hold
H1: Hold (holds analog output at final value of RUN mode)
Sample program
Key Point:
If “H1” is set for the shared memory address 17, the program holds the analog output value when
switching the RUN mode to PROG. mode.
When the analog output hold setting is not performed, a value equivalent to the digital value K0 (0 V or 0
mA) is output.
Note:
• The written digital values and output values differ depending on the used ranges.
• The number of input contacts and specified slot numbers differ depending on the installation positions
of the units.
10-3
10.2.2 Output Hold (Any Value) Setting (Analog Output Unit)
Program outline
When switching from the RUN mode to the PROG. mode, this program holds the analog output at any
desired value according to the shared memory settings. Then the program writes the data stored in data
registers DT100 to DT102 to the output relay areas WY0 to WY2 of output channels ch0 to ch2.
Settings
Setting value for
Item Descriptions
example program
WY0 Digital output data for ch0
I/O allocation WY1 Digital output data for ch1
WY2 Digital output data for ch2
DT100 Output data write area for ch0
Data register allocation DT101 Output data write area for ch1
DT102 Output data write area for ch2
Analog output hold setting
Address 17 H0: Non-hold
Shared memory H1: Hold (holds analog output at any desired value)
Analog output hold data (any value) setting
Address 18 to 20
Sets output hold digital value in constant number for ch0 to ch2
Key Point:
If “H1” is set for the shared memory address 17, the program holds the analog output value when
switching the RUN mode to PROG. mode.
When the analog output hold setting is not performed, a value equivalent to the digital value K0 (0 V or 0
mA) is output.
Note:
• The written digital values and output values differ depending on the used ranges.
• The number of input contacts and specified slot numbers differ depending on the installation positions
of the units.
10-4
Sample program
10-5
10-6
Chapter 11
Troubleshooting
11.1 Troubleshooting (Analog Input)
11-2
11.2 Troubleshooting (Analog Output)
11-3
Chapter 12
Specifications
12.1 Table of Specifications
General specifications (Common)
Item Description
0 to 55 °C
Use the FP2 analog output unit (FP2-DA4) within the ranges given below.
Output range Ambient operating temperature
When using 4 channels 0 to 45 °C
Ambient temperature Current output range
When using 3 channels 0 to 50 °C
(0 to 20 mA)
When using 1 or 2 channels 0 to 55 °C
Voltage output range
When using 1 to 4 channels 0 to 55 °C
(-10 to +10 V)
Storage temperature -20 to 70 °C
Ambient humidity 30 to 85% RH (at 25 °C non-condensing)
Storage humidity 30 to 85% RH (at 25 °C non-condensing)
500 V AC, 1 minute between all analog input terminals and earth
500 V AC, 1 minute between all analog output terminals and earth
1500 V AC, 1 minute between all analog input terminals and AC external
terminal (excluding earth terminal)
1500 V AC, 1 minute between all analog output terminals and AC external
Breakdown voltage terminal (excluding earth terminal)
200 V AC, 1minute between analog input terminal channels (for FP2-AD8X
only)
-Isolated between insulation voltage range and thermocouple range only.
-When using R.T.D. range, not isolated between all other ranges.
Cutoff current: 10 mA, excluding protective varistor and capacitor
100 MΩ or more between all analog input terminals and earth
100 MΩ or more between all analog output terminals and earth
(measured with a 500 V DC megger testing)
100 MΩ or more between all analog input terminals and AC external
Insulation resistance
terminal (excluding earth terminal)
100 MΩ or more between all analog output terminals and AC external
terminal (excluding earth terminal)
(measured with a 500 V DC megger testing)
10 to 55 Hz, 1 cycle/min, double amplitude of 0.75 mm, 10 min on X, Y and
Vibration resistance
Z directions
2
Shock resistance 98 m/s or more, 4 times on X, Y and Z directions
1500 Vp-p with pulse widths 50 ns and 1 µs (with noise simulator)
Noise immunity
(Applied to the power unit)
Operating conditions Free from corrosive gases and excessive dust
Weight Approx. 160 g (FP2-AD8VI, AD8X, RTD), approx. 160 g (FP2-DA4)
12-2
Analog input specifications (FP2-AD8VI AFP2400L)
Item Description
No. of input points 8 channels/unit
-10 to +10 V (1/65536)
Voltage
Input range 1 to 5 V (1/13107)
(resolution) -20 to +20 mA (1/32768)
Current
4 to 20 mA (1/13107)
Voltage input Note2)
Conversion speed 500 µs/channel (base time 400 µs)
Current input
±1.0% F.S. or less (at 0 to 55 °C)
Note1)
Overall accuracy
Voltage input 1 MΩ or more
Input impedance
Current input 250 Ω
-10 to +10 V range
-15 to +15 V
Absolute maximum 1 to 5V range
input -20 to +20 mA range
-30 to +30 mA
4 to 20 mA range
Between analog input terminal and FP2 internal circuits: Optical coupler
Insulation method insulation, DC/DC converter insulation
Between analog input channels: Not insulated
Can be set in a range of 3 to 64 times/each channel
Digital output Averaging
(moving average excluding max. and min. values)
processing
Offset setting Can be set in a range of K-2048 to +2047/each channel
Input range change All channels: By range setting switch
method Each channel: By shared memory setting
Conversion
execution processing Each channel: By shared memory setting
channels setting
(After FP2 system power has been turned on)
Input range FP2-AD8VI
Input conversion data Voltage input range
Approx. 430 ms
setup time (all channels together)
Current input range
Approx. 430 ms
(all channels together)
Note1) The full scale (F.S.) for each of analog input voltage 1 to 5 V and current 4 to 20 mA is ±10 V and
±20 mA respectively.
Note2) This is the preprocessing time which is necessary for carrying out the A/D conversion.
The time is fixed at 400 µs regardless of the number of channels.
12-3
Analog input specifications (FP2-AD8X AFP2401)
Item Description
No. of input points 8 channels/unit Note5)
-10 to +10 V (1/65536)
Voltage 1 to 5 V (1/13107)
-100 to +100 mV (1/65536)
S: 0 to +1500 °C (0.1 °C)
J: -200 to +750 °C (0.1 °C)
J: -100 to +400 °C (0.1 °C) Note1)
K: -200 to +1200 °C (0.1 °C) Note1)
Thermocouple K: -200 to +1000 °C (0.1 °C)
Input range
K: -100 to +600 °C (0.1 °C) Note1)
(resolution)
T: -200 to +350 °C (0.1 °C)
R: 0 to +1500 °C (0.1 °C)
N: -200 to +1300 °C (0.1 °C) Note1)
Pt100: -200 to +650 °C (0.1 °C)
Pt100: -100 to +200 °C (0.1 °C) Note1)
R.T.D. JPt100: -200 to +650 °C (0.1 °C) Note1)
JPt100: -100 to +200 °C (0.1 °C) Note1)
Pt1000: -100 to +100 °C (0.1 °C)
Voltage input 500 µs/channel (Not isolated), 5 ms/ch (Isolated) Note4)
20 ms/channel Note2) Note4) (22 ms/channel and 300ms/
Thermocouple input
Conversion speed channel can be selected by shared memory 39. Note6)
20 ms/channel Note2) Note4) (22 ms/channel and 300ms/
R.T.D. input
channel can be selected by shared memory 39. Note6)
±0.3% F.S.or less (at 0 to 55 °C),
Overall accuracy ±0.1% F.S.or less (at25 °C) (Voltage range only)Note3)
(Reference junction compensation accuracy: ±1.0°C)
Voltage input Approx. 150 kΩ or more
Input impedance Thermocouple input 1 MΩ or more
R.T.D input Approx. 51kΩ
-10 to +10 V range
-12 to +12 V
Absolute maximum input 1 to 5V range
-100 to +100 mV range -150 to +150 mV
Between analog input terminal and FP2 internal circuits: Optical coupler
Insulation method insulation, DC/DC converter insulation
Between input channels: Optical MOS relay insulation (in channel isolation range)
Can be set in a range of 3 to 64 times/each channel
Averaging
Digital output processing (moving average excluding max. and min. values)
Offset setting Can be set in a range of K-2048 to +2047/each channel
Broken wire detection Only thermocouple range or R.T.D. input range/each channel
All channels: By range setting switch
Input range change method
Each channel: By shared memory setting
Conversion execution
Each channel: By shared memory setting
processing channels setting
Permission resistance of 30 Ω or less (when the ohmic values
R.T.D. input
input wire for 3 wires are the same)
(After FP2 system power has been turned on)
Input range (all channels together) FP2-AD8X
Input conversion data setup Non insulation Voltage input range 500 ms
time Insulation voltage input range 4500 ms
Thermocouple input range 4500 ms
R.T.D. input range 4500 ms
Note1) Can be specified by the shared memory setting only.
Note2) When using the thermocouple or R.T.D. range, sampling is performed 10 times within the
conversion time for 20 ms to average 8 sampling data by excluding the maximum value and
minimum value.
12-4
Note3) The full scale (F.S.) for analog input voltage 1 to 5 V is ±10 V.
The full scale (F.S.) for thermocouple range is –200 to +1000°C.
The total precision for the thermocouple R at 0 to 500 °C is ±0.5% F.S. or less (at 0 to 55 °C).
The full scale (F.S.) for R.T.D is –200 to +650 °C .
Note4) Reference: For the information on conversion cycle time, see <12.3 Analog I/O Conversion
Cycle Time>.
Note5) As there is a case that the measured data is unstable, the conversion execution processing
channels setting should be specified for unused channels.
Reference: <12.2.1 Shared Memory of Analog Input Unit>
Note6) If the commercial frequency noise at 50 Hz has an effect, it is recommendable to use the
conversion speed of 22 ms. If it is used in the environment where any noise at 50Hz or 60hz has
an effect, it is recommendable to use the conversion speed of 300 ms.
12-5
Analog output specifications (FP2-DA4 AFP2410)
Item Description
Note1)
No. of output points 4 channels
Output range Voltage -10 to +10 V (K-2048 to K2047)
(digital input) Current 0 to 20 mA (K0 to K4095)
Resolution 1/4096
Note2)
Conversion speed 500 µs/channel
Overall accuracy Within ±1.0% F.S. or less (at0 to 55 °C)
Output impedance Voltage output 0.5 Ω or less
Maximum output current Voltage output 5 mA
Allowable output load
Current output 300 Ω or less
resistance
Between analog output terminal and FP2 internal circuits: Optical
Insulation method coupler insulation, DC/DC converter insulation
Between analog output channels: Not isolated
Analog output hold Hold/non hold setting by shared memory setting
Note1) For the FP2 analog output unit (FP2-DA4), there are restrictions regarding the ambient
temperature that depend on how many channels are used. Use according to the restrictions
listed in “Ambient temperature” of “section 12.1 General Specifications”.
Note2) For information on the conversion cycle time when using multiple channels
Reference: <12.4 Analog I/O Conversion Cycle Time>
12-6
12.1.1 Table of Input/Output Contact Allocation
Analog input unit
Channel FP2 I/O number
ch0 WX(n): X(n)0 to X(n)F
ch1 WX(n+1): X(n+1)0 to X(n+1)F
ch2 WX(n+2): X(n+2)0 to X(n+2)F
ch3 WX(n+3): X(n+3)0 to X(n+3)F
Analog input
ch4 WX(n+4): X(n+4)0 to X(n+4)F
ch5 WX(n+5): X(n+5)0 to X(n+5)F
ch6 WX(n+6): X(n+6)0 to X(n+6)F
ch7 WX(n+7): X(n+7)0 to X(n+7)F
Note:
• The I/O number shown by an “n” in the table above is determined according to the installed slot
position and the I/O allocation for other units.
• Both input and output are handled by increments of 16 bits per channel.
• Even if the number of used channels is specified low in the setting of the shared memory, the number
of I/O allocation does not change.
12-7
12.2 Table of Shared Memory Area
No execution of conversion
processing setting for analog
17 H1111
input ch4 to ch7
Note1)
Note1) As there is a case that the measured data is unstable, the conversion execution processing
channels setting should be specified for unused channels.
12-8
Initial
Address Name Descriptions
value
Average times setting for Sets the number of times for average processing for
22 K1
analog input ch0 each channel that executes average processing.
Average times setting for (range: 3 to 64 times)
23 K1
analog input ch1
Average times setting for
24 K1
analog input ch2
Average times setting for
25 K1
analog input ch3
Average times setting for K3 to K64 is set: Average processing is performed for
26 K1 specified times.
analog input ch4
Average times setting for K0 to K2 is set: No average processing; general
27 K1 sampling processing.
analog input ch5
Average times setting for Note) When specified average times are changed
28 K1
analog input ch6 during the processing, the data which has been stored
Average times setting for by then will be deleted, and the program will start
29 K1
analog input ch7 storing data from the start.
Offset changing setting for
30 K0
analog input ch0
Offset changing setting for
31 K0
analog input ch1
Offset changing setting for Sets the offset data for each channel that executes
32 K0 offset changing.
analog input ch2
Offset changing setting for (range: -2048 to +2047)
33 K0
analog input ch3
Offset changing setting for
34 K0
analog input ch4
Offset changing setting for
35 K0
analog input ch5
Offset changing setting for
36 K0
analog input ch6
Offset changing setting for
37 K0
analog input ch7
Note:
• Do not perform reading and writing with shared memory addresses other than those listed above.
• The shared memory addresses are all preset when the power is turned from off to on (they return to
the initial values).
12-9
Address Conditions
When the PROG. mode changes to the RUN mode, all preparation completion flags for
all channels turn on as the setting has been done to execute conversion for all
channels. Once the no execution setting has been specified for each channel, the
10 applied bits in address 10 are in preparation.
If setting the range setting switch to “Enable setting by software”, the analog input
preparation completion flag for the address 10 does not turn on as the conversion will
not be performed until completing the range setting.
Writing by user program is not available.
10, 38, 42
Reading is always available.
16, 17, After changing the mode from the PROG to the RUN mode, writing by program is
22 to 37,39 available any number of times.
Writing by user program is available only once after the RUN mode.
18 to 21
Reading is always available.
12-10
Table of input range setting code
FP2-AD8VI (AFP2400L) A: Available N/A: Not available
Measurement Input range
Input Type Isolator DIPSW setting
range setting code
Not isolated
±10 V -10 to +10 V A H01
between channels
Voltage
Not isolated
1 to 5 V 1 to 5 V A H07
between channels
Not isolated
±20 mA -20 to 20 mA A H01
between channels
Current
Not isolated
4 to 20 mA 4 to 20 mA A H07
between channels
12-11
FP2-RTD (AFP2402) A: Available N/A: Not available
Measurement Input range
Input Type Isolator DIPSW setting
range setting code
Not isolated
Pt100 -200 to +650 °C A H12
between channels
Not isolated
Pt100 -100 to +200 °C N/A H22
between channels
Not isolated
R. T. D. JPt100 -200 to +650 °C N/A H32
between channels
Not isolated
JPt100 -100 to +200 °C N/A H42
between channels
Not isolated
Pt1000 -100 to +100 °C A H13
between channels
Note:
If specifying values other than the above setting codes, the conversion does not performed properly. Do
not set to those values.
12-12
Shared Memory of Analog Output Unit
Initial
Address Name Descriptions
value
Sets either the non-hold, hold (final value during
RUN mode), or hold (any value) for the analog
output during the FP2 CPU unit PROG. mode.
H0000
Output hold setting for
17 (non-
analog output ch0 to ch3
hold)
Note:
• Do not perform reading and writing with shared memory addresses other than those listed above.
• The shared memory addresses are all preset when the power is turned from off to on (they return to
the initial values).
Address Conditions
After changing the mode from the PROG to the RUN mode, writing by program is
17 to 22
available any number of times.
12-13
12.3 Analog I/O Conversion Cycle Time
When setting the range for each analog I/O channel, the analog I/O conversion cycle time can be
calculated by the formula below.
Note1) The total time of all channels set for execution of conversion processing.
Note2) When the thermocouple range and the R.T.D. range are mixed, the conversion cycle time for the
voltage range will get longer.
12-14
Chapter 13
Dimensions, Sample Programs and
others
13.1 Dimensions
13-2
13.1.2 Analog Output Unit
FP2-DA4 (AFP2410)
13-3
13.2 Sample Programs
13-4
I/O allocation
I/O number Descriptions
X80 Auto-tuning start
X81 PID control start
X82 Control stop
Y90 Heater on/off
13-5
Sample program
Note:
The ranges for the digital values to be read and the digital values specified for output differ depending on
the used ranges.
The number of I/O contacts and specified slots differ depending on the installation position of units.
Reference:
<Chapter 6 Analog I/O Conversion Characteristics>
<4.2 I/O Allocation and Slot Numbers>
For the details and precaution for PID operation instruction F355, see <FP Series Programming Manual>.
13-6
Record of changes
Manual No. Date Description of changes