FP7 Analog Input Unit User`s Manual

Safety Precautions
Observe the following notices to ensure personal safety or to prevent accidents.
To ensure that you use this product correctly, read this User’s Manual thoroughly before use.
Make sure that you fully understand the product and information on safety.
This manual uses two safety flags to indicate different levels of danger.
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
Introduction
Thank you for buying a Panasonic product. Before you use the product, please carefully read the installation instructions and the users manual, and understand their contents in detail to use the product properly.
Types of Manual
• There are different types of users manual for the FP7 series, as listed below. Please refer to a relevant manual for the unit and purpose of your use.
• The manuals can be downloaded on our website: http://industrial.panasonic.com/ac/e/dl_center/manual/ .
Unit name or purpose of use
FP7 Power Supply Unit
Manual name
FP7 CPU Unit Users Manual (Hardware)
Manual code
WUME-FP7CPUH
FP7 CPU Unit
FP7 CPU Unit Command Reference Manual
FP7 CPU Unit Users Manual
(Logging Trace Function)
Instructions for Built-in LAN
Port
Instructions for Built-in
COM Port
FP7 Extension Cassette
(Communication)
(RS-232C/RS485 type)
FP7 Extension Cassette
(Communication) (Ethernet type)
FP7 Extension (Function)
Cassette
Analog Cassette
FP7 Digital Input/Output Unit
FP7 Analog Input Unit
FP7 Analog Output Unit
FP7 Thermocouple Multianalog Input Unit
FP7 RTD Input Unit
FP7 CPU Unit Users Manual (Security Function)
FP7 CPU Unit Users Manual
(LAN Port Communication)
FP7 series Users Manual (SCU communication)
FP7 series Users Manual (Communication cassette Ethernet type)
FP7 Analog Cassette Users Manual
FP7 Digital Input/Output Unit Users Manual
FP7 Analog Input Unit Users Manual
FP7 Analog Output Unit Users Manual
FP7 Thermocouple Multi-analog Input Unit
FP7 RTD Input Unit
Users Manual
FP7 High-speed counter Unit
FP7 Pulse Output Unit
FP7 High-speed counter Unit Users Manual
FP7 Pulse Output Unit Users Manual
FP7 Positioning Unit FP7 Positioning Unit Users Manual
FP7 Serial Communication Unit FP7 series Users Manual (SCU communication)
PHLS System
Programming Software
FPWIN GR7
PHLS System Users Manual
FPWIN GR7 Introduction Guidance
WUME-FP7CPUPGR
WUME-FP7CPULOG
WUME-FP7CPUSEC
WUME-FP7LAN
WUME-FP7COM
WUME-FP7CCET
WUME-FP7FCA
WUME-FP7DIO
WUME-FP7AIH
WUME-FP7AOH
WUME-FP7TCRTD
WUME-FP7HSC
WUME-FP7PG
WUME-FP7POSP
WUME-FP7COM
WUME-PHLS
WUME-FPWINGR7
Table of Contents
Table of Contents
1. Unit Functions and Restrictions ........................................ 1-1
Unit Functions and Operation ................................................................. 1-2
Basic Operation of Analog Input Processing .......................................... 1-4
Restrictions on Units Combination ......................................................... 1-5
1.3.1 Restriction by Power Consumption ......................................................... 1-5
1.3.2 Applicable Versions of Unit and Software ............................................... 1-5
2. Names and Functions of Parts .......................................... 2-1
3. Wiring ................................................................................... 3-1
Connecting Analog Input ........................................................................ 3-3
3.2.1 Precautions When Connecting Analog Input Signal ............................... 3-3
Trigger Input Terminal TRIG Specifications ........................................... 3-6
4. Unit Settings and data Reading ......................................... 4-1
Confirming the I/O Number Allocations and Starting Word Number ............................ 4-2
ii
Table of Contents
4.1.1 Occupied I/O Area and I/O Allocations ................................................... 4-2
4.1.2 Confirming the I/O Number Allocations ................................................... 4-5
4.2.2 Unit Setting and Conversion Processing Time ....................................... 4-9
Reading Analog Input Data ................................................................... 4-10
5.
Conversion Characteristics of Analog Input Unit ............ 5-1
5.1.1 Voltage Input Range: -10 to +10 V (0.32 mV, 1/62,500) ......................... 5-2
5.1.2 Voltage Input Range: 0 to +10 V (0.32 mV, 1/31,250) ............................ 5-3
5.1.3 Voltage Input Range: 0 to +5 V (0.16 mV, 1/31,250) .............................. 5-3
5.1.4 Voltage input range: 1 to 5 V (0.16 mV, 1/25,000) .................................. 5-4
5.2.1 Current Input Range: 0 to +20 mA (0.64μA, 1/31,250) ........................... 5-5
5.2.2 Current Input Range: +4 to +20 mA (0.64μA, 1/25,000) ......................... 5-5
6.
Optional Settings ................................................................. 6-1
Average Processing Settings .................................................................. 6-2
Comparison for Upper and Lower Limits ................................................ 6-8
Holding Max./Min. Values ..................................................................... 6-11
iii
Table of Contents
Disconnection detection ....................................................................... 6-14
6.7.4 Buffering Triggered by Value Change in Analog Input .......................... 6-22
Configuration by Programming ............................................................. 6-24
7. What to Do If an Error Occurs ............................................ 7-1
What to Do If an Error Occurs (Analog Input) ........................................ 7-2
7.1.1 Failure in Reading Analog Input Data ..................................................... 7-2
7.1.2 Unstable Analog Input Conversion Value ............................................... 7-2
7.1.3 No Proper Conversion Values Obtained with Current Input ................... 7-2
8. Specifications ...................................................................... 8-1
8.1.2 Performance Specifications (AFP7AD4H) .............................................. 8-3
8.1.3 Performance Specifications (AFP7AD8) ................................................. 8-4
List of Detailed Specifications of Unit Memories .................................. 8-10
iv
1
Unit Functions and
Restrictions
Unit Functions and Restrictions
1.1 Unit Functions and Operation
1.1.1 Unit Type
Features of analog input unit
The analog input unit receives various analog values (i.e., voltage, current, and temperature values) from laser analog sensors and pressure sensors and converts them internally into digital values.
• The analog input unit can receive input through a number of channels.
Analog input units: 4 channels (AD4H) / 8 channels (AD8)
Six types of input ranges can be selected to support a variety of connecting equipment.
• The speed of conversion, such as voltage/current range conversion, is as high as 25
μs/channel (non-isolated).
• Converts input analog values into digital data with up to 16 bits in a resolution range of
1/25,000 to 1/62,500.
1-2
1.1 Unit Functions and Operation
Various optional functions
Functions to process loaded analog input data are provided. User programs can be simplified.
Function
Average processing settings
Offset/Gain processing settings
Scale conversion setting
Upper/lower limit value comparison setting
Max./Min. hold setting
Disconnection detection
Buffer function
Description
Averages analog values obtained by sampling and stores them in the I/O area as digital values. It can be selected from No. of averaging times, time average and moving average.
Performs the correction of offset values (addition correct) or gain values
(magnification correction), and stores the data after processing in the I/O area.
This function is to scale-convert values to an easy-to-use data range. Converts values to digital values in the specified range (min. value and max. value), and stores the processed data in the I/O area. This function is convenient if used for unit conversion.
This function compares acquired data with the upper limit and lower limit and turns ON the upper limit relay or lower limit relay if the acquired data exceeds the upper limit value or lower limit value.
This function maintains the maximum and minimum values of acquired data.
Holds the maximum and minimum digital conversion values when the maximum/minimum value hold setting is enabled, and stores the values in provided unit memories for each channel.
Turns ON the disconnection detection flag when input is disconnected or unconnected when selecting the range of 1-5 V 4-20 mA, and warns of the error state.
This function is to store digital conversion values loaded with a desired period.
Any of the changes in user program, external digital input or analog input value can be selected as a trigger.
1.1.2 Unit Type
Name
FP7 Analog I/O Unit
Specifications
Input 4ch
Input 8ch
Voltage input range:
-10 to +10 V, 0 to +5 V, 1 to +5 V, -100 to
+100 mV
Current input range:
0 to +20 mA, 4 to +20 mA
Product no.
AFP7AD4H
AFP7AD8
1-3
Unit Functions and Restrictions
1.2 Basic Operation of Analog Input Processing
Analog input is processed as explained below.
Operation of analog input unit
(1) Receiving analog input
The analog input unit receives analog input data from analog devices, such as laser analog sensors and pressure sensors.
(2) Digital conversion processing
Analog input data received by the unit is converted into digital values in sequence automatically.
(3) Storage of digital values
A user program is used to read converted digital values as data in the input relay area (WX).
Option setting
The following option setting functions are provided for analog input processing. Any of the option setting functions can be set by writing the function to the unit memory (UM) by using the configuration menu of the FPWIN GR7 or a user program.
• Average processing (number of times, time average, and moving average)
• Scale conversion
• Offset/Gain processing
• Holding Max./Min.
• Comparison for upper and lower limits
• Disconnection detection
• Buffering
1-4
1.3 Restrictions on Units Combination
1.3 Restrictions on Units Combination
1.3.1 Restriction by Power Consumption
The unit has the following internal current consumption. Make sure that the total current consumption is within the capacity of the power supply with consideration of all other units used in combination with the analog input unit.
Name
FP7 analog input unit (High-speed and High-accuracy type)
FP7 Analog Input Unit (Generalpurpose type)
Product no.
AFP7AD4H
AFP7AD8
Current consumption
100 mA or less
85 mA or less
1.3.2 Applicable Versions of Unit and Software
For using the above units, the following versions of CPU units and software are required.
Name Product no.
Applicable version
CPU unit FPWINGR7
FP7 Analog Input Unit
(High-speed and Highaccuracy type)
FP7 Analog Input Unit
(General-purpose type)
AFP7AD4H
AFP7AD8
Ver.1.0 or later
Ver.3.1 or later
Ver.1.0 or later
Ver.2.4 or later
1-5
Unit Functions and Restrictions
1-6
2
Names and Functions of
Parts
Names and Functions of Parts
2.1 Analog Input Unit
Names and functions of parts
(1) Operation monitor LEDs
LED name LED color
- Blue
Contents
Lit when the CPU unit is turned ON.
ERROR
ALARM
Red
Red
Lit if the configuration settings are beyond the allowable range or A/D conversion is not possible.
Lit if the hardware has an error.
(2) Terminal block release lever
To remove the analog input terminal block, push the release lever downward.
(3) DIN rail attachment lever
This lever is used to fix the unit to the DIN rail.
(4) Unit Connector
Connects to other I/O units and high-function units.
(5) Analog input terminal block
The terminal block is removable. Remove the terminal block before wiring.
Solderless terminals for M3 can be used.
(8) Fixing hook
Used to secure the unit with another unit.
2-2
3
Wiring
Wiring
3.1 Wiring of Terminal Block
Suitable solderless terminals/wires
M3 terminal screws are used for the terminal. The following suitable solderless terminals are recommended for the wiring to the terminals
• Suitable solderless terminals
Manufacturer
J.S.T. Mfg Co., Ltd.
Shape
Round type
Fork type
Round type
Fork type
• Suitable wires
Suitable wires
AWG22 to 14 (0.3 mm
2
to 2.0 mm
2
)
Part no.
1.25-MS3
1.25-B3A
2-MS3
2-N3A
Tightening torque
0.5 to 0.6N ∙m
Suitable wires
0.25 to 1.65 mm
2
1.04 to 2.63 mm
2
Connection to the terminal block
Remove the terminal block before beginning the wiring operations.
To remove the terminal block, push the release lever located at the top of the terminal block downward.
<Bottom of unit>
Lock button
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-2
3.2 Connecting Analog Input
3.2 Connecting Analog Input
3.2.1 Precautions When Connecting Analog Input Signal
• 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 line from a device other than PLC. Also, do not bundle it with them.
3.2.2 AFP7AD4H
• For the current input, connect the V and I terminals.
• The trigger input terminal is used for using the buffer function with external input signals as trigger signals. It does not need to be connected when this function is not used.
Wiring Diagram and Internal Circuit Diagram (For voltage input)
Input device
+
-
Shield
Vn
In
COMn
PhotoMOS relay
1MΩ
250Ω
TRIGn
24V DC
T-COMn
5.1kΩ
Terminal layout (For voltage input)
For voltage input CH1
For voltage input CH3
24V DC
V1
I
1
COM1
V3
I
3
COM3
TRIG1
TRIG3
T-COM13
V0
I
0
COM0
V2
I
2
COM2
TRIG0
TRIG2
T-COM02
For voltage input CH0
For voltage input CH2
24V DC
910Ω
3-3
Wiring
Wiring Diagram and Internal Circuit Diagram (For current input)
Input device
+
-
Shield
Vn
In
COMn
PhotoMOS relay
1MΩ
250Ω
TRIGn
24V DC 910Ω
T-COMn
5.1kΩ
(Note) For the current input, connect the V and I terminals.
Terminal layout (For current input)
For current input CH1
For current input CH3
V1
I
1
COM1
V3
I
3
COM3
V0
I
0
COM0
V2
I
2
COM2
For current input CH0
For current input CH2
24V DC
TRIG1
TRIG3
T-COM13
TRIG0
TRIG2
T-COM02
24V DC
(Note 1)TRIG0 to TRIG3 of AFP7AD4H indicate input terminal numbers. Note that they do not correspond to the analog inputs "CH0 to CH3".
3-4
3.2 Connecting Analog Input
3.2.3 AFP7AD8
• The voltage input and the current input switched by the configuration setting.
• The trigger input terminal is used for using the buffer function with external input signals as trigger signals. It does not need to be connected when this function is not used.
Wiring Diagram and Internal Circuit Diagram (For voltage input and current input)
Input device
+
-
Vn / In
(*)
Shield
COMn
250Ω
TRIG
2kΩ
24V DC
680Ω
T-COM
(*) The connection of the circuit varies according to the configuration setting.
Terminal layout (For voltage input and current input)
For input CH1
For input CH3
For input CH5
For input CH7
V1 / I1
COM1
V3 / I3
COM3
V5 / I5
COM5
V7 / I7
COM7
T-COM
V0 / I0
COM0
V2 / I2
COM2
V4 / I4
COM4
V6 / I6
COM6
TRIG
For input CH0
For input CH2
For input CH4
For input CH6
24V DC
3-5
Wiring
3.3 Trigger Input Terminal TRIG Specifications
The trigger input terminal is used when the buffer function is used with an external input signal as a trigger signal. This terminal needs not be connected if these functions are not used.
Description
Items
Insulation system
Rated input voltage
Rated input current
Input impedance
Operating voltage range
Min. ON voltage/Min. ON current
Max. OFF voltage/Max. OFF current
Response time OFF→ON
ON→OFF
Input points per common
External connection method
Description
AFP7AD4H
Optical coupler
AFP7AD8
24 V DC
Approx. 4.5 mA (at 24 V)
Approx. 5.1kΩ
21.6 to 26.4 V DC
Approx. 12 mA (at 24 V)
Approx. 2kΩ
19.2 V/3.5 mA
5 V/1.5 mA
0.2 ms or less
0.2 ms or less
0.1 ms or less
0.1 ms or less
2 point/1 common 1 point/1 common
Terminal block connections (M3 terminal screws)
3-6
4
Unit Settings and data
Reading
Unit Settings and data Reading
4.1 Confirming the I/O Number Allocations and Starting Word Number
4.1.1 Occupied I/O Area and I/O Allocations
• Input data is allocated to the external input relay areas (WX).
• To the I/O areas of the thermocouple multi analog input unit and RTD input unit, an area to set optional functions and an area to reset errors are allocated.
Input contact
I/O area
No.
WX0
Name
CH0 Analog conversion data
Default Description
WX1
WX2
WX3
WX4
WX5
WX6
WX7
WX8
WX9
WX10
WX11
WX12
WX13
CH0 Optional function flag
CH1 Analog conversion data
CH1 Optional function flag
CH2 Analog conversion data
CH2 Optional function flag
CH3 Analog conversion data
CH3 Optional function flag
CH4 Analog conversion data
CH4 Optional function flag
CH5 Analog conversion data
CH5 Optional function flag
CH6 Analog conversion data
CH6 Optional function flag
K0
H0
K0
H0
K0
H0
K0
H0
K0
H0
K0
H0
K0
H0
Analgo conversion data area
Digital converted values corresponding to the analog input is stored.
<Voltage range>
-10 to +10 V: -31,250 to +31,250
0 to +10 V or 0 to +5 V: 0 to +31,250
+1 to +5 V: 0 to +25,000
<Current range>
0 to +20 mA: 0 to +31,250
+4 to +20 mA: 0 to +25,000
Optional function flag area
Refer to the table on the next page.
WX14
WX15
CH7 Analog conversion data
CH7 Optional function flag
K0
H0
(Note 1): The I/O numbers in the table indicates offset addresses. The I/O numbers actually allocated are the numbers based on the starting word number allocated to the unit. Example) When the starting word number for the unit is "10", the A/D conversion data of CH0 is WX10 and the error flag is X11F.
(Note 2) It is A/D conversion data within the specified scale range when setting the scale conversion setting.
(Note 3) The digital converted value corresponding to about 2 V of analog input is displayed for channels which are not connected to input when setting the voltage range with AFP7AD8.
4-2
4.1 Confirming the I/O Number Allocations and Starting Word Number
Input contact (Optional functions/Error flag area)
I/O No.
CH0 CH1 CH2 CH3 CH4 CH5 CH6 CH7
Name Description
ON with disconnection detected and OFF with disconnection restored.
(Valid for 1 to 5 V and 4 to 20 mA ranges only)
Turns ON when the value exceeds the set upper limit.
Turns OFF when the value drops below the set lower limit.
X13 X33 X53 X73 X93 X113 X133 X153
Upper/Lower limit comparison execution flag
X14 X34 X54 X74 X94 X114 X134 X154 Not used
Turns ON when the upper limit/lower limit comparison function is executed.
Do not use.
Turns ON when the max./min. hold function is executed.
X16 to
X17
X36 to
X37
X56 to
X57
X76 to
X77
X96 to
X97
X116 to
X117
X136 to
X137
X156 to
X157
Not used Do not use.
X18 - - - - - - -
Buffer function execution flag
On when the buffer function is executed.
X19
X1A
X1B
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Buffering flag
Buffering completion flag
Data before triggering enable flag
ON when buffering starts after the trigger is accepted.
OFF when the number of buffer data items is reached.
ON when the shared memory has become accessible after completion of buffering.
OFF on completion of buffer data reading.
ON when the number of buffer data items before triggering has reached the set value.
OFF on completion of buffer data reading.
X1C to
X1E
X3C to
X3E
X5C to
X5E
X7C to
X7E
X9C to
X9E
X11C to
X11E
X13C to
X13E
X15C to
X15E
Not used
X1F X3F X5F X7F X9F X11F X13F X15F Error flag
Do not use.
Turns ON when an error occurs
(Note 1): The I/O numbers in the table indicates offset addresses. The I/O numbers actually allocated are the numbers based on the starting word number allocated to the unit. Example) When the starting word number for the unit is "10", the error flag is X11F.
(Note 2) The conditions of the buffer function (i.e., the buffer function execution flag, buffering flag, buffering completion flag, and data enable flag before triggering) are allocated to the input contacts for CH0.
4-3
Unit Settings and data Reading
Output contact (Optional functions/Error flag area)
I/O No.
CH0 CH1 CH2 CH3 CH4 CH5 CH6 CH7
Name
Y0 Y10 Y20 Y30 Y40 Y50 Y60 Y70
Disconnection detection execution relay
Y1 Y11 Y21 Y31 Y41 Y51 Y61 Y71
Y2 Y12 Y22 Y32 Y42 Y52 Y62 Y72
Not used
Y3 Y13 Y23 Y33 Y43 Y53 Y63 Y73
Upper/Lower limit comparison execution relay
Y4 Y14 Y24 Y34 Y44 Y54 Y64 Y74 Not used
Y6 Y16 Y26 Y36 Y46 Y56 Y66 Y76 Not used
Y7 Y17 Y27 Y37 Y47 Y57 Y67 Y77 Not used
Y8
Y9
YA
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Buffer execution relay
Buffer trigger relay
Buffer data read completion relay
Description
ON to execute the disconnection detection function.
OFF to turn OFF the disconnection detection flag (Xn0).
(Valid for 1 to 5 V and 4 to 20 mA ranges only)
Do not use.
ON to execute the function to compare the upper and lower limits.
OFF to turn OFF the upper limit comparison relay (Xn1) and lower limit comparison relay (Xn2).
Do not use.
ON to execute the max./min. hold function.
Do not use.
Do not use.
When the buffer function is enabled, trigger acceptance will be permitted with the buffer execution relay turned ON.The internal state transition will be initialized with the buffer execution relay turned
OFF.
If "Trigger relay" is set in trigger setting, triggering will start with the trigger relay turned ON.
ON for one scan upon completion of readign buffer data from the shared memory with a user program. Goes to the state of trigger acceptance permitted after clearing the buffer memory.
YB to
YE
Y1B to
Y1E
Y2B to
Y2E
Y3B to
Y3E
Y4B to
Y4E
Y5B to
Y5E
Y6B to
Y6E
Y7B to
Y7E
Not used Do not use.
Resets an error flag.
(Note 1): The I/O numbers in the table indicates offset addresses. The I/O numbers actually allocated are the numbers based on the starting word number allocated to the unit. Example) When the starting word number for the unit is "10", the disconnection detection execution relay of CH0 is Y100, and the error flag reset relay is
Y10F.
(Note 2) The operation of the buvver function (consisting of the buffer execution relay, buffer trigger relay, and buffer data read completion relay) is specified by the output contacts for CH0.
4-4
4.1 Confirming the I/O Number Allocations and Starting Word Number
4.1.2 Confirming the I/O Number Allocations
• I/O numbers and base word numbers are always necessary when writing programs. Always check to see if the numbers match the design.
• I/O numbers allocated to the analog input unit are determined by the first word number.
Allocations to unit
Take the following procedure to set the first word number.
PROCEDURE
1. Select "Options" > "FP7 Configuration" > "I/O map" in the menu bar.
The "I/O map" dialog box is displayed.
2. Double-click the target slot where the operating unit is to be inserted.
3. Select “Analog I/O” and “Input Unit” in the unit selection field.
The following dialog box shows the case of AFP7AD4H.
4. Press the [OK] button.
The first word number specified is set.
4-5
Unit Settings and data Reading
4.2 Option settings
4.2.1 Configuration of Analog Input unit
Use the FPWIN GR7 configuration menu to make analog input unit settings, such as input range and isolation/non-isolation settings.
Setting method
The following steps are described on the condition that the analog input unit has been already allocated on the I/O map.
PROCEDURE
1. Select “Options” > “FP7 Configuration” > “I/O map” from the menu bar.
The "I/O map" dialog box is displayed.
2. Select the slot where the analog input unit is registered and press the
[Advanced] button.
The “Analog unit settings” dialog box is displayed.
3. Select a setting to be set from the left pain, and set desired items.
The following explanation shows the case of CH0 setting. Displayed items vary depending on the unit types and selected items.
4. Press the [OK] button.
The set value will become effective when the set value is downloaded together with a corresponding program as a project.
4-6
4.2 Option settings
Settings (AFP7AD4H)
Group
Basic setting items
(common to all channels)
Basic setting items
(per channel)
Option setting items
(per channel)
Setting item Settings Default
Isolation between channels Non-isolated/Isolated
Buffer function Not use/Use
Trigger type
Trigger input relay/rise of external input trigger/fall of external input trigger/rising time of analog input level/falling time of analog input level
External input trigger
Input level trigger CH
No. of buffer data items
No. of data items before triggering
Unused/TRIG0/TRIG1/TRIG2/TRIG3 Not used
Unused/CH0/CH1/CH2/CH3 Not used
1 to 10,000 1000
0 to 9,999
Non-isolated
Not use
Trigger input relay
0
Trigger cycle
Analog input trigger level
Conversion processing
Range setting
Average processing settings
Offset/Gain processing
Scale conversion
Comparison settings for upper and lower limits
Max./Min. hold
Disconnection detection settings
Disconnection detection reset
1 to 30,000
-31,250 to +31,250
Execute/Not execute
-10 to +10 V
0 to +10 V
0 to +5 V
+1 to +5 V
0 to +20 mA
+4 to +20 mA
Not execute/No. of averaging times/time average/moving average
Not execute/Execute
Not execute/Execute
Not execute/Execute
Not execute/Execute
Not execute/Execute
Auto/Manual
1
0
Execute
-10 to +10 V
Not execute
Not execute
Not execute
Not execute
Not execute
Not execute
Auto
Averaging constant
Times: 2 to 60,000 [times]
Time (non-isolated): 1 to 1,500 [ms]
Time (isolated): 200 to 60,000 [ms]
Moviing average: 2 to 2,000 [times]
-3,000 to +3,000
+9,000 to +11,000
200
0
+10,000
Offset value
Gain value
Scale conversion max. value
Scale conversion min. value
Upper limit comparison ON level
Upper limit comparison
OFF level
Lower limit comparison ON level
Lower limit comparison
OFF level
-30,000 to +30,000
-30,000 to +30,000
-31,250 to +31,250
-31,250 to +31,250
-31,250 to +31,250
-31,250 to +31,250
10,000
0
0
0
0
0
4-7
Unit Settings and data Reading
Settings (AFP7AD8)
Group
Basic setting items
(common to all channels)
Basic setting items
(per channel)
Option setting items
(per channel)
Setting item Settings
Isolation between channels
Buffer function
Trigger type
Input level trigger CH
Non-isolated only
Not use/Use
Trigger input relay/rise of external input trigger/fall of external input trigger/rising time of analog input level/falling time of analog input level
Unused/CH0/CH1/CH2/CH3/HC4/
CH5/CH6/CH7
1 to 8,000 No. of buffer data items
No. of data items before triggering
Trigger cycle
Analog input trigger level
Conversion processing
Range setting
Average processing settings
0 to 7,999
1 to 30,000
-31,250 to +31,250
Execute/Not execute
-10 to +10 V
0 to +10 V
0 to +5 V
+1 to +5 V
0 to +20 mA
+4 to +20 mA
Not execute/No. of averaging times/time average/moving average
Not execute/Execute
Not execute/Execute
Offset/Gain processing
Scale conversion
Comparison settings for upper and lower limits
Max./Min. hold
Upper limit comparison ON level
Upper limit comparison OFF level
Lower limit comparison ON level
Lower limit comparison OFF level
Not execute/Execute
Not execute/Execute
Disconnection detection settings
Disconnection detection reset
Not execute/Execute
Auto/Manual
Averaging constant
Offset value
Gain value
Times: 2 to 60,000 [times]
Time (non-isolated): 1 to 1,500 [ms]
Time (isolated): 200 to 60,000 [ms]
Moviing average: 2 to 2,000 [times]
-3,000 to +3,000
+9,000 to +11,000
Scale conversion max. value -30,000 to +30,000
Scale conversion min. value -30,000 to +30,000
-31,250 to +31,250
-31,250 to +31,250
-31,250 to +31,250
-31,250 to +31,250
Default
Non-isolated
Not use
Trigger input relay
Not used
1000
0
1
0
Execute
-10 to +10 V
0
0
0
0
+10,000
10,000
0
0
Not execute
Not execute
Not execute
Not execute
Not execute
Not execute
Auto
200
4-8
4.2 Option settings
4.2.2 Unit Setting and Conversion Processing Time
Conversion time varies with the configuration setting conditions.
Isolation setting and conversion processing time
• Isolated: 5 ms/ch • Non-isolated: 25 μs/ch
• The speed of A/D conversion processing will become faster if non-isolation is set. Each channel is isolated by switching the respective photo-MOS relays of the channels at the time of conversion. The photo-MOS relays are always turned ON at the time of non-isolation and the commons will be shared.
• For AFP7AD8, only the non-isolated setting is available.
Conversion processing execution/non-execution setting and conversion processing time
Select the execution or non-execution of the conversion processing of analog input on a channel-by-channel basis. This can save the conversion time for channels that do not execute conversion processing.
Example) Conversion time for four channels
Converted in the order of ch0→ch1→ch2→ch3→ch0→ch1→ch2→ch3→.... (1 cycle = 100 μs at the time of non-isolation)
Example) Conversion time for two channels (with CH2 and CH3 excluded).
Conversion is executed in the order of ch0→ch1→ch0→ch1→ch0→ch1→ch0→ch1→... and the conversion time for CH2 and CH3, which are excluded, is saved. (1 cycle = 50 μs at the time of non-isolation)
4-9
Unit Settings and data Reading
4.3 Reading Analog Input Data
4.3.1 Reading Analog Input Data
Basic Operation of Analog Input Processing
(1) Receiving analog input
The analog input unit receives analog input data from devices, such as laser analog sensors and pressure sensors.
(2) Digital conversion processing
Analog input data received by the unit is converted into digital values in sequence automatically in the unit. The converted digital value varies with the setting of the range.
(3) Storage of digital values
A user program is used to read converted digital values as data in the input relay area (WX).
The specified area number varies depending on the installation position of the unit.
V or I t
Program to Acquire Converted Digital Values
Reading the values in digital conversion value storage areas WX10, WX12, WX14, and WX16 to any areas of data registers ranging from DT100 to DT103.
R0
MV.SS
WX10
CH0 input
DT100
MV.SS
MV.SS
WX12
CH1 input
WX14
CH2 input
DT101
DT102
Transferring the digital data in analog input areas WX10, WX12,
WX14, and WX16 to data registers ranging from DT100 to DT103.
MV.SS
WX16
CH3 input
DT103
4-10
4.4 Data Acquisition Timing
4.4 Data Acquisition Timing
Input conversion processing time of analog input unit
Conversion processing time varies with the range and the number of channels in use. The conversion execution/non-execution channel function can save the conversion time for channels that do not execute conversion processing.
Example of 2-channel conversion
Converted in the order of ch0→ch1→ch0→ch1→....
Data acquisition timing of CPU unit
• Digital values converted by the analog input unit are input into the CPU unit at the I/O refreshing timing of the CPU unit.
• The conversion processing of the analog input unit is not synchronized with the I/O refreshing timing of the CPU unit. Therefore, the latest data is input into the operation memory of the CPU unit when the CPU unit implements I/O refreshing.
• Example of 4-channel conversion b c
Analog signal of ch0 a d e
Converts in the order of ch0→ch1→ch2→ch3
Processing in the analog input part
0 1 2 3 0 1 2 3 0 1 2 3 0 1 2 3 0
I/O refresh
Processing in the CPU unit
Data of ch0 to be read in the CPU unit a b c d
4-11
Unit Settings and data Reading
• Example of 1-channel conversion g c d e f b a
Analog signal of ch0 h i j k l m n o p q r
Processing in the analog input part
Processing in the CPU unit
Data of ch0 to be read in the CPU unit a c e g j l n p
Converts ch0 repeatedly
I/O refresh
4-12
5
Conversion Characteristics of Analog Input Unit
Conversion Characteristics of Analog Input Unit
5.1 Voltage Range
5.1.1 Voltage Input Range: -10 to +10 V (0.32 mV, 1/62,500)
Input range: -10 to +10 V
Analog input value
(V)
Digital conveted value
(K)
+10
+8
+6
+4
+2
0
-2
-4
-6
-8
+31,250
+25,000
+18,750
+12,500
+6,250
0
-6,250
-12,500
-18,750
-25,000
-10 -31,250
When exceeding the rated range
Analog input value
Converted value
+10 V or more
-10V or less
+31,250
-31,250
5-2
5.1 Voltage Range
5.1.2 Voltage Input Range: 0 to +10 V (0.32 mV, 1/31,250)
Input range: 0 to +10 V
Analog input value
(V)
Digital conveted value
(K)
+10
+8
+6
+4
+31,250
+25,000
+18,750
+12,500
+2 +6,250
0 0
When exceeding the rated range
Analog input value
Converted value
+10 V or more
0 V or less
+31,250
0
5.1.3 Voltage Input Range: 0 to +5 V (0.16 mV, 1/31,250)
Input range: 0 to +5 V
Analog input value
(V)
Digital conveted value
(K)
+5
+4
+3
+2
+31,250
+25,000
+18,750
+12,500
+1 +6,250
0 0
When exceeding the rated range
Analog input value
Converted value
+5 V or more
0 V or less
+31,250
0
5-3
Conversion Characteristics of Analog Input Unit
5.1.4 Voltage input range: 1 to 5 V (0.16 mV, 1/25,000)
Input range: 1 to 5 V
Analog input value
(V)
Digital conveted value
(K)
5
4
3
2
25,000
18,750
12,500
6,250
1 0
When exceeding the rated range
Analog input value
Converted value
5 V or more
1 V or less
25,000
0
5-4
5.2 Current Range
5.2 Current Range
5.2.1 Current Input Range: 0 to +20 mA (0.64μA, 1/31,250)
Input range: 0 to +20 mA
Analog input value
(mA)
Digital conveted value
(K)
+20
+16
+12
+8
+4
+31,250
+25,000
+18,750
+12,500
+6,250
0 0
When exceeding the rated range
Analog input value
Converted value
+20 mA or more
0 mA or less
+31,250
0
5.2.2 Current Input Range: +4 to +20 mA (0.64μA, 1/25,000)
Input range: +4 to +20 mA
Analog input value
(mA)
Digital conveted value
(K)
+20
+16
+12
+25,000
+18,750
+12,500
+8 +6,250
+4 0
When exceeding the rated range
Analog input value
Converted value
+20 mA or more
+4 mA or less
+25,000
0
5-5
Conversion Characteristics of Analog Input Unit
5-6
6
Optional Settings
Optional Settings
6.1 Average Processing Settings
6.1.1 Number of Averaging Times
Overview of functions
• Analog input data sampled by the unit is averaged and stored as digital values.
• If the number of averaging times is set, analog input data items acquired will be stored as digital values when the number of analog input data items reaches the set number of averaging times.
• If the number of data items acquired is less than the number of averaging times, the acquired data will be stored in the I/O area.
• Obtain the number of averaging times to be processed from the following input.
Input: The sum of analog input data items for the number of averaging times
Output: Number of averaging times value
Processing during the number of averaging times
Averaging setting example: The number of averaging times is set to 5.
Analog signal a b c d e f g h i j k l m n o p q r
Analog input processing
Average of a to e
Analog input data
Configuration
Name
Function setting
Average processing settings
Averaging constant
Default
Not execute
K200
Average of f to j
Average of k to o
Setting range and description
Select “the number of averaging times.”
Number: 2 to 60,000 [times]
(specified with an unsigned integer)
6-2
6.1 Average Processing Settings
6.1.2 Time Average
Overview of functions
• Analog input data sampled by the unit is averaged and stored as digital values.
• If time average is set, analog input data items acquired will be stored as digital values when the acquisition period of the analog input data items reaches the set averaging time.
• Obtain the time average to be processed from the following input.
Input: The sum of analog input data items for the number of averaging time
Output: Time average value
Processing during time average
Average setting example: Example of an averaging time of 5 ms
Analog signal
A0
A1
A2
Elapse of 5 ms
An
B0
B1 B2
Elapse of 5 ms
Bn
C0 C1 C2
・・・・・ ・・・・・
・・・・・
Analog input processing ・・・・・
・・・・・
Average of
A0 to An
・・・・・
Average of
B0 to Bn
Analog input data
Configuration
Name
Function setting
Default
Average processing settings
Not execute
Averaging constant K200
Setting range and description
Select “time average.”
Time (non-isolated): 1 to 1,500 [ms]
Time (isolated): 200 to 60,000 [ms] (For AD4H only)
(Specified with an unsigned integer)
6-3
Optional Settings
6.1.3 Moving Average
Overview of functions
• Analog input data sampled by the unit is averaged and stored as digital values.
• If moving average is set, analog input data items acquired will be stored as digital values when the number of analog input data items reaches the set number of moving average times.
• Obtain the number of averaging times to be processed from the following input.
Input: The number of average times, analog input data for the number of average times, the latest analog input data, and old analog input data
Output: Moving average value
Processing during moving average
Averaging setting example: The number of averaging times is set to 15. e f p c d g o q b h i n r a j m
Analog signal k l
・・・
Analog input processing
Average of a to o
Average of b to p
Average of c to q
・・・
Analog input data
・・・
Configuration
Name
Function setting
Average processing settings
Averaging constant
Default
Not execute
K200
Setting range and description
Select “moving average.”
2 to 2,000 [times] (specified with an unsigned integer)
6-4
6.2 Offset/Gain processing
6.2 Offset/Gain processing
Overview of Functions
• Offset value (added correction) and gain value (magnification correction) adjustments are made to store processed data in the I/O area.
Analog input data
Offset processing Gain processing
Analog postprocessing data
• Offset value settings are used as a function (zero-point adjustment) to make offset error adjustments between load devices. If the analog conversion value is K50 when the analog input value is 0 V, the analog conversion data is corrected to 0 V based on K-50 as an offset value.
(K) (K)
50
(V)
Offset processing
(V)
• Gain value settings are used as a function to adjust delicate scale errors between load devices. The gain value slope can be changed in a range of x0.9 to x1.1.
(K) (K)
Gain x 1.1
Gain x 0.9
(V)
Gain processing
(V)
• Offset/Gain processing is executed on a channel-by-channel basis.
6-5
Optional Settings
Configuration
Name
Function setting
Offset/Gain processing
Offset value
Gain value
Default
Not execute
K0
K10,000
Setting range and description
Select “Execute.”
Set an offset value at the time of using the offset processing function.
Setting range: -3,000 to +3,000 (specified with a signed integer)
Set an gain value at the time of using the gain processing function.
Setting range: +9,000 to 1+1,000 (0.9x to 1.1x: Specified with a signed integer)
The offset value is corrected to a value corresponding to the resolution of the input range of the original value regardless of whether scale conversion is set or not.
6-6
6.3 Scale Conversion
6.3 Scale Conversion
Overview of functions
• This function is to scale-convert values to an easy-to-use data range. It converts values to digital values in the specified range (min. value and max. value), and stores the processed data in the I/O area. This function is convenient if used for unit conversion.
• Scale conversion is executed on a channel-by-channel basis.
• Conversion values read from the analog input unit include fractions. Therefore, convert the values to easy-to-handle figures if needed.
(K)
25000
(K)
10000
12500
Scale conversion
5000
1 3 5
(V)
1 3 5
(V)
Configuration
Name Default Setting range and description
Function setting
Scale conversion
Minimum value of scale conversion
Maximum value of scale conversion
Not execute
K0
K10,000
Select “Execute.”
Set the minimum value at the time of using the scale conversion function.
Setting range: -30,000 to +30,000 (specified with a signed integer)
Set the maximum value at the time of using the scale conversion function.
Setting range: -30,000 to +30,000 (specified with a signed integer)
* If data outside the minimum or maximum scale is input, scale conversion will be disabled and the minimum or maximum scale value will be stored as a conversion value.
6-7
Optional Settings
6.4 Comparison for Upper and Lower Limits
Overview of Functions
This function compares acquired data with the upper limit and lower limit and turns ON the upper limit relay or lower limit relay if the acquired data exceeds the upper limit value or lower limit value.
• Comparison for upper and lower limits is executed on a channel-by-channel basis.
• The upper limit relay will turn ON if the digital conversion value is larger than the upper limit.
• The lower limit relay will turn ON if the digital conversion value is smaller than the lower limit.
• The function will be disabled with the comparison execution relay (Y) turned ON if the configuration-upper/lower limit comparison setting is not executed.
(K)
Upper limit comparison ON level
(2)
(3)
Upper limit comparison OFF level
Lower limit comparison OFF level
Digital converted value
Lower limit comparison ON level
(4)
(Flag)
Comparison execution relay
(*1)
Upper limit comparison relay
(*1)
Lower limit comparison relay
(*3)
Comparison execution flag
(*4 )
(1) (5)
(t)
(1) The upper/lower limit comparison function will be executed when the user program turns
ON the comparison execution relay.
(2) The upper limit comparison relay will turn ON if the upper limit comparison ON level or an upper level is detected
(3) The upper limit comparison relay will turn OFF if the upper limit comparison OFF level or a lower level is detected.
(4) The lower limit comparison relay will turn ON if the lower limit comparison ON level or a lower level is detected.
(5) The upper/lower limit comparison relay and comparison execution flag will be forcibly turned OFF if the comparison execution relay is turned OFF.
6-8
6.4 Comparison for Upper and Lower Limits
I/O Allocation
The I/O numbers in the timing chart and program are shown on the condition that the first word number of the unit is 10. Actual I/O numbers allocated to the analog input unit are determined by the first word number.
*1 Comparison execution relay
CH0 CH1 CH2 CH3 CH4 CH5 CH6 CH7
Y103 Y113 Y123 Y133 Y143 Y153 Y163 Y173
*2 Upper limit comparison relay X111
*3 Lower limit comparison relay X112
*4 Comparison execution flag X113
X131
X132
X133
X151
X152
X153
X171
X172
X173
X191
X192
X193
X211
X212
X213
X231
X232
X233
X251
X252
X253
Configuration
Name
Function setting
Upper limit /
Lower limit comparison
Default Setting range and description
Not execute
Select the desired function to be used.
Upper/Lower limit comparison
Upper limit comparison ON level
Upper/Lower limit comparison
Upper limit comparison OFF level
Upper/Lower limit comparison
Lower limit comparison OFF level
Upper/Lower limit comparison
Lower limit comparison ON level
K0
K0
K0
K0
Set the upper limit to turn ON the output flag at the time of using the upper/lower limit comparison function.
Setting range: -31,250 to +31,250 (specified with a signed integer)
Set the upper limit to turn OFF the output flag at the time of using the upper/lower limit comparison function.
Setting range: -31,250 to +31,250 (specified with a signed integer)
Set the lower limit to turn OFF the output flag at the time of using the upper/lower limit comparison function.
Setting range: -31,250 to +31,250 (specified with a signed integer)
Set the lower limit to turn ON the output flag at the time of using the upper/lower limit comparison function.
Setting range: -31,250 to +31,250 (specified with a signed integer)
(Note) Make the following level settings for upper/lower limit comparison.
Lower limit comparison ON level ≤ Lower limit comparison OFF level < Upper limit comparison OFF level ≤ Upper limit comparison ON level
6-9
Optional Settings
Sample Program
The digital conversion value on ch0 of the analog input unit is read to detect the upper limit and lower limit, and the desired output is turned ON with the upper or lower limit detected.
R0
(
DF
)
R1
(
DF
)
X113 X111
Comparison execution flag
X113
Upper limit comparison relay
X112
Comparison execution flag
Lower limit comparison relay
Y103
< SET >
(CH0): Upper/Lower limit comparison execution relay
Y103
RST < >
(CH0): Upper/Lower limit comparison execution relay
Y200
(CH0): Controls upper and lower limit comparison function
R0 ON:
Comparison execution
R1 ON:
Turns OFF comparison execution relay.
(CH0): Turns ON Y200 when the value exceeds the upper limit.
Y201
(CH0): Turns ON Y201 when the value drops below the lower limit.
6-10
6.5 Holding Max./Min. Values
6.5 Holding Max./Min. Values
Overview of Functions
This function maintains the maximum and minimum values of acquired data. When the maximum and minimum value hold settings are valid, the maximum and minimum digital conversion values will be maintained and stored in the following unit memories.
• If the function has not been enabled with the configuration settings, the function will not work with the hold execution relay turned ON.
• When the hold execution relay is turned ON, the values at that time will be preset as maximum and minimum values in the unit memories.
• The maximum and minimum values will be stored in the unit memories even if the hold execution relay is turned OFF or the unit is set into PROG. mode.
• The maximum and minimum values are held on a channel-by-channel basis.
(K)
Holds min. value in unit memory
Digital conversion value
Holds max. value in unit memory
(Flag)
Hold execution relay (*1)
Hold execution flag (*2)
Unit memory Refreshes max. value
Refreshes min. value
Refreshes min. value
(t)
6-11
Optional Settings
Hold data storage area
Unit memory number
(Hex)
Name
UM 00180
UM 00181
UM 00182
UM 00183
UM 00184
UM 00185
UM 00186
UM 00187
Default Setting range and description
Holding max. value K0
The acquired maximum value will be held when the maximum and minimum value holding function is used.
Setting range: -31,250 to 31,250 (specified with a signed integer)
UM 00188
UM 00189
UM 0018A
UM 0018B
UM 0018C
UM 0018D
UM 0018E
UM 0018F
Holding min. value K0
The acquired minimum value will be held when the maximum and minimum value holding function is used.
Setting range: -31,250 to 31,250 (specified with a signed integer)
(Note) The unit memory numbers in the above table are listed for CH0 to CH7 in numerical order.
I/O allocation
The I/O numbers in the timing chart and program are shown on the condition that the first word number of the unit is 10. Actual I/O numbers allocated to the analog input unit are determined by the first word number.
*1 Hold execution relay
*2 Hold execution flag
CH0 CH1 CH2 CH3 CH4 CH5 CH6 CH7
Y105 Y115 Y125 Y135 Y145 Y155 Y165 Y175
X115 X135 X155 X175 X195 X215 X235 X255
Configuration
Name
Function setting
Holding max./min. values
Holding min. value
Holding max. value
Default
Not execute
K0
K0
Setting range and description
Select “Execute.”
Holding min. value (-31,250 to +31,250)
Holding max. value (-31,250 to +31,250)
6-12
6.5 Holding Max./Min. Values
Sample Program
The analog data on ch0 of the analog input unit is read, and the data holding the maximum and minimum values will be read at the desired data register.
R0
R1
(
DF
)
(
DF
)
X115
Max./Min. value hold execution flag
MV.SS
S1: UM00180
Unit memory specified for slot 1
<
Y105
SET >
Max./Min. value hold execution relay
<
Y105
RST >
Max./Min. value hold execution relay
DT0
(CH0): Controls upper and lower limit comparison function.
ON: Execute
OFF: Don't execute
(CH0): Copies max. value to DT0
MV.SS
S1: UM00188
Unit memory specified for slot 1
DT1
(CH0): Copies min. value to DT1
6-13
Optional Settings
6.6 Disconnection detection
Overview of Functions
This function is to announce an error with the disconnection detection flag if the input is below a certain value in either range, +1 to +5V of voltage input or +4 to +20 mA of current input.
Voltage input range of +1 to +5 V set: 0.7 V or less; Current input range of +4 to +20 mA set:
2.8 mA max.
• If the input exceeds the above value while the disconnection detection execution relay is turned ON, the disconnection detection flag will be turned OFF automatically, provided that the auto setting has been made.
• If the manual reset setting is made, the disconnection detection flag will be turned OFF by using a user program and turning OFF the disconnection detection execution relay.
• If the configuration-disconnection detection setting has not been made, the function will be disabled with the disconnection detection execution relay turned ON.
Action with the detection disconnection reset setting set to auto
(V)
Analog input value
Disconnection threshold
0.7 V or 2.8 mA
(Flag) detection execution relay
(*1)
Disconnection detection flag
(*2)
(t)
Action with the detection disconnection reset setting set to manual
(V)
Analog input value
While in manual mode, the disconnection detection flag (X) will not automatically turn OFF when the voltage is recovered.
Disconnection threshold
0.7 V or 2.8 mA
Disconnection detection execution relay
(*1)
Disconnection detection flag
(*2)
The disconnection detection flag (X) is turned OFF with the disconnection detection execution relay turned OFF.
(t)
6-14
6.6 Disconnection detection
I/O allocation
The I/O numbers in the timing chart and program are shown on the condition that the first word number of the unit is 10. Actual I/O numbers allocated to the analog input unit are determined by the first word number.
*1 Disconnection detection execution relay
*2 Disconnection detection flag
CH0 CH1 CH2 CH3 CH4 CH5 CH6 CH7
Y100 Y110 Y120 Y130 Y140 Y150 Y160 Y170
X110 X130 X150 X170 X190 X210 X230 X250
Configuration
Name
Function setting
Disconnection detection
Disconnection detection reset
Sample Program
Default
Not execute
Auto
Setting range and description
Select “Execute.”
Select “Auto.”
R0
R1
(
DF
)
(
DF
)
Y100
< SET >
Disconnection detection execution relay
<
Y100
RST >
(CH0): Controls disconnection detection execution function.
ON: Execute
OFF: Turns OFF disconnection detection flag.
X110
Disconnection detection flag
Y200
(CH0): Turns Y200 ON at the time of disconnection detection.
Not executed unless a voltage input range of +1 to +5 V or current input range of +4 to +20 mA is set.
6-15
Optional Settings
6.7 Buffer Settings
6.7.1 Overview of Buffer Function
This function stores digital conversion values acquired at a preset cycle into a unit memory. If a trigger is input while the buffer function is executed (with the buffer execution relay turned
ON), digital conversion values for a specified number of data items will be stored in the buffer memory (unit memory) at a specified cycle.
Buffer function configuration
Specify execution conditions (trigger settings, the number of buffer data items, and cycle)
Buffer function ON
Starts execution
Starts the buffering of pre-trigger digital conversion values at the specified cycle
Trigger ON
Starts the buffering of digital conversion values at the specified cycle
Buffering
Buffering completion
Buffer data read
Reads buffer data from the CPU unit
Executes buffering Buffer trigger Completion of acquisition
Digital conversion value
Analog input processing
・・・・・
・・・・・
Pre-trigger data buffering Post-trigger data buffering
Aligns and stores the contents in the shared memory on completion of acquisition
CH0 CH1 CH2 CH3
Buffer
(Unit memory)
CH0 buffer areas UM 00800 to UM 02F0F
(10,000 words)
CH1 buffer areas UM 03000 to UM 0570F
(10,000 words)
CH2 buffer areas UM 05800 to UM 07F0F
(10,000 words)
CH3 buffer areas UM 08000 to UM 0A70F
(10,000 words)
• If the configuration-disconnection detection setting has not been set to “not execute”, the function will be disabled even if the buffer execution relay is turned ON.
6-16
6.7 Buffer Settings
Configuration
Name
Buffer function
Execution/Nonexecution settings
Trigger setting
Default Setting range and description
Not use
H0
Select "Use" for the buffer function.
No. of buffer data items
No. of data items before triggering
Trigger cycle
Input level trigger
K1000
K0
K1
K0
Select a trigger signal to start buffering when the buffer function is used.
Set the number of data items (words) to be stored in the buffer.
Setting range: +1 to +10,000 (AFP7AD4H), +1 to +8,000 (AFP7AD8)
* The number of buffer data items is the total sum of data items including the number of data items before triggering
Set the number of data items (words) before triggering.
Setting range: +1 to +9,999 (AFP7AD4H), +1 to +7,999 (AFP7AD8)
* Set the number of data items before triggering to a value smaller than the number of buffer data items.
Set the cycle enabling trigger input. The trigger period is obtained from the following formula. For AFP7AD8, only the non-isolated setting is available.
At the time of isolation: Set value (1 to 3000) x Enabled number of channels x
5 [ms]
At the time of non-isolation: Set value (1 to 3000) x Enabled number of channels x 0.025 [ms]
If “Input level” is selected for the trigger type, set an input level to enable triggering.
Setting range: -31,250 to +31,250
Sample program
Select the trigger input relay for the trigger setting, set the trigger cycle to 1, the number of data items before triggering to 1,000, and the number of buffer data items to 10,000. After completion of buffering, acquire analog data in the desired data area.
R0
(
DF
)
Buffer function execution condition
R1
(
DF
Buffer trigger condition
X11A
(
Buffer completion flag
DF
)
)
MV.UL
BKMV.SS S1:UM00800
U9999
<
Y108
SET
Buffer execution relay
Y109
>
Buffer trigger relay
S1:I0UM00800
I0
DT0
Reads 10,000 words from buffer storage area UM00800 of the unit memory for slot 1 and stores the words beginning with DT0.
X11A
(
Buffer completion flag
DF
)
Y10A
Read completion relay
Resets the buffer function.
6-17
Optional Settings
6.7.2 Buffering by Trigger Output Relay
Buffering by trigger output relay (YXXX)
The following sequence shows the operation of starting buffer processing with the trigger relay
(YXXX) turned ON by a user program.
(K)
Digital converted value CH0 to CH3
(Flag/Data)
Buffer execution relay
(*1)
(1)
Starts buffering at specified cycle.
Buffer
(Unit memory)
Pre-trigger buffering Buffering
(4)
(6)
Pre-trigger
Trigger relay
(*2)
Pre-trigger data enabled (*3)
Buffering flag
(*4)
Buffering completion flag
(*5)
Read completion relay (*6)
(2)
(3)(
3)
(5)
Buffer read
(t)
(1) Pre-trigger buffering will start when the user program turns ON the buffer execution relay.
(2) The pre-trigger data enabled flag is turned ON when the number of pre-trigger data items is reached.
(3) Buffering starts with the trigger relay turned ON. The user program turns ON the trigger relay. Buffering will continue until the set number of buffer data items is reached after the trigger relay is turned ON.
(4) Buffering is completed with the number of buffer data items obtained.
(5) The user program reads the buffering data and turns ON the read completion relay.
(6) The unit waits for the next trigger and repeat the sequence from pre-trigger buffering.
6-18
6.7 Buffer Settings
I/O Allocation
The I/O numbers in the timing chart and program are shown on the condition that the first word number of the unit is 10. Actual I/O numbers allocated to the analog input unit are determined by the first word number. The buffer function is allocated to I/O on CH0. CH1 to
CH7 all operate simultaneously with the I/O on CH0.
*1 Buffer execution relay
*2 Trigger relay
*3 Pre-trigger data enabled
*4 Buffering flag
*5 Buffering completion flag
*6 Read completion relay
CH0 to CH7
Y108
Y109
X11B
X119
X11A
Y10A
•
Trigger input will be prohibited with the buffer execution relay turned ON after trigger input. Input, if any, will be ignored.
•
It is possible to start buffering with the trigger input even if the number of pre-trigger data items has not reached a specified number. (The area where pre-trigger data is not acquired is 0).
6-19
Optional Settings
6.7.3 Buffering by External Input Trigger
Using external input as trigger
The following sequence shows the operation of buffer processing with input into the external trigger input terminal of the unit.
(K)
Digital converted value CH0 to CH3
(Flag/Data)
Buffer execution relay
(*1)
(1)
Buffer
(Unit memory)
Starts buffering at specified cycle.
Pre-trigger buffering Buffering
(4)
(6)
Pre-trigger
(3)
TRIG0
Pre-trigger data enabled (*2)
(2)
Buffering flag
(*3)
Buffering completion flag
(*4)
Read completion relay (*5)
(5)
Buffer read
(t)
(1) Pre-trigger buffering will start when the user program turns ON the buffer execution relay.
(2) The pre-trigger data enabled flag is turned ON when the number of pre-trigger data items is reached.
(3) Starts buffering with the rising of TRIG0. Buffering will continue until the preset number of buffer data items is reached from the rising of TRIG0.
(4) Buffering is completed with the number of buffer data items obtained.
(5) The user program reads the buffering data and turns ON the read completion relay.
(6) The unit waits for the next trigger and repeat the sequence from pre-trigger buffering.
6-20
6.7 Buffer Settings
I/O Allocation
The I/O numbers in the timing chart and program are shown on the condition that the first word number of the unit is 10. Actual I/O numbers allocated to the analog input unit are determined by the first word number. The buffer function is allocated to I/O on CH0. CH1 to
CH7 all operate simultaneously with the I/O on CH0.
*1 Buffer execution relay
*2 Pre-trigger data enabled
*3 Buffering flag
*4 Buffering completion flag
*5 Read completion relay
CH0 to CH3
Y108
X11B
X119
X11A
Y10A
•
Trigger input will be prohibited with the buffer execution relay turned ON after trigger input. Input, if any, will be ignored.
•
It is possible to start buffering with the trigger input even if the number of pre-trigger data items has not reached a specified number. (The area where pre-trigger data is not acquired is 0).
•
TRIG0 to TRIG3 for external input trigger selection show input terminal numbers. Keep in mind that none of them supports CH0 to CH3.
•
The buffer function will not be executed if “Not use” is selected with the external input trigger even if “External input trigger” is selected as “Trigger type” in the configuration menu of the FPWIN GR7.
6-21
Optional Settings
6.7.4 Buffering Triggered by Value Change in Analog Input
Buffering by change in trigger input
The following sequence shows the operation of starting buffer processing with the detection of a rise or fall of the digital converted value on a specified analog input channel. The example below shows a case where the level of analog input CH0 rises.
(K)
Digital converted value CH0 to CH3
Analog input trigger level (3)
Digital converted value CH0
(Flag/Data)
Buffer execution relay (*1)
Buffer
(Unit memory)
(1)
Starts buffering at specified cycle.
Pre-trigger buffering Buffering
(4) (6)
Pre-trigger
Pre-trigger data enabled (*2)
Buffering flag (*3)
Buffering completion flag
(*4)
Read completion relay (*5)
(2)
(5)
Buffer read
(t)
(1) Pre-trigger buffering will start when the user program turns ON the buffer execution relay.
(2) The pre-trigger data enabled flag is turned ON when the number of pre-trigger data items is reached.
(3) Buffering will start because the preset digital conversion value on CH0 has risen above the trigger level. Buffering will continue until the set number of buffer data items is reached after the rise of the trigger level.
(4) Buffering is completed with the number of buffer data items obtained.
(5) The user program reads the buffering data and turns ON the read completion relay.
(6) The unit waits for the next trigger and repeat the sequence from pre-trigger buffering.
6-22
6.7 Buffer Settings
I/O allocation
The I/O numbers in the timing chart and program are shown on the condition that the first word number of the unit is 10. Actual I/O numbers allocated to the analog input unit are determined by the first word number. The buffer function is allocated to I/O on CH0. CH1 to
CH7 all operate simultaneously with the I/O on CH0.
*1 Buffer execution relay
*2 Pre-trigger data enabled
*3 Buffering flag
*4 Buffering completion flag
*5 Read completion relay
CH0 to CH7
Y108
X11B
X119
X11A
Y10A
•
Trigger input will be prohibited with the buffer execution relay turned ON after trigger input. Input, if any, will be ignored.
•
If analog input is selected, buffering will start at the rise (or fall) timing of the digital conversion value on the corresponding channel from a specified value. If the value exceeds a threshold value from the beginning, buffering will start at the moment the value exceeds the threshold value again after the value once falls below (or rises above) the set value.
•
Keep in mind that the analog input trigger will generate timing that disables trigger detection depending on the buffer cycle setting.
•
It is possible to start buffering with the trigger input even if the number of pre-trigger data items has not reached a specified number. (The area where pre-trigger data is not acquired is 0).
•
The buffer function will not be executed if “Not use” is selected for the selection of an external input trigger or the selection of input level trigger channel.
•
The buffer function will not be executed if “Not use” is selected for the input trigger channel even if “Analog input level” is selected as “Trigger type” in the configuration menu of the FPWIN GR7.
6-23
Optional Settings
6.8 Configuration by Programming
Overview of functions
• The FP7 analog input unit makes it possible to overwrite configuration information by programming.
• The configuration information is refreshed by writing “55AA” to unit memory UM 00028 after the value is stored in the unit memory where a desired parameter is set.
• The value of unit memory UM 00028 will be set to 0 when the configuration information is refreshed.
Sample program
Between channels: Isolated; Input range: 4 to 20 mA with CH0 and CH1 set as execution channels and CH2 and CH3 set as non-execution channels.
R0
(
DF
)
MV.US
MV.US
H0001
Unit memory
S1:UM00081 specified for slot 1
H0020 S1:UM00091
MV.US
MV.US
MV.US
MV.US
H0020
H0000
S1:UM000A1
S1:UM000B0
H0000 S1:UM000C0
H55AA S1:UM00028
R1 R0
(
DF
)
R1
R1
R2
S1:UM00028 =.US
H0
R2
R2
(
DF
)
R3
<
R3
SET >
MV.SS
MV.SS
WX10
WX11
DT100
DT101
Between channels:
Isolated
Input range: Set CH0 to
CH1 to +4 to +20 mA
Setting CH2 and CH3 to non-execute
Setting update
Setting updating in progress
Setting updated
Reading analog input data
6-24
7
What to Do If an Error Occurs
What to Do If an Error Occurs
7.1 What to Do If an Error Occurs (Analog Input)
7.1.1 Failure in Reading Analog Input Data
• Check again that I/O allocations are correct.
• Check again the connections of the terminal block.
• Check again the configuration settings.
7.1.2 Unstable Analog Input Conversion Value
• Used a twisted pair shield wire and check that the wire is properly shielded.
• Check that the analog input wiring is not placed close to AC lines or high-tension lines or bundled with the lines.
• Check that there are no power lines, high-tension lines, high-capacity relays, or noisegenerating equipment, such as inverters, close to the analog input unit.
• Check that the voltage or current for the range setting is set correctly.
7.1.3 No Proper Conversion Values Obtained with Current Input
• Check again the connections of the terminal block.
• Check again the connections of the output equipment.
• Check that the range setting is the current mode.
7-2
8
Specifications
Specifications
8.1 Specifications
8.1.1 General Specifications
Items
Operating ambient temperature
0°C to 55°C
Description
Storage ambient temperature
Operating ambient humidity
Storage ambient humidity
-40°C to 70°C
10% to 95% (RH) with no condensation (at 25°C)
10% to 95% (RH) with no condensation (at 25°C)
Breakdown voltage (Note)
Insulation resistance
Between I/O terminals and power supply terminals of CPU unit/function earth
Between analog input terminal channels
Between I/O terminals and power supply terminals of CPU unit/function earth
500 V AC for 1 minute
200 V AC for 1 minute
100 MΩ
(Test voltage: 500 V
DC)
Vibration resistance
Shock resistance
Noise resistance
Conforming to JIS B 3502 and IEC 61131-2
5 to 8.4 Hz, 3.5-mm-wide single amplitude
8.4 to 150 Hz, acceleration 9.8 m/s
2
10-time sweeping in X, Y, and Z directions (1 octave/min.)
Conforming to JIS B 3502 and IEC 61131-2
147 m/s
2
or more., 3 times each in X, Y, and Z directions
1,000 V DC (p-p) with pulse width of 50 ns/1 μs
(by using a noise simulator) (Applied to the power supply of the CPU unit)
Free from corrosive gases and excessive dust. Environment
EU Directive applicable standard
Overvoltage category
Pollution degree
EMC Directive: EN61131-2
Category II or lower
Pollution degree 2 or lower
(Note) Cutoff current: 5 mA (Factory default setting)
8-2
8.1 Specifications
8.1.2 Performance Specifications (AFP7AD4H)
Items
No. of input points
Input range
(resolution)
Voltage
Current
Description
4 channels
-10 to +10 V DC (Resolution: 1/62,500)
0 to +10 V DC (Resolution: 1/31,250)
0 to +5 V DC (Resolution: 1/31,250)
+1 to +5 V DC (Resolution: 1/25,000) (see note 3)
0 to +20 mA (Resolution: 1/31,250)
+4 to +20 mA (Resolution: 1/25,000) (see note 3)
25 μs/Ch (non-isolation); 5 ms/Ch (isolation) Conversion speed
Total accuracy ±0.05% F.S. max. (at +25°C) and ±0.1% F.S. max. (at 0°C to +55°C)
Input impedance
Absolute max. input
Insulation system
Voltage input: Approximately 1MΩ; current input: Approximately 250Ω
Voltage input: -15 to +15 V; current input: -30 to +30 mA
Between input terminals and internal circuit: Photocoupler and isolated
DC/DC converter
Between channels: Photo-MOS relay
Execution/Non-execution channel settings
Possible to make non-converted channel settings.
Input range selection
Number of averaging times
Average processing settings
Time average
Possible to make settings on a channel-by-channel basis
Setting range of 2 to 60,000 times
Time setting range of 1 to 1,500 ms (non-isolated) and 200 to 60,000 ms
(isolated)
Moving average Setting range of 2 to 2,000 times
Offset/Gain processing
Scale conversion settings
A desired value within the digital output range can be set for the offset value.
Setting range: -3,000 to +3,000
A desired value within the digital output range can be set for the offset value.
Setting range: 9,000 to +11,000 (90% to 110%)
A desired value within the digital input range can be set for the offset value.
Setting range: -30,000 to +30,000
Comparison settings for upper and lower limits
Holding max./min. values
Output if the value is outside the preset upper and lower limits
Holding max./min. values sampled
Disconnection detection
Buffer function
Disconnection detection is possible at the time of setting ranges of +1 to +5 V and +4 to +20 mA Possible to select auto or manual resetting.
The buffering of up to 10,000 words is possible on each channel. Sampling is performed with a change in desired input, external input, or analog input as a trigger.
(Note 1) Set any of the following functions in the configuration menu of the tool software or a user program: Input range, selection of isolation and non-isolation, conversion execution/non-execution channel, averaging processing, offset/gain, scaling processing, upper/lower limit comparison, holding max./min. value, disconnection detection, and buffer.
(Note 2) If not all channels are used, the conversion speed can be saved by setting non-execution channels with the function of setting the conversion execution/non-execution channels used.
(Note 3) The full scale (F.S.) on the accuracy of an analog voltage input range from +1 to +5 V and that of an analog current input range from +4 to +20 mA are 0 to +5 V and 0 to +20 mA, respectively.
8-3
Specifications
8.1.3 Performance Specifications (AFP7AD8)
Items
No. of input points
Input range
(resolution)
Voltage
Current
Description
8 channels
-10 to +10 V DC (Resolution: 1/62,500)
0 to +10 V DC (Resolution: 1/31,250)
0 to +5 V DC (Resolution: 1/31,250)
+1 to +5 V DC (Resolution: 1/25,000) (see note 3)
0 to +20 mA (Resolution: 1/31,250)
+4 to +20 mA (Resolution: 1/25,000) (see note 3)
25 μs/Ch Conversion speed
Total accuracy ±0.1% F.S. max. (at +25°C) and ±0.3% F.S. max. (at 0°C to +55°C)
Input impedance
Absolute max. input
Insulation system
Voltage input: Approximately 1MΩ; current input: Approximately 250Ω
Voltage input: -15 to +15 V; current input: -30 to +30 mA
Between input terminals and internal circuit: Photocoupler and isolated
DC/DC converter
Between channels: Photo-MOS relay
Execution/Non-execution channel settings
Input range selection
Average processing settings
Possible to make non-converted channel settings.
Possible to make settings on a channel-by-channel basis
Number of averaging times
Setting range of 2 to 60,000 times
Time average Time setting range of 1 to 1,500 ms
Moving average Setting range of 2 to 2,000 times
Offset/Gain processing
Scale conversion settings
A desired value within the digital output range can be set for the offset value.
Setting range: -3,000 to +3,000
A desired value within the digital output range can be set for the offset value.
Setting range: 9,000 to +11,000 (90% to 110%)
A desired value within the digital input range can be set for the offset value.
Setting range: -30,000 to +30,000
Comparison settings for upper and lower limits
Holding max./min. values
Disconnection detection
Buffer function
Output if the value is outside the preset upper and lower limits
Holding max./min. values sampled
Disconnection detection is possible at the time of setting ranges of +1 to +5 V and +4 to +20 mA Possible to select auto or manual resetting.
The buffering of up to 8,000 words is possible on each channel. Sampling is performed with a change in desired input, external input, or analog input as a trigger.
(Note 1) Set any of the following functions in the configuration menu of the tool software or a user program: Input range, selection of isolation and non-isolation, conversion execution/non-execution channel, averaging processing, offset/gain, scaling processing, upper/lower limit comparison, holding max./min. value, disconnection detection, and buffer.
(Note 2) If not all channels are used, the conversion speed can be saved by setting non-execution channels with the function of setting the conversion execution/non-execution channels used.
(Note 3) The full scale (F.S.) on the accuracy of an analog voltage input range from +1 to +5 V and that of an analog current input range from +4 to +20 mA are 0 to +5 V and 0 to +20 mA, respectively.
8-4
8.2 I/O Allocation
8.2 I/O Allocation
Input contact
I/O area
No.
WX0
WX1
WX2
WX3
WX4
WX5
WX6
WX7
WX8
WX9
WX10
Name
CH0 Analog conversion data
CH0 Optional function flag
CH1 Analog conversion data
CH1 Optional function flag
CH2 Analog conversion data
CH2 Optional function flag
CH3 Analog conversion data
CH3 Optional function flag
CH4 Analog conversion data
CH4 Optional function flag
CH5 Analog conversion data
CH5 Optional function flag
CH6 Analog conversion data
CH6 Optional function flag
CH7 Analog conversion data
Default
K0
H0
K0
H0
K0
H0
K0
H0
K0
H0
K0
H0
K0
H0
K0
Description
Analgo conversion data area
Digital converted values corresponding to the analog input is stored.
<Voltage range>
-10 to +10 V: -31,250 to +31,250
0 to +10 V or 0 to +5 V: 0 to +31,250
+1 to +5 V: 0 to +25,000
<Current range>
0 to +20 mA: 0 to +31,250
+4 to +20 mA: 0 to +25,000
Optional function flag area
Refer to the table on the next page.
WX11
WX12
WX13
WX14
WX15 CH7 Optional function flag H0
(Note 1): The I/O numbers in the table indicates offset addresses. The I/O numbers actually allocated are the numbers based on the starting word number allocated to the unit. Example) When the starting word number for the unit is "10", the A/D conversion data of CH0 is WX10 and the error flag is X11F.
(Note 2) It is A/D conversion data within the specified scale range when setting the scale conversion setting.
(Note 3) The digital converted value corresponding to about 2 V of analog input is displayed for channels which are not connected to input when setting the voltage range with AFP7AD8.
8-5
Specifications
Input contact (Optional functions/Error flag area)
I/O No.
CH0 CH1 CH2 CH3 CH4 CH5 CH6 CH7
Name Description
ON with disconnection detected and OFF with disconnection restored.
(Valid for 1 to 5 V and 4 to 20 mA ranges only)
Turns ON when the value exceeds the set upper limit.
Turns OFF when the value drops below the set lower limit.
X13 X33 X53 X73 X93 X113 X133 X153
Upper/Lower limit comparison execution flag
X14 X34 X54 X74 X94 X114 X134 X154 Not used
Turns ON when the upper limit/lower limit comparison function is executed.
Do not use.
Turns ON when the max./min. hold function is executed.
X16 to
X17
X36 to
X37
X56 to
X57
X76 to
X77
X96 to
X97
X116 to
X117
X136 to
X137
X156 to
X157
Not used Do not use.
X18 - - - - - - -
Buffer function execution flag
On when the buffer function is executed.
X19
X1A
X1B
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Buffering flag
Buffering completion flag
Data before triggering enable flag
ON when buffering starts after the trigger is accepted.
OFF when the number of buffer data items is reached.
ON when the shared memory has become accessible after completion of buffering.
OFF on completion of buffer data reading.
ON when the number of buffer data items before triggering has reached the set value.
OFF on completion of buffer data reading.
X1C to
X1E
X3C to
X3E
X5C to
X5E
X7C to
X7E
X9C to
X9E
X11C to
X11E
X13C to
X13E
X15C to
X15E
Not used
X1F X3F X5F X7F X9F X11F X13F X15F Error flag
Do not use.
Turns ON when an error occurs
(Note 1): The I/O numbers in the table indicates offset addresses. The I/O numbers actually allocated are the numbers based on the starting word number allocated to the unit. Example) When the starting word number for the unit is "10", the error flag is X11F.
(Note 2) The conditions of the buffer function (i.e., the buffer function execution flag, buffering flag, buffering completion flag, and data enable flag before triggering) are allocated to the input contacts for CH0.
8-6
8.2 I/O Allocation
Output contact (Optional functions/Error flag area)
I/O No.
CH0 CH1 CH2 CH3 CH4 CH5 CH6 CH7
Name
Y0 Y10 Y20 Y30 Y40 Y50 Y60 Y70
Disconnection detection execution relay
Y1 Y11 Y21 Y31 Y41 Y51 Y61 Y71
Y2 Y12 Y22 Y32 Y42 Y52 Y62 Y72
Not used
Y3 Y13 Y23 Y33 Y43 Y53 Y63 Y73
Upper/Lower limit comparison execution relay
Y4 Y14 Y24 Y34 Y44 Y54 Y64 Y74 Not used
Y6 Y16 Y26 Y36 Y46 Y56 Y66 Y76 Not used
Y7 Y17 Y27 Y37 Y47 Y57 Y67 Y77 Not used
Y8
Y9
YA
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Buffer execution relay
Buffer trigger relay
Buffer data read completion relay
Description
ON to execute the disconnection detection function.
OFF to turn OFF the disconnection detection flag (Xn0).
(Valid for 1 to 5 V and 4 to 20 mA ranges only)
Do not use.
ON to execute the function to compare the upper and lower limits.
OFF to turn OFF the upper limit comparison relay (Xn1) and lower limit comparison relay (Xn2).
Do not use.
ON to execute the max./min. hold function.
Do not use.
Do not use.
When the buffer function is enabled, trigger acceptance will be permitted with the buffer execution relay turned ON.The internal state transition will be initialized with the buffer execution relay turned
OFF.
If "Trigger relay" is set in trigger setting, triggering will start with the trigger relay turned ON.
ON for one scan upon completion of readign buffer data from the shared memory with a user program. Goes to the state of trigger acceptance permitted after clearing the buffer memory.
YB to
YE
Y1B to
Y1E
Y2B to
Y2E
Y3B to
Y3E
Y4B to
Y4E
Y5B to
Y5E
Y6B to
Y6E
Y7B to
Y7E
Not used Do not use.
Resets an error flag.
(Note 1): The I/O numbers in the table indicates offset addresses. The I/O numbers actually allocated are the numbers based on the starting word number allocated to the unit. Example) When the starting word number for the unit is "10", the disconnection detection execution relay of CH0 is Y100, and the error flag reset relay is
Y10F.
(Note 2) The operation of the buvver function (consisting of the buffer execution relay, buffer trigger relay, and buffer data read completion relay) is specified by the output contacts for CH0.
8-7
Specifications
8.3 List of Unit Memories
8.3.1 List of Unit Memory Number
There is no need to set unit memory values, because unit memory values will be written automatically if they are set in the configuration menu of the FPWIN GR7 tool software. In the case of making program settings, specify the desired unit memory numbers and write the corresponding values.
Setting monitoring items and allocation of unit memory numbers (CH0 to CH3)
Setting monitoring item Unit memory no.
CH0 CH1 CH2 CH3
Unit memory update UM 00028
Isolation between channels
Execution/Non-execution settings
Trigger type
Buffer function
No. of buffer data items UM 0008A
No. of data items before triggering UM 0008B
Trigger cycle
Analog input trigger level
UM 0008C
UM 0008D
Conversion processing
Range setting
Function setting 1
Average processing settings
Offset/Gain processing
Scale conversion
UM 00081 (AFP7AD4H only)
UM 00088
UM 00089
UM 00090
UM 00091
UM 00092
UM 000A0
UM 000A1
UM 000A2
UM 000B0
UM 000B1
UM 000B2
UM 000C0
UM 000C1
UM 000C2
Function setting 2
Comparison of upper and lower limits
Holding max./min. values
Disconnection detection
Disconnection detection reset
Averaging constant
Offset value
Gain value
Scale conversion
Max. value
Min. Value
Upper limit comparison ON level
Upper limit /
Lower limit comparison
Upper limit comparison OFF level
Lower limit comparison OFF level
Lower limit comparison ON level
Max./Min. value hold monitor area
Holding max. value
Holding min. value
UM 00093
UM 00094
UM 00095
UM 00096
UM 00097
UM 00098
UM 00099
UM 0009A
UM 0009B
UM 00180
UM 00188
UM 000A3 UM 000B3
UM 000A4 UM 000B4
UM 000A5 UM 000B5
UM 000A6 UM 000B6
UM 000A7 UM 000B7
UM 000A8 UM 000B8
UM 000A9 UM 000B9
UM 000C3
UM 000C4
UM 000C5
UM 000C6
UM 000C7
UM 000C8
UM 000C9
UM 000AA UM 000BA UM 000CA
UM 000AB UM 000BB UM 000CB
UM 0009C UM 000AC UM 000BC UM 000CC
UM 00181
UM 00189
UM 00182
UM 0018A
UM 00183
UM 0018B
Buffer function
Hold data storage area
UM 00800 to
UM 02F0F
UM 03000 to
UM 0570F
UM 05800 to
UM 07F0F
UM 08000 to
UM 0A70F
8-8
8.3 List of Unit Memories
Setting monitoring items and allocation of unit memory numbers (CH4 to CH7)
Setting monitoring item Unit memory no.
CH4 CH5 CH6 CH7
Unit memory update UM 00028
Isolation between channels UM 00081
Execution/Non-execution settings
Trigger type
No. of buffer data items
UM 00088
UM 00089
UM 0008A
Buffer function
Range setting
No. of data items before triggering UM 0008B
Trigger cycle UM 0008C
Analog input trigger level
Conversion processing
UM 0008D
UM 000D0
UM 000D1
Function setting 1
Average processing settings
Offset/Gain processing
Scale conversion
UM 000D2
Function setting 2
Comparison of upper and lower limits
Holding max./min. values
Disconnection detection
Disconnection detection reset
Averaging constant
Offset value
Gain value
Scale conversion
Upper limit /
Lower limit comparison
Max./Min. value hold monitor area
Max. value
Min. Value
Upper limit comparison ON level
Upper limit comparison OFF level
Lower limit comparison OFF level
Lower limit comparison ON level
Holding max. value
Holding min. value
UM 000D3
UM 000D4
UM 000D5
UM 000D6
UM 000D7
UM 000D8
UM 000D9
UM 000DA
UM 000DB
UM 000DC
UM 00184
UM 0018C
Buffer function
Hold data storage area
UM 08100 to
UM 0A03F
UM 000E0
UM 000E1
UM 000E2
UM 000E3
UM 000E4
UM 000E5
UM 000E6
UM 000E7
UM 000E8
UM 000E9
UM 000EA
UM 000EB
UM 000EC
UM 00185
UM 0018D
UM 0A040 to
UM 0BF7F
UM 000F0
UM 000F1
UM 000F2
UM 000F3
UM 000F4
UM 000F5
UM 000F6
UM 000F7
UM 000F8
UM 000F9
UM 000FA
UM 000FB
UM 000FC
UM 00186
UM 0018E
UM 0BF80 to
UM 0DEBF
UM 00100
UM 00101
UM 00102
UM 00103
UM 0DEC0 to
UM 0FDFF
UM 00104
UM 00105
UM 00106
UM 00107
UM 00108
UM 00109
UM 0010A
UM 0010B
UM 0010C
UM 00187
UM 0018F
8-9
Specifications
8.4 List of Detailed Specifications of Unit Memories
Common to All Channels
Unit memory number
(Hex)
Name Default
UM 00081
UM 00088
UM 00089
Isolation between channels
Buffer function
Execution/Nonexecution settings
Buffer function
Trigger settings
(AFP7AD4H)
H0
H0
H0
H0
Setting range and description
This is used to rewrite configuration infromation using a user program.
If the constant "55AA" is written to the unit memory UM 00028 after transferring a desired parameter to a unit memory, the settings will be updated. The value of unit memory UM 00028 will be set to 0 when the configuration information is refreshed.
Select the insulation or non-insulation between analog input channels.
H0: Non-isolated
H1: Isolated
Select the use of the buffer function.
H0: Not use
H1: Use
Select a trigger signal to start buffering when the buffer function is used.
Bit
3-0
7-4
11-8
Name
Trigger type
External input trigger
Input level trigger CH
Description
H0
H1
H2
H4
H8
H0
H1
H2
H4
H8
H0
H1
H2
H4
H8
Trigger input relay
Rise of external input trigger
Fall of external input trigger input
Rising time of analog input level
Falling time of analog input level
Unused
TRG0
TRG1
TRG2
TRG3
Unused
CH0
CH1
CH2
CH3
15-
12
Not used
8-10
8.4 List of Detailed Specifications of Unit Memories
Unit memory number
(Hex)
Name Default Setting range and description
UM 00089
Buffer function
Trigger settings
(AFP7AD8)
UM 0008D
Buffer function
Analog input
Trigger level
H0
UM 0008A
UM 0008B
Buffer function
No. of buffer data items
Buffer function
No. of pre-trigger data items
K1,000
K0
K1
K0
Select a trigger signal to start buffering when the buffer function is used.
Bit Name Description
3-0 Trigger type
H0
H1
H2
H4
H8
Trigger input relay
Rise of external input trigger
Fall of external input trigger input
Rising time of analog input level
Falling time of analog input level
7-4 Note used
11-8 Input level trigger CH
15-
12
Not used
H0
H1
H2
H3
H4
H5
H6
H7
CH0
CH1
CH2
CH3
CH4
CH5
CH6
CH7
Set the number of data items (words) to be stored in the buffer.
Setting range: +1 to +10,000 (AFP7AD4H), +1 to +8,000 (AFP7AD8)
Set the number of data items (words) out of the number of buffer data items before triggering.
Setting range: 0 to +9,999 (AFP7AD4H), 0 to +7,999 (AFP7AD8)
Set the cycle enabling trigger input. The trigger cycle is obtained from the following formula. For AFP7AD8, only the non-isolated setting is available.
Isolated: Set value (1 to 30,000) × No. of enabled channels × 5 [ms]
Non-isolated: Set value (1 to 30,000) × No. of enabled channels ×
0.025 [ms]
If “Analog input level” is selected for the trigger type, set an input level to enable triggering.
Setting range: -31,250 to +31,250
8-11
Specifications
Individual setting area per channel
Unit memory number
(Hex)
Name Default
UM 00090
UM 000A0
UM 000B0
UM 000C0
UM 000D0
UM 000E0
UM 000F0
UM 00100
UM 00091
UM 000A1
UM 000B1
UM 000C1
UM 000D1
UM 000E1
UM 000F1
UM 00101
Conversion processing
Execution/Nonexecution
Range setting
H1
H1
Setting range and description
Select the conversion function to be used.
H0: Not execute
H1: Execute
Select the input range.
H1: Voltage input -10 to +10 V
H2: Voltage input 0 to +10 V
H4: Voltage input 0 to +5 V
H8: Voltage input +1 to+ 5 V
H10: Current input 0 to +20 mA
H20: Current input +4 to +20 mA
Select the desired function to be used.
UM 00092
UM 000A2
UM 000B2
UM 000C2
UM 000D2
UM 000E2
UM 000F2
UM 00102
UM 00093
UM 000A3
UM 000B3
UM 000C3
UM 000D3
UM 000E3
UM 000F3
UM 00103
Function setting 1
Average processing settings
Offset processing/
Gain processing
Scale conversion
Function setting 2
Comparison of upper and lower limits
Holding max./min. values
Disconnection detection
Disconnection detection reset
H0
H0
Bit
3-0
Name
Average processing
7-4
15-
12
Offset/Gain processing
11-8 Scale conversion
Not used
Settings
H0
H1
H2
H4
H0
H1
Not execute
No. of averaging times
Time average
Moving average
Not execute
Execute
H0
H1
Not execute
Execute
Select the desired function to be used.
Bit
3-0
7-4
Name
Upper limit /
Lower limit comparison
Max./Min. values hold
Settings
H0
H1
H0
H1
Not execute
Execute
Not execute
Execute
11-8 Disconnection detection
15-
12
Disconnection detection reset
H0
H1
H0
H1
Not execute
Execute
Auto (Auto reset for reconnection)
Manual
(Note) The unit memory numbers in the above table are listed for CH0 to CH7 in numerical order.
8-12
8.4 List of Detailed Specifications of Unit Memories
Individual setting area per channel
Unit memory number
(Hex)
Name Default
UM 00094
UM 000A4
UM 000B4
UM 000C4
UM 000D4
UM 000E4
UM 000F4
UM 00104
Averaging constant
K200
Setting range and description
Set constants for average processing.
Function used Settings
Number of averaging times
Average time
Moving average
No. of averaging times
Non-isolated
Isolated
No. of moving average
2 to 60,000 [times]
1 to 1,500 [ms]
200 to 60,000 [ms]
2 to 2,000 [times]
UM 00097
UM 000A7
UM 000B7
UM 000C7
UM 000D7
UM 000E7
UM 000F7
UM 00107
UM 00098
UM 000A8
UM 000B8
UM 000C8
UM 000D8
UM 000E8
UM 000F8
UM 00108
UM 00095
UM 000A5
UM 000B5
UM 000C5
UM 000D5
UM 000E5
UM 000F5
UM 00105
UM 00096
UM 000A6
UM 000B6
UM 000C6
UM 000D6
UM 000E6
UM 000F6
UM 00106
UM 00099
UM 000A9
UM 000B9
UM 000C9
UM 000D9
UM 000E9
UM 000F9
UM 00109
Offset value K0
Gain value
Scale conversion
Max. value
Scale conversion
Min. value
Upper limit comparison
ON level
K10,000
K10,000
K0
K0
Set an offset value at the time of using the offset processing function.
Setting range: -3,000 to +3,000 (specified with a signed integer)
Set an offset value at the time of using the offset processing function.
Setting range: +9,000 to +11,000 (0.9x to 1.1x: Specified with a signed integer)
Set the maximum value at the time of using the scale conversion function.
Setting range: -30,000 to +30,000 (specified with a signed integer)
Set the minimum value at the time of using the scale conversion function.
Setting range: -30,000 to +30,000 (specified with a signed integer)
Set the upper limit to turn ON the output flag at the time of using the upper/lower limit comparison function.
Setting range: -31,250 to +31,250 (specified with a signed integer)
8-13
Specifications
Unit memory number
(Hex)
Name Default Setting range and description
UM 0009A
UM 000AA
UM 000BA
UM 000CA
UM 000DA
UM 000EA
UM 000FA
UM 0010A
UM 0009B
UM 000AB
UM 000BB
UM 000CB
UM 000DB
UM 000EB
UM 000FB
UM 0010B
Upper limit comparison
OFF level
Lower limit comparison
OFF level
K0
K0
Set the upper limit to turn OFF the output flag at the time of using the upper/lower limit comparison function.
Setting range: -31,250 to +31,250 (specified with a signed integer)
Set the lower limit to turn OFF the output flag at the time of using the upper/lower limit comparison function.
Setting range: -31,250 to +31,250 (specified with a signed integer)
UM 0009C
UM 000AC
UM 000BC
UM 000CC
UM 000DC
UM 000EC
UM 000FC
UM 0010C
Lower limit comparison
ON level
K0
Set the lower limit to turn ON the output flag at the time of using the upper/lower limit comparison function.
Setting range: -31,250 to +31,250 (specified with a signed integer)
(Note) The unit memory numbers in the above table are listed for CH0 to CH7 in numerical order.
8-14
8.4 List of Detailed Specifications of Unit Memories
Individual monitor area per channel
Unit memory number (Hex)
Name Default
UM 00180
UM 00181
UM 00182
UM 00183
UM 00184
UM 00185
UM 00186
UM 00187
Holding max. value
K0
Setting range and description
The acquired maximum value will be held when the maximum and minimum value holding function is used.
Setting range: -31,250 to +31,250 (specified with a signed integer)
UM 00188
UM 00189
UM 0018A
UM 0018B
UM 0018C
UM 0018D
UM 0018E
UM 0018F
Holding min. value
K0
The acquired minimum value will be held when the maximum and minimum value holding function is used.
Setting range: -31,250 to +31,250 (specified with a signed integer)
(Note) The unit memory numbers in the above table are listed for CH0 to CH7 in numerical order.
Buffer data storage area per channel (AFP7AD4H)
Unit memory number (Hex)
Name Default Setting range and description
UM 00800 to UM 02F0F
CH0
Buffer area
K0
UM 03000 to UM 0570F
UM 05800 to UM 02F0F
UM 08000 to UM 0A70F
CH1
Buffer area
CH2
Buffer area
CH3
Buffer area
K0
K0
K0
Stores buffer data when the buffer function is used.
10,000 words per channel
Setting range: -31,250 to +31,250 (specified with a signed integer)
8-15
Specifications
Buffer data storage area per channel (AFP7AD8)
Unit memory number (Hex)
Name Default Setting range and description
UM 00400 to UM 0233F
CH0
Buffer area
K0
UM 02340 to UM 00427F
CH1
Buffer area
K0
UM 04280 to UM 061BF
UM 061C0 to UM 080FF
UM 08100 to UM 0A03F
UM 0A040 to UM 0BF7F
UM 0BF80 to UM 0DEBF
UM 0DEC0 to UM 0FDFF
CH2
Buffer area
CH3
Buffer area
CH4
Buffer area
CH5
Buffer area
CH6
Buffer area
CH7 buffer area
K0
K0
K0
K0
K0
K0
Stores buffer data when the buffer function is used.
8,000 words per channel
Setting range: -31,250 to +31,250 (specified with a signed integer)
8-16
8.5 Dimensions
28
(
18) 80
8.5 Dimensions
4
8-17
Specifications
8-18
Record of changes
Manual No. Date
WUME-FP7AIH-01 Mar.2013
WUME-FP7AIH-02 Aug.2014
Record of Changes
1st Edition
2nd Edition
- Added new model AFP7AD8
- Error correction
* Your assessment is very important for improving the work of artificial intelligence, which forms the content of this project