background image

Chapter 11

Sample Program of Analog Input Offset

Setting

Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: [email protected]

Summary of Contents for FP2 -AD8

Page 1: ...FP2 Analog Unit Manual ARCT1F283E 4 04 10 FP2 Analog Unit Manual PROGRAMMABLE CONTROLLER Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 2: ... these specifications Do not dismantle or remodel the product It could lead to abnormal 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 might cause abnormal exothermic heat or smoke ...

Page 3: ...2 Analog Input Unit FP2 AD8 2 5 2 3 Analog Output Unit FP2 DA4 2 6 Chapter 3 Wiring 3 1 Suitable Terminals and Wires 3 3 3 2 Wiring for Analog Input 3 5 3 3 Wiring for Analog Output 3 7 3 4 EMC Conformity 3 8 Chapter 4 Setting the I O Range and I O Allocation 4 1 Setting the Input and Output Range 4 3 4 2 I O Allocation 4 5 Chapter 5 Initial Settings 5 1 Analog Input Initial Settings 5 3 5 2 Analo...

Page 4: ...8 1 Basic Program CPU Unit with Analog I O 8 3 8 2 Basic Program Analog Input Unit 8 5 8 3 Scale Conversion Processing Program CPU Unit with Analog I O 8 7 8 4 Temperature Sensor Input Broken Wire Detection 8 9 Chapter 9 Sample Program for Analog Output 9 1 Basic Program Analog Output Unit 9 3 Chapter 10 Sample Program for Analog Input Average Processing Setting 10 1 Sample Program CPU Unit with A...

Page 5: ...ems Concerning the Analog Input 13 3 13 2 Problems Concerning the Analog Output 13 4 Chapter 14 Specifications 14 1 Table of Performance Specifications 14 3 14 2 Table of Input Output Contact Allocation 14 7 14 3 Table of Shared Memory Area 14 8 14 4 Shared Memory for Analog Input Processing 14 13 14 5 Shared Memory of Analog Output Processing 14 17 Record of changes R 1 Phone 800 894 0412 Fax 888...

Page 6: ... new type The appropriate manual must be refered to use each product Two manuals for FP2 Analog Output Unit FP2 DA4 include the same contents Manual Name Manual No Relevant models This manual FP2 Analog Unit ARCT1F283 FP2 AD8 New manual FP2 New Analog Unit ARCT1F397 FP2 AD8VI FP2 AD8X FP2 RTD Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 7: ...Chapter 1 Functions and Restrictions Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 8: ...FP2 Analog Unit Functions and Restrictions 1 2 Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 9: ...ture sensor Temperature sensor resistance thermometer device thermocouple direct input possible Analog output 12 bit resolution High speed D A conversion 500µs channel Dual output range 10V and 0 to 20mA Handling of I O data During the processing of the program the analog input and output data is allocated to the normal I O X and Y and refreshed Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr c...

Page 10: ...Name Function Order number CPU unit with analog I O Analog input 4 channel Analog output 1 channel FP2 C1A Analog input unit Analog input 8 channel FP2 AD8 Analog output unit Analog output 4 channel FP2 DA4 Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 11: ...cluding the maximum and minimum values is stored in the conversion value area input contact area If the number of times is 2 or less or outside of the allowable range 65 or more the general sampling function is used The time for the average value to be stored in the conversion value area changes drastically depending on the number of inputs used the used input range and the average number of times...

Page 12: ...mode the analog output value is held corresponding to the final digital data written during the RUN mode before changing to the FP2 CPU unit PROG mode For hold any value the analog output value is held corresponding to the hold data any value set in the shared memory when changing to the FP2 CPU unit PROG mode Note When set to either hold final value duringl RUN mode or hold any value the each ana...

Page 13: ...normally located Cannot be installed the CPU unit with analog I O on an expansion backplane CPU backplane CPU unit with analog I O Expansion backplane Expansion cable Cannot be installed here Cannot be installed on an expansion backplane 1 4 2 Analog Input Unit and Analog Output Unit There are no restrictions regarding the installation position when installed on the CPU backplane or expansion back...

Page 14: ... and a power supply unit with a sufficient capacity should be used Name Order number Current consumption at 5 V DC CPU unit with analog I O FP2 C1A 1 060mA or less Analog input unit FP2 AD8 500mA or less Analog output unit FP2 DA4 600mA or less For information on restrictions applying to combinations based on current consumption refer to the FP2 hardware manual and each unit s manuals Phone 800 89...

