Home

FP0R Analog I/O Unit User`s Manual

image

Contents

1. Appearance FPOR AD4 FPOR AD8 Resolution and Operation mode 12 bit 1 4000 ai meee aac me pina pie Analog input 0 to 20 mA Available Not available current range Voltage 0 2 F S or less at 25 C Overall 0 6 F S or less at 25 C 0 4 F S or less at 0 to 55 C precision c i 1 F S or less at 0 to 55 C 0 3 F S or less at 25 C ne 0 6 F S or less at 0 to 55 C Available Moving average 10 Analog input averaging function Available Moving average times No of averaging times 64 times or 128 times Note 3 set pont Needed 60mA or less Not needed Power supply C 24V DC ontrol unt l consumption current 20 mA or less 20 mA or less increment Note 1 The resolution and operation mode is switched by the mode switch 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 averaging method can be set for each channel separately by user programs For details of the averaging methods refer to the chapter 5 Analog Input Averaging Processing 1 2 7 1 Analog Input Unit 7 1 2 Points of Replacement The points for replacing the conventional model FPO
2. 1 gt FOMV _ DTO WY2 CHO L 1 gt FOMV _ DT1 wy3 CH1 4 28 4 4 Analog I O Unit FPOR A21 A42 E Sample program 12 bit mode 0 to 20mA range a lt K 0 DTO i K 4000 DTO gt 1 1 ie FOMV DTO WY2 CHO wono SK aii gt Mie a S eee DT WY3 CH ere eee ere rrr rr errr reer errr rr errr rer rrr rer R9010 Always ON relay KA 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 It is executed when the execution condition is ON and written data is within the upper and lower limits Data for CHO is set in DTO and CHO is specified by the output data switching flag It is executed when the execution condition is ON and written data is within the upper and lower limits Data for CH1 is set in DT1 and CH1 is specified by the output data switching flag 4 29 Creating Programs 4 4 4 Writing of Digital Data for Output 14 bit Mode With the analog I O unit FPOR A42 A21 the conversion output is performed by using two bits as the switching flags of output channels and writing data E 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 YYYY NY Y Y YY YY Yy 3
3. 4 33 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 FPOR A21 A42 the output range can be switched by user programs It can be set for each channel E O allocation External output WY YY ies a as ia as ae ile am ae il alas a ek 313 313131313131313131313131313 FiE DiC BiA191817 161514131211 10 A Output data of CH1 14bit A A Output data of CHO 14bit 1 0 Input average setting CHO CH3 1 0 Input average setting CHO CH3 CH1 output range setting CHO output range setting Each output range is specified by setting the following constants item Description S Input constants for specifying output ranges in the 14 bit area H30 10 to 10V 0 to 20mA Output range setting H31 5 to 5V 4 to 20mA H32 0 to 10V H33 0 to 5V E Default settings The default settings are as follows Output range for all channels Voltage output range 10 to 10 V Current output range 0 to 20 mA PA Poo e The output ranges are set for two channels separately 4 34 4 4 Analog I O Unit FRPOR A21 A42 E Sample program Output range switching The following program shows the case that the input range of CHO and CH1 of the first expansion analog I O unit FPOR A21 A42 is set Input a constant for specifying an output RO Hx DF FOMV __ H30 RO Hx DF FOMV H30 Y2E WY2 lt RST gt
4. Used for selecting the operation mode 12 bit mode or 14 bit mode compatible with the conventional product FPO A04V A041 Voltage output terminal for CHO CH3 Used for connecting the analog output device The voltage and current vary according to the settings of the mode switch Current output They can be selected for each channel terminal for CHO CH3 24 V DC is supplied from an external power supply For connection use the power supply cable AFP0581 that comes with the Unit Used for connecting the expansion unit with the internal circuit of the Control Unit connector DIN rail installing it can be installed to a 35 mm wide DIN rail groove The unit can be installed to the DIN rail through one touch operation D DIN hook This hook is also used for installing the unit to the Slim Type Mounting Plate AFP0803 Expansion hook Used for securing expansion units 2 4 2 2 Analog Output Unit FRPOR DA4 2 2 2 Setting of Mode Switch OFF ON MODE c VO 10 0 V1 11 0 V2 2 V3 13 E Setting of the mode switch OFF FP0 A04V A04I compatible 12 bit mode ON 14 bit mode Note 1 P 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 Note 2 For the both FPO A04V A04I compatibility 12 bit mode and 14 bit mode the output can be selected for each channel Note 3 All the switches are s
5. e When the negative data minus data is written set the output switching flag to two s complement data When specifying the minus data in the decimal data the data automatically becomes two s complement data Then set the output switching flag to two s complement data in the same way as the plus data Example When writing 1 in CHO 1 1111 1111 1111 1111 lt Two s complement Setting the output switching flag 1101 1111 1111 1111 Bit C 1 Bit D 0 for CHO 4 9 Creating Programs E Sample program 12 bit mode For the range of 10 V to 10 V The following program shows the case that the data of DTO to DT3 is converted and output to the CHO to CH3 of the first expansion analog output unit The range for checking digital values written in the output area is changed R9042 T lt K 2000 DTO lI gt K 2000 DTO ial 1 gt FOMV_ DTO WY2 T SET gt R9012 lt K 2000 DT1 I gt K2000 DT1 1 gt FO MV DT1 WY3 Ta SET gt R9012 lt K 2000 DT2 J gt K 2000 DT2 1 gt F0MV_ DT2 WY2 T RST gt Rooq2 lt K 2000 DT3 i gt K 2000 DT3 4 1 gt FOMV _ DT3 WY3 T RST gt 4 10 4 3 Analog Output Unit FRPOR DA4 R9012 Switches the timing of writing data by the scan pulse realy ea Checks whether the lower limit value is within the data range that the unit can convert correctly EY Checks whether the upper limit v
6. Pinno Nome Funeton OOOO Voltage signal input Current signal input Input common Voltage ae npa em Curent sigaria T Fe Feat conection anaiog sil eat for wo CHo Vote sional ouput o our com Output commen Pinno Name Function r ww wo es a ps fw a 5 Fo Fr i censaon taal sina eat r for i Caro oua o or com ouput common Note 1 For inputting a current signal to the analog input part connect the V terminal and terminal externally Note 2 All COM terminals are connected within the unit 3 6 3 3 Analog I O Unit FPOR A21 A42 3 3 2 Wiring of Analog I O Unit E Analog input Voltage input Current input Input instrument CHO Input instrument CHO Input instrument CH1 Input instrument CH1 First connect both IN V terminal and IN I terminal And then connect input instrument between it and IN COM terminal Connect input instrument between IN V and IN COM terminal Output instrument Output instrument Connect output instrument between OUT V and Connect output instrument between OUT I and OUT COM terminal OUT COM terminal Note 1 In the above figure the input CHO CH1 and output CHO are d
7. FOMV WX2 DT2 2 a F65 WAN WX3 H3FFF DT3 7 FOMV WX2 DT4 F65 WAN WX3 H3FFF DT5 E FoMV WX2 DT6 A ae F65 WAN WX3 H3FFF DT7 The channels of conversion data read by turning on off the conversion data switching flags X3F and X3E are distinguished EJ Conversion data of even numbered channels CHO CH2 CH4 CH6 is transferred as is When the data of odd numbered channels CH1 CH3 CH5 HC7 is positive the most significant two bits are masked by 00 with F65 WAN AND instruction and the data is stored in DT1 DT3 DT5 DT7 4 2 2 Setting of Input Range and Averaging Processing 14 bit Mode Only When selecting the 14 bit mode in the analog input unit FPOR AD4 AD8 the input range and averaging method can be switched by user programs They both can be set for each channel E Default settings The default settings are as follows Input range for all channels 10 to 10 V Averaging processing Moving average processing 10 times Max and min removal The averaging processing is enabled when the mode switch No 5 is ON 4 6 4 2 Analog input unit FPOR AD4 AD8 E 1 0 allocation External output WY CH7 CH6 CH5 CH4 CH3 CH2 CH1 CHO D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D 4 0 1 0 1 0 7 0 1 0 1 0 1 0 1 0 1410110 1 0 1 0 1 0 1 0 1 0 1 0 10V to 10V No of averaging times 64 5V to 5V No of averaging times 1
8. Input instrument CH1 Input instrument CH2 Input instrument CH3 First connect both V terminal and terminal And then connect input instrument between it and COM terminal Connect input instrument between V 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 Note 3 Recommend using the twisted and shielded communication cables for analog lines and grounding the end of shield Wiring 3 2 Analog Output Unit FPOR DA4 3 2 1 Terminal Layout Diagrams Appearance Function Ho lg Analog output lt ot Q Q Q Q O S O S Ol1S lt lt lt lt IL N H oO O NC CH2 Current signal output Output common CH3 Current signal output Output common O lt Analog output O PinNo Name re o 83 u 6 pe CoM o9 NC Note All COM terminals are connected within the unit 3 4 3 2 Analog Output Unit FRPOR DA4 3 2 2 Wiring of Analog Output Unit E When the voltage output 13 E E COM NC 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 FPOR A21 A42 3 3 1 Terminal Layout Diagrams Appearance
9. Y2F lt SET gt Y3E WY3 lt RST gt Y3F lt SET gt Set it for switching the output range of CHO Set it for switching the output range of CH1 Output data switching flag for CHO When Y2E is OFF and Y2F is ON the output range of CHO is set Output data switching flag for CH1 When Y3E is OFF and Y3F is ON the output range of CH1 is set 4 35 Creating Programs 4 5 I O Conversion Characteristics 4 5 1 Input Conversion Characteristics Voltage Range m 10V to 10V DC input Conversion characteristic Correspondence table of A D Conversion values Digital value Input volage Y nputvotage ty 12 bit 14 bit 2000 8000 If the input value is out of the range aanivall V Digital value nput voltage j 3 12 bit 14 bit 10V or less 2000 8000 Note 1 A digital conversion value equivalent to the analog input value of approx 2 V is shown for the channels to which no input is connected E 5V to 5V DC input 14 bit mode only Conversion characteristic Correspondence table of A D Conversion values Digital value 14 bit 5 0 8000 2 5 4000 Input voltage V 4000 8000 If the input value is out of the range Digital value Input voltage V 14 bit 8000 Note 1 A digital conversion value equivalent to the analog input value of approx 2 V is shown for the channels to which no input is connected 4 36 4 5 I O Conversion Characteristics E OV to 10V DC in
10. 1780 1810 1950 Min Max K1833 K1845 o o So K1830 Note The above figure shows the processing when the number of input channels is two 5 2 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 E Processing when selecting the number of averaging times e Averages and stores converted values obtained by sampling e 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 e Stores the first obtained data in the external input area WX when the number of obtained data is less than the number of averaging times Analog signal b l l l l l l l o we ee eM MK HK KH fS o o e f l l l l l l l l l l l l l l l l l I l l l l Q 3d o NE gg ay fa x Analog input processing l i Average of a to e Average of f to j Average of k to o data Note To make the explanation simple the above figure shows the processing which averages data by five times In the actual processing calculation is carried out with the average of data for 64 times or 128 times E Setting method of the number of averaging times processing The number of averaging times
11. A80 with the new model FRPORAD as an alternative are described below E Specification The voltage range of 100 to 100 mV DC is not available for the new models FPORAD4 and AD8 E Hardware e The mode switch is set in the same way as FPO A80 However the range of 100 to 100 mV is not supported e The supply of power 24 V DC from an external device is not needed for the new analog input units FPOR AD4 and FPOR AD8 e For FPOR AD4 and FPOR AD8 a digital conversion value equivalent to the analog input value of approx 2 V is shown for the channels to which no input is connected E Software User programs created for the conventional model FPO AD8 can be used as they are REFERENCE e For details of the setting method of the mode switch refer to 2 1 2 Setting of Mode Switch 7 3 Compatibility with Conventional Models 7 2 Analog Output Unit 7 2 4 Compatibility with Conventional Models E Specification Comparison Chart Appearance FPO A04V FPOR DA4 LE Tenninal block 2 For voltage output For current output 12 bit 1 4000 Resolution and Operation mode 12 bit 1 4000 14 bit 1 16000 Note 1 1 bj Analog output range Voltage Current Each model eae 10 to 10 V DC Available FPO A04V Available Note 2 Analog output 9 to5 V DC Not available Available Note 2 voltage range 0 to 10 V DC Not available Available Note 2 Oto 5VDC Not available Available Note 2 Analog input
12. Conversion characteristic Correspondence table of D A Conversion values Digital value Output voltage V 12 bit 14 bit 2000 8000 4000 Processing if the range is exceeded Digital input value Output voltage V 2001 or less 8001 or less j 8000 4000 0 4000 8000 K 2001 or less ha to the following 2000 1000 0 1000 2000 K 2001 or more 8001 or more E E Conversion characteristic Correspondence table of D A Conversion values Digital value Output voltage V utput V 14 bit i i Processing if the range is exceeded Digital input value Output voltage V 8001 or less Refer to the following 8000 4000 0 4000 8000 K 8001 or more notes KEY POINTS e 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 Mode Datarange i Description The bits D and C of a written value may be regarded as 2049 or less 2048 or more channel switching flags and converted to an unintended value and output 2048 to 2001 2001 to 2047 i value does not change and the previous value is The bits F and E of a written value may be regarded as 8193 or less 8192 or more channel switching flags and converted to an unintended value and output 8192 to 8001 8001 to 8191 a value does not change and the previous value is 4 39 Creating Programs E OV to 10V DC output 14 bit mod
13. Ing aa 2 ee ave j hi eins scanning processes at the time of n CH2 are used Writing CH2 data in WY2 at the time of n 1 scan and n 1 scan 4 8 4 3 Analog Output Unit FPOR DA4 E When data is regarded as an error e 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 When the correct data is written the error flag is cleared and D A conversion is executed e Output data and output switching flag are allocated to the same I O number Data error can be detected successfully with the flags when the digital input value is within the range of K 4096 to K4095 Even when the digital input value is out of the range however data conversion may be mistakenly conducted as shown below To prevent this problem be sure to set up the program to check the upper and lower limits of the digital value Example When writing K4096 in WY2 K4096 0001 0000 0000 0000 Analog Output Unit regards Y2D and Y2C as output switching flags Y2D Y2C 01 lt CHO Data 0000 0000 0000 lt 0 Consequently the analog value that is equivalent to the digital value 0 is output from CHO E Negative data
14. PORSDAA xoiccsuitesccasictvcecietocowussendvendacedoheecaes 2 4 2 2 1 Names and Functions of Parts ccccccssccssseeceeeeceeeceeeeceueeseeeeeeeseas 2 4 22 2 SEUNG Ol MODS SWIC aier aiana Aa 2 5 2 3 Analog I O Unit FPOR A21 A42 2 0 ccccccceceeceeeeeseeceeteeteeteeeeeeeeeees 2 6 2 3 1 Names and Functions of Parts ccc cccccccccceeceseeeeseeeeaeeeseeeesaeeeseeeeaes 2 6 23 2 SEWING OF Mode SWING ercan a E 2 1 aaa O ccr 3 1 3 1 Analog Input Unit FRPOR AD4 AD8 ccc eee seca eee eeeeeseeeeeeeeeeenes 3 2 Sci Terminal Layout Diagrams sieniin e 3 2 2 1 2 Wiring Ol Analog INDUC UNIT sia a AEA Ea ENEA Sess 3 3 3 2 Analog Output Unit FPOR DAA cc cecceeceeeeeeeeeeseeeeeeseeeeeeseeees 3 4 3 2 1 Terminal Layout Diagrams ccccccesccseeeeceeeeceeeceueeceueeceeesueeseaeesseeens 3 4 3 2 2 Wiring of Analog Output INE ai weiccth cael arent scat eth toad teem eenc bean 3 5 3 3 Analog I O Unit FPOR AZ WAZ cvccscscrvenii vinanaseaencunvessedidadeaassesanande tacos 3 6 3 9 1 Terminal Layout DiagraM S sisiran ie aed oes Sass 3 6 33 2 Wiring Ol Analog VO ONAN woes Se coccacees ces ete cas ges eet Ate ce 3 7 Table of Contents 34 Common PRECAUTIONS sxe secu eeieccn ccc e accu edau iaaea da aata natatae 3 8 SAA NVIPINGOr Analog VOUN scassan ete eccus tence eee ycst ends ences ence teen 3 8 3 4 2 Wiring of Power Cable FPOR DA4 FPOR A21 FPOR A42 3 9 4 Creating Pro
15. allocation 12 bit FP0 A04 Compatibility mode Two bits the bits C and D are used as the switching flags 313 313 313 3 313 3 3 3131313 FiE DiC BiA 91817161514131211 AiA Output data of CH1 CH3 AiA Output data of CHO CH2 1 0 12bit 1 0 12bit L Output data switching flag L Output data switching flag olo D A conversion None oj o D A conversion None o r mee o a o me o o i owe Pa fo oee E Writing conversion data e The analog output unit writes the analog output digital data of a maximum of 4 channels to two memory areas WY2 WY3 by user programs Output data switching flags for specifying channels are allocated to the two bits of the memory area WY2 WY3 e n user programs channels are specified by setting resetting the output channel swtiching flag right after setting a digital value in the memory area e As CHO and CH2 and CH1 and CH3 use each common memory area data cannot be written to the unit in the same scan Write data separated into two scans using scan pulse relay R9012 etc In the channels which are not allocated to the same memory area data can be written in the same scan Example Processing pesiin When CHO and Writing CHO data in WY2 at the time of n scan Data can be written in WY2 and WY3 at CH1 are used Writing CH1 data in WY3 at the time of n scan the time of n scan mn an Data can be written in WY2 once in 2 Writing CHO data in WY2 atthe t f When CHO and
16. lower limits 4 31 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 FPOR A21 A42 the input range or averaging method for each channel can be set by user programs E O allocation External output WY YY ies a as ia as ae ile am ae il alas a ek 313 313131313131313131313131313 FiE DiC BiA191817 161514131211 10 A Output data of CH1 14bit 1 0 Input average setting CHO CH3 CH1 output range setting Input average setting Output data of CHO 14bit Input average setting CHO CH3 CHO output range setting Input range setting Set the contents allocated to CHO to CH3 for the input averaging processing and input range by replacing the following 8 bit data with Hex data CH3 CH2 CH1 CHO D Ab Ae ap D 1 0 Specify 0 4 014 011 011 0 Moving average 10 times Max mre min removal No of averaging times 64 No of averaging times 128 No averaging CH3 CH2 CH1 CHO D D D D D D D D Specify 0 a gl1iol4 ol1io 10V to 10V 5V to 5V 0 to 10V 0 to 5V 0 to 20mA E Default settings The default settings are as follows Input range for all channels 10 to 10 V Averaing processing Moving average processing 10 times Max and min removal The averaging processing is enabled when the mode switch No 5 is ON 4 32 4 4 Analog I O Unit FPOR A21 A42 E Sample program Input range s
17. 0 12000 16000 K menelng Including negative value negative value Refer to the notes 1000 2000 3000 4000 K cinemas page 4001 ormore 16001 or more Note For the 12 bit mode the values for FROR A21 A42 are shown For FPOR DA4 12 bit mode the range is 4 mA to 20 mA E 4mA to 20mA output Conversion characteristic Correspondence table of D A Conversion values Digital value l Output current mA 12 bit 14 bit 1000 4000 2000 8000 3000 12000 4 0 NIe 0 NM Oojo 4000 16000 l Processing if the range is exceeded Digital value Output current mA 12 bit 14 bit 4000 8000 12000 16000 K meuding Including l negative value negative value Refer to the notes 1000 2000 3000 4000 K on the next page 4001 or more 16001 or more Note For the 12 bit mode the values for FPOR DA4 are shown For FPOR A21 A42 12 bit mode the range is 0 mA to 20 mA 4 41 Creating Programs Pom e 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 Mode Dataran pescon The bits D and C of a written value may be regarded as l 4097 or less 4096 or more channel switching flags and converted to an unintended 12 bit value and output mode 4096 to 1 4001 to 4095 a value does not change and the previous value is The bits F and E of a writt
18. 0 to 20 mA Not available Available Note 2 current range 4 to 20 mA Available FP0 A041 Available Note 2 0 2 F S or less at 25 C Overall 0 6 F S or less at 25 C 0 4 F S or less at 0 to 55 C precision 1 F S or less at 0 to 55 C 0 3 F S or less at 25 C 0 6 F S or less at 0 to 55 C External power 100 mA or less FPOAO04V Power supply 24V DC Control unit consumption current 20 mA or less 10 mA or less increment Note 1 The resolution and operation mode is switched by the mode switch 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 5V DC 0 to 10V DC and 0 to 20 mA DC can be set by user programs only when selecting the 14 bit mode 7 4 7 2 Analog Output Unit 7 2 2 Points of Replacement The points for replacing the conventional models FROAO4V or FPOA04I with the new model FPORDA4 as an alternative are described below E Hardware e Turn off the mode switch No 1 and select 12 bit FROA04 compatibility mode The voltage output range is 10 to 10 V DC and the current output range is 4 to 20 mA DC e The new model FPORDA4 has two terminal blocks for the voltage output and current output They are connected according to the application e ln the case of FPORDAG4 select whether to output signals to the voltage output or current output for each channel with the mode switch The factory default setting is the vol
19. 1 31313131313131313131313131313 FiE DiC B A191817 61514 13121110 A Output data of CH1 14bit A A Output data of CHO 14bit 1 0 Input average setting CHO CH3 1 0 Input average setting CHO CH3 CH1 output range setting CHO output range setting E Writing data for conversion e 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 ea e Protect output switching flags from being overwritten by a subsequent program after writing data Output data becomes invalid NOTE e Always insert a program which checks the upper and lower limits to make written digital values be within the allowable data ranges referring the programs described on the dbase pages ee range O 8000 8000 it mode e For the analog I O unit FPOR A21 A42 the data setting becomes valid when the output switching flags Y2F Y2E or Y3F Y3E are 0 0 or 1 1 When written digital values are within the range in the above table it is not necessary to add programs for setting or setting the output switching flags after data transmission like the following programs because the output switching flags Y2F Y2E or Y3F Y3E are always 0 0 or 1 1 4 30 4 4 Analog I O Unit FPOR A21 A42 E 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 DTO to DT1 is converted and output to the CH
20. 14 bit mode Y2E Y2F Y3E and Y3F are used as the output data switching flags Note that the allocation is different from that in the FPO A04 compatible 12 bit mode 4 19 Creating Programs 4 3 3 Switching of Output Range 14 bit Mode Only When selecting the 14 bit mode in the analog output unit FPOR DA4 the output range can be switched by user programs It can be set for each channel E O allocation External input WY A A Output data of CH1 CH3 14bit A A Output data of CHO CH2 14bit 110 Range setting 110 Range setting Each output range is specified by setting the following constants item Description S Input constants for specifying output ranges in the 14 bit area H30 10 to 10V O to 20mA Output range setting H31 5 to 5V 4 to 20mA H32 0 to 10V H33 0 to 5V E Default settings The default settings are as follows Output range for all channels Voltage output range 10 to 10 V Current output range 0 to 20 mA 4 20 4 3 Analog Output Unit FRPOR DA4 E Sample program Switching output range For CH0 CH1 The following program shows the case that the output ranges of CHO and CH1 of the first expansion analog input unit Is set RO Y2E Hx DF FOMV H30 WY2 lt RST gt O Y2F lt RST gt R1 Y3E Hx DF FOMV H30 WY3 lt RST gt Y3F lt RST gt E Sample program Switching output range For CH2 CH3 The following pr
21. 28 0 to 10V No averaging 0 to 5V 0 to 20mA E Sample program Switching input range The following program shows the case that the input range of CHO to CH7 of the first expansion analog input unit is set RO LX DF FO MV HFFOO WY2 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 HFFOO is input for setting Y2F Y28 to 1 and Y27 Y20 to 0 The range for CH4 to CH7 is 0 to 5 V 0 to 20 mA and that for CHO to CH3 is 10 V to 10 V Set it for switching the input range E Sample program Switching averaging processing method The following program shows the case that the averaging processing method of CHO to CH7 of the first expansion analog input unit is set RO LX DF FO MV HFFOO WY3 Input a constant for specifying an averanging method Set it according to the I O allocation on the previous page In the above sample program HFFOO is input for setting Y3F Y38 to 1 and Y37 Y30 to 0 The method of CH4 to CH7 is no averaging processing and that of CHO to CH3 is moving average 10 times Set it for switching the averaging processing method 4 7 Creating Programs 4 3 Analog Output Unit FPOR 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 E 1 0
22. 4 5 Switching of Input Range and Averaging Method 14 bit Mode Only 4 32 4 4 6 Switching of Output Range 14 bit Mode Only cece eeeeee ees 4 34 4 5 I O Conversion CharacteristiCs cccccccccceeeeeeeeeeeeeeneeeeeeeneeeseeeeens 4 36 4 5 1 Input Conversion Characteristics Voltage Range cccsceseeeeeeees 4 36 4 5 2 Input conversion Characteristics Current RAnge cccsescesseeeeeees 4 38 4 5 3 Output conversion Characteristics Voltage Range ccccceeeeseees 4 39 4 5 4 Output conversion Characteristics Current Range ccccseeeeees 4 41 5 Analog Input Averaging ProcesSIng cssessesseseeeees 5 1 5 1 Types of Averaging ProCeSSIng c ccccscceecceeceeeeeceeeeeeceeeeeeseeeeeeeaees 5 2 Table of Contents 5 1 1 Moving Average 10 TIM S ccccccccssceceeeecseeceeeeceueeseueeseeeseeessueesseens 5 2 5 1 2 Number of Averaging Times 64 times 128 times 14 bit Mode Only 5 3 5 2 Setting of Averaging ProceSSINg ccccccsccsseceeceeeeeeseeeeeeseeeseeseeeseeeaes 5 4 5 2 1 Enabling Averaging Processing ccccccccesseeeeeeeeeeeeeeeeeseeeeseeesaeeesaeeees 5 4 DICCIHICAUIONS arrosan aE aai 6 1 6T Fable OF SPCCIHICATIONS ssr a 6 2 6 1 1 General Specifications cccccccsscccsscccseeceececeuceceeeeceeeceusecsueesseeesaeeseas 6 2 6 1 2 INDUL SD ECIIGATIONS xs dectov sare sivcdoe sees aae a a ar aaaea 6 3 6 1 3 OUID
23. 4 bit mode 1 16000 is added to the both input and output Also ranges for each channel can be specified by user programs 1 1 2 Unit Type Name sd Specifications Product number 4 ch input AFPORAD4 FPOR Analog Input unit 8 ch input AFPORAD8 FPOR Analog Output Unit 4 ch output AFPORDA4 2 ch Input 1 ch output AFPORA2 1 FPOR Analog I O Unit 4 ch Input 2 ch output AFPORA42 1 1 3 Restrictions on Units Combination Up to three units can be connected with the control unit including other FPO FPOR Expansion I O Unit and intelligent unit 1 2 2 Names and Functions of Parts Names and Functions of Parts 2 1 Analog Input Unit FPOR AD4 AD8 2 1 1 Names and Functions of Parts EXPANSION CONNECTOR z 8 0S FPOR AD4 FPOR AD8 E Names and Functions of Parts Description Used for selecting the input range the number of input channels and whether Mode setting to use the averaging processing or not switch Used for selecting the operation mode 12 bit mode or 14 bit mode compatible with the conventional product FPO A80 e eee Used for connecting the analog input device A Used for connecting the analog input device Used for connecting the expansion unit with the internal circuit of the Control Unit connector DIN rail installing t can be installed to a 35 mm wide DIN rail groove T
24. 6 0901 Japan E Telephone 81 568 33 7861 W Facsimile 81 568 33 8591 panasonic net id pidsx global For our sale network please visit our website Panasonic Industrial Devices SUNX Co Ltd 2015 October 2015 PRINTED IN JAPAN WUME FPORAIO 02
25. AFPORA21 Note 3 Output Note 4 WY2 WY4 WY6 AFPORA42 CHO Y20 Y2F Y40 Y4F Y60 Y6F Output Note 4 WY3 WY5 WY7 CH1 Y30 Y3F Y50 Y5F Y70 Y7F Note 1 0n AFPORAD4 data of CHO to CH3 is handled Note 2 It can be also used for switching the output range in the 14 bit mode Note 3 On AFP04A21 data of input CHO CH1 and output CHO is handled Note 4 It can be also used for the input range averaging setting for input and switching the output range in the 14 bit mode 4 3 Creating Programs 4 2 Analog input unit FPOR 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 E O allocation External input WX X XiX X X X X XX X X X X X X X X XiX X X X X X X X XX X X X X 33 SI aaa aa 31810 a3 212 222122 2 2 2222222 F E D C B A 9 8 7 6 514 3 2 1 0 FiE D C B A 91817 61514 312 110 A A Conversion data of Conversion data of To CH1 CH3 CH5 CH7 CHO CH2 CH4 CH6 14 bit with sign 16 bit with sign oo Conversion data switch flag cro aia o cis data CHA ata E Role of conversion data switching flag e The analog input unit reads the analog input data of a maximum of 8 channels using two memory areas WX2 and WX3 The most significant two bits are allocated as a conversion data switching flag for distinguishing channels e Conversion data of even numbered channels
26. O to CH1 of the first expansion analog I O unit FRPOR A42 A21 The range for checking digital values written in the output area is changed sj Ha yp Ke a plo e o Li 1 gt FO MV DTO WY 2 OK 10 teseccocscccccsoscccscseseccscsccosesosesosesoee tesesesosososocsosososososososososososososocososoo R90 lt K 8000 DT1 I gt K 8000 DT1 re 1 gt FOMV _ DT1 WY3 rere eee rere err errr rr errr reer errr rer rrr rer E 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 aa O 2 1 gt FO0OMV_ DTO WY2 CHO 10 O tesesecoscsccocososocosososososococosesococoseeoo R90 lt K 0 DT1 ii gt K16000 DT1 O 1 gt FOMV _ DT1 WY3 Cescscccccsesecososocososesoecososocosososecosoeo D R9010 Always ON relay 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 It is executed when the execution condition is ON and written data is within the upper and lower limits Data for CHO is set in DTO and CHO is specified by the output data switching flag Data for CH1 is set in DT1 and CH1 is specified by the output data switching flag It is executed when the execution condition is ON and written data is within the upper and
27. ORAD8 AFPORDA4 AFPORA42 Approx 85 g Note 1 Cutoff current 5 mA Factory default setting Rated current consumption Current consumption increase of control unit Vibration resistance 6 2 6 1 Table of Specifications 6 1 2 Input Specifications Analog input unit Analog I O unit AFPORAD4 AFPORAD8 AFPORA21 AFPORA42 10 to 10 V DC Resolution 1 16 000 Note 1 eau Voltage 5 to 5VDC Resolution 1 16 000 Resolution 0 to 10 V DC Resolution 1 16 000 Oto 5V DC Resolution 1 16 000 0 to 20 mA Resolution 1 16 000 Note1 10 to 10V DC K 2000 to K2000 12 bit mode K 8000 to K8000 14 bit mode Digital input 5 to 5 V DC K 8000 to K8000 14 bit mode only range 0 to 10 V DC KO to K16000 14 bit mode only Note 2 0 to 5V DC 0 to 20 mA KO to K4000 14 bit mode KO to K16000 14 bit mode Overal Voltage 0 2 F S or less at 25 C 0 4 F S or less at 0 to 55 C precision 0 3 F S or less at 25 C 0 6 F S or less at 0 to 55 C Input Voltage Approx 1 MQ Absolute Voltage 15 to 15 V Voltage input maximum input 30 to 30 mA Current input Between output Photocoupler terminal to Insulation internal circuit Insulation type DC DC converter method Note 1 The resolution in the 12 bit mode is 1 4 000 Note 2 A digital conversion value equivalent to the analog input value of approx 2 V is shown for the channels to which no input is connected Note 3 The time shown in the fig
28. Specifications Item Description S Rated operating voltage 24 V DC Operating voltage range 20 4 to 28 8 V DC Unit input voltage AFPORDA4 180 mA or less AFPORA21 80 mA or less AFPORA42 120 mA or less Allowable instantaneous 40ms power off time AFPORAD4 AFPORAD8 20 mA or less AFPORDA4 10 mA or less AFPORA21 AFPORA42 10 mA or less 10 to 95 RH at 25 C non condensing Between I O terminal and control unit power supply Breakdown voltage terminal ground terminal 500 V AC for 1 Note 1 lt AFPORA21 AFPORA42 gt minute Between analog input terminal and analog output terminal Between I O terminal and control unit power supply l terminal ground terminal Min 100 MQ Insulation resistance measured with a SE ORE UAF PORAIZ 500V DC megger Between analog input terminal and analog output terminal Based on JIS B 3502 and IEC 61131 2 5 to 8 4 Hz half amplitude 3 5 mm 8 4 to 150 Hz constant acceleration 9 8 m s X Y and Z axes 10 sweeps 1 octave mm O E Based on JIS B 3502 and IEC 61131 2 147 m s or more X Y and Z axes 3 times oe 1000V P P with pulse widths 50 ns 1us using noise simulator Nee Applied to the power supply part of the control unit Operating condition Must be free from corrosive gases and excessive dust EU Directive applicable nae oe standard EMC Directive EN 61131 2 Overvoltage category Category Il Pollution level Pollution level 2 Weight AFPORAD4 AFPORA21 Approx 75 g AFP
29. ULSDCCIICAIONS gn a a a a 6 4 6 2 DIMENS ONnasienen a eee ees N 6 5 Compatibility with Conventional Models 7 1 EA Analg IN DUT WA eeraa NEEEM 1 2 7 1 1 Compatibility with Conventional Models ccccccceeeeeeeeeseeeeaeeeeeeeees 1 2 7 1 2 Points of Replacement cccccecccesceceeeeceeeceseeceueeceueesseeeeeeeseeeeseeens 1 3 T2 Anal g Ourour UNM ennn asec scious agents 1 4 7 2 1 Compatibility with Conventional Models cccccceeceseeeeseeeeaeeeeeeeees 7 4 7 2 2 Points Of Replacement ccccsecccssceceeeeceeeseeeeceuceceueeseeeeseeesseeessaeens 7 5 Te SIVAN COB UNG sao sete sete ie terest a esse eee ate ee uae eseseaes 7 6 7 3 1 Compatibility with Conventional Models ccccccceeceseeeeseeeeeeeeeeeeees 7 6 1 3 2 Points OF Replacement sore seceo ee cSecepecooness ducers eeaeiroeiaedeneeeetelerrhe 1 7 1 Unit Functions and Restrictio ns Unit Functions and Restrictions 1 1 Unit Functions and How They Work 1 1 1 Functions of Unit E Attaching these units to FPOR Control Unit enables analog I O control e t is selectable from five types of units in accordance with the intended use E Compatibility mode with conventional models is prepared e The compatibility mode which enables smooth transition from conventional Analog I O Units FPO A80 FPO A04V FPO A04I FPO A21 is prepared E 14 bit processing mode is added e The high resolution 1
30. WUME FPORAIO 02 Panasonic PROGRAMMABLE CONTROLLER FPOR Analog I 0 Unit Users Manual Applicable Models FPOR Analog Input Unit Model No AFPORAD4 AFPORAD8 FPOR Analog Output Unit Model No AFPORDA4 FPOR Analog 1 0 Unit Model No AFPORA21 AFPORA42 2015 10 panasonic net id pidsx global 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 performan
31. X3 HCOOO DT4 FOMV WX2 DT2 x3p a F65 WAN WX3 H3FFF DT3 ee H F66 WOR WX3 HC000 DT3 X3E The channels of conversion data read by turning on off the conversion data switching flag X3E are distinguished D The signs of read conversion data of CH1 CH3 are distinguished When plus OFF When minus ON The conversion data of CHO is transferred to DTO When the data of CH1 is positive the most significant two bits are masked by 00 with F65 WAN AND instruction and the data is stored in DT1 When the data of CH1 is negative the most significant two bits are masked by 11 with F66 WOR OR instruction and the data is stored in DT1 The conversion data of CH2 is transferred to DT2 When the data of CH3 is positive the most significant two bits are masked by 00 with F65 WAN AND instruction and the data is stored in DT3 When the data of CH3 is negative the most significant two bits are masked by 11 with F66 WOR OR instruction and the data is stored in DT3 4 26 4 4 Analog I O Unit FPOR A21 A42 E Sample program FPOR A42 For ranges of 0 to 10 V 0 to 5 V and 0 to 20 mA gt WX2 DTO F65 WAN WX3 H3FFF DT1 ecsesccososococososocosososocosesocosesococose E E 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
32. X3E are distinguished e The conversion data of CHO is stored into DTO The most significant two bits are masked by 00 with F65 WAN AND instruction and the data is stored in DT1 Note The conversion data of CH2 is stored into DT2 The most significant two bits are masked by 00 with F65 WAN AND instruction and the data is stored in DT3 Note In the case of data of CH1 it can be replaced with the transfer instruction FO MV as the conversion data switching flag is 00 4 27 Creating Programs 4 4 3 Writing of Digital Data for Output 12 bit Mode The analog I O unit FRPOR A42 A21 writes data for conversion as the output switching flags are not contained in the 12 bit mode E O allocation 12 bit mode E Writing data for conversion e 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 ea e Always insert a program which checks the upper and lower limits to make written digital values be within the allowable data ranges referring the programs described on the pages NOTE eee range o oO range o oO 2000 2000 mode Oo tae o 4w E Sample program 12 bit mode 10V to 10V range The following program shows the case that the data of DTO to DT1 is converted and output to the CHO to CH1 of the first expansion analog I O unit FPOR A42 A21 R9010 lt K 2000 DTO I gt K 2000 DTO a
33. a switching flag It is executed when the scan pulse relay is ON and written data is within the upper and lower limits Data for CH1 is set in DT1 and CH1 is specified by the output data switching flag It is executed when the scan pulse relay is OFF and written data is within the upper and lower limits Data for CH2 is set in DT2 and CH2 is specified by the output data switching flag It is executed when the scan pulse relay is OFF and written data is within the upper and lower limits Data for CH3 is set in DT3 and CH3 is specified by the output data switching flag e Inthe FP0 A04 compatible 12 bit mode Y2C Y2D Y3C and Y3D are used as the output data switching flags Note that the allocation is different from that in the 14 bit mode 4 13 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 E 1 0 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 A A Output data of CH1 CH3 14bit A A Output data of CHO CH2 14bit 1 0 Range setting 110 Range setting 1 1 1 1 0 CH3 output data O CH2 output data E Writing data for conversion e The analog output unit writes the analog output digital data of a maximum of 4 channels to two memo
34. alternative are described below E Hardware e Although the positions of the mode switch and the terminal blocks are slightly different between the conventional model FPOA21 and the new model FPORA21 the setting methods of the switches and the pin layout of the terminal blocks are compatible e The mode switch is set in the same way as FPO A21 e The connections of the terminal blocks are also the same e For the new model FPORA21 a digital conversion value equivalent to the analog input value of approx 2 V is shown for the channels to which no input is connected Appearance Mode switch i The settings of the mode switches and the wirings of the terminal blocks are the same Terminal block E Software User programs created for the conventional model FPOA21 can be used as they are E Replacement of FP0 A21 with FPORA42 For replacing two FPOA21 units with FPORA42 the user program should be changed The output range is either 0 to 20 mA or 10 to 10 V REFERENCE e For details of the setting method of the mode switch refer to 2 3 2 Setting of Mode Switch Compatibility with Conventional Models 7 8 Record of changes WUME FPORAIO 01 June 2015 First Edition WUME FPORAIO 02 Oct 2015 second Edition Error correction Chapter 3 2 1 Please contact Panasonic Industrial Devices SUNX Co Ltd E Overseas Sales Division Head Office 2431 1 Ushiyama cho Kasugai shi Aichi 48
35. alue is within the data range that the unit can convert correctly Output data switching flags for even numbered channels Channel numbers are specified by the two bit switching flags right after setting conversion data by the transfer instruction FO MV Output data switching flags for odd numbered channels Channel numbers are specified by the two bit switching flags right after setting conversion data by the transfer instruction FO MV It is executed when the scan pulse relay is ON and written data is within the upper and lower limits Data for CHO is set in DTO and CHO is specified by the output data switching flag It is executed when the scan pulse relay is ON and written data is within the upper and lower limits Data for CH1 is set in DT1 and CH1 is specified by the output data switching flag It is executed when the scan pulse relay is OFF and written data is within the upper and lower limits Data for CH2 is set in DT2 and CH2 is specified by the output data switching flag It is executed when the scan pulse relay is OFF and written data is within the upper and lower limits Data for CH3 is set in DT3 and CH3 is specified by the output data switching flag e Inthe FP0 A04 compatible 12 bit mode Y2C Y2D Y3C and Y3D are used as the output data switching flags Note that the allocation is different from that in the 14 bit mode 4 11 Creating Programs E Sample program 12 bit mode For the range of 4 to 20 mA The f
36. can be changed by being written to the output relay area WY in a user program 5 3 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 E 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 e The averaging method of all channels is the moving average 10 times Max and min removal E 14 bit mode e The averaging processing is enabled only when the mode switch No 5 of the unit is ON e The default is the moving average 10 times Max and min removal elt is possible to specify the averaging method Moving average 10 times No of averaging times 64 No of averaging times 128 No averaging by a user program for each channel REFERENCE e For details of the setting method of the mode switch refer to the chapter 2 Names and Functions of Parts e For details of the programming method for the analog input unit FPOR AD4 AD8 refer to 4 2 2 Setting of Input Range and Averaging Processing 14 bit Mode Only e For details of the programming method for the analog I O unit FPOR A21 A42 refer to PAGEREF 4 4 5 Switching of Input Range and Averaging Method 14 bit Mode Only 5 4 6 Specifications Specifications 6 1 Table of Specifications 6 1 1 General Specifications E
37. can be read as 16 bit data as they are e As conversion data of odd numbered channels contain the conversion data switching flag of most significant two bits mask processing needs to be applied to the data with a user program Plus conversion data should be masked by 00 and minus conversion data should be masked by 11 Create a program in reference to the following programs Example For reading data of CH3 CH3 data WX3 Data after masking Most significant two bits are 010 0000 0000 0001 0090 0000 0000 0001 masked by OO 24 ote 1414 1111 1111 441 1111 1111 1111 Most significant two bits are masked by 11 4 4 4 2 Analog input unit FPOR AD4 AD8 E 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 CHO to CH7 is read and stored in DTO to DT7 X3E viv FO MV X3D fr F65 WAN ey _ F66 WOR X3E FO MV J X3D br F65 WAN ro F66 WOR FO MV X3D srt F65 WAN et F66 WOR as X3E FO MV X3D 4 F65 WAN oe F66 WOR s WX2 WX3 WX3 WX2 WX3 WX3 WX2 WX3 WX3 WX2 WX3 WX3 DTO H3FFF HCO0O DT2 H3FFF HCO0O DT4 H3FFF HCOO0O DT6 H3FFF HCOO0O DT 1 DT1 DT3 DT3 DT5 DT5 DT7 DT7 Pere eee rere rere reer errr rrr rer re rrr rrr rrrrr M
38. ce 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 e There are different types of users manual fo
39. d the data conversion is not performed The CH2 data writing status error is cleared when data within the range is written and the CH3 data writing status conversion is performed Note 1 Output data and output CH switch flag are allocated to the same I O number Data error can be detected successfully with the flags when the digital input value is within the range of K 4096 to K4095 Even when the digital input value is out of the range however data conversion may be mistakenly conducted To prevent this problem be sure to set up the program to check the upper and lower limits of the digital value 4 22 4 3 Analog Output Unit FRPOR 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 E Status information Analog output unit power 0 OFF 1 ON CHO data writing status 0 Normal 1 Error Note 1 CH1 data writing status An error occurs when data written to the memory area WY2 WY3 is out of each range and the data conversion is not performed The CH2 data writing status error is cleared when data within the range is written and the CH3 data writing status conversion is performed The state of a specified output range can be monitored The following constants are stored for each range l HO 10V to 10V OmA to 20mA X30 X33 CHO range setting state H1 5V to 5V 4mA to 20mA H2 OV to 10V H3 OV to 5V Note 1 As output data and th
40. e only Conversion characteristic Correspondence table of D A Conversion values Digital value V pes Output voltage V 25 5 0 7 5 10 0 Processing if the range is exceeded Digital input value Output voltage V Including negative value Refer to the following es 4000 8000 12000 16000 K 16001 or more not Digital value V 14 bit Output voltage V 4000 1 25 8000 12000 3 75 160000 Processing if the range is exceeded Digital input value Output voltage V Including negative value Refer to the following 4000 8000 12000 16000 K 16001 or more notes Pom e 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 The bits F and E of a written value may be regarded as 1 or less 16384 or more channel switching flags and converted to an unintended 14 bit value and output mode pa 16001 to 16383 value does not change and the previous value is 4 40 4 5 I O Conversion Characteristics 4 5 4 Output conversion Characteristics Current Range E OmA to 20mA output Conversion characteristic Correspondence table of D A Conversion values Digital value Output current mA 12 bit 14 bit 1000 4000 2000 8000 10 0 3000 12000 15 0 Ol 4000 16000 20 0 Processing if the range is exceeded Digital value Output current mA 12 bit 14 bit 4000 800
41. e oro FiE D iC iB A 91817 1615 14 13121110 A A Conversion data of CH1 CH3 Conversion data of CHO CH2 1 0 14 bit with sign 16 bit with sign Lj Conversion data switch flag pat ao ws w CH1 data CHO data CH3 data CH2 data E Role of conversion data switching flag e The analog I O unit FRPOR A42 reads the analog input data of a maximum of 4 channels using two memory areas WX2 and WX3 The most significant two bits are allocated as a conversion data switching flag for distinguishing channels e Conversion data of even numbered channels can be read as 16 bit data as they are e As conversion data of odd numbered channels contain the conversion data switching flag of most significant two bits mask processing needs to be applied to the data with a user program Plus conversion data should be masked by 00 and minus conversion data should be masked by 11 Create a program in reference to the following programs TE For we data of CH3 Most significant two bits are cco 0000 0000 0001 J O 0000 0000 0001 masked by 00 41 Most significant two bits are masked by 11 4 25 Creating Programs E Sample program FPOR 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 FPOR A42 CHO to CH3 is read and stored in DTO to DT3 FOMV WX2 DTO X3D ee 1F65 WAN WX3 H3FFF DT1 H F66 WOR W
42. e output switching flag are allocated to the same I O a data error is detected correctly only when a digital input value is within K 8192 to K8191 for the trange and KO to K16383 for the range In the case of digital input values exceeding these ranges data may be converted without an error so always insert a program which checks the upper and lower limits Note 2 In the 14 bit mode the range setting state of each channel specified in WY2 and WY3 can be confirmed 4 23 Creating Programs 4 4 Analog I O Unit FPOR 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 E O allocation External input WX Conversion data of CH1 Conversion data of CHO 16 bit with sign 16 bit with sign WX3 WX2 CH1data CHO data Sample program FPOR A21 DIRA The following program shows the case that conversion data of the first expansion analog input unit FPOR A21 CHO to CH7 is read and stored in DTO to DT7 To WX2 DTO ae set ae S The conversion data of CHO is stored into DTO The conversion data of CH1 is stored into DT1 4 24 4 4 Analog I O Unit FPOR 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 E O allocation External input WX XXX XXX XXX KIKI KKK KK SOLO e ere
43. eee ccccccccncccccccccccccscccccsescccsesccceee POO eee e cece cccccncccvensccsensscsesssscessees Macc c ccc cccccccccccscccccccscccecsescccccscseece Geet eee e eee ccccccceccccvecsccsensccsessccceesees Macc ccccccccccc ccc ccccccccscccccsesccccenceceee Pere Ce eee reer errr rer re rere reer rr rer rer rer rrr ery rere rere errr reer rere reer rere rrr rrerrr rrr rrrrr Meee cccccccc nec ccc ccc cccccscccscsencccccscseeee The channels of conversion data read by turning on off the conversion data switching flags X3F and X3E are distinguished The signs of conversion data of read odd numbered channels are distinguished When plus OFF When minus ON Conversion data of even numbered channels CHO CH2 CH4 CHE6 is transferred as is When the data of odd numbered channels CH1 CH3 CH5 HC7 is positive the most significant two bits are masked by 00 with F65 WAN AND instruction and the data is stored in DT1 DT3 DT5 DT7 When the data of odd numbered channels CH1 CH3 CH5 HC7 is negative the most significant two bits are masked by 11 with F66 WOR OR instruction and the data is stored in DT1 DT3 DT5 DT7 Creating Programs E 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 CHO to CH7 is read and stored in DTO to DT7 JE 4 FOMV WX2 DTO 2 GO a F65 WAN WX3 H3FFF DT4
44. en value may be regarded as l 1 or less 16384 or more channel switching flags and converted to an unintended 14 bit value and output mode l e 16001 to 16383 a value does not change and the previous value is 4 42 9 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 E Moving Average Processing e Averages and stores converted values obtained by sampling e 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 If a fraction results from the calculation it is rounded off Timing chart Operation item Analog input value Reading time Internal processing for chO Digital input value 1800 1780 1820 1790 1800 1850 1900 1830 1870 1910 1780 1810 1950 1800 1820 1790 1800 1850 1900 1830 1870 8 1832 50 1800 1780 1820 1790 1800 1850 1900 1830 1870 1910 Min Max 1820 1790 1800 1850 1900 1830 Le 187041780 8 1830 00 1780 1820 1790 1800 1850 1900 1830 1870 1910 1780 Min Max 1820 1790 1800 1850 1900 1830 1870 1810 8 1833 75 1820 1790 1800 1850 1900 1830 1870 1910 1780 1810 Max Min 1790 1800 1850 1900 1830 1870 1910 1810 8 1845 1790 1800 1850 1900 1830 1870 1910
45. escribed as representative examples The input CH2 CH3 and output CH1 of A42 type also have the same terminal layouts Note 2 All COM terminals are connected within the unit 3 7 Wiring 3 4 Common Precautions 3 4 1 Wiring of Analog I O Unit E Wiring diagram Voltage input Current input Analog device Analog device 1 For the current input short circuit the V and terminals Voltage output Current output E Precautions on Wiring e Use double core twisted pair shielded wires It is recommended to ground the shielding However depending on the conditions of the external noise it may be better not to ground the shielding e Do not have the analog input wiring close to AC wires power wires or load wires e Do not have the analog output wiring close to AC wires power wires or load wires Compatible cable twisted wire AWG 28 16 0 08 mm 1 25 mm E Special tools Manufacturer Serial number model number Phoenix Contact Co SZS0 4 2 5 1205037 3 4 Common Precautions 3 4 2 Wiring of Power Cable FPOR DA4 FPOR A21 FPOR A42 The power needs to be supplied to the analog output unit FPOR DA4 and analog I O unit FPOR A21 FPOR A42 for operation Green Function earth Blue 24 V DC Brown E Precautions on Wiring e t is connected using the cable Part number AFP0581 supplied with the unit e The input voltage range of the power supply for operating the unit is 20 4 t
46. et to OFF at the factory Note 4 The switch settings will be valid when the power is turned ON from OFF The settings will not change if the operation power supply is switched when it is ON PA om e In the FP0 A04V A04I compatibility 12 bit mode the voltage output range is 10 to 10 V and the current output range is 4 to 20 mA 2 5 Names and Functions of Parts 2 3 Analog I O Unit FPOR A21 A42 2 3 1 Names and Functions of Parts EXPANSION CONNECTOR FPOR A21 Used for selecting the input and output ranges the output method Mode setting voltage current and whether to perform the input averaing processing or not switch Used for selecting the operation mode 12 bit mode or 14 bit mode compatible with the conventional product FPO A21 I O terminal Input for CHO CH1 Output for CHO Used for connecting the analog input device or analog output device The voltage and current vary according to the settings of the mode switch I O terminal They can be selected for each channel Input for CH2 CH3 Output for CH1 The supply 24 V DC from an external power supply For connection use the Power connector power supply cable AFP0581 that comes with the Unit AS Used for connecting the expansion unit with the internal circuit of the Control Unit connector 2 DIN rail installing it can be installed to a 35 mm wide DIN rail groove The unit can be installed to the DIN rail th
47. f DTO to DT3 is converted and output to the CHO to CH3 of the first expansion analog output unit The range for checking digital values written in the output area is changed R9042 T lt K 8000 DTO ii gt K 8000 DTO a 1 gt F0MV DTO WY2 To SET gt R9012 lt K 8000 DT I gt K 8000 DT1 1 gt F0MV DT WY3 Ta SET gt R9012 lt K 8000 DT2 I gt K 8000 DI2 1 gt FO MV DT2 WY2 To RST gt R9012 lt K 8000 DT3 I gt K 8000 DT3 1 gt F0MV_ DT3 WY3 T RST gt 4 16 4 3 Analog Output Unit FRPOR DA4 R9012 Switches the timing of writing data by the scan pulse realy ea Checks whether the lower limit value is within the data range that the unit can convert correctly EY Checks whether the upper limit value is within the data range that the unit can convert correctly Output data switching flags for even numbered channels Channel numbers are specified by the two bit switching flags right after setting conversion data by the transfer instruction FO MV Output data switching flags for odd numbered channels Channel numbers are specified by the two bit switching flags right after setting conversion data by the transfer instruction FO MV It is executed when the scan pulse relay is ON and written data is within the upper and lower limits Data for CHO is set in DTO and CHO is specified by the output data switching
48. flag It is executed when the scan pulse relay is ON and written data is within the upper and lower limits Data for CH1 is set in DT1 and CH1 is specified by the output data switching flag It is executed when the scan pulse relay is OFF and written data is within the upper and lower limits Data for CH2 is set in DT2 and CH2 is specified by the output data switching flag It is executed when the scan pulse relay is OFF and written data is within the upper and lower limits Data for CH3 is set in DT3 and CH3 is specified by the output data switching flag e Inthe 14 bit mode Y2E Y2F Y3E and Y3F are used as the output data switching flags Note that the allocation is different from that in the FPO A04 compatible 12 bit mode 4 17 Creating Programs E 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 DTO to DT3 is converted and output to the CHO to CH3 of the first expansion analog output unit The range for checking digital values written in the output area is changed R9012 K 0 DTO ji gt K16000 DTO 1 gt F0MV_ DTO WY2 T SET gt R9012 lt K 0 DT1 J gt K16000 DT1 2i 1 gt FO MV DT1 WY3 T o SET gt sonia e K DDZ i K16000 DT2 1 gt FO MV DT2 WY2 To RST gt ipa Fe Ke ODT j gt K16000 DT3 1 gt FOMV DT3 WY3 T
49. gramS essiiscsc6 ded eupsseeteeelenitavestcsteeicntesaasscaleeetes 4 1 At 71 CPAMNOCAMOM der scctee dae certe nda E sae tattered unaeisente dacetnedal Sachinte ses 4 2 AA EO AANOCAUIO MN ann a a R 4 2 4 2 Analog input unit FPOR AD4 ADS8 cece ccc seee eee eeeeeeeeeeeseeeeeeneeaes 4 4 4 2 1 Reading of Input Data Common to 12 bit Mode and 14 bit Mode 4 4 4 2 2 Setting of Input Range and Averaging Processing 14 bit Mode Only 4 6 4 3 Analog Output Unit FRPOR DAA ccc eccceeceeeeeeseeseeeeeeeeeseeees 4 8 4 3 1 Writing of Digital Data for Output 12 bit Mode ee ceeeeeeeee ees 4 8 4 3 2 Writing of Digital Data for Output 14 bit Mode cece eeeeeeeees 4 14 4 3 3 Switching of Output Range 14 bit Mode Only ce ecceeeeeeeeeeeeees 4 20 4 3 4 Status Information 12 bit MOde cc ceecceceeeeeeeeeeeeeeeeseeeeeseeeeeees 4 22 4 3 5 Status information 14 bit MOdE cc cceeececseeeeseeeeeeeeeeseeeeeseeeeeees 4 23 4 4 Analog I O Unit FROR A21 A42 00 eccccc sec cecceteeeeeeeeeeeeeeeteeeaeteees 4 24 4 4 1 Reading of Analog Input Values For A21 ccccecccceceseeceeeeeeeeeeesaees 4 24 4 4 2 Reading of Analog Input Values For A42 2 0 ceccccececeeeeeeeeseeeeeaees 4 25 4 4 3 Writing of Digital Data for Output 12 bit Mode eee ceeeee ees 4 28 4 4 4 Writing of Digital Data for Output 14 bit Mode ce eeeeeeeeee ees 4 30 4
50. he unit can be installed to the DIN rail through one touch operation 6 DIN hook This hook is also used for installing the unit to the Slim Type Mounting Plate AFP0803 Expansion hook Used for securing expansion units 2 2 2 1 Analog Input Unit FPOR AD4 AD8 2 1 2 Setting of Mode Switch MODE E Setting of the mode switch OFF ON oI oO oo oc ORWNM Resolution and FP0 A 1 compatible Aiae FPO A80 compatine compatible atin 14 bit mode 12 bit mode 12 bit mode for system Note 2 12 bit mode input range O to 5V 0 to 20MA agg 10V Not settable Note 1 HE a E A The number iowa Lo FF o CH 2ch 4ch E e CHO CH1 CHO CH3 CHO CH5 CHO CH7 Input averaging OFF Averaging Not performed ON Averaging Performed Note 1 When the both switch No 1 and No 2 are OFF the voltage current is switched by the connection method Note 2 In the 14 bit mode the input range is set by writing into the operation memory WY with a user program Note 3 All the switches are set to OFF at the factory Note 4 The switch settings will be valid when the power is turned ON from OFF The settings will not change if the operation power supply is switched when it is ON 2 3 Names and Functions of Parts 2 2 Analog Output Unit FPOR DA4 2 2 1 Names and Functions of Parts Used for selecting the output range and the output method voltage current Mode setting g p g P g switch
51. ilable Note 3 Analog output 0 to 20 mA Available Available current range 4t9020mA Not available Voltage 0 2 F S or less at 25 C Overall 0 6 F S or less at 25 C 0 4 F S or less at 0 to 55 C precision as 1 F S or less at 0 to 55 C 0 3 F S or less at 25 C 0 6 F S or less at 0 to 55 C Available Moving average 10 Analog input averaging function Not available times No of averaging times 64 times or 128 times Note 4 External power Ten ores supply Power supply l 24V DC Control unit consumption current 20 mA or less increment Note 1 The resolution and operation mode is switched by the mode switch 7 6 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 Note 4 When selecting the 14 bit mode the averaging method can be set for each channel separately by user programs For details of the averaging methods refer to the chapter 5 Analog Input Averaging Processing 7 3 2 Points of Replacement The points for replacing the conventional model FPOA21 with the new model FPORA21 as an
52. in the 12 bit mode is 4 to 20 mA for AFPORDA4 and 0 to 20 mA for AFPORA21 AFPORA42 Note 2 The time shown in the figure below is required to reflect the values in the output device area WY of the control unit as analog output values The following figure shows the values when the range of 10 to 10V is KO to K4000 12 bit mode KO K16000 14 bit mode Note used K 8000 Processing Refresh f Conversion time WY2 standby time l 1ms x 3 7 0 ms to number of 2ms i a Scan time expansion units All channels Analo 10V outpu E Precautions on the characteristics of analog output When the power to the control unit turns on or off voltage equivalent to 2 V may be output for approx 2 ms from the output terminal If it will be a problem on your system take necessary measures externally to avoid the transitional condition e g turning on PLC before external devices or turning off external devices before PLC 6 4 6 2 Dimension 6 2 Dimension mE FPOR AD4 FPOR A21 25 0 Note FPOR AD4 has no power supply connector m FPOR AD8 FPOR DA4 FPOR A42 25 0 Note FPOR AD8 has no power supply connector 6 5 Specifications 6 6 l Compatibility with Conventional Models Compatibility with Conventional Models 7 1 Analog Input Unit 7 1 1 Compatibility with Conventional Models E Specification Comparison Chart
53. o 28 8 VDC e Use the power supply of SELV Safety Extra Low Voltage and LIM Limited Energy Circuit e In order to avoid influence of noise the function earth terminal must be grounded 3 9 Wiring 3 10 4 Creating Programs Creating Programs 4 1 I O Allocation 4 1 1 1O Allocation e For analog input data and analog output data input relays WX and output relays WY are read and written to the control unit e O numbers do not need to be set as I O allocation is performed automatically e O numbers vary according to installation positions e The allocated contents vary according to the type of units and mode For details refer to the chapters 4 2 to 4 4 4 2 4 1 I O Allocation 1 O number Type of unit Allocation content Expansion Expansion Expansion unit 1 unit 2 unit 3 Input WX2 WX4 WX6 CHO CH2 CH4 CH6 X20 X2F X40 X4F X60 X6F FPOR Input WX3 WX5 WX7 AFPORAD4 Note 1 Output WY2 WY4 WY6 AFPORAD8 14 bit mode range setting Y20 Y2F Y40 Y4F Y60 Y6F Output WY3 WY5 WY7 ao range averaging Y30 Y3F Y50 Y5F Y70 Y7F WX2 WX4 WX6 Input X20 X2F X40 X4F X60 X6F Status information EPOR Power ON OFF Write state WX3 WxX95 WX7 X30 X3F X50 X5F X70 X7F pea a g Output Note 2 wy2 wy4 WY6 CHO CH2 Y20 Y2F Y40 Y4F Y60 Y6F Output Note 2 WY3 WY5 WY7 CH1 CH3 Y30 Y3F Y50 Y5F Y70 Y7F Input WX2 WX4 WX6 CHO CH2 X20 X2F X40 X4F X60 X6F FPOR Input WX3 WX5 WX7
54. o RST gt 4 18 4 3 Analog Output Unit FRPOR DA4 R9012 Switches the timing of writing data by the scan pulse realy ea Checks whether the lower limit value is within the data range that the unit can convert correctly EY Checks whether the upper limit value is within the data range that the unit can convert correctly Output data switching flags for even numbered channels Channel numbers are specified by the two bit switching flags right after setting conversion data by the transfer instruction FO MV Output data switching flags for odd numbered channels Channel numbers are specified by the two bit switching flags right after setting conversion data by the transfer instruction FO MV It is executed when the scan pulse relay is ON and written data is within the upper and lower limits Data for CHO is set in DTO and CHO is specified by the output data switching flag It is executed when the scan pulse relay is ON and written data is within the upper and lower limits Data for CH1 is set in DT1 and CH1 is specified by the output data switching flag It is executed when the scan pulse relay is OFF and written data is within the upper and lower limits Data for CH2 is set in DT2 and CH2 is specified by the output data switching flag It is executed when the scan pulse relay is OFF and written data is within the upper and lower limits Data for CH3 is set in DT3 and CH3 is specified by the output data switching flag e Inthe
55. ogram shows the case that the output ranges of CH2 and CH3 of the first expansion analog input unit is set 10 to 10V O 20mA Input a constant for specifying an output 5 to 5V 4 20mA 0 to 10V Set it for switching the output range of CHO or HC2 WY3 Set it for switching the output range of CH1 or HC3 R2 Y2E Hx DF FOMV __ H30 WY2 lt SET gt O Y2F lt SET gt R3 Y3E Hx DF FOMV _ H30 WY3 lt SET gt Y3F lt SET gt Output data switching flags for even numbered channels When Y2E Y2F is OFF the output range of CHO is set When Y2E Y2F is ON the output range of CH2 is set Output data switching flags for odd numbered channels When Y3E Y3F is OFF the output range of CH1 is set When Y3E Y3F is ON the output range of CH3 is set e For CHO CH1 the output switching flags are reset For CH2 CH3 the output switching flags are set e The output switching flags bit F bit E are also used for setting output data Create a program not to overwrite each other during an operation processing 4 21 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 E Status information a Usedintessiom SSCS O Normal 1 Error Note 1 CH1 data writing status An error occurs when data written to the memory area WY2 WY3 is ma out of each range an
56. ollowing program shows the case that the data of DTO to DT3 is converted and output to the CHO to CH3 of the first expansion analog output unit The range for checking digital values written in the output area is changed R9012 a K 0 DTO ji gt K 4000 DIO 1 gt F0MV_ DTO WY2 Em SET gt R9012 S K 0 DT1 I gt K4000 DT1 1 gt F0MV_ DT WY3 Im SET gt Roos foe K D lI gt K 4000 DT2 1 gt F0MV_ DT2 WY2 Ta RST gt Roa T K O DT3 J gt K 4000 DT3 1 gt F0MV_ DT3 WY3 To RST gt 4 12 4 3 Analog Output Unit FRPOR DA4 R9012 Switches the timing of writing data by the scan pulse realy ea Checks whether the lower limit value is within the data range that the unit can convert correctly EY Checks whether the upper limit value is within the data range that the unit can convert correctly Output data switching flags for even numbered channels Channel numbers are specified by the two bit switching flags right after setting conversion data by the transfer instruction FO MV Output data switching flags for odd numbered channels Channel numbers are specified by the two bit switching flags right after setting conversion data by the transfer instruction FO MV It is executed when the scan pulse relay is ON and written data is within the upper and lower limits Data for CHO is set in DTO and CHO is specified by the output dat
57. put 14 bit mode only Conversion characteristic Correspondence table of A D Conversion values Digital value Input voltage V s bit Processing if the range is exceeded Fantail V Digital value nput voltage i 3 14 bit OV or less including negative value Note 1 A digital conversion value equivalent to the analog input value of approx 2 V is shown for the channels to which no input is connected m OV to 5V DC input Conversion characteristic Correspondence table of A D Conversion values Digital value Input voltage V 12 bit 14 bit 1 25 1000 4000 2000 8000 3000 12000 4000 16000 Processing if the range is exceeded Digital value Input voltage V 12 bit 14 bit OV or less including negative value Note 1 A digital conversion value equivalent to the analog input value of approx 2 V is shown for the channels to which no input is connected 4 37 Creating Programs 4 5 2 Input conversion Characteristics Current Range E OmA to 20mA DC input Conversion characteristic Correspondence table of A D Conversion values Digital value Input current mA 12 bit 14 bit 1000 4000 2000 8000 3000 12000 2000 8000 4000 16000 Processing if the range is exceeded Digital value en a Input current mA z 12 bit 14 bit OmA or less including negative value 4 38 4 5 I O Conversion Characteristics 4 5 3 Output conversion Characteristics Voltage Range m 10V to 10V DC output
58. r the FPOR series as listed below Please refer to a relevant manual for the unit and purpose of your use e he manuals can be downloaded on our website http industrial panasonic com ac e dl_center manuall Unit name or purpose of use Manual name Manual code FPOR Control Unit FPOR User s Manual ARCT1F475E FPOR Expansion I O Unit FP Control Unit FP gt User s Manual ARCT1F333E FPOR Analog Input Unit FPOR Analog Output Unit FPOR Analog I O Unit User s Manual WUME FPORAIO FPOR Analog I O Unit Programming FP series Programming Manual ARCT1F313E Programming Software EPWIN GR FPWIN GR Operation Guide Non free ARCT1F332E Table of Contents Table of Contents 1 Unit Functions and Restrictions cccseeseeeeeeeeeeeeeees 1 1 1 1 Unit Functions and How They Work ccccccccecceeceeeeeeeeeeeeneeeeeeeeeaees 1 2 Melek FURCUOMNS Or WIIG secs tutee ce rcnitece cise a T eta eeeiaees 1 2 CLZ RITE TV OC sisi s oer heehee abet aed oie puesta beatin tosis 1 2 1 1 3 Restrictions On Units Combination cece cccseeecaeeeeeeeeeeeeseeeeaeeeeaes 1 2 Names and Functions of Parts cccesceseeeeeeeeeeeeeeeeee 2 1 2 1 Analog Input Unit FRPOR AD4 AD8 ccc ceccecceeeeeeeeeeeseeeeeeeeeees 2 2 2 1 1 Names and Functions of Parts cccccccccecccceececeeeeseeeeaeeeseeeeseeeeseeeeaes 2 2 21 27 SWING OF Mode SWING Pisi a ate vgnatint a teddealionadees 2 3 2 2 Analog Output Unt F
59. ror flag is cleared and D A conversion is executed e Output data and output switching flag are allocated to the sane I O number Data error can be detected successfully with the flags when the digital input value is within the range of 8192 to 8191 for range 0 to 16383 for range Even when the digital input value is out of the range however data conversion may be mistakenly conducted as shown below To prevent this problem be sure to set up the program to check the upper and lower limits of the digital value Example When writing K16384 in WY2 K16384 0001 0000 0000 0000 Analog Output Unit regards Y2D and Y2C as output switching flags Y2F Y2E 01 lt CHO Data 00 0000 0000 0000 lt 0 Consequently the analog value that is equivalent to the digital value 0 is output from CHO E Negative data e When the negative data minus data is written set the output switching flag to two s complement data When specifying the minus data in the decimal data the data automatically becomes two s complement data Then set the output switching flag to two s complement data in the same way as the plus data Example When writing 1 in CHO 1 1111 1111 1111 1111 lt Two s complement Setting the output switching flag 0111 1111 1111 1111 Bit F 1 Bit E 0 for CHO 4 15 Creating Programs E 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 o
60. rough one touch operation DIN hook This hook is also used for installing the unit to the Slim Type Mounting Plate AFP0803 gt Expansion hook Used for securing expansion units 2 6 2 3 Analog I O Unit FPOR A21 A42 2 3 2 Setting of Mode Switch OFF ON oI oO oo oo MODE ORWNM E Setting of the mode switch I O resolution and FPO A21 compatible 12 bit mode input range FPO A21 compatible 12 bit mode output range Note 3 FPO A21 compatible 12 bit mode 0 to 5V 0 to 20mA Note 1 FPO A21 compatible 12 bit mode 0 to 20mA FPOQ A21 compatible 12 bit mode 10 to 10V Reserved for system Not settable Reserved for system Not settable FPOQ A21 compatible 12 bit mode 10 to 10V 14 bit mode Note 2 Reserved for system Not settable 14 bit mode output switch CHO Voltage CHO Current CHO Voltage CHO Current Note 4 output output output output CH1 Voltage CH1 Voltage CH1 Current CH1 Current output output output output Input averaging OFF Averaging Not performed ON Averaging Performed Note 1 When the both switch No 1 and No 2 are OFF the input voltage current is switched by the connection method Note 2 In the 14 bit mode the input and ouput ranges are set by writing into the operation memory WY with a user program Note 3 The setting of FPO A21 compatibility 12 bit mode output switch of the switches No 3 and No 4 is valid when the s
61. ry areas WY2 WY3 by user programs Output data switching flags for specifying channels are allocated to the two bits of the memory area WY2 WY3 e n user programs channels are specified by setting resetting the output channel swtiching flag right after setting a digital value in the memory area e As CHO and CH2 and CH1 and CH3 use each common memory area data cannot be written to the unit in the same scan Write data separated into two scans using scan pulse relay R9012 etc In the channels which are not allocated to the same memory area data can be written in the same scan Writing CHO data in WY2 at the time of n scan Data can be written in WY2 and WY3 at Writing CH1 data in WY3 at the time of n scan the time of n scan Writing CHO data in WY2 at the time of n scan Data can be written in WY2 once in 2 scanning processes at the time of n Writing CH2 data in WY2 at the time of n 1 scan and n 1 scan 4 14 4 3 Analog Output Unit FPOR DA4 E When data is regarded as an error e 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 O 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 When the correct data is written the er
62. tage output for all channels Change the mode switch setting as necessary fj item oo FPOA04V compatibility FPOA04I compatibility Appearance Tamak The terminal block on the voltage output The terminal block on the current output side is used side is used The 12 bit FPOA04 compatibility mode is The 12 bit FPOA04 compatibility mode is selected selected The voltage output is selected for all The current output is selected for all channels channels Mode switch E Software User programs created for the conventional models FPOA04V and FPOA041 can be used as they are PL A REFERENCE e For details of the setting method of the mode switch refer to 2 2 2 Setting of Mode Switch 1 5 Compatibility with Conventional Models 7 3 Analog I O Unit 7 3 1 Compatibility with Conventional Models E Specification Comparison Chart Appearance FPOR A42 12 bit 1 4000 Resolution and Operation mode 12 bit 1 4000 14 bit 1 16000 Note 1 A21 Input 2 ch Output 1 ch Number of channels Input 2 ch Output 1 ch A42 Input 4 ch Output 2 ch 10 to 10 V DC Available Available Analog input 5 to 5 V DC Not available Available Note 2 voltage range Qto10VDC Not available Available Note 2 Oto5VDC Available Available Analog input Oto 20 mA Available Available current range 10 to 10 V DC Available Available voltage range Qto10 VDC Not available Available Note 3 O0to5VDC Not available Ava
63. ure below is required to reflect analog input values in the input device area WX read by the control unit The following figure shows the values when the range of 10 to 10 V is used 10V SS Processing Analo Conversion time standby time Refresh outpu 3 0 ms to Scan time x 1 ms x K 8000 All channels The number of input number of channels 2 expansion units WxX2 K 8000 6 3 Specifications 6 1 3 Output Specifications Analog output unit Analog I O unit AFPORDA4 AFPORA21 AFPORA42 10 to 10 V DC Resolution 1 16 000 Note 1 Voltage 5 to 5V DC Resolution 1 16 000 S g 0 to 10 VDC Resolution 1 16 000 a Oto 5VDC Resolution 1 16 000 Resolution Curent 0 to 20 mA Resolution 1 16 000 Note1 4 to 20 mA Resolution 1 16 000 Note1 10 to 10 V DC K 2000 to K2000 12 bit mode K 8000 to K8000 14 bit mode 5 to 5 V DC K 8000 to K8000 14 bit mode only Digital 0 to 10 V DC output Oto5VDC KO to K16000 14 bit mode only range 0 to 20 mA 4to20mA Overall 0 2 F S or less at 25 C 0 4 F S or less at 0 to 55 C precision 0 3 F S or less at 25 C 0 6 F S or less at 0 to 55 C Between input Photocoupler terminal to Insulation internal circuit Insulation type DC DC converter method Between the Uninsulated channels External connection method Connection terminal block connection Note 1 The resolution in the 12 bit mode is 1 4 000 Also the output current range
64. witch No 2 is off Note 4 The setting of 14 bit mode output switch of the switches No 3 and No 4 is valid when the both switch No 1 and No 2 are on Switching CH1 is available only for A42 type Note 5 All the switches are set to OFF at the factory Note 6 The switch settings will be valid when the power is turned ON from OFF The settings will not change if the operation power supply is switched when it is ON 2 Names and Functions of Parts 2 8 Wiring Wiring 3 1 Analog Input Unit FPOR AD4 AD8 3 1 1 Terminal Layout Diagrams Appearance O I Voltage signal input Current signal input Voltage signal input Current signal input Analog input a Input common Voltage signal input H 2 Current signal input 3 lt o Voltage signal input Current signal input lt IN Voltage signal input CH4 CH4 Current signal input CH5 lt o1 CH4 CH4 CH5 Voltage signal input Current signal input H H6 CH7 H7 g Analog input Input common Voltage signal input Current signal input CH7 Voltage signal input Current signal input Note 1 For inputting a current signal connect the V terminal and terminal externally Note 2 Two COM terminals are connected internally lt oO N pot 83 y 7 6 o9 7 3 2 3 1 Analog Input Unit FPOR AD4 AD8 3 1 2 Wiring of Analog Input Unit Voltage input Current input Input instrument CHO
65. witching The following program shows the case that the input range of CHO to CH3 of the first expansion analog I O unit FPOR A42 A21 is set RO Y2E LX DF F0 MV HFO WY2 Hr SET gt B 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 HFO is input for setting Y27 Y24 to 1 and Y23 Y20 to 0 The range for CH3 CH2 is 0 to 5 V O to 20 mA and that for CH1 CHO is 10 V to 10 V aoe Set it for switching the input range ofpe Data switching flags When Y2E is ON and Y2F is OFF the input range is set o E Sample program Input averaging switching The following program shows the case that the averaging processing method of CHO to CH3 of the first expansion analog I O unit FRPOR A42 A21 is set RO Y3E LX DF FO MV HFO WY3 Hr SET D a YF RST gt Input a constant for specifying an averanging method Set it according to the I O allocation on the previous page In the above sample program HFO is input for setting Y37 Y34 to 1 and Y33 Y30 to 0 The method of CH3 CH2 is no averaging processing and that of CH1 CHO is moving average 10 times Set it for switching the averaging processing method o vor Data switching flags When Y3E is ON and Y3F is OFF the averaging method of input is set Y3F Wy erronis e The input range setting and the input averaging method for four channels are set collectively

Download Pdf Manuals

image

Related Search

Related Contents

  Aquatic AI7AIR6042TO User's Manual  USER MANUAL  Pizzeria - Italmill SpA  

Copyright © All rights reserved.
Failed to retrieve file