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.
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 FP0R 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.
Table of Contents Table of Contents 1. Unit Functions and Restrictions ....................................... 1-1 1.1 Unit Functions and How They Work ......................................................1-2 1.1.1 Functions of Unit ..................................................................................... 1-2 1.1.2 Unit Type ................................................................................................. 1-2 1.1.3 Restrictions on Units Combination .......................
Table of Contents 3.4 Common Precautions............................................................................ 3-8 3.4.1 Wiring of Analog I/O Unit ......................................................................... 3-8 3.4.2 Wiring of Power Cable (FP0R-DA4 / FP0R-A21 / FP0R-A42) ................ 3-9 4. Creating Programs ............................................................. 4-1 4.1 I/O Allocation ......................................................................................
Table of Contents 5.2 5.1.1 Moving Average 10 Times....................................................................... 5-2 5.1.2 Number of Averaging Times (64 times/128 times: 14-bit Mode Only) .... 5-3 Setting of Averaging Processing ............................................................5-4 5.2.1 Enabling Averaging Processing .............................................................. 5-4 6. Specifications .................................................................... 6-1 6.1 6.
1 Unit Functions and Restrictio ns
Unit Functions and Restrictions 1.1 Unit Functions and How They Work 1.1.1 Functions of Unit Attaching these units to FP0R Control Unit enables analog I/O control. • It is selectable from five types of units in accordance with the intended use. Compatibility mode with conventional models is prepared. • The compatibility mode which enables smooth transition from conventional Analog I/O Units (FP0-A80, FP0-A04V, FP0-A04I, FP0-A21) is prepared. 14-bit processing mode is added.
2 Names and Functions of Parts
Names and Functions of Parts 2.1 Analog Input Unit (FP0R-AD4/AD8) 2.1.1 Names and Functions of Parts Names and Functions of Parts No. Name Description ① Mode setting switch Used for selecting the input range, the number of input channels and whether to use the averaging processing or not. Used for selecting the operation mode (12-bit mode or 14-bit mode compatible with the conventional product FP0-A80). ② Input terminal for CH0-CH3 Used for connecting the analog input device.
2.1 Analog Input Unit (FP0R-AD4/AD8) 2.1.2 Setting of Mode Switch Setting of the mode switch Item Resolution and FP0-A21compatible 12-bit mode input range The number of converted CH Input averaging No.
Names and Functions of Parts 2.2 Analog Output Unit (FP0R-DA4) 2.2.1 Names and Functions of Parts Names and Functions of Parts No. Name Description ① Mode setting switch Used for selecting the output range and the output method (voltage/current). Used for selecting the operation mode (12-bit mode or 14-bit mode compatible with the conventional product FP0-A04V/A04I).
2.2 Analog Output Unit (FP0R-DA4) 2.2.2 Setting of Mode Switch Setting of the mode switch Item No. Settings Resolution 1 OFF:FP0-A04V/A04I compatible 12-bit mode, ON:14-bit mode (Note 1) 2 CH0 3 CH1 4 CH2 5 CH3 Output switch OFF:Voltage output ON:Current output (Note 2) (Note 1): In the 14-bit mode, the output range is set by writing into the operation memory WY with a user program.
Names and Functions of Parts 2.3 Analog I/O Unit (FP0R-A21/A42) 2.3.1 Names and Functions of Parts Names and Functions of Parts No. Name Description ① Mode setting switch Used for selecting the input and output ranges, the output method (voltage/current), and whether to perform the input averaing processing or not. Used for selecting the operation mode (12-bit mode or 14-bit mode compatible with the conventional product FP0-A21).
2.3 Analog I/O Unit (FP0R-A21/A42) 2.3.2 Setting of Mode Switch Setting of the mode switch Item I/O resolution and FP0-A21compatible 12-bit mode input range FP0-A21compatible 12-bit mode output range (Note 3) 14-bit mode output switch (Note 4) Input averaging No.
Names and Functions of Parts 2-8
3 Wiring
Wiring 3.1 Analog Input Unit (FP0R-AD4/AD8) 3.1.1 Terminal Layout Diagrams Appearance Pin No. Name 1 V0 Function CH0 Voltage signal input 2 I0 CH0 Current signal input 3 V1 CH1 Voltage signal input 4 I1 CH1 Current signal input 5 COM 6 V2 CH2 Voltage signal input 7 I2 CH2 Current signal input 8 V3 CH3 Voltage signal input 9 I3 CH3 Current signal input Pin No.
3.1 Analog Input Unit (FP0R-AD4/AD8) 3.1.2 Wiring of Analog Input Unit Voltage input Connect input instrument between V and COM terminal. Current input First, connect both V terminal and I terminal. And then connect input instrument between it and COM terminal. (Note 1): Two COM terminals are connected internally. (Note 2): Two cables or less must be inserted to COM terminal as above (two channel once combined).
Wiring 3.2 Analog Output Unit (FP0R-DA4) 3.2.1 Terminal Layout Diagrams Appearance Pin No. Name 1 V0 CH0 2 COM --- 3 VI CH1 4 COM --- 5 V2 6 COM --- 7 V3 CH3 8 COM 9 NC Pin No.
3.2 Analog Output Unit (FP0R-DA4) 3.2.2 Wiring of Analog Output Unit When the voltage output When current output (Note):All COM terminals of the voltage output terminal block and current output terminal block are connected internally.
Wiring 3.3 Analog I/O Unit (FP0R-A21/A42) 3.3.1 Terminal Layout Diagrams Appearance Pin No.
3.3 Analog I/O Unit (FP0R-A21/A42) 3.3.2 Wiring of Analog I/O Unit Analog input Voltage input Connect input instrument between IN/V and IN/COM terminal. Voltage output Connect output instrument between OUT/V and OUT/COM terminal. Current input First,connect both IN/V terminal and IN/I terminal. And then connect input instrument between it and IN/COM terminal. Current output Connect output instrument between OUT/I and OUT/COM terminal.
Wiring 3.4 Common Precautions 3.4.1 Wiring of Analog I/O Unit Wiring diagram Voltage input Current input Analog device *1 Analog device V V I I COM COM *1: For the current input, short-circuit the V and I terminals. Voltage output Current output V V I I Analog device Analog device COM COM Precautions on Wiring • Use double-core twisted-pair shielded wires. It is recommended to ground the shielding.
3.4 Common Precautions 3.4.2 Wiring of Power Cable (FP0R-DA4 / FP0R-A21 / FP0R-A42) The power needs to be supplied to the analog output unit (FP0R-DA4) and analog I/O unit (FP0R-A21/FP0R-A42) for operation. Precautions on Wiring • It is connected using the cable (Part number:AFP0581) supplied with the unit. • The input voltage range of the power supply for operating the unit is 20.4 to 28.8 VDC. • Use the power supply of SELV (Safety Extra-Low Voltage) and LIM (Limited Energy Circuit).
Wiring 3-10
4 Creating Programs
Creating Programs 4.1 I/O Allocation 4.1.1 I/O Allocation • For analog input data and analog output data, input relays (WX) and output relays (WY) are read and written to the control unit. • I/O numbers do not need to be set as I/O allocation is performed automatically. • I/O numbers vary according to installation positions. • The allocated contents vary according to the type of units and mode. For details, refer to the chapters 4.2 to 4.4.
4.
Creating Programs 4.2 Analog input unit (FP0R-AD4/AD8) 4.2.1 Reading of Input Data (Common to 12-bit Mode and 14-bit Mode) The analog input unit uses the most significant 2 bits as a flag for switching channels and reads conversion data sequentially.
4.2 Analog input unit (FP0R-AD4/AD8) Sample program (Analog input: For ranges of -10 V to +10 V and -5 V to +5 V) The following program shows the case that conversion data of the first expansion analog input unit (CH0 to CH7) is read and stored in DT0 to DT7.
Creating Programs Sample program (For ranges of 0 to 10 V, 0 to 5 V and 0 to 20 mA) The following program shows the case that conversion data of the first expansion analog input unit (CH0 to CH7) is read and stored in DT0 to DT7.
4.
Creating Programs 4.3 Analog Output Unit (FP0R-DA4) 4.3.1 Writing of Digital Data for Output (12-bit Mode) With the analog output unit, the conversion output is performed by using two bits as the switching flags of output channels and writing data. I/O allocation (12-bit FP0-A04 Compatibility mode) Two bits, the bits C and D, are used as the switching flags.
4.3 Analog Output Unit (FP0R-DA4) When data is regarded as an error • Digital data from the control unit is written in the analog output unit. When more than the specified amount of data (-2000 to 2000 for voltage type Unit, 0 to 4000 for current type Unit) is written in the Unit, the Unit regards the data as an error and writes the error flag in WX2. As a result, the D/A conversion is not performed. (For analog output, the previous data remains unchanged.
Creating Programs Sample program (12-bit mode: For the range of -10 V to +10 V) The following program shows the case that the data of DT0 to DT3 is converted and output to the CH0 to CH3 of the first expansion analog output unit. The range for checking digital values written in the output area is changed.
4.3 Analog Output Unit (FP0R-DA4) ① R9012 ② Checks whether the lower limit value is within the data range that the unit can convert correctly. ③ Checks whether the upper limit value is within the data range that the unit can convert correctly. ④ Y2C ⑤ Y2D ⑥ Y3C ⑦ Y3D ⓐ It is executed when the scan pulse relay is ON and written data is within the upper and lower limits. Data for CH0 is set in DT0, and CH0 is specified by the output data switching flag.
Creating Programs Sample program (12-bit mode: For the range of 4 to 20 mA) The following program shows the case that the data of DT0 to DT3 is converted and output to the CH0 to CH3 of the first expansion analog output unit. The range for checking digital values written in the output area is changed.
4.3 Analog Output Unit (FP0R-DA4) ① R9012 ② Checks whether the lower limit value is within the data range that the unit can convert correctly. ③ Checks whether the upper limit value is within the data range that the unit can convert correctly. ④ Y2C ⑤ Y2D ⑥ Y3C ⑦ Y3D ⓐ It is executed when the scan pulse relay is ON and written data is within the upper and lower limits. Data for CH0 is set in DT0, and CH0 is specified by the output data switching flag.
Creating Programs 4.3.2 Writing of Digital Data for Output (14-bit Mode) With the analog output unit, the conversion output is performed by using two bits as the switching flags of output channels and writing data. I/O allocation (14-bit mode) In the 14-bit mode, the most significant two bits are used as the switching flags. They are common to the flags for setting ranges.
4.3 Analog Output Unit (FP0R-DA4) When data is regarded as an error • Digital data from the control unit is written in the Analog Output Unit. When more than the specified amount of data (-8000 to 8000 for ± range, 0 to 16000 for + range) is written in the Unit, the Unit regards the data as an error and writes the error flag in WX2. As a result, the D/A conversion is not performed. For analog output, the previous data remains unchanged.
Creating Programs Sample program (14-bit mode: For ranges of -10 V to +10 V and -5 V to +5 V) The following program shows the case that the data of DT0 to DT3 is converted and output to the CH0 to CH3 of the first expansion analog output unit. The range for checking digital values written in the output area is changed.
4.3 Analog Output Unit (FP0R-DA4) ① R9012 ② Checks whether the lower limit value is within the data range that the unit can convert correctly. ③ Checks whether the upper limit value is within the data range that the unit can convert correctly. ④ Y2E ⑤ Y2F ⑥ Y3E ⑦ Y3F ⓐ It is executed when the scan pulse relay is ON and written data is within the upper and lower limits. Data for CH0 is set in DT0, and CH0 is specified by the output data switching flag.
Creating Programs Sample program (14-bit mode: For ranges of 0 to 10 V, 0 to 5 V, 0 to 20 mA and 4 to 20 mA) The following program shows the case that the data of DT0 to DT3 is converted and output to the CH0 to CH3 of the first expansion analog output unit. The range for checking digital values written in the output area is changed.
4.3 Analog Output Unit (FP0R-DA4) ① R9012 ② Checks whether the lower limit value is within the data range that the unit can convert correctly. ③ Checks whether the upper limit value is within the data range that the unit can convert correctly. ④ Y2E ⑤ Y2F ⑥ Y3E ⑦ Y3F ⓐ It is executed when the scan pulse relay is ON and written data is within the upper and lower limits. Data for CH0 is set in DT0, and CH0 is specified by the output data switching flag.
Creating Programs 4.3.3 Switching of Output Range (14-bit Mode Only) When selecting the 14-bit mode in the analog output unit (FP0R-DA4), the output range can be switched by user programs. It can be set for each channel.
4.3 Analog Output Unit (FP0R-DA4) Sample program (Switching output range: For CH0/CH1) The following program shows the case that the output ranges of CH0 and CH1 of the first expansion analog input unit is set.
Creating Programs 4.3.4 Status Information (12-bit mode) With the analog output unit, the following information can be monitored in the external input area WX. Status information I/O No.
4.3 Analog Output Unit (FP0R-DA4) 4.3.5 Status information (14-bit mode) With the analog output unit, the following information can be monitored in the external input area WX. Status information I/O No.
Creating Programs 4.4 Analog I/O Unit (FP0R-A21/A42) 4.4.1 Reading of Analog Input Values (For A21) With the analog input unit A21, data can be read as signed 16-bit data as is.
4.4 Analog I/O Unit (FP0R-A21/A42) 4.4.2 Reading of Analog Input Values (For A42) The analog input unit uses the most significant 2 bits as a flag for switching channels and reads conversion data sequentially.
Creating Programs Sample program (FP0R-A42: For ranges of -10 V to +10 V and -5 V to +5 V) The following program shows the case that conversion data of the first expansion analog I/O unit (FP0R-A42) (CH0 to CH3) is read and stored in DT0 to DT3.
4.4 Analog I/O Unit (FP0R-A21/A42) Sample program (FP0R-A42: (For ranges of 0 to 10 V, 0 to 5 V and 0 to 20 mA) X3E [ F0 MV , WX2 , DT0 ⓐ ] ① [ F65 WAN , WX3 , H3FFF , DT1 X3E [ F0 MV , WX2 , DT2 ] ⓒ ] ① [ F65 WAN , WX3 , H3FFF , DT3 ⓑ ] ⓓ The channels of conversion data read by turning on/off the conversion data switching flags X3F and X3E are distinguished. ① X3E ⓐ The conversion data of CH0 is stored into DT0.
Creating Programs 4.4.3 Writing of Digital Data for Output (12-bit Mode) The analog I/O unit (FP0R-A42/A21) writes data for conversion as the output switching flags are not contained in the 12-bit mode. I/O allocation (12-bit mode) WY3 WY2 CH1 data CH0 data Writing data for conversion • The analog I/O unit writes the analog output digital data of a maximum of 2 channels to two memory areas (WY2/WY3) by user programs.
4.4 Analog I/O Unit (FP0R-A21/A42) Sample program (12-bit mode: 0 to 20mA range) R9010 ① > 1 R9010 ① 1 > <= K 0 , DT0 >= ② [ F0 MV <= K >1 ③ , DT0 , WY2 ④ ⑤ 0 , DT1 >= ② [ F0 MV K 4000 , DT0 K 4000 , DT1 >1 ③ , DT1 ④ , WY3 ⓐCH0 ] ] ⓑCH1 ⑤ ① R9010 ② Checks whether the lower limit value is within the data range that the unit can convert correctly. ③ Checks whether the upper limit value is within the data range that the unit can convert correctly.
Creating Programs 4.4.4 Writing of Digital Data for Output (14-bit Mode) With the analog I/O unit (FP0R-A42/A21), the conversion output is performed by using two bits as the switching flags of output channels and writing data. I/O allocation (14-bit mode) In the 14-bit mode, the most significant two bits are used as the switching flags. They are common to the flags for setting ranges.
4.4 Analog I/O Unit (FP0R-A21/A42) Sample program (14-bit mode: For ranges of -10 V to +10 V and -5 V to +5 V) The following program shows the case that the data of DT0 to DT1 is converted and output to the CH0 to CH1 of the first expansion analog I/O unit (FP0R-A42/A21). The range for checking digital values written in the output area is changed.
Creating Programs 4.4.5 Switching of Input Range and Averaging Method (14-bit Mode Only) When selecting the 14-bit mode in the analog I/O unit (FP0R-A21/A42), the input range or averaging method for each channel can be set by user programs.
4.4 Analog I/O Unit (FP0R-A21/A42) Sample program (Input range switching) The following program shows the case that the input range of CH0 to CH3 of the first expansion analog I/O unit (FP0R-A42/A21) is set. R0 ( DF ) [ F0 MV , HF0 ① , WY2 ② ] Y2E < SET > Y2F < RST > ① Input a constant for specifying an input range. Set it according to the I/O allocation on the previous page. In the above sample program, HF0 is input for setting Y27-Y24 to 1 and Y23-Y20 to 0.
Creating Programs 4.4.6 Switching of Output Range (14-bit Mode Only) When selecting the 14-bit mode in the analog I/O unit (FP0R-A21/A42), the output range can be switched by user programs. It can be set for each channel.
4.4 Analog I/O Unit (FP0R-A21/A42) Sample program (Output range switching) The following program shows the case that the input range of CH0 and CH1 of the first expansion analog I/O unit (FP0R-A21/A42) is set. R0 R0 ① ( DF ) ( DF ) [ F0 MV [ F0 MV , H30 ① , H30 ① Input a constant for specifying an output range.
Creating Programs 4.5 I/O Conversion Characteristics 4.5.1 Input Conversion Characteristics (Voltage Range) -10V to +10V DC input Conversion characteristic Correspondence table of A/D Conversion values Input voltage (V) -10.0 -5.0 0 5.0 10.
4.5 I/O Conversion Characteristics 0V to 10V DC input (14-bit mode only) Conversion characteristic Correspondence table of A/D Conversion values Digital value 14-bit 0 4000 8000 12000 16000 Input voltage (V) 0.0 2.5 5.0 7.5 10.0 Processing if the range is exceeded Digital value Input voltage (V) 14-bit 0V or less (including negative value) 0 10V or more 16000 (Note 1):A digital conversion value equivalent to the analog input value of approx.
Creating Programs 4.5.2 Input conversion Characteristics (Current Range) 0mA to 20mA DC input Conversion characteristic Correspondence table of A/D Conversion values Input current (mA) 0.0 5.0 10.0 15.0 20.
4.5 I/O Conversion Characteristics 4.5.3 Output conversion Characteristics (Voltage Range) -10V to 10V DC output Conversion characteristic Correspondence table of D/A Conversion values Digital value 12-bit -2000 -1000 0 1000 2000 14-bit -8000 -4000 0 4000 8000 Output voltage (V) -10.0 -5.0 0.0 5.0 10.0 Processing if the range is exceeded Digital input value -2001 or less -8001 or less 2001 or more 8001 or more Output voltage (V) Refer to the following notes.
Creating Programs 0V to 10V DC output (14-bit mode only) Conversion characteristic Correspondence table of D/A Conversion values Digital value 14-bit 0 4000 8000 12000 16000 Output voltage (V) 0.0 2.5 5.0 7.5 10.0 Processing if the range is exceeded Digital input value Including negative value 16001 or more Output voltage (V) Refer to the following notes.
4.5 I/O Conversion Characteristics 4.5.4 Output conversion Characteristics (Current Range) 0mA to 20mA output Conversion characteristic Correspondence table of D/A Conversion values Digital value 12-bit 14-bit 0 1000 2000 3000 4000 0 4000 8000 12000 16000 Output current (mA) 0.0 5.0 10.0 15.0 20.0 Processing if the range is exceeded Digital value 12-bit 14-bit Including negative value Including negative value 4001 or more 16001 or more Output current (mA) Refer to the notes on the next page.
Creating Programs KEY POINTS • Mode 12-bit mode 14-bit mode 4-42 The following operations are performed when a value exceeding the allowable range is written. Always insert a program for checking the upper and lower limits right before a program for writing data. Data range Description -4097 or less 4096 or more The bits D and C of a written value may be regarded as channel switching flags and converted to an unintended value and output.
5 Analog Input Averaging Processing
Analog Input Averaging Processing 5.1 Types of Averaging Processing 5.1.1 Moving Average 10 Times When the averaging function is set to on, the internal processing of the analog unit is as shown in the diagram below Moving Average Processing • Averages and stores converted values obtained by sampling. • Calculates the average of data for past eight times excluding the maximum and minimum values from the latest data, and stores it in the external input area (WX).
5.1 Types of Averaging Processing 5.1.2 Number of Averaging Times (64 times/128 times: 14-bit Mode Only) Only when the 14-bit mode is selected, the number of averaging times is selectable. Processing when selecting the number of averaging times • Averages and stores converted values obtained by sampling. • When the number of obtained analog input data reaches the specified number of averaging times (64 or 128 times), performs the average processing and stores the result as a digital value.
Analog Input Averaging Processing 5.2 Setting of Averaging Processing 5.2.1 Enabling Averaging Processing The averaging processing can be set by the following methods. 12-bit FP0-A80 compatibility mode / FP0-A21 compatibility mode The averaging processing is enabled only when the mode switch No.5 of the unit is ON. • The averaging method of all channels is the moving average 10 times (Max. and min. removal). 14-bit mode • The averaging processing is enabled only when the mode switch No.
6 Specifications
Specifications 6.1 Table of Specifications 6.1.1 General Specifications Specifications Item Description Rated operating voltage 24 V DC Operating voltage range 20.4 to 28.
6.1 Table of Specifications 6.1.
Specifications 6.1.
6.2 Dimension 6.2 Dimension FP0R-AD4 / FP0R-A21 (Note): FP0R-AD4 has no power supply connector. FP0R-AD8 / FP0R-DA4 / FP0R-A42 (Note): FP0R-AD8 has no power supply connector.
Specifications 6-6
7 Compatibility with Conventional Models
Compatibility with Conventional Models 7.1 Analog Input Unit 7.1.
7.1 Analog Input Unit 7.1.2 Points of Replacement The points for replacing the conventional model FP0-A80 with the new model FP0RAD* as an alternative are described below. Specification The voltage range of -100 to 100 mV DC is not available for the new models FP0RAD4 and AD8. Hardware • The mode switch is set in the same way as FP0-A80. However, the range of -100 to 100 mV is not supported.
Compatibility with Conventional Models 7.2 Analog Output Unit 7.2.
7.2 Analog Output Unit 7.2.2 Points of Replacement The points for replacing the conventional models FP0A04V or FP0A04I with the new model FP0RDA4 as an alternative are described below. Hardware • Turn off the mode switch No.1 and select "12-bit FP0A04 compatibility mode". The voltage output range is "-10 to 10 V DC", and the current output range is "4 to 20 mA DC". • The new model FP0RDA4 has two terminal blocks for the voltage output and current output. They are connected according to the application.
Compatibility with Conventional Models 7.3 Analog I/O Unit 7.3.
7.3 Analog I/O Unit (Note 2): When selecting the 14-bit mode, the range can be set for each channel separately by user programs. Also, the ranges of -5 to 5 V DC and 0 to 10 V DC can be set by user programs only when selecting the 14-bit mode. (Note 3): When selecting the 14-bit mode, the range can be set for each channel separately by user programs. Also, the ranges of 0 to 10 V DC and 4 to 20 mA DC can be set by user programs only when selecting the 14-bit mode.
Compatibility with Conventional Models 7-8
Record of changes Manual No. Date Record of Changes WUME-FP0RAIO-01 June.2015 First Edition WUME-FP0RAIO-02 Oct.2015 Second Edition - Error correction (Chapter 3.2.