Page 15: ...to 5V 100 mV put ple input Voltage input 10 V 1 to 5V A A A A A 100 mV A A N A A A Current input A N A A N A N A Thermocouple input A A N A A A R T D input A A N A A A A Combination available N A Combination not available The current input and thermocouple input cannot be used at the same time The current input and R T D input cannot be used at the same time The current input and 100mV voltage inp...

Page 16: ...FP2 Analog Unit Functions and Restrictions 1 10 1 6 Range Setting Restrictions Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 17: ...Chapter 2 Parts and Specifications Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 18: ...FP2 Analog Unit Parts and Specifications 2 2 Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 19: ...clear the errors initializes the operation memory and set the test operation mode 4 Analog input terminals For CPU unit with analog I O there are analog input terminals for channels 0 to 3 The terminal block can be removed to facilitate wiring For detailed information section 3 1 2 5 Tool port RS232C is used to connect a programming tool 6 COM port RS232C is used to connect a computer or general s...

Page 20: ...lock can be removed to facilitate wiring For detailed information section 3 1 2 8 Range setting switch Used to set the analog input and output range For detailed information section 4 1 9 Operation condition switches are used to set the baud rate of the programming tool to select the program memory and to select the writing operation for the program memory 10 Memory backup battery for backup of th...

Page 21: ... analog input unit there are analog input terminals for channels 0 to 7 The terminal block can be removed to facilitate wiring For detailed information section 3 1 2 2 Range setting switch Used to set the analog input range For detailed information section 4 1 1 Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 22: ...o 3 Terminals with a dot mark are not used however they are connected to the analog input circuit internally so do not connect anything to them The terminal block can be removed to facilitate wiring For detailed information section 3 1 2 2 Range setting switch Used to set the analog output range For detailed information section 4 1 2 Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email inf...

Page 23: ...Chapter 3 Wiring Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 24: ...FP2 Analog Unit Wiring 3 2 Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 25: ...e used for the terminals of analog input and output units The following suitable connection terminals are recommended for the wiring to the terminals 6mm or less 6mm or less 3 2mm or more Fork type terminal Round type terminal 3 2mm or more Suitable wires Size Torque AWG22 to AWG14 0 3mm2 to 2 0mm2 0 5 to 0 6NVm Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 26: ...h downward on the release lever located at the top of the terminal block 1 2 OPEN 8 Terminals Note Install the terminal block by inserting it all the way to its original position and pressing the lock button on the bottom of the unit Then confirm that the terminal block is securely attached and cannot be removed Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 27: ...ts Vn 3 2 2 Current Input 20mA and 4 to 20mA ranges Vn COM I n Input equipment Shielded wire Ch n Input terminals There is no ground terminal on the analog input units 3 2 3 Thermocouple Input J K R S and T ranges COM I n Thermocouple Thermocouple polarity side Thermocouple polarity side Ch n Input terminals Vn There is no ground terminal on the analog input units Phone 800 894 0412 Fax 888 723 47...

Page 28: ...rounding terminal inside the FP2 For the current input of section 3 2 2 connect terminals V and I For the thermocouple input of section 3 2 3 perform the wiring correctly according to the polarity of the thermocouple Also to lengthen the signal wire of the thermocouple use the compensating wire of the thermocouple For copper wiring used in wiring the R T D resistance thermometer device in section ...

Page 29: ... shielded wires Ground the shielding of the shielded wires at the side of the load devices However depending on the conditions of the external noise it may be necessary to ground externally or leave the shielding open Do not have the analog output wiring close to AC wires power wires or load wires from sources other than the PLC The terminals marked with a dot on the input and output terminal bloc...

Page 30: ...the European EMC standards EN50081 2 1993 EN50082 2 1995 as required by the European EMC Directive 89 336 EEC As a condition for conformity to the above standards a ferrite core is attached to the wiring that goes to the terminal blocks as shown below Analog I O wires Ferrite core Side view of analog unit Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 31: ...Chapter 4 Setting the I O Range and I O Allocation Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 32: ...FP2 Analog Unit Setting the I O Range and I O Allocation 4 2 Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 33: ...s a base and set the range setting switch for the input range you will use If you will be using different input ranges together then set the range setting switch to Enable setting by software Also for the analog input initial settings you must set the range for each unit by the sequence program For detailed information section 5 1 10V 20mA 1 to 5V 4 to 20mA 100mV Thermocouple J Thermocouple K Ther...

Page 34: ...nits use the range setting switches 1 to 4 to set the range for each channel CPU unit with analog I O Range setting switch 6 0 to 20mA 10V OFF ON Range Setting Analog output unit Range setting switch 1 ch 0 Range setting switch 2 ch 1 Range setting switch 3 ch 2 Range setting switch 4 ch 3 ch0 ch2 ch1 ch3 0 to 20mA OFF ON Range Setting 10V For the analog output unit be sure to have the range setti...

Page 35: ...alog input unit Channel I O Number Analog input Ch 0 WX n X n 0 to X n F g p Ch 1 WX n 1 X n 1 0 to X n 1 F Ch 2 WX n 2 X n 2 0 to X n 2 F Ch 3 WX n 3 X n 3 0 to X n 3 F Ch 4 WX n 4 X n 4 0 to X n 4 F Ch 5 WX n 5 X n 5 0 to X n 5 F Ch 6 WX n 6 X n 6 0 to X n 6 F Ch 7 WX n 7 X n 7 0 to X n 7 F Analog output unit Channel I O Number Analog output Ch 0 WY n Y n 0 to Y n F g p Ch 1 WY n 1 Y n 1 0 to Y ...

Page 36: ...FP2 Analog Unit Setting the I O Range and I O Allocation 4 6 4 2 I O Allocation Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 37: ...Chapter 5 Initial Settings Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 38: ...FP2 Analog Unit Initial Settings 5 2 Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 39: ...tting when you want to set the input range individually for each channel D Average processing times setting when you want to perform average processing for the conversion data D Analog input offset change setting when you want to adjust the offset for the conversion data 5 1 1 No Execution of Analog Input Conversion Processing Setting Specifies the input channels that will not execute conversion p...

Page 40: ...ecifies the average times for each input channel If there is no specification for the average times then that input channel will perform normal sampling Also K0 0 times is specified No average processing and normal sampling processing K1 1 time is specified No average processing and normal sampling processing K2 2 times is specified No average processing and normal sampling processing Other than K...

Page 41: ...wever the range that can be obtained for the analog input conversion value that the offset is applied to is limited to between K 32768 and K32767 Program example When the applied offsets are ch0 K0 no offset ch1 K3 ch2 K10 and ch3 K20 R9013 F151 WRT K0 DT 0 K4 K30 Shared memory address 30 is head address DT0 K0 DT1 K3 DT2 K10 DT3 K20 When the analog input unit is installed at slot 0 Initial settin...

Page 42: ...ode 5 2 1 Analog Output Hold Setting Specifies either non hold hold final value during RUN mode or hold any value operation for each output channel Default is non hold operation 5 2 2 Analog Output Hold any value Data Setting Specifies the digital data for the analog output that you want to output at the output channel set at hold any value in the analog output hold setting The data that can be sp...

Page 43: ...Chapter 6 Analog I O Conversion Characteristics and Conversion Cycle Time Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 44: ...FP2 Analog Unit Analog I O Conversion Characteristics and Conversion Cycle Time 6 2 Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 45: ... input range are shown below 10V to 10V DC K V 32767 16383 0 5 10 5 10 16384 32768 Input range 10V to 10V DC V K 10 32768 7 5 24576 5 16384 2 5 8192 0 0 2 5 8191 5 16383 7 5 24574 10 32767 If the input value exceeds the rated analog input range the converted value becomes Input value Converted value 10V or less 32768 10V or more 32767 Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email in...

Page 46: ... 50 100 50 100 16384 32768 Input range 100mV to 100mV DC V K 100 32768 75 24576 50 16384 25 8192 0 0 25 8191 50 16383 75 24574 100 32767 If the input value exceeds the rated analog input range the converted value becomes Input value Converted value 100mV or less 32768 100mV or more 32767 Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 47: ...ristics 1V to 5V DC K 0 V 13107 6553 1 3 5 Input range 1V to 5V DC V K 1 0 2 3276 3 6553 4 9829 5 13107 If the input value exceeds the rated analog input range the converted value becomes Input value Converted value 1V or less 0 5V or more 13107 Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 48: ... 16384 15 12288 10 8192 5 4096 0 0 5 4095 10 8191 15 12285 20 16383 If the input value exceeds the rated analog input range the converted value becomes Input value Converted value 20mA or less Conversion will be performed even when outside of the allowable range but the precision cannot be guaranteed 20mA or more precision cannot be guaranteed Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com...

Page 49: ...4mA to 20mA DC K 0 mA 13107 6553 4 12 20 Input range 4mA to 20mA DC mA K 4 0 8 3276 12 6553 16 9828 20 13107 If the input value exceeds the rated analog input range the converted value becomes Input value Converted value 4mA or less 0 20mA or more 13107 Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 50: ...ple S Thermocouple J Thermocouple K C K C K C K 40 400 200 2000 200 2000 20 200 100 1000 150 1500 0 0 0 0 100 1000 250 2500 125 1250 50 500 500 5000 250 2500 0 0 750 7500 375 3750 250 2500 1000 10000 500 5000 500 5000 1250 12500 625 6250 750 7500 1500 15000 750 7500 1000 10000 Thermocouple T Thermocouple R C K C K 200 2000 50 500 100 1000 25 250 50 500 0 0 0 0 250 2500 70 700 500 5000 140 1400 750...

Page 51: ...more 15000 Thermocouple J 200_C or less 2000 750_C or more 7500 Thermocouple K 200_C or less 2000 1000_C or more 10000 Thermocouple T 200_C or less 2000 350_C or more 3500 Thermocouple R 50_C or less 500 1500_C or more 15000 Broken wire 20000 For the S and R ranges conversion will be performed even if the input is outside of the ranges 0 to 40 C and 0 to 50 C respectively but the precision cannot ...

Page 52: ...D Pt1000 C K C K 100 1000 100 1000 50 500 75 750 25 250 50 500 0 0 25 250 100 1000 0 0 200 2000 25 250 300 3000 50 500 400 4000 75 750 500 5000 100 1000 If the input value exceeeds the rated analog input range the converted value becomes Range Input value Converted value Pt100 100_C or less 1000 500_C or more 5000 Pt1000 100_C or less 1000 100_C or more 1000 Broken wire 20000 Phone 800 894 0412 Fa...

Page 53: ... range 10V to 10V DC V K 10 2048 7 5 1536 5 1024 2 5 512 0 0 2 5 511 5 1023 7 5 1534 10 2047 If the input value exceeds the rated digital input range the analog output value becomes Digital input value Analog output value 2049 or less Invariable holds the output value that corresponds to the previous effective input value 2048 or more Invariable holds the output value that corresponds to the previ...

Page 54: ... 2047 7 5 1534 5 1023 2 5 511 0 0 If the input value exceeds the rated digital input range the analog output value becomes Digital input value Analog output value 1 or less Invariable holds the output value that corresponds to the previous effective input value 4096 or more Invariable holds the output value that corresponds to the previous effective input value Phone 800 894 0412 Fax 888 723 4773 ...

Page 55: ...types among the used input channels based on the table below n3 Number of temperature input channels among all the used input channels n4 Conversion processing coefficient The coefficient that corresponds to the input range of the channel for which you want to ascertain the conversion cycle time refer to table below Input range Gain Conversion processing coefficient 10V 1 time n4 1 1 to 5V 20mA 4 ...

Page 56: ...e conversion cycle time when setting the range for each analog input channel was explained above however the conversion cycle time when the ranges for all channels are set together by the DIP switches can be determined by the formula below Conversion cycle time set range conversion speed number of input channels used number of input channels set for execution of conversion processing 6 3 2 Analog ...

Page 57: ...Chapter 7 Procedure for Handling Analog Unit Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 58: ...FP2 Analog Unit Procedure for Handling Analog Unit 7 2 Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 59: ...tting switch on back side of unit 2 Unit installation Install the unit onto the backplane 3 Wiring Connect the analog input and output signal 4 Turn on power 5 Analog input and output initial setting Sets the initial settings by the sequence program The initial settings are set by the first scan at operation start 6 Analog input data reading Analog output data writing Performs the reading and writ...

Page 60: ...nalog input data of the conversion processing to the readable area of FP2 CPU unit on the analog input circuit differs depending on the analog input range and is given in the table below Input range CPU unit with analog I O FP2 C1A Analog input unit FP2 AD8 Voltage input range 460ms 430ms Current input range 460ms 430ms Thermocouple input range 910ms 1330ms R T D Resistance thermometer device inpu...

Page 61: ...he general output Y and refreshed The analog output data is automatically refreshed and written from the FP2 output relay area to the analog output circuit When the analog output is processed at the sequence program write the data that you want for analog output for the allocated output relay area WY For detailed information section 4 2 Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email ...

Page 62: ...FP2 Analog Unit Procedure for Handling Analog Unit 7 6 7 3 Writing the Analog Output Data Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 63: ...Chapter 8 Sample Program for Analog Input Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 64: ...FP2 Analog Unit Sample Program for Analog Input 8 2 Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 65: ...or example the analog input range was set to 10 to 10V DC By the move instruction F0 MV the contents of input relay area WX0 to WX2 are read to the data registers DT100 to DT102 CPU unit with analog I O Input range 10 to 10V DC Analog input Settings Channels that execute analog input conversion processing H111 ch 0 to ch 2 are set for execution and ch 3 is not set for execution I O allocation I O ...

Page 66: ... analog inputs Specifies the CPU unit with analog I O in slot no 0 The 1 word data from data register DT 0 is written to the shared memory address 16 ch 0 preparation completion ch 1 preparation completion ch 2 preparation completion Analog input Reading Preparation completion flag for analog input Reading Preparation completion flag area ch 1 Input value ch 0 Input value ch 2 Input value ch 0 to ...

Page 67: ...isters DT100 to DT105 Input range 4 to 20mA DC Analog input Analog input unit CPU unit Settings Channels that execute analog input conversion processing H1111 ch 0 to ch 3 are set for execution H11 ch 4 and ch 5 are set for execution and ch 6 and ch 7 are not set for execution I O allocation I O number Contents WX0 Analog input data for ch 0 WX1 Analog input data for ch 1 WX2 Analog input data for...

Page 68: ...reparation completion flag for analog input Reading ch 0 preparation completion ch 1 preparation completion ch 2 preparation completion ch 3 preparation completion ch 4 preparation completion ch 5 preparation completion Execution of conversion processing setting for ch 0 to ch 3 analog inputs Execution of conversion processing setting for ch 4 and ch 5 analog inputs Specifies the analog input unit...

Page 69: ...ubtractor and F22 16 bit addition In the case of ch 0 the data read to DT100 is multiplied by K4000 and the result is stored in DT101 as ch 0 conversion 1 The data stored in DT101 is divided by K13107 and that result is stored in DT103 as ch 0 conversion 2 Then the data stored in DT104 is added by K1000 and the result is stored in DT104 as ch0 conversion 3 Example Contents of DT100 6553 K4000 K131...

Page 70: ...t Reading Preparation completion flag for analog input Reading Scale conversion Scale conversion Initial setting ch 0 preparation completion ch 1 preparation completion Execution of conversion processing setting for ch 0 and ch 1 analog inputs Specifies the CPU unit with analog I O in slot no 0 The 1 word data from data register DT 0 is written to the shared memory address 16 Specifies the CPU uni...

Page 71: ...tection flag and read to DT0 F150 READ K 0 K 42 K 1 WR 0 R9010 R0 F0 MV WX 0 DT 0 Initial setting When the analog input unit is installed at slot 0 ch0 reading From shared memory address 42 To WR0 Precautions when using broken wire detection for the resistance thermometer device input wiring For broken wire detection in the FP2 three wire resistance thermometer device input wiring depending on whi...

Page 72: ...FP2 Analog Unit Sample Program for Analog Input 8 10 8 4 Temperature Sensor Input Broken Wire Detection Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 73: ...Chapter 9 Sample Program for Analog Output Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 74: ...FP2 Analog Unit Sample Program for Analog Output 9 2 Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 75: ...to the output relay areas WY0 and WY1 for analog output unit Analog output unit CPU unit Analog output Output range 0 to 20mA DC Converts the digital values 0 to 4095 that were written in WY0 and WY1 to the analog values 0 to 20 mA if for example the analog output range was set to 0 to 20mA DC K 0 mA 10 20 2047 4095 Settings Channels that execute analog output conversion processing H11 ch 0 and ch...

Page 76: ...itial setting Always on Analog output data Writing Execution of conversion processing setting for ch 0 and ch 1 analog outputs ch 0 and ch 1 execution Specifies the analog output unit in slot no 0 The 1 word data from data register DT 0 is written to the shared memory address 22 ch 0 and ch 1 execution ch 0 output ch 1 output Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr...

Page 77: ...Chapter 10 Sample Program for Analog Input Average Processing Setting Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 78: ...FP2 Analog Unit Sample Program for Analog Input Average Processing Setting 10 2 Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 79: ...ata registers DT100 to DT102 CPU unit with analog I O Analog input Sampling processing Minimum value Average processing Maximum value Stores the average value excluding the maximum and minimum values to conversion value area Settings Channels that execute analog input conversion processing H111 ch 0 to ch 2 are set for execution and ch 3 is not set for execution I O allocation I O number Contents ...

Page 80: ...tion completion ch 1 preparation completion ch 2 preparation completion Always on Execution of conversion processing setting for ch 0 to ch 2 analog inputs Analog input average proc essing setting ch 0 No average processing ch 1 3 times average proc essing ch 2 10 times average proc essing Analog input Reading Preparation completion flag for analog input Reading The 3 word contents of data registe...

Page 81: ...erage processing Maximum value Stored the average value excluding the maximum and minimum values to conversion value area Settings Channels that execute analog input conversion processing H1111 ch 0 to ch 3 are set for execution H1 ch 4 is set for execution and ch 5 to ch 7 are not set for execution I O allocation I O number Contents WX0 Analog input data for ch 0 WX1 Analog input data for ch 1 WX...

Page 82: ...Initial setting is written to the shared memory address 17 Execution of conversion processing setting for ch 0 to ch 3 analog inputs Specifies the analog input unit in slot no 0 The 1 word data from data register DT 0 is written to the shared memory address 16 Execution of conversion processing setting for ch 4 analog input Specifies the analog input unit in slot no 0 The 1 word data from data reg...

Page 83: ...lue ch 2 Input value ch 1 data ch 0 data ch 2 data ch 3 Input value ch 4 Input value ch 3 data ch 4 data ch 0 preparation completion ch 1 preparation completion ch 2 preparation completion Always on ch 3 preparation completion ch 4 preparation completion Analog input Reading Preparation completion flag for analog input Reading is read to the internal relay WR0 The 1 word data from shared memory ad...

Page 84: ...FP2 Analog Unit Sample Program for Analog Input Average Processing Setting 10 8 10 2 Sample Program Analog Input Unit Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 85: ...Chapter 11 Sample Program of Analog Input Offset Setting Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 86: ...FP2 Analog Unit Sample Program of Analog Input Offset Setting 11 2 Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 87: ... value area input relay area By the move instruction F0 MV the contents of input relay area WX0 to WX2 are read to the data registers DT100 to DT102 CPU unit with analog I O Offset change Settings Channels that execute analog input conversion processing H111 ch 0 to ch 2 are set for execution and ch 3 is not set for execution I O allocation I O number Contents WX0 Offset changed analog input value...

Page 88: ...t ch 0 Input value ch 1 Input value ch 2 Input value Preparation completion flag area Analog input offset setting ch 0 K0 ch 1 K10 ch 2 K20 Analog input Reading Preparation completion flag for analog input Reading Execution of conversion processing setting for ch 0 to ch 2 analog inputs Specifies the CPU unit with analog I O in slot no 0 Specifies the CPU unit with analog I O in slot no 0 Specifie...

Page 89: ...mory only and stores it in the conversion value area input relay area Settings Channels that execute analog input conversion processing H1111 ch 0 to ch 3 are set for execution H1 ch 4 is set for execution and ch 5 to ch 7 are not set for execution I O allocation I O number Contents WX0 Offset changed analog input value for ch 0 WX1 Offset changed analog input value for ch 1 WX2 Offset changed ana...

Page 90: ...2 offset ch 0 to 2 offset ch 3 offset ch 4 offset Specifies the analog input unit in slot no 0 Execution of conversion processing setting for ch 0 to ch 3 analog inputs Execution of conversion processing setting for ch 4 analog input Specifies the analog input unit in slot no 0 Specifies the analog input unit in slot no 0 is written to the shared memory address 17 The 1 word data from data registe...

Page 91: ...flag for analog input Reading Always on Preparation completion flag area ch 0 preparation completion ch 1 preparation completion ch 2 preparation completion ch 3 preparation completion ch 4 preparation completion ch 1 Input value ch 0 Input value ch 2 Input value ch 3 Input value ch 4 Input value Specifies the analog input unit in slot no 0 is read to the internal relay WR0 The 1 word data from sh...

Page 92: ...FP2 Analog Unit Sample Program of Analog Input Offset Setting 11 8 11 2 Sample Program Analog Input Unit Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 93: ...Chapter 12 Sample Program for Analog Output Hold Setting Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 94: ...FP2 Analog Unit Sample Program for Analog Output Hold Setting 12 2 Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 95: ...utput value corresponding to the last digital data written Settings I O allocation I O number Contents WY4 Analog output data for ch 0 Shared memory Address 38 Analog output hold setting H0 Non hold H1 Hold holds analog output at final value of RUN mode H2 Hold holds analog output at any desired value For detailed information section 14 3 1 Sample program R 9013 F0 MV H 1 DT 30 F151 WRT K 0 K 1 K ...

Page 96: ...ddress 38 Analog output hold setting H0 Non hold H1 Hold holds analog output at final value of RUN mode H2 Hold holds analog output at any desired value Address 39 Analog output hold data any value setting Range of any value setting 10 to 10V output range K 2048 to K2047 0 to 20mA output range K0 to K4095 For detailed information section 14 3 1 Sample program R 9013 F0 MV H 2 DT 30 F151 WRT K 0 K ...

Page 97: ...ls ch 0 to ch 3 for the analog output unit Settings I O allocation I O number Contents WY0 Analog output data for ch 0 WY1 Analog output data for ch 1 WY2 Analog output data for ch 2 WY3 Analog output data for ch 3 Shared memory Address 17 Analog output hold setting H0 Non hold H1 Hold holds analog output at final value of RUN mode H2 Hold holds analog output at any desired value Address 18 to 21 ...

Page 98: ... 30 ED Initial setting Always on Output hold setting ch 0 any value Output hold setting ch 1 any value ch 2 any value ch 3 any value ch 0 output value ch 0 data ch 1 output value ch 1 data ch 2 output value ch 2 data ch 3 output value ch 3 data Analog output hold data any value setting Analog output data Writing is written to the shared memory addresses 17 and 21 The 5 word data from data register...

Page 99: ...Chapter 13 Troubleshooting Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 100: ...FP2 Analog Unit Troubleshooting 13 2 Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 101: ...k the current input devices Conversion value is unsteady Make sure that you are using shielded twisted pair wiring for the input signal wires Make sure that the shielding of the shielded twisted pair wiring is proper ly connected Make sure that no input signal wires are near other power wires Proper conversion value cannot be obtained during R T D Pt100 connection Check the range settings Check th...

Page 102: ...g output data given to the analog unit is proper for the range For current output make sure that the impedance of the output load device is 300Ω or less Check the analog signal wiring Analog output value is unsteady Make sure that you are using shielded twisted pair wiring for the output signal wires Make sure that the shielding of the shielded twisted pair wiring is proper ly connected Make sure ...

Page 103: ...Chapter 14 Specifications Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 104: ...FP2 Analog Unit Specifications 14 2 Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 105: ...analog input terminal and analog output terminal for FP2 C1A D 500V AC 1 minute between analog input output terminal and ground D 1500V AC 1 minute between analog input output terminal and AC external terminal Insulation resistance 100MΩ or more measured with a 500V DC megger testing between analog input terminal and analog output terminal for FP2 C1A between analog input output terminal and groun...

Page 106: ...hermocouple input 90ms channel Note 1 R T D input Overall accuracy 1 0 F S or less 0 to 55_C 32 to 131_F Note 2 Input impedance Voltage input Min 1MΩ p p Current input 250Ω Thermocouple input Min 1MΩ Absolute maximum i 10V range 15V input 1 to 5V range 5 100mV range 150mV 20mA range 30mA 4 to 20mA range 30 Thermocouple S range 50 to 1700_C 58 to 3092_F Thermocouple J range 210 to 1200_C 346 to 219...

Page 107: ...FP2 C1A FP2 AD8 p data setup time After FP2 system power has been Voltage input range all channels together 460ms 430ms power has been turned on Current input range all channels together 460ms 430ms Thermocouple input range all channels together 910ms 1330ms R T D input range all channels together 3350ms 6490ms Notes 1 Only when the DIP switch setting is setting the range for all the channels toge...

Page 108: ...Between analog output terminal and FP2 internal circuits Optical coupler insulation S Between analog output channels Non insulation for FP2 DA4 S Between analog output terminal and analog input terminal DC DC converter insulation for FP2 C1A Analog output hold setting Hold non hold setting by shared memory setting Notes 1 For the FP2 analog output unit FP2 DA4 there are restrictions regarding the ...

Page 109: ...X n 1 0 to X n 1 F Ch 2 WX n 2 X n 2 0 to X n 2 F Ch 3 WX n 3 X n 3 0 to X n 3 F Ch 4 WX n 4 X n 4 0 to X n 4 F Ch 5 WX n 5 X n 5 0 to X n 5 F Ch 6 WX n 6 X n 6 0 to X n 6 F Ch 7 WX n 7 X n 7 0 to X n 7 F Analog output unit Channel FP2 I O Number Analog output Ch 0 WY n Y n 0 to Y n F g p Ch 1 WY n 1 Y n 1 0 to Y n 1 F Ch 2 WY n 2 Y n 2 0 to Y n 2 F Ch 3 WY n 3 Y n 3 0 to Y n 3 F The I O number sh...

Page 110: ...put ch 3 K1 30 Offset changing setting for analog input ch 0 K0 14 4 5 31 Offset changing setting for analog input ch 1 K0 32 Offset changing setting for analog input ch 2 K0 33 Offset changing setting for analog input ch 3 K0 38 Analog output hold setting H0000 14 5 1 39 Analog output hold any value data setting K0000 14 5 2 42 Broken wire detection flag for temperature sensor input TC R T D H000...

Page 111: ...n switching from PROG to RUN mode the preparation complete flags of all channels will turn on because all channels are undergoing conversion execution When the non execution setting for each channel is set this is reflected in the bit that corresponds to address 10 When Enable setting by software is specified at the range setting switch the address 10 analog input preparation complete flag will no...

Page 112: ...etting for analog input ch 7 K1 30 Offset changing setting for analog input ch 0 K0 14 4 5 31 Offset changing setting for analog input ch 1 K0 32 Offset changing setting for analog input ch 2 K0 33 Offset changing setting for analog input ch 3 K0 34 Offset changing setting for analog input ch 4 K0 35 Offset changing setting for analog input ch 5 K0 36 Offset changing setting for analog input ch 6 ...

Page 113: ...en switching from PROG to RUN mode the preparation complete flags of all channels will turn on because all channels are undergoing conversion execution When the non execution setting for each channel is set this is reflected in the bit that corresponds to address 10 When Enable setting by software is specified at the range setting switch the address 10 analog input preparation complete flag will n...

Page 114: ...21 Output hold any value data setting for analog output ch 3 K0000 22 No execution of conversion processing setting for analog output ch 0 to 3 H1111 14 5 3 Notes D Shared memory addresses other than those listed above are not used Do not perform reading and writing with addresses that are not used D The shared memory addresses are all preset when the power is turned from off to on they return to ...

Page 115: ...4 ch 3 ch 2 ch 1 ch 0 Address 10 0 Preparing 1 Preparation completed Default H0000 Bit position 14 4 2 No Execution of Analog Input Conversion Processing Setting address 16 and 17 Specifies the input channel where conversion processing is not executed 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 ch 3 ch 2 ch 1 ch 0 Address 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 ch 7 ch 6 ch 5 ch 4 Address 17 0 Conversi...

Page 116: ...ess 19 Default HFFFF Ch 2 Ch 3 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Address 20 Default HFFFF Ch 4 Ch 5 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Address 21 Default HFFFF Ch 6 Ch 7 Bit position Bit position Bit position Bit position Input range Code 10V 20mA H01 100mV H04 1 to 5V 4 to 20mA H07 Thermocouple J H0D Thermocouple K H0E Thermocouple R H0F Thermocouple S H10 Thermocouple T H11 R T D Pt100 H1...

Page 117: ...g input ch 0 Address 23 Analog input ch 1 Address 24 Analog input ch 2 Address 25 Analog input ch 3 Address 26 Analog input ch 4 Address 27 Analog input ch 5 Address 28 Analog input ch 6 Address 29 Analog input ch 7 For the channels with values set that are different from those above the average processing becomes as shown below K0 K1 or K2 is set No average processing general sampling processing ...

Page 118: ... Analog input ch 3 Address 34 Analog input ch 4 Address 35 Analog input ch 5 Address 36 Analog input ch 6 Address 37 Analog input ch 7 14 4 6 Input Sensor TC R T D Broken Wire Detection Flag address 42 Detects broken wires in the input wiring onlly for each input channel tha is set for the thermocouple input range or R T D resistance thermometer device input range and copies the data to the bits s...

Page 119: ... Data Setting CPU unit with analog I O address 39 Analog output unit addresses 18 to 21 As explained above when a desired output is set for the hold setting the analog output value is held corresponding to the data set at this address 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Address 39 or Addresses 18 to 21 10V output range K 2048 to K2047 0 to 20mA output range K0 to K4095 Default K0000 Bit position...

Page 120: ...essing Setting Analog output unit address 22 Specifies the output channel where conversion processing is not executed 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 ch 3 ch 2 ch 1 ch 0 Address 22 0 Conversion not executed 1 Conversion executed Default H1111 Bit position Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 121: ...Current Consumption 14 4 Contents of Shared Memory 14 4 Shared Memory for Analog Input Processing 14 5 Shared Memory for Analog Output Processing 3rd edition PDF Only Additions Restrictions of range setting ARCT1F283E 3 ACG M283E 3 AUG 2003 4nd edition PDF Only The contents are corrected 1 6 Additions Restrictions of range setting ARCT1F283E 4 ACG M283E 4 OCT 2004 5th edition PDF Only Addition Bef...

Reviews: