Home
- Ana
Contents
1. 9 1 EEE e E A 9 2 de SNCS m 9 2 gee RON 9 3 9 2 3 CPU Module Cannot Read A D Conversion Values 9 3 9 2 4 The Analog Input Value Inconsistent with Digital Output Value 9 4 Contents 9 2 5 Hardware Failure of the Analog Input Module ssec 9 4 9 2 6 Check of Analog Input Module Status by XG5000 System Monitor 9 4 Appendix1 Glossary ROPER 1 GOSS ANY 1 1 Appendix2 Dimension Appen DIMENSION METTE Em A2 1 Chapter 1 Overview Chapter 1 Overview This manual describes the specifications handling and programming of the XGF AD8A type analog digital conversion module which is used in combination with the CPU module of the XGT PLC series XGF AD8A is hereafter referred to as the A D conversion module The A D conversion module is for converting the analog signals voltage or current input from a PLC external device into digital values of the signed 14 bit binary data 1 1 Characteristics 1 1 1 Hybrid input processing 8 channel current voltage input can be processed in a single module High speed conversion Conversion can be conducted at a high speed of 250 s chan
2. 6 6 Chapter 7 Configuration and Functions of Global Variables for XGI XGR 7 1 Global Variables Data Areas 7 1 7 1 1 Configuration of A D Conversion Data Input and Output Area 7 1 7 1 2 How to Use Global Variables dou due be dae dr wea Farm d 7 2 7 2 PUT GET Function Block Area Parameter nenne sanas 7 10 7 2 1 PUT GET Function Block Area Parameter Area 7 10 Pee 2 EIFE UT Tr 7 11 7 2 3 Examples of Use of PUT GET Commands e e ene e essem sense serrer nnns 7 13 Chapter 8 Programming XGI XGR 8 1 The Basic Program XGI XGR 8 1 8 1 1 An Example of a Program That Uses I O Parameter sess 8 1 8 1 2 An Example of a Program That Uses the PUT GET Command sess 8 3 8 2 Application Program XGI XGR eem I n e eme e he ehe e e ense s e eme essere sns 8 5 8 2 1 The Program Distinguishing A D Conversion Values sess mmm menn 8 5 8 2 2 The Program That Outputs the Error Code of the Analog Input Module through BCD Display 8 8 Chapter 9 Failure Check 9 1 Error Code
3. T T m Description gt Displays the operating status of XGF AD8A On operating normally Flashing error Off DC 2v disconnection XGF AD8A module gt the switch for setting the input time current voltage Current voltage setting switch Switch Setting 2 4 Chapter 2 Specifications EN 2 4 Characteristics of Input Output Conversion The characteristics of input output conversion is the slope of the straight line connecting the offset and the gain values when the analog signals current or voltage input from the PLC external device into digital values Below are the characteristics of input output conversion of the analog input module Practical analog input range Digital output 8000 8192 DC1 5V DC0 5V DC0 10V DC 10 10V Practical analog input range Digital output 8000 ds Offset DC 4 20 mA DC 0 20 mA 2 5 Chapter 2 Specifications 2 41 Input Output Characteristics of XGF AD8A Being a 16 channel analog input module the offset gain of the analog input module cannot be set by the user The voltage input range can be set for each channel by using the user program or I O parameter of XG5000 The output form of the digital data is defined as follows a Unsigned Value b Signed Value C Precise
4. emm ene eser ns 5 4 521 MOdUlS READY ERROR Flag Car Obi pap MD ER a 5 4 52 2 Operating channel MNT NUT o Emm 5 4 32 eT c re 5 5 5 2 4 Disconnection detection flag sxscucdsamata uet suilsad suot RI xp eben 5 5 5 2 5 Error clear request flag 5 5 5 3 Operating Parameter Setting Ranges 5 6 5 3 1 Designation of the channel MN REI T mm 5 6 5 3 2 Output Voltage Current Ranges 5 7 5 3 9 Oleh Data Ranges E 5 7 5 3 4 Average Processing 5 8 39 5 8 Oi o io PTT RE 5 10 NESE WANS MN 5 11 Contents Chapter 6 Programming XGK 6 1 The Basic Program 6 1 6 1 1 An Example of a Program That Uses Parameter 6 1 6 1 2 An Example of a Program That Uses the PUT GET Command usse 6 2 Program AOR A acta Dd 6 3 6 2 1 The Program Distinguishing A D Conversion Values ssessssssessee Hee 6 3 6 2 2 The Program That Outputs the Error Code of the Analog Input Module through BCD Display
5. Special 1 Monitor test module You can monitor the A D conversion value or test the operating of the analog monitor input module through the menu connected to Monitor of XG5000 gt Special module monitor Minimum maximum monitor You can monitor the minimum and maximum values of a running channel The values you can see are the current values displayed on the screen Therefore the minimum and maximum values are not saved when you close the Monitoring test window If there are not enough system resources of the PC you are using the display may not be normally functioning In such a case close the window end other applications and restart XG5000 4 6 Chapter 4 Operating Setting E 4 4 Precautions 1 The parameters you set to test the analog input module in the Special module monitor window are gone as soon as the Special module monitor window is closed That is the parameters of the analog input module set in the Special module monitor window are not saved in I O parameter on the left tab of XG5000 Special Module Monitor Cur Volt 8 Enable Enable 1 5 1 5V 0 16000 0 16000 Sampling Sampling 0 0 Disable Disable Not saved in parameter Reset max min value Stop Monitoring 2 The test function of the Special module monitor is for checking whether the analog input module operates normally when no sequence program has been
6. careful Electric shock may occur gt The users manual even after read shall be kept available and accessible to any user of the product Safety Instruction Safety Instructions for design process Please install a protection circuit on the exterior of PLC so that the whole system may operate safely regardless of failures from external power or PLC Any abnormal output or operation from PLC may cause serious problems to safety in whole system Install protection units on the exterior of PLC like an interlock circuit that deals with opposite operations such as emergency stop protection circuit and forward reverse rotation or install an interlock circuit that deals with high low limit under its position controls f any system error watch dog timer error module installation error etc is detected during CPU operation in PLC all output signals are designed to be turned off and stopped for safety However there are cases when output signals remain active due to device failures in Relay and TR which can t be detected Thus you are recommended to install an addition circuit to monitor the output status for those critical outputs which may cause significant problems gt Never overload more than rated current of output module nor allow to have a short circuit Over current for a long period time maycause a fire ww Never let the external power of the output circuit to be on earlier than PLC power which may ca
7. 4 2 TET T 4 2 42 2 How to Use VO Parameter eere tmn Rorate nte 4 2 4 3 Functions of the Special Module Monitor mI I m 4 6 AA PECO NER m 4 7 4 5 How to Use the Special Module Monitor nnns 4 8 4 5 1 Starting Special module monitoring sse Hmmm mmn 4 8 4 5 2 How to Use Special module monitoring 4 8 4 6 U Automatic Registration of U Device 0 0 0 ccc cece cece cence neat ee ene eee ee meme meme e n nemen esse semen 4 12 4 6 1 Automatic Registration of U Device sess mmm mem he I Rn Ine nnne nennen serrer inns 4 12 46 2 SAVING IIo MMRTTT 4 14 4 6 3 Viewing Variables in the Program 4 15 Chapter 5 Configuration and Functions of the Internal Memory XGK 5 1 The Configuration of the Internal Memory sess mmm mem meme me esee esee nnn nnns 5 1 5 1 1 Input and Output Areas of A D Conversion Data sss mH emm emnes 5 1 5 1 2 Operating Parameter Setting Range eee meme seems e seen esee se nnne nn 5 9 5 2 A D Conversion Data Input Output Ranges
8. Description Read write 1 Iputvolagecumentranges Read write 2 2 Iputvolagecumentranges2 3 Oupudaarnge 4 4 Average processing 54 5 Chame avrage amp 6 Read write 8 Chame3avrage 9 9 5 3 Chapter 5 Configuration and Functions of the Internal Memory 5 2 AID Conversion Data Input Output Ranges 5 2 1 Module READY ERROR Flag UXY 00 X base number Y slot number 1 UXY 00 F On when the A D conversion is ready with the PLC CPU supplied with power or reset and conducts A D conversion 2 UXY 00 0 the flag displaying errors of the analog input module B15 B14 B13 B12 B11 B10 B9 B8 B7 B6 BS B4 B3 B2 B1 BO E D 1 Error information Module READY Bit ON 1 error Bit Off 0 normal Bit ON 1 READY Bit Off 0 NOT READY 5 2 2 Operating channel flag UXY 01 X base number Y slot number This is the area where the operating information for each channel is stored B15 B14 B13 B12 B11 B10 B9 B8 B7 B6 BS B4 B3 B2 B1 BO Z UD QIQ 5 5 gt D 5 5 5 5 Operating channel information Bit ON 1 operating Bit Off 0 stop 5 4 Chapter 5 Configuration and Functions of the Internal Memory 3 5 2 3 Digital output value UXY 02 UXY
9. 2 1 2 2 15 2 2 23 Descnipion OLME PAS TTL 2 4 2 4 Characteristics of Input Output Conversion 2 5 2 4 1 Input Output Characteristics of XGF AD8A 2 6 mr 2 13 2 5 Functions of the Analog Input Module mnnera nnns 2 14 VOC SS SING 2 14 292 AVEIBge PIOSOSSIMO 2 15 2 5 3 Detection of Input DISCONNECTION 2 17 2 5 4 Hold last value Dedicated for current input mmm mm emm 2 19 ESSE I ani O RPM TO DTP 2 19 Chapter 3 Installation and Wiring 3 1 3 1 te MNT T T T EET 3 1 casu MT Te 3 2 9 22 Tem 3 2 3 2 2 Example of Wiring Contents Chapter 4 Operating Setting 4 1 The Operating Setting Flowchart mme e Ime eme nme e eene e enne iss renes san nnn 4 1 4 2 Operating Parameter Setting
10. Special Module Monitor ABF AD8A Cur Volt 8 CH Mem Setting Value Current Value Enable Enable 1 0 16000 0 16000 Sampling Sampling Disable Disable Reset max min value Stop Monitoring Fig 5 6 Reset max min d Close used when you want to close the monitoring or test window When you close the windows the maximum minimum and current values are not saved 4 11 LS Industrial Systems Chapter 4 Operating Setting 4 6 Automatic Registration of U Device This section provides information on the automatic registration of U device of XG5000 4 6 1 Automatic Registration of U Device The variables for each module are automatically registered referring to the information of the special module set in I O parameter The user can modify the variables and the descriptions Sequence 1 Set the special module in the slot in VO parameter Parameter Setting Variable allocation Base 00 Default 00 Default 8 01 XGF AD8A Cur ez 02 Default a 03 Default ez 04 Default 05 Default az 06 Default a 07 Default Default Default Default Default Base 01 Default Base 02 Default 7 Base 03 Default lt 2 Double click Variable Comment Project Window V View Variable view Device f view Variable Tye 4 Device Items 5 8 fa MewPLCOXGK C
11. 8 CH Module Info Fig 5 1 Special module list LS industrial systems 4 8 Chapter 4 Operating Setting 2 Select the special module and click on Module information in Fig 5 1 and then the Special module information will appear as in Fig 5 2 Special Module Information H Displays the informations of special module Ver 0 0 OS Update Date 0 0 0 Module Status Normal Fig 5 2 Select module information 3 Click on the Monitor button in the Special module list in Fig 5 1 and then the Special module monitor window will appear as in Fig 5 3 There are 4 buttons of Reset max min Start monitoring Start test and Close in this window The monitor at the top of the screen displays the outputs of the analog input module and maximum minimum values In the test window at the bottom of the screen you can configure the parameter items discretely of each module Special Module Monitor AblF AD 84 S CH Max Min value Current value CH1 A D valu CH2 valu CH3 valu valu tem Setnsvaue Current Value c0 Channel status Disable Average processing Sampling Average value 0 Hold last value Disable Reset value Start Monitoring Fig 5 3 Special module monitor Chapter 4 Operating Setting a Start monitoring If you clink on Start monitoring the A D conversion value of the currently runni
12. Motion Module Temp Measuring Module SOE Module Process control module Analog IO Module Communication Module List Reserved Module 5 Click on Detail button with the module chosen Parameter Setting Variable allocation Base 00 Default e 00 Grape Cur Mescrapes c 02 ce 03 c 04 e 05 06 Default Default Default 8 01 07 ez 08 ez 09 e 10 11 Default Default Default Default Default Default Default Default Base 01 Default Base 02 Default C Base 03 Default lt Comment Input Filter Emergency Out Allocation 6 A window will appear where you can the parameters for each channel as shown below If you click on the item you want to set the parameters that you can set will be displayed 4 3 LS Industrial Systems Chapter 4 Operating Setting XGF AD8A Cur Volt 8 CH AGF AD8A Cur Volt 8 Channel status Disable Disable Disable Disable Disable Disable Disable C Input range _ 4 20mA 4 20mA 4 20mA 4 20mA 4 20mA 4 20mA 4 20mA 4 20mA Output type 0 16000 0 16000 0 16000 0 16000 0 16000 0 16000 0 16000 0 16000 C Average processing Sampling sampling Sampling Sampling Sampling Sampling sampling Sampling Mex p p p pup Hold last value Disable Disable Disable Disable Disable Disable Disable Disable a Operating channel chooses run
13. Chapter 2 Specifications Chapter 2 Specifications 2 1 General Specifications Table 2 1 shows the general specifications of XGT series Table 2 1 General specifications Nof tem Specifications Related standard Operatin 1 bids 0 55 temperature Storage 2 25 470 C temperature Operating 3 d 5 95 RH no condensation humidity Storage 4 x 5 95 RH no condensation humidity Whentemisitemitenvbaton 0 o lt lt toe 98 10 times each When there is incessant vibration IEC 61131 2 in directions X Amplitude YZ 10 lt f lt 5 Hz 0 035 150Hz lt e Maximum shock acceleration 147 m s 15G Anti shock e Supply time 11ms IEC 61131 2 e Pulse wave pattern half sine pulse 3 times each in directions X Y and Z In house testing standard of LS Industrial System Electrostatic 61131 2 l Voltage 4 kV contact discharge E discharge IEC 61000 4 2 7 Anti noise Radiating electronic IEC 61131 2 l 27 500 MHz 10 V m noise IEC 610004 3 l Digital analog input output Past transient Power module IEC 61131 2 l n a interface bust noise ae 7 8 Environment No 9 Below 2 000m Ss Below 5 Anti vibration Rectangular impulse noise IEC 61000 4 4 1 IEC International Electrotechnical Commission An international private group that aims at promotin
14. STAT error information ANY WORD DWORD INT USINT DINT UDINT types are available of ANY types m Functions Heads data from the designated special module PUT WORD WORD Saves WORD data in the designated module address MADDR PUT DWORD DWORD Saves DWORD data in the designated module address MADDR Saves INT data in the designated module address MADDR Saves UINT data in the designated module address MADDR Saves DINT data in the designated module address ADDR Saves UDINT data in the designated module address MADDR 7 11 Chapter 7 Configuration and Functions of Global Variables XGI XGR 2 GET command GET Read data in special module Funcion io performs function when 1 designates base location designates slot location REQ DONE module address BASE STAT 512 0x200 1023 0x3FF SLOT DATA outputs 1 when normally functioning error information data read from module ANY WORD DWORD INT USINT DINT UDINT types are available of ANY types m Functions Heads data from the designated special module GET WORD WORD Reads WORD data from the designated module address MADDR GET DWORD DWORD Reads DWORD data from the designated module address MADDR GET_INT Reads INT data from the designated module address VADDR UINT UINT Reads UINT data from the designated module address MADDR GET DINT DINT Reads DINT data from the designated module address M
15. development zone Dalian China e mail lixk Igis com cn Tel 86 411 8273 7777 Fax 86 411 8730 7560 Tel 86 532 580 2539 Fax 86 532 583 3793 LS Industrial Systems constantly endeavors to improve its product so that 2009 9 Information in this manual is subject to change without notice LS Industrial Systems Co Ltd 2009 All Rights Reserved
16. 86 510 534 6666 Fax 86 510 522 4078 e mail jschuna Isis biz_ m LS Industrial Systems Beijing Office gt gt China m LS Industrial Systems Dubai Rep Office gt gt UAE Address P O BOX 114216 API World Tower 303B Sheikh Zayed road Dubai UAE e mail hwyim lsis biz Tel 971 4 3328289 Fax 971 4 3329444 LS VINA Industrial Systems Co Ltd gt gt Vietnam Address B tower 17th Floor Beijing Global Trade Center building No 36 BeiSanHuanDong Lu DongCheng District Beijing China Tel 86 10 5825 6025 LS Industrial Systems Guangzhou Office gt gt China Address Room 1403 14F New Poly Tower 2 Zhongshan Liu Address LSIS VINA Congty che tao may dien Viet Hung Rad Guangzhou China e mail zhangch lgis com cn Dong Anh Hanoi Vietnam e mail srjo hn vnn vn Tel 86 20 8326 6754 Fax 86 20 8326 6287 LS Industrial Systems Chengdu Office gt gt China aLa industrial Systime Hanol oe aun Address Room 2907 Zhong Yin B D No 35 Renminzhong 2 Address Room C21 5th Floor Horison Hotel 40 Cat Linh Road Chengdu China e mail hongkonk vip 163 com Hanol vienam Tel 86 28 8612 9151 Fax 86 28 8612 9236 TO GARE TAS DETOM PAR SAE LS Industrial Systems Qingdao Office gt gt China Dallan Systems Cid China Address 12th Floor Guodong building No52 Jindun Road Address No 15 Liaohexi 3 Road economic and technical Chengdu China e mail bellkikGhanmail net
17. ACT BOOL 0 _ VAR GLOBAL 0000 DATINT VAR GLOBAL 0000 CHO HO BOOL UXC GLOBAL 0000 CHO IDD BOOL GLOBAL 0000 LO BOOL UXC VAR GLOBAL 0000 CHI ACT BOOL amp UXE VAR GLOBAL 0000 CH1 DATINT GLOBAL 0000 CH HO BOOL SUXL VAR GLOBAL 0000 CH1 IDD BOOL UXC GLOBAL 0000 CH1 LO BOOL UXC VAR GLOBAL 0000 CH2 BOOL View each base slot Add External Variable Global Variable Kem Select Al VAR GLOBAL 0000 CHO ACTBOOL VAR GLOBAL 0000 DAT INT VAR GLOBAL 0000 CHO HO BOOL VAR GLOBAL 0000 IDD BOOL VAR GLOBAL 0000 10 BOOL _ VAR GLOBAL 0000 CHI ACT amp UXC VAR GLOBAL 0000 CHI DATINT eL VAR GLOBAL 0000 100 BOOL VAR GLOBAL 0000 CH LO BOOL VAR GLOBAL 0000 CH2 ACT BOOL m L mel zl JL 7 7 S industrial systems Chapter 7 Configuration and Functions of Global Variables XGI XGR d The following is an example that the digital input value 0000 CHO DATA of base00 1900 in View global variables Add External Variable Global Variable Item kem Base00 510100 XGF ADSA Cur Volt CH select Al Unselect All GLOBAL 0000 BOOL 15 VAR GLOBAL 0000 INT HUW VAR_GLOBAL 0000 BOOL 6UXC VAR GLOBAL 0000 CHO IDD BOOL SS UXC VAR GLOBAL 0000 LO BOOL UXC V
18. Chapter 4 Operating Setting 4 2 Operating Parameter Setting The operating parameters of the analog input module can be set in I O parameter of XG 5000 4 2 1 Setting Items XG5000 provides GUI Graphical User Interface type parameter setting of the analog input module in order to enhance the user s convenience Table 4 1 shows the parameters that can be set through I O parameter in the project window of XG5000 Table 4 1 Functions of I O parameter 000 parameter 1 The following items are set that are necessary for operating the module a channel run stop b analog input range C digital output data type d average processing method e average value 2 The data set by the user in XG5000 is stored in the analog input module when parameter is downloaded That is when I O parameter is stored in the analog input module is not related to the RUN or STOP of PLC CPU 4 2 2 How to Use Parameter 1 Start XG5000 and create a project For how to create a project see the program manual of XG5000 2 Double click on parameter in the project window Project Window x Items 5 8 oy NewPLC XGK CPUH Cffline t Variable Comment G L Parameter Basic Parameter New Program 4 2 Chapter 4 Operating Setting 3 Click on the slot of the base where the analog input module is mounted in the set parameter window In this illustration is the 8 channel voltage typ
19. enough Calculate current consumption of each module and reconsider configuration of system Normally functions if replaced with anothe module Hardware failure of analog input module 7 2 5 Other module than analog input module ha an error See CPU manual 9 2 3 CPU Module Cannot Read A D Conversion Values CPU module cant read A D conversion values Channel in use is correct Designate number of channel to use correctly Input terminal wiring of designated channel i Correct L no Refer to 3 2 2 and do wiring correctly Hardware failure of analog input module 7 2 5 9 3 Chapter 9 Failure Check 9 2 4 The Analog Input Value Inconsistent with Digital Output Value Analog input value is inconsistent with digital output value Analog input type of each channel and type of input in lick are correct Check analog input type you use Wiring of analog input terminals is correct Refer to 3 2 2 and do wiring correctly Hardware failure of analog input module 7 2 5 9 2 5 Hardware Failure of the Analog Input Module Switch on off the power If it occurs again a module failure is suspected Contact us 9 2 6 Check of Analog Input Module Status by XG5000 System Monitor You can check the module type information OS version and status of the analog input module by system monitor of XG5000 1 Sequence You can do the job either ways a Monitor gt System monitor g
20. 17 X base number Y slot number 1 The A D converted digital output value is output for each channel in the buffer memory address 2 9 UXY 02 UXY 09 2 The digital output values are saved in binary numbers of 16 bit UXY 02 UXY 17 B15 B14 B13 B12 B11 B10 B9 B8 B7 B6 B5 BA B3 B2 B1 BO channel digital output value I I NN _ ___ 5 2 4 Disconnection detection UXY 18 Z X base number Y slot number 2 channel number 1 The disconnection detection signals for each input channel is stored in UXY 18 2 Each bit is set as 1 when a disconnection is detected for the allocated channel and turns into O when the disconnection is recovered Each bit can be used for disconnection detection in the user program as the operating conditions B15 B14 B13 B12 B11 B10 B8 B7 B6 B5 B3 B2 B1 2 9 jouueu G y Z jeUUeYD 0 jeuueu 0 _ 5 2 5 Error clear request flag UXY 19 0 X base number Y slot number 1 When there is a parameter setting error the error code of address 22 is not automatically deleted even if you change the parameter to a correct value If you turn on the error clear request bit the error displayed in System monitor of XG5000 is deleted RUN LED also turns to On from Flashing 2 You have to use the error clear request flag along with UXY 00 0 for norm
21. 20mA 4 20mA 4 20mA 4 20mA 4 20mA Output type 0 168000 0 16000 0 16000 0 185000 0 165000 0 16000 0 16000 0 16000 Average processing Sampling Sampling Sampling Sampling sampling Sampling Sampling Averagevalue 8000 8000 REBELDE Kus DANT Face EQUI C Hold last value ipee Disable Disable Disable Disable Disable Disable Disable LS industrial s stems 4 4 Chapter 4 Operating Setting d Average processing you can choose the average processing type There are 4 options XGF AD8A Cur Volt 8 CH ABF AD8A Cur Volt 8 C Channel status Disable Disable Disable Disable Disable Disable Disable Disable 4 20mA 4 4 20 4 20 4 20 4 20 4 20 4 20 0 16000 40 16000 0 16000 0 16000 0 16000 0 16000 0 16000 0 16000 Sampling Sampling Sampling Sampling Sampling Sampling Sampling Sampling Avragevaue 0 0 0 0 Time Avr Disable Disable Disable Disable Disable Disable Disable Count Avr Weighted Avr e Average you can enter the average in this field only when you have set the three types time number and weighted averages If you double click on the average with one of the aforementioned three chosen you will be able to enter a value in the field The range of the values you can enter in the field is respectively 4 16000 2 64000 and 0 99 for time number and weighted averages Any values beyond the ranges cannot be entered XGF AD8A C
22. 4 20 1 0 pA Maximum resolution 0 3125 mV 0 10V 0 625 mV 0 20 mA 1 25 uA 10 10V 1 250 mV Erection Below 0 2 when the surrounding temperature is 25 5 Below 0 3 when the surrounding temperature is 0 55 speed Input and output Fixed type 64 adjustable type 16 points consumption Weight 140g Digital output 2 2 Chapter 2 Specifications 2 1 The analog input module has the offset and gain values set for each analog input range when it is manufactured The user cannot change the values 2 The voltage current selection switch is set at current when shipped at the factory 3 Offset value the analog input value of which the digital output value is O when the digital output type is set as an unsigned value 4 Gain value the analog input value of which the digital output value is 16000 when the digital output type is set as an unsigned value 5 The XGR system can be used at the extended base not the basic base 2 3 Chapter 2 Specifications 2 3 Description of the Parts This section is about the name of each part 2 3 1 The Analog Input Module XGF AD8A RUN 44 1 R N O eA AITO WIO NIO OTO w gt OD
23. 64000 The setting range of the weighted average 1 99 Address Description Address 5 Sets the average processing value of channel 0 Address 6 Sets the average processing value of channel 1 Address 7 Sets the average processing value of channel 2 Address 12 Sets the average processing value of channel 7 5 9 Chapter 5 Configuration and Functions of the Internal Memory 5 3 6 Error Code Address 13 1 This saves the error code detected by the analog input module 2 The types and descriptions of the errors are as follows Address 13 B15 B14 B13 B12 B11 B10 B9 B8 B7 B6 BS B4 B3 B2 B1 BO Se For the details of the error codes see the table below E d Description of the error MET IM 38 Normal operation RUN LED on module error ASIC RAM or Register Error RUN LED flashes every module error A D Conversion Error 0 2 second module error The offset value of 4 20 mA is larger than or equal to the gain value module error The offset value of 0 20 mA is larger than or equal the gain value module error The offset value of 1 5 V is larger than equal to the gain value module error The offset value of O 5 V is larger than or equal to the gain value second module error The offset value of 0 10 V is larger than or equal to the gain value module error The offset value of 10 10 V is larger than or equal to the gain value
24. Cur Volt 8 CH ABF ADSA 8 CH Parameter Delete Base Base Setting Details Enable 4 20m Enable 4 20m 4000 20000 4000 20000 Sampling 0 Disable Sampling 0 Disable Enable 4 20mA 4000 20000 sampling Disable Enahle 4 20mA 4000 20000 Sampling 0 Disable Disable 4 20m 0 186000 Sampling Disable Disable 4 20mA 0 186000 sampling D Disable Disable Disable 4 20 4 20mA 0 156000 0 186000 Sampling Sampling 0 0 Disable Disable Chapter 8 Programming XGI Execution none poy Contact Execution CHl _O002_CH1_ _O002_CHO_ OUT CHO output CH1 output _O002_CH2_ ACT _O002_CH3_ AUT EM END _0002_ 2_ DAT 000 _ _ CH2 output ATA IM output INST RHET WORLD DAT _ 0002 ERR _CODE 8 2 Chapter 8 Programming XGI E 5O 8 1 2 An Example of a Program That Uses the PUT GET Command Execution jd IN S11 20002 mac PUT WORD F n nz EN 16 000 PUT _WORD F z DAT TYPE 16 1210 INST6 PUT _WORD _FOOO2_CH1 AVE VAL ica 5000 8 3 F n nz RANGET 16 3210 _ 002_ EL 16 5210 _FOO02
25. Disable Disable Disable Disable Disable Disable sampling sampling sampling sampling sampling sampling sampling Sampling 0 0 0 0 0 0 0 0 Disable Disable Disable Disable Disable Disable Disable Disable 10119 10000 7500 5000 2500 120 5047 8191 16191 5000 8000 16000 4000 4000 12000 3000 0 8000 2000 4000 4000 1000 8000 0 952 8192 192 1 V 2V 3V 4V 5V Analog input voltage 2 8 Chapter 2 Specifications b The digital output values for the voltage input characteristics are as follows resolution for 1 16000 0 25 mV Digital output Analog input voltage V range 5047 _ Unsigned value 192 4000 8000 12000 16000 16191 192 16191 Signed value 8192 8191 Precise value 952 1000 2000 3000 4000 5000 5047 952 5048 Percentile value 120 2500 5000 7500 10000 10119 120 10119 4 In the range of DC 0 5 a Set setting range at 0 5V in set I O parameter of XG5000 XGF ADBA Cur Volt 8 ABF ADSA 9 Disable Disable Disable Disable Disable Disable Disable Disable Outputtype uL Je Out Se J UL J POL Je TOLAJ Ee Sampling Sampling Sampling Sampling Sampling Sampling Sampling Sampling Disable Disable Disable Disable Disable Disable Disable Disable ok 10119 5059 8191 16191 10000 5000 8000 16000 7
26. GLOBAL C _ 0000 DATA UINT 03 E Analog Input Module Output data type setting 7 5 S industrial Systems Chapter 7 Configuration and Functions of Global Variables XGI XGR 3 Local variables registration You can register the registered global variables that you want to use as the local variables a Double click on the local variables of the program where you want to use the global variables in the scan program below Project Window x Items 5 92 Elf NewPLC XGI CPULI Offline ga Global Direct Variables 4 Parameter Basic Parameter T Parameter ES Scan Program E NewProgram Program User Function Function Block User Data Type b Press the right button of the mouse in the right local variable window and select Add external variable Variable Kind Initial Value Cut Ctrl C Delete Delete o4 Insert Line EX Delete Line Ctrl 4D B Find device Ctrl F Find Ctrl 4K it Replace device Ctrl H Replace Ctrl HJ Export into text file Add EXTERMAL variable Open program 7 6 Chapter 7 Configuration and Functions of Global Variables XGI XGR c Select all or base slot in View global variables for the local variables that you want to add in the External variable add window below View all Add External Variable Global Variable Item m Select All Unselect All VAR GLOBAL 0000
27. INT GHIRR WORD EN IN 010 3 0 8 9 LS Industrial Systems Chapter 9 Failure Check Chapter 9 Failure Check This chapter provides information on the errors and failure check of the analog input module 9 1 Error Code Table 9 1 shows the errors that occur when the RUN LED of the analog input module flashes The error code detected in the analog input module is saved in address 25 Table 9 1 Error code list ror coce Description of the error RUN LED Decimal 10 module error ASIC Reset Error RUN LED flashes module error ASIC RAM or Register Error every 0 2 second module error A D Conversion Error module error The offset value of 4 20 mA is larger than o equal to the gain value module error The offset value of 0 20 mA is larger than o equal to the gain value module error The offset value of 1 5 V is larger than or equal to the gain value 4 The offset value of 0 5 V is h SHH module error e offset value of 0 5 V is larger than or equa RUN LED flashes to the gain value every second 44 module error The offset value of O 10 V is larger than o to the gain value 45 module error The offset value of 10 10 V is larger than to the gain value 50 Beyond the time average setting range Beyond the number average setting range Beyond the weighted average setting range 1 of the
28. RUN LED flashes every of the error code means the channel where the error occurred For details of the error codes see 7 1 3 If there are two or more errors the module saves the error code that happened first and does not save the following error codes 4 If there is an error you should use the error clear request flag see 5 2 5 or tum the power supply Off On after the error is corrected so that the LED stops flashing and the error code is deleted 5 10 Chapter 5 Configuration and Functions of the Internal Memory J 5 3 7 Hold last value Address 14 1 If you enable this function when input value exceeds the effective range holds the last value For example in case of 4 20mA if input signal change from 10mA to shortly channels holds output value corresponding to 10mA 2 If this function is enabled channel indicates digital output value within effective range For effective range refer to chapter 2 4 I O conversion characteristic 3 This function is available in the following input range a 4 20 b 0 20 4 Setting is as follows B15 B14 B13 B12 B11 B10 B9 B8 B7 B6 B5 B4 B3 B2 B1 14 Dm 5 11 Chapter 6 Programming Chapter 6 Programming 6 1 The Basic Program This chapter provides information on how to set the operating conditions for the internal memory of the analog input module
29. cause a short circuit and result in damage or malfunction 4 Check the polarity when wiring the terminal block 5 When cables are wired with high voltage lines or power supply cords an induction failure may occur resulting in malfunction or a failure 3 2 2 An Example of Wiring 1 Voltage inputs CHO tb iD 7 2 Current inputs GO CO SASF SSS Ses a te um dum dump ud dum du Mu dd dn am LI I d oul 1 Use 2 core twist shield cable AWG 22 is recommended for the size of the cable 2 250 Q typ as the current input resistance of the analog input module 3 1 MQ min as the voltage input resistance of the analog input module 3 2 Chapter 3 Installation and Wiring E 3 33 O 3 An example of 2 wire sensor transmitter wiring current inputs epee BH DC Transmitter um 2 n RHS S NIC ransmi t ter ES RES a Set only the channel you are using at channel operation b The analog input module does not supply the power for an input device Use an extemal power supply 4 An example of 4 wire sensor transmitter wiring voltage and current inputs a Set only the channel you are using at channel operation b The analog input module does not supply the power for an input device Use an extemal power supply 1 Use 2 core twist shield cable AWG 22 is recommended for the size of
30. error code means the channel where the error occurred 2 Ifthere are two or more errors the module saves the error code that happened first and does not save the following error codes 3 If you use an error clear request flag you can delete the error code in the sequence program see 5 2 5 9 1 Chapter 9 Failure Check 9 2 Failure Check 9 2 1 RUN LED Flashes RUN LED flashes RUN LED flashes every 0 2 second Hardware failure of analog input module Switch the power on off If the flashing occurs again a module failure is suspected Contact us RUN LED flashes every second 2 I An operating parameter setting error Check the error code and take the following measures Error code Description of the error Action Decimal Hardware failure of analog input module Switch the power on off If the flashing occurs again a module failure is suspected Contact us Module offset gain error BONG Change the set value to 4 16000 range ey oir UMS Average Change the set value to 2 64000 range igh idis dis Change the set value to 1 99 setting range of the error code means the channel where the error occurred 9 2 Chapter 9 Failure Check EN 9 2 2 RUN LED is Off RUN LED is off Analog input module is correctly mounted on base Mu eu Mount analog input module on base correctly Supply of power module mounted on base i
31. fall into the analog quantity For example the temperature is seamless over time as shown in Fig 1 1 Because the temperature cannot be input directly into the A D conversion module it needs to be relayed by a transducer that converts input signals of analog properties into electrical signals 1 2 2 Digital Quantity D The data consisting of integers or the physical properties in figures are referred to as digital properties Fig 1 3 The digital properties are the electronic method of creating storing and processing the data in only O and 1 The data transmitted or stored by digital technology is expressed in a string of O and 1 For example the on and off signals can be expressed in and 1 time digital values and the BCD or binary values are also digital values is why the analog values are converted in digital values when they are input Analoginp Analog output in the PLC CPU as shown in Fig 1 4 This is carried out by the A D 0 10V 10 10V AD CPU dgial operator Analog values cannot be directly input in the PLC CPU for an operation That conversion module In addition for the analog values to be output to the outside the PLC CPU digital values should be converted into analog values Fig 1 4 Process at PLC This function is conducted by the D A conversion module 1 2 Chapter 1 Overview 1 2 3 The Characteristics of Analog Digital Conversion 1 Voltage input 16000 800
32. or stop XGF AD8A Cur Volt 8 CH ABF AD8A Cur Volt 8 C Channel status Disable Disable Disable Disable Disable Disable Disable Disable C Input range Disable 4 20 4 20 4 20mA 4 20mA 4 20mA 4 20mA 4 20mA Oufputtpe Enabe 0 16000 0 16000 0 165000 0 16000 0 16000 0 16000 0 16000 Sampling Sampling Sampling Sampling Sampling Sampling Sampling Sampling DAR IN MEC Holdlastvalue Disable Disable Disable Disable Disable Disable Disable Disable b Input range chooses the range of the analog input voltage or current you want to use The analog input module provides 2 current input ranges and 4 voltage input ranges XGF AD8A Cur Volt 8 CH ABF AD8A Cur Volt 8 Parameter CHO cH2 os c Disable Disable Disable Disable Disable Disable Disable Disable 4 20 4 20 4 20 4 20 4 20 4 20 4 20 4 20 4 20 0 16000 0 16000 0 16000 0 16000 0 16000 0 16000 0 16000 C Average processing Sampling Sampling Sampling Sampling Sampling Sampling Sampling Average value 0 0 0 0 0 0 Hold last value Disable Disable Disable Disable Disable Disable Disable c The output data type chooses the output data type You have 4 options XGF AD8A Cur Volt 8 CH ABF AD8A Cur Volt 8 C Channel status Disable Disable Disable Disable Disable Disable Disable C Input range 4 20mA 4 20mA 4 20mA 4
33. relay output module mounted in slot 2 is On c When the digital value of channel 3 is greater than or equal to 12000 and smaller than or equal to 13600 contact point 4 QX0 2 4 of the relay output module mounted in slot 2 is On d When the digital value of channel 3 is 13600 contact point 5 QX0 2 5 of the relay output module mounted in slot 2 is On 8 5 Chapter 8 Programming XGI 4 Program a An example of the program that uses I O parameter setting Parameter Setting Fixed allocation 64points 8 00 DC 24V INPUT DC 24V INPUT 16points Bl 01 Cur mn AM 02 RELAY OUTPUT ez 03 Default 04 Default ez 05 Default ez 06 Default exa OF Default Default Default Default Default ff Base 01 Default Base 02 Default Base 03 Default XGF AD6A Cur Volt 8 CH e F ADSA 9 gt cH o cus cus LC Channel status Enable Disable Enable i Enable Disable Disable Disable Disable Jinputrange 10 10 4 20mA 10 10V 10 10V 4 20mA 4 20 4 20 4 20 Outputype 10000 10000 0 186000 10000 10000 10000 10000 0 15000 0 16000 0 16000 0 156000 Average processing Weighted Awr Sampling EI Count Avr i Time Avr No Sampling Sampling m Sampling d Sampling ET um 0 2 L Heldlastva
34. use the product considering the safety for system configuration or applications Environmental Policy LS Industrial Systems Co Lid supports and observes the environmental policy as below Environmental Management About Disposal LS Industrial Systems considers the LS Industrial Systems PLC unit is designed to environmental preservation as the preferential protect the environment For the disposal management subject and every staff of LS separate aluminum iron and synthetic resin Industrial Systems use the reasonable cover from the product as they are reusable endeavors for the pleasurably environmental preservation of the earth LS values every single customers Quality and service come first at LSIS Always at your service standing for our customers WWW lsis biz LS Industrial Systems 10310001057 m HEAD OFFICE LS Industrial Systems Shanghai Co Ltd gt gt China LS tower Hogye dong Dongan gu Anyang si Gyeonggi do Address Room E G 12th Floor Huamin Empire Plaza 1026 6 Korea http eng lsis biz No 726 West Yan an Road Shanghai China Tel 82 2 2034 4689 4888 Fax 82 2 2034 4648 Tel 86 21 5237 9977 xcv systems LS Industrial Systems Wuxi Co Ltd gt gt China Address 102 National High amp New Tech Industrial es AD Development Area Wuxi Jiangsu China e mail Xugh Igis com cn Terese Tel
35. used 102 00 200000 7 7 0001 Designate input range PUTP 2 4 20 Designate output data range 1 0 16000 PUTP 2 4 HOO l processing CHO time averaging 2 100 1 CHE 100 average value 0001 02 01 0 Store A D conversion value MOV 102 02 000000 BET 2 13 000001 Store error code of CHO in D1 E BCD 000001 PODD4 S 6 7 LS Industrial Systems Chapter 7 Configuration and Functions of Global Variables XGI XGR Chapter 7 Configuration and Functions of Global Variables for XGI XGR 7 1 Global Variables Data Areas 7 1 1 Configuration of A D Conversion Data Input and Output Area Table 7 1 shows the A D conversion data input and output Area Table 7 1 A D conversion data input and output ranges M Global variables Description allocation Module error flag Module READY flag _ CHO ACT 16 channel 0 operating flag _ CH1 ACT SoU Xxx yy 17 channel 1 operating flag _ CH2 ACT SoU Xxx yy 18 channel 2 operating flag _ CH3 ACT SoU Xxx yy 19 channel 3 operating flag _ CH4 ACT 20 channel 4 operating flag _ CH5 21 channel 5 operating flag _ CH6 ACT VoU Xxx yy 22 channel 6 operating flag _ CH7 ACT 23 channel 7 operating flag _ CHO DATA YUWxx yy 2 channel 0 digital output value conversion val
36. 0 0 10V 0V 10V Input voltage Analog input voltage z lt E amp Fig 1 5 A D conversion characteristics voltage input The A D conversion module converts the analog electric signals that are input from an external device into digital values which makes operations possible in the PLC CPU When 10 10 V is used as the analog input range in the A D conversion module the analog input quantity of 10V is digital value 0 and that of 10V is digital value 16000 Therefore this case analog input 1 25mv corresponds to digital value 1 Fig 1 5 2 Current input 16000 8000 0 indyno anea mmo mA 10 mA 20 mA Input current Analoe input current Fig 1 6 A D conversion characteristics current input If 0 20mA is used as the analog input range in an A D conversion module the analog input value of OmA is output as digital value and the analog input value of 20mA is digital 16000 In this case analog input 1 25 corresponds to digital value 1 Fig 1 6 1 3 Chapter 1 Overview The new functions of A D conversion module are as follows Module CPU OS Item Description OS version Ref version 2 5 Hold last When input signal exceeds effective range holds last TA Not value effective input value related XGK V3 2 Alarm When input signal exceeds effective range relevant XGI V3 1 function alarm flag turns on 1 4
37. 0000 CH7 IDD BOOL 3 amp UX00 167 Analog Input Module CH7 Input Disconnection 40 VAR_GLOBAL 0000 CH7 LO BOOL UX0 0343 Analog Input Module CHO Low Out Of Range 41 vag GLoBAL 0000 ERR BOOL 000 __ Analog Input Module Module Error 42 GLOBAL _0000 ERR CL BOOL amp UX00176 Analog Input Module Error Clear Request 43 VAR GLOBAL 0000 BOOL UX0 0 15 Analog Input Module Module Ready 44 VAR GLOBAL C _ 000 AVG SEUNT 04 Analog Input Module Average processing method sett 45 VAR GLOBAL C F0000 AV UINT NUM Analog Input Module CHO average value 46 _ VAR GLOBAL C F0000 CHi AVUNT 06 Analog Input Module CH1 average value 47 GLOBAL C F0000 AVUNT 07 Analog Input Module CH2 average value 48 VAR GLOBAL C F0000 AV UNT AnalglnputModuleCH3averagevalue 49 GLoBAL C Foo avUNT 09 Analog Input Module average value 5o GLoBAL c _ 0000 cH AV UNT 10 Analog Input Module CHS average value 51 GLOBAL C 000 CH6 AV UINT oM LEE Analog Input Module CH6 average value 52 vAR GLOBAL C FO000 CH7 AV UNT Analoginput Module CH7 average value 53 VAR GLOBAL F0000 CH EN UIT 00 Analog Input Module Channel enable disable setting 54 VAR
38. 01 203 _ Analog Input Module CH3 High Out Of Range 4 6 2 Saving Variables 1 The content in the View variable tab can be saved in text files 2 Click on Export into text file in Edit in the menu 3 The content in the View variable tab is saved in a text file Chapter 4 Operating Setting 4 6 3 Viewing Variables in the Program 1 The example program of XG5000 is as follows 00010 00 M00010 E 34 5 MOV 101 02 000100 MOV 101 03 000101 MOV 101 04 000102 MOV 101 05 000103 2 Click on Variable in View in the menu The devices become variables 00010 D1 RDY 00010 5 4 00010 37 Q1 CH7 ACT MON 01 CAT 000107 4 15 L S industrial Systems Chapter 4 Operating Setting 3 Click on Device Variable in View in the menu You can view the device and variable together at a time M00010 001 00 _01_RDY 400010 wi UO1 01 0 HOV 001 02 000100 _01_ _ 001 01 1 MOV 01 03 000101 _91_ 1_ OUT 101 01 2 MOV 001 04 000102 _01_ 2_ 001 01 3 MOV 001 05 000103 _01_ _ TIES DAT 01 01 4 MOV 001 06 000104 _01_CH4_ACT 101 01 5 MOV 001 07 000105 _01_CH5_ACT UES DAT 001 01 6 MOV 01 08 000106 1 ACT D1 CH6 DAT 01 01 MOV 001 09 000107 _01_ _ Chapter 4 Operating Settin
39. 1 Percentile value 1 2500 5000 7500 10000 10119 120 10119 2 In the range of DC 0 20 mA a Set setting range at 0 20 mA in set I O parameter of XG5000 XGF AD8A Cur Volt 8 CH AGF AD84A Cur Volt 8 Disable Disable Disable Disable Disable Disable Disable Disable 0 165000 I T6000 0 T6000 0 156000 0 T6000 0 T6000 D 16000 0 15000 Sampling Sampling Sampling Sampling Sampling Sampling Sampling Sampling o o o o o o o o Disable Disable Disable Disable Disable Disable Disable Disable Cancel 10000 20000 8000 16000 7500 15000 4000 12000 5000 10000 0 8000 yndjno jeyb6ig 2500 5000 4000 4000 0 0 8000 0 120 240 8192 192 0 mA 5 mA 10 mA 15 mA 20 mA Analog input currnet 2 7 Chapter 2 Specifications b The digital output values for the current input characteristics are as follows resolution for 1 16000 1 25 uA Digital output range Unsigned value 192 16191 Analog input current mA E 4000 8000 12000 16000 16191 oigned value 8192 8000 4000 4000 8000 8191 8192 8191 192 Precise value 240 5000 10000 15000 20000 20239 240 20239 Percentile value 120 10119 3 In the range of DC 1 5V 2500 5000 7500 10000 10119 a Set setting range at 1 5V in set I O parameter of XG5000 XGF ADBA Cur Volt 8 CH AGF ADS4 Cur olt 9 jndino Disable Disable
40. 500 3750 4000 12000 5000 2500 0 8000 jndino 2500 1250 4000 4000 0 0 8000 0 120 60 8192 192 0 V 1 25 V 25 V 3 75 V 5V Analog input voltage 2 9 Chapter 2 Specifications b The digital output values for the voltage input characteristics are as follows resolution for 1 16000 0 3125 mV Analog input voltage V range 006 125 25 375 5 so Unsigned value 4000 8000 12000 16000 16191 192 16191 Precise value 1250 2500 3750 5000 5059 60 5060 Percentile value 2500 5000 7500 10000 10119 120 10119 5 the range of DC 0 10 V a Set setting range at O 10V in set parameter of XG5000 192 oigned value 8192 8000 4000 4000 8000 8191 8192 8191 120 XGF AD8A Cur Volt 8 CH AGF ADBS Cur Valt 9 sampling sampling sampling sampling sampling sampling sampling sampling Disable Disable Disable Disable Disable Disable Disable Disable 10119 10119 8191 16191 10000 10000 8000 16000 7500 7500 4000 12000 5000 5000 0 8000 yndjno 2500 2500 4000 4000 0 0 8000 0 120 120 8192 192 OV 2 5 5V 7 5 10V Analog input voltage 2 10 Chapter 2 Specifications b The digital output values for the voltage input characteristics are as follows resolution for 1 16000 0 625 mV Digi
41. 6 B5 B4 B2 Bi INST sur xn 77 6 0100 OV 10V 0101 10V 10V xtd 164224422 0100 0100 0010 0010 Set input range ch3 ch2 chi cho 7 13 Chapter 7 Configuration and Functions of Global Variables XGI XGR 3 Output data range setting a You can designate the digital output data ranges for analog input for each channel b When no analog input range is designated all channels are set as 0 16000 c The setting of digital output data ranges is as follows B15 B14 B13 B12 B9 B7 B6 B4 BI m INST2 HEU WORTI dramas m Ranges 0 00 0 16000 8000 8000 Precise Value 0 10000 16 2012 0010 0000 0001 0010 ch2 chi cho 162012 The precise value has the following digital output ranges for the analog input range 1 Current 0 20 mA 0 20000 2 Voltage Analog input 0 10V 0 5V 1 5V Digital output asv 7 14 Chapter 7 Configuration and Functions of Global Variables XGI XGR E 4 Average processing setting a You can set Allow block of average processing for each channel b When no average processing is designated all channels conduct sampling processing c The designation of average processing is as follows d The following illustration is an example when time average is used for channel 1 B15 Bi4 B13 B12 Bii B9 B8 B7 B6 BS B4 B3
42. 8000 800 0 12000 12000 16000 Ref Hold last Hold last value value 2 5 5 Alarm function When input signal exceeds effective range relevant flag turns on 1 Input detection condition Detection condition for each input signal range is as follows Input signal range Tolerance Upper limit 4 20 mA 3808mA 20 192 ECTS 1 2 0 12V 10 12 V 10 24 V 10 24 V 0 10 V 4V 5V 10V OV 2 19 Chapter 2 Specifications 2 Alarm indication for each channel Alarm detection signal is saved at UXY 20 and UXY 21 If input signal returns to the within of effective range alarm detection signal also returns to the normal status automatically X base number Y slot number UXY 20 upper limit e O 0 o Upper limit alarm UXY 21 limit ee eee Was 9 Lower limit alarm 2 20 Chapter 3 Installation and Wiring E Chapter 3 Installation and Wiring 3 1 Installation 3 1 1 Installation Environment Although this device has high reliability regardless of the environment where it is mounted pay attention to the following conditions for reliability and stability of the system 1 Environment conditions a Mount on a water proof and vibration proof controlling board b Where there are no continuous shocks or vibrations c Where there is no direct sunlight d Wher
43. ADDR UDINT UDINT Reads UDINT data from the designated module address MADDR Chapter 7 Configuration and Functions of Global Variables XGI XGR 3 7 2 3 Examples of Use of PUT GET Commands 1 Designation of channel to use a You can set Allow block of A D conversion for each channel b You can shorten the conversion cycle for each channel by blocking conversion of the unused channel c When no channel is designated for use all channels are blocked from use d Allow block of A D conversion is as follows 815 4 Bll B9 86 B5 B4 B3 7 B2 CH CH CH CH CH CH CH 71615141312 1 m PUT_WORD HEU BO CH 0 BASE STAT 1680003 0000 0000 0000 0011 4 1680003 Designates channel to use CH2 CH1 CHO e The values set between B2 B15 will be ignored f The illustration on the right side is an example of designating channels 0 1 as the use channel of the analog input module 2 Designation of Input Voltage Current Ranges a You can designate the analog input voltage current ranges for each channel b When no analog input range is designated all channels are set as 1 5 V 4 20 mA c The setting of analog input voltage current ranges is as follows The following example is when channels 0 1 are 1 5V and channels 2 3 are 0 10V B15 B14 B13 B12 B9 B8 B7 B
44. AR GLOBAL 0000 CH1 ACT BOOL VAR GLOBAL 0000 CH1 DAT INT eS UWI VAR_GLOBAL _0000_CH1_HO BOOL 9S UXC VAR GLOBAL 0000 CH1 IDD BOOL UXC VAR GLOBAL 0000 CH1 LO BOOL VAR GLOBAL 0000 CH2 ACT BOOL 9 UXC yy gt 4 How to use local variables in the program This section describes how to use the added global variables in the local program The following is an example in which the conversion value of channel 0 of the A D conversion module is brought to a Double click on the variable before IN in the area where the A D conversion data is read as by using the MOVE function below and invoke the variable selection window Channel Designation ouble cl ick Chapter 7 Configuration and Functions of Global Variables XGI XGR b Choose the global variable as the variable type in the variable selection window and then the corresponding base in the View global variable item base 0 slot O Select Variable Variable IN Variable List Local Variable Global Variable D Direct Variable Flag Global Variable VAR GLOBAL VAR GLOBAL VAR GLOBAL 4 VAR GLOBAL 5 GLOBAL 6 VAR GLOBAL VAR GLOBAL VAR GLOBAL VAR GLOBAL 9 10 VAR GLOBAL n VAR_GLOBAL VAR GI ORAI 0000 0000 CHO DATA 0000 CHO HOOR 0000 CHO IDD 0000 CHO LOOR 0000 CH1 ACT 0000 CH1 DATA 0000 CH1 HOOR 0000 CH1 IDD 0000 CH1 L
45. B2 Bi REL PUT_WORD REQ LIONE OUUEU y Jeuueuo 0 Jeuueuo 0 Sampingpocesng FOOD AV ik 16320010 0000 0000 0001 0000 ch3 ch2 cho 5 Designation of average values a The initial value of the average designation range is O b The setting range of the average designation is as follows Weighted 1 99 average c When a value beyond the range is designated the error number is displayed in the error code display F0001 ERR CODE Then the A D conversion value remains the previous data refers to the channel where the error occurred d The setting of the average is as follows B15 B14 B13 B12 BIO B9 B7 B4 B2 BO fe el 0 feeee Time average setting range is 16 16000 Count average setting range is 2 64000 Weighted average setting range is 1 99 15 Chapter 7 Configuration and Functions of Global Variables XGI XGR REI PUT_UINT HEU DUME _FOOO1 VAL 30 n device allocation and yy respectively mean the numbers of the base and slot where the module is mounted Address 11 Designates the average processing value of channel 6 Address 12 Designates the average processing value of channel 7 When you designate the time number average processing values set average processing as Allow in advance As for average pr
46. H XBF ADBA 8 Paamter z a cus cue C Channelstatus Disable Disable Disable Disable Disable Disable Disable Disable C Input range 4 20mA 4 20mA 4 20mA 4 20mA 4 20mA 4 20mA 4 20 4 20mA Output type 0 16000 0 186000 0 16000 0 16000 0 185000 0 16000 0 16000 0 156000 Average processing Sampling Sampling Sampling 3 Sampling i Sampling Sampling Sampling 3 Sampling Averagevatue 0 9 9 9 9 9 9 9 Hold last value Disable _ Disable Disable Disable Disable Disable Disable Disable d Select Y The global variable of the module set in I O parameter is automatically registered 5000 Automatically register comments the U Devices according to the special module set in the 1 0 parameter w 4 previous comment will be deleted Continue 7 3 LS industrial systems Chapter 7 Configuration and Functions of Global Variables XGI XGR e Checking the automatic registration of the global variables Double click on the global direct variables in the project window Project Window X Tm Basic Parameter TH Parameter a Sean Program 8 2 NewProgram e User Function Function Block mw Laer Data Type Sener 54 VAR GLOBAL C _ 0000 DATA T UNT 05 A
47. OOR 0000 CH2 ACT nnnn DATA BOOL INT BOOL BOOL BOOL BOOL INT BOOL BOOL BOOL BOOL INT UX0 0 1 9 eUWO 02 UX0 0 32 UX0 0 1 0 0 0 3 0 1 UWO0 0 3 UX0 0 32 UX0 0 1 UX0 0 32 UX0 0 1 v nun n A 3 Add to direct variable comment Cancel New Variable c Double click on 0000 CHO DATA that corresponds to the A D conversion data of channel 0 and click on OK liil Select Variable Variable D0D0 DATA Variable List Local Variable Global Variable Global Variable Direct Variable Flag List 00 51000 XGF ADSA Cur Volt 8 CH a GLOBAL VAR GLOBAL 5 GLOBAL 6 GLOBAL VAR GLOBAL 8 GLOBAL VAR GLOBAL VAR GLOBAL GLOBAL VAR GI ORAI 0000_ HOOR 0000 CHO IDD 0000 CHO LOOR 0000 CH1 ACT 0000 CH1 DATA 0000 CH1 HOOR 0000 CH1 IDD 0000 CH1 LOOR 0000 CH2 ACT nnnn BOOL BOOL BOOL BOOL INT BOOL BOOL BOOL BOOL INT UX0 0 32 UX0 0 1 0 0 0 3 UX0 0 1 UW0 0 3 UX0 0 32 UX0 0 1 0 0 0 3 UX0 0 1 gt Add to direct variable comment New Variable d The following is the result of adding the global variable corresponding to the A D conversion data of channel 0 Channel Designation _0000_ _ 7 9 LS industrial sys
48. OR UXxx yy 323 CH3 alarm upper limit _ CH4 HOOR UXxx yy 324 CHA alarm upper limit _ CH5 HOOR UXxx yy 325 CH5 alarm upper limit _ CH6 HOOR UXxx yy 326 CH6 alarm upper limit _ UXxx yy 327 CH7 alarm upper limit 7 1 Chapter 7 Configuration and Functions of Global Variables XGI XGR _ LOOR UXxx yy 336 CHO alarm lower limit _ CH1 UXxx yy 337 CH1 alarm lower limit _xxyy_CH2_LOOR UXxx yy 338 CH2 alarm lower limit _xxyy_CH3_LOOR UXxx yy 339 CH3 alarm lower imit _xxyy_CH4_LOOR UXxx yy 340 CH4 alarm lower limit _ 5 LOOR UXxx yy 341 5 alarm lower limit _ CH6 LOOR UXxx yy 342 CH6 alarm lower limit _ UXxx yy 343 CH7 alarm lower limit x Base number yy means the number of the slot where the module is mounted and xx the number of the base where the module is mounted 7 1 2 How to Use Global Variables You can register the global variables either by automatic registration after setting parameters in the project window registering them simultaneously after setting the parameters 1 parameter registration You can register the module you want to use in parameter a Double click on the I O parameter in the project window Project Window x tems Eb dfgfdg fia MewPLCQXGIHHCPUUMOffline Global Direct Variables SL Para
49. PUH Offline T Variable Comment S L Parameter Basic Parameter 9 Parameter ES Scan Program Mew Program Chapter 4 Operating Setting 3 Choose Register U Device in Edit in the menu 5000 Variable Comment HA Project Edit Find Replace View Online Monitor Debug Tools Window Help ORP isci BBX im m 8688 sh ww S 4ME IF 4PH up sMo s 10 s7 c3 c ch ch o 4 Click on Yes XG5000 Variable Comment pa Project Edit Find Replace View Online Monitor Debug Tools Window Help BEOR BAX MARRS 10 o 8 9 o BK P2 B a Na ES E mAddumsmSsssSimuu gt 1 t T D 1 T Project Window x Items NewPLC XGK CPUH Offline 2 Variable Comment 5 9 Parameter TE Basic Parameter Ed 1 0 Parameter a Scan Program NewProgram TN 9 Automatically register comments in the U Devices according to the special module set in the I O parameter The previous comment will be deleted Continue J 10 11 12 B 4 13 CS industrial Systems Chapter 4 Operating Setting 5 The variables are registered as below 01 ERR BIT U01 00 0 i E Analog Input Module Module Error 2 01 RDY BIT U01 00 F Analog Input Module Module Ready 01 U01 01 0 Anal
50. Qut Allocation Default NGF ADBA Cur RGF ADGA Default Default Default Default Default Default Default Default 10 Default 11 Default i Base 01 Default Base 02 Default H Base 03 Default i XGF AD8A Cur Volt 8 CH ABF AD8A Cur Volt 8 Enable Disable Enable Disable Enable Disable Disable Disable 10 10V 4 20 10 10 10 10V 4 20 4 20 4 20 4 20 10000 10000 0 16000 10000 10000 10000 10000 0 16000 0 16000 0 16000 0 16000 C Average processing Weighted Avr sampling Count Avr Time Avr Weighted Avr Sampling Sampling Sampling Avwmgevaue so 0 20 5 NE C Hold last value of Disable Disable Disable E Disable vs Disable Disable Disable Disable Execution contact Module ready UJ 00 F MOOOT P 5 01 01 0 12000 1 01 2 1 4 13800 0 01 4 401 06 12000 EE CH operatin POOLE signal 6 12800 pouts Slot no MOOD 1 5 13600 Internal memory address ail Storage device No of data to read 6 4 LS Industrial Systems Chapter 6 Programming b An example the program that uses PUT GET command Internal memory address of word to write Slot No Setting data f ugi 00 F Designate channel to use channel 0 3 4 M
51. Right choice for ultimate yield LSIS strives to maximize customers profit in gratitude of choosing us for your partner Programmable Logic Controller XGT Analog Input Module XGT Series User s Manual XGF AD8A Safety Instructions eRead this manual carefully before installing wiring operating servicing or inspecting this equipment eKeep this manual within easy reach for quick reference LS Industrial Systems Safety Instruction Before using the product For your safety and effective operation please read the safety instructions thoroughly before using the product gt Safety Instructions should always be observed in order to prevent accident or risk with the safe and proper use the product gt Instructions are divided into Warning and Caution and the meaning of the terms is as follows Warning This symbol indicates the possibility of serious injury or death if some applicable instruction is violated This symbol indicates the possibility of severe or slight injury and property N Caution damages if some applicable instruction is violated Moreover even classified events under its caution category may develop into serious accidents relying on situations Therefore we strongly advise users to observe all precautions properly just like warnings gt The marks displayed on the product and in the users manual have the following meanings zn Be careful Danger may be expected
52. Value d Percentile Value Lom iom NN 1 In the range of DC 4 20 mA a Set setting range at 4 20 mA in set I O parameter of XG5000 XGF AD8A Cur Volt 8 CH ABF AD8A Cur Volt 9 C Channel status Input range Output type Disable 4 20mA 0 165000 C Average processing Sampling C Hold last value 0 Disable Disable 4 20mA 0 156000 Disable Disable Disable Disable Disable Disable 4 20mA 4 20mA 4 20mA 4 20mA 4 20mA 4 20mA 0 156000 0 1500L 0 15000 0 165000 0 156000 0 15000 Sampling Sampling Sampling Sampling Sampling Sampling Sampling 0 Disable 0 0 0 0 0 0 Disable Disable Disable Disable Disable Disable 10119 10000 7500 e et m 5000 c e c r 2500 0 120 20191 20000 16000 12000 8000 4000 3808 8192 8000 4000 4000 8000 8192 16191 16000 12000 8000 4000 192 4 mA 8 12 16 20 Analog input Current LS industrial systems 2 6 Chapter 2 Specifications E 3 3 DOG X3 39 b The digital output values for the current input characteristics are as follows Resolution for 1 16000 1 uA Digital output Analog input current mA 3 808 Unsigned value 192 192 16191 20 E 4000 8000 12000 16000 16191 oigned value 8192 8000 4000 4000 8000 8191 8192 8191 Precise value 3808 4000 8000 12000 16000 20000 20191 3808 2019
53. _CHe AVE VAL i INST PUT _WORD 0 1 F n 2 CH3 vap 100 Chapter 8 Programming XGI Output gone execution zr d CH1output DHe _ 002 CH2output _O002_CH3_ ALT 000 CH3output BET WORD FEQ DONE SLOT Error code 0 ERR 8 4 Chapter 8 Programming XGI 8 2 Application Program XGI XGR 8 2 1 The Program Distinguishing A D Conversion Values slot fixed point allocation 64 points 1 System configuration XGP XGI XGl XGF XGQ ACF2 CPUU D24A ADIGA RY2A 2 Initial setting Internal edem T Values to write in internal Initial setting memory memory address channel0 channel2 chamel3 0 h000D or 13 Input range 10 10V 5505 21765 Output data range 40000 1000 CENT h0000 or 0 Channel 0 2 3 weighted number Average processing iiie 11204 or 4612 Channel 0 weighted average 50 MM NEM EE h0032 or 50 Channel 2 number average Average 60064 or 100 100 times Channel3timeaverage 200 ms 7 100 8 or 200 3 Program description a When the digital value of channel 0 is smaller than 12000 contact point 0 QX0 2 0 of the relay output module mounted slot 2 is On b When the digital value of channel 2 is greater than 13600 contact point 2 QX0 2 2 of the
54. al operating as shown in Fig 5 1 5 5 Chapter 5 Configuration and Functions of the Internal Memory B15 B14 B13 B12 B11 B10 B9 B7 B4 Error clear flag UXY 11 0 Bit ON 1 error clear request Bit Off 0 error clear stand by LD 11 0 00 0 11 0 1 4 Analog Inipaurt Input Input Module Module Module Error Clear Module Error Clear Request Error Request Fig 5 1 How to use the error clear request flag 5 3 Operating Parameter Setting Ranges Each address of the internal memory is occupied by 1 word which can be expressed in 16 bit Each function can be used by setting the 16 bit that comprises the address at 1 when On for each bit and at when Off for each bit 5 3 1 Designation of the channel to use address 0 1 You can set whether to allow block A D conversion for each channel 2 You can shorten the conversion cycle for channels by blocking conversion of the channel you don t use 3 When no channel is designated for use all the channels are set as not used 4 Allow block of A D conversion is as follows LO B15 B14 B13 B12 B11 B10 B9 B8 B7 0 Z jeuueu Jeuueu 0 Jeuueu Q IQ 3 3 gt D 5 5 5 5 2 2 oo euueu 5 6 Chapter 5 Configuration and Functions of the Internal Memory 5 3 2 Output Voltage Current Ranges Addresses 1 4 1 You can
55. am Distinguishing A D Conversion Values I O slot fixed point allocation 64 points 1 System configuration XGP XGl XGF XGQ CPUS D24A ADIGA RY2A Internal EE Values to write in internal Initial setting memory memory address channel 0 channel 2 channel 4 10015 or 21 Output data range 16000 h0000 or 2 Initial setting 600647 or 100 ho0C8 or 200 channel 2 number average Average processing h0120 or 288 channel 4 time average channel 2 number average Average channel 4 time channel 4 time average 200 ms 200 m 3 Program description When the digital value of channel 0 is smaller than 12000 contact point PO0080 of the relay output module mounted in slot 2 is On b When the digital value of channel 2 is greater than 13600 contact point 2 00082 of the relay output module mounted in slot 2 is On c When the digital value of channel 4 is greater than or equal to 12000 and smaller than or equal to 13600 contact point 4 P00086 of the relay output module mounted in slot 2 is On d When the digital value of channel 4 is 13600 contact point 5 P00085 of the relay output module mounted in slot 2 is On 6 3 Chapter 6 Programming 4 Program a An example of the program that uses I O parameter setting Parameter Setting Variable allocation Base 00 Default Slt Commen Input Filter Emergency
56. configured If you use the analog input module for other purposed than testing it is recommended you use the parameter setting function in VO parameter 4 7 Chapter 4 Operating Setting 4 5 How to Use the Special Module Monitor 4 5 1 Starting Special module monitoring Go Online gt Access and then Monitor gt Special module monitoring If you are not in the Online status the Special module monitoring menu will not be activated vnvn XG5000 NewProgram is Project Edit Find Replace View Online Monitor Debug Tools Window Help E em x Monitoring Pause JET Pausing Conditions Project Window gt Change Current Value tems System Monitoring pl E e vnvn Device Monitoring Eg MewPLC XGK CP UH Stop 4 Variable Comment Trend Monitoring 4 Parameter Basic Parameter PID Monitoring Eg 1 0 Parameter B SOE Monitoring Scan Program NewProgram I Data Traces 4 5 2 How to Use Special module monitoring 1 Click on Monitor gt Special module monitoring with XG5000 connected to the PLC CPU module Then the Special module list window will appear displaying the base slot information along with the types of the special module as in Fig 5 1 The list dialog displays the module currently mounted in the PLC system Special Module List Base Slat Module fi Base 0 B Slot 1 ABF ADSS
57. ctions or abnormal operation Safety Instruction Safety Instructions for wiring process Prior to wiring works make sure that every power is turned off not electric shock damage on the product may be caused After wiring process is done make sure that terminal covers are installed properly before its use Fail to install the cover may cause electric shocks N Caution Check rated voltages and terminal arrangements in each product prior to its wiring process Applying incorrect voltages other than rated voltages and misarrangement among terminals may cause fire or malfunctions Secure terminal screws tightly applying with specified torque If the screws get loose short circuit fire or abnormal operation may be caused Securing screws too tightly will cause damages to the module or malfunctions short circuit and dropping Be sure to earth to the ground using Class 3 wires for FG terminals which is exclusively used for PLC If the terminals not grounded correctly abnormal operation or electric shock may be caused Don t let any foreign materials such as wiring waste inside the module while wiring which may cause fire damage on the product or abnormal operation Make sure that pressed terminals get tighten following the specified torque External connector type shall be pressed or soldered using proper equipments Safety Instruction Safety Instructions for test operation and maintenance Don t to
58. d Example 1 the number of channels being used 1 set time 16000 ms 16000 Averaging Frequency AT 64000 Times X U ms Example 2 the number of channels being used 8 set time 4 ms 4 Averaging Frequency CEU EN 2Times x 0 25 ms 1 If you do not set the time average within 4 16000 RUN LED flashes every second If you want to keep RUN LED on reset the time average within 4 16000 and switch the operating mode of the CPU module from STOP to RUN If you want to end the error through modification you must use the clear request flag UXY 11 0 2 In case of an error of the time average value setting the set value is saved as 4 which is the initial value The time average is converted into the number average inside the analog input module In this case there can be a remainder as time is divided by the number of channels being used X conversion speed The remainder is dropped and the number of average processing processes is the number of channels being used X conversion speed set time Example When the number of channels being used is 5 and the set time is 151 ms 151 ms 5 X 0 25 ms 120 times the remainder is 8 120 times b Count average processing 1 Settable range 2 64000 times 2 When you use the number average the times it takes for the average value to be saved in the memory differs according to the number of the channels being used The processing time the set number X the nu
59. e analog input module mounted in slot 1 base O Parameter Setting Variable allocation Base 00 Default ez 00 og 01 e 02 eu 03 eg 04 e 05 e 06 e 07 e 08 e 09 e 10 eg 11 Default Default Default Default Default Default Default Default Default Default Default Default Base 01 Default a Base 02 Default H Base 03 Default lt Slot Mode _ Input Fiter_ Emergency Ouf Allocation 4 Click on the arrow button and then window will appear where you can choose a module and choose a desired module Parameter Setting Variable allocation All Base zi Base 00 Default 00 Default ez 01 Default 02 Default ez 03 Default 04 Default z 05 Default z 06 Default 07 Default 08 Default ez 09 Default ez 10 Default 11 Default H Base 01 Default Base 02 Default 5E Base 03 Default lt E E t 8 T re Ge EH EH EHI ER RH ag Slot Modue Comment Input Fiter_ Emergency Out Allocation Digital Module List Special Module List Al Analog Input Module XGF AV8A Voltage 8 XGF ACBA Current 8 CH Al GF AD4S Isolated 4 GF AD amp S4 Cur Volt 8 Al GF AD164 Cur Volt 16 Analog Output Module High Speed Counter Module B All Positioning Module Bg B B
60. e there is no condensation caused by sudden changes of the temperature e Where the temperature remains between 0 55 C NL 2 Installation work a Do not leave wiring remnants in the PLC when boring screw holes or doing wiring work b Install in a place where you can easily manipulate it C Do not install with a high voltage device in the same panel d Keep at least 50mm from a duct or module e Connect to ground where the noise environment is good NL 3 1 2 Precautions in Handling This section provides information on the precautions in from opening to installing the analog conversion module 1 Do not drop or hit hard 2 Do not separate the PCB from the case It may cause a failure 3 Be careful not to let foreign substances such as the wiring remnants in the upper part of the module when doing the wiring work 4 Do not mount or dismount when the power is on 3 1 Chapter 3 Installation and Wiring 3 2 1 Precautions in Wiring 1 Do not put an AC power supply line near an external input signal line of an analog input module Keep them apart enough not to be affected by the surge or induced noise from the AC side 2 Consider the surrounding temperature and allowed current when choosing the cable A cable should be larger in maximum diameter than 22 0 3 3 If the cable is placed too close to a hot device or material or put in direct contact with oil for example it may
61. er average and time average 2 When you designate no average processing all the channels conduct sampling processing 3 The designation of average processing is as follows B15 B14 B13 B12 B11 B10 B9 B8 B7 Bb B4 Address 7 2 BIT Description Sampling processing Time average Number average Weighted average 5 3 5 Average Value Addresses 5 12 1 The setting ranges of the time number weighted averages are as follows a Time average 16 16000 ms b Number average 2 64000 number of times c Weighted average 1 99 2 If you designate a value beyond the range the address that displays the error code shows the following signals a Beyond the time average range error code 50 b Beyond the number average range error code 60 c Beyond the weighted average range error code 70 In these cases the initial value applies to the average processing of the error code means the channel where the error occurred 5 8 Chapter 5 Configuration and Functions of the Internal Memory 3 The setting of time number weighted averages processing values is as follows Address 5 12 B15 B14 B13 B12 B11 B10 B9 B8 B7 B6 BS B4 B3 B2 B1 BO hanet average constant The setting range of the time average 16 16000 The setting range of the number average 2
62. ference between an real analog output voltage current value and ideal conversion value on the graph It is expressed against the full scale and the error includes the gain offset and linearity errors It is expressed respectively in room temperature 25 and use temperature ranges A1 2 Appendix 2 Dimension Appendix 2 Dimension Appendix 2 Dimension Unit mm RUN OIN Ott OTA 2 1 LS Industrial Systems Warranty and Environmental Policy 1 Warranty Period The product you purchased will be guaranteed for 18 months from the date of manufacturing 2 Scope of Warranty Any trouble or defect occurring for the above mentioned period will be partially replaced or repaired However please note the following cases will be excluded from the scope of warranty 1 Anytrouble attributable to unreasonable condition environment or handling otherwise specified in the manual Any trouble attributable to others products 3 Ifthe product is modified or repaired in any other place not designated by the company 4 Duetounintended purposes b Owing to the reasons unexpected at the level of the contemporary science and technology when delivered 6 Notattributable to the company for instance natural disasters or fire Co Since the above warranty is limited to PLC unit only make sure to
63. g 4 Click on Device Comment in View in the menu You can view the device and comment together at a time 4 17 af 10 101 01 0 001 02 000100 Input Input Module Module Active CHO Curtpat 1 01 1 1101 03 000101 Analog Analog Input Input Module Module CH1 Active CH1 Output uat ot 2 uti Danio Araog Input Input Module Module H2 Active CH Output U01 01 3 MM SEE QE NE Analog Input Input Module Module CH3 Active CH3 Output 101 01 4 101 05 000105 Analog Analog Input Input Module Module CH4 Active CH4 Output Uot o1 5 01 07 000105 Ana Input Input Module Module CH3 Active CH3 Output 01 01 6 101 08 D00105 Analog Input Input Module Module CHE Active Output Lo o1 7 101 09 DOF Analog Ana Input Input Module Module Active CH Output Chapter 5 Configuration and Functions of the Internal Memory 09 Chapter 5 Configuration and Functions of the Internal Memory XGK The analog input module has an internal memory for transmitting and receiving data with the PLC CPU 5 1 The Configuration of the Internal Memory This section gives information on the configuration of the internal memory 5 1 1 Input and Output Areas of A D Conversion Data Table 5 1 shows
64. g international cooperation for standardization in electrical and electronic technology areas publishes international standards and operates related conformity assessment systems 2 Contamination an indicator that shows the contamination level of the environment that determines the insulation of a device Contamination level 2 is when there is only non conductive contamination and there is short conductivity when there is condensation 2 1 Chapter 2 Specifications 2 2 Performance Specifications Table 2 2 shows the performance specifications of an analog input module Table 2 2 Performance specifications Specifications Analog input range DCO 54 DC 4 20 mA DCO 10V DC 0 20 mA DC 10 10V input resistance 250 input resistance 1 min at the analo gt Current and voltage are set with the DIP switch input range 9 gt The analog input range is set in the 5000 user sequence program parameter gt Each input range can be set for each channel 1 Voltage Analog input 1 5V 0 5V 0 10V 10 10V Digital output 0 16000 8000 8000 0 10000 2 Current Analog input 0 20mA Digital output 0 16000 8000 8000 14 bit binary value gt The digital output data format can be set through the user program or the O parameter of XG5000 for each channel Analog input range TERES Analog input range Resolution 1 16000 0 250
65. he analog input module is mounted in slot 2 The input and output occupancy point of the analog input module is 16 points variable The initial setting condition is one time entry The setting of the initial value is saved in the internal memory of the analog input module 6 1 1 An Example of a Program That Uses I O Parameter 6 Parameter Setting Variable allocation All Base Set Base B Base 00 Default 03 Cd 04 05 CE 06 C OF aa 08 09 Default 10 Default CE 11 ez 00 Default Cd Oi Default Ai 02 XGF ADS8A Cur Default Default Default Default Default Default Default Base 01 Default ES Base 02 Default 8 Base 03 Default 4 XGF ADGS8A Cur Volt 8 CH AGF 4064 8 CH owe Average processing Hold lastvalue Delete Slot Enable 10 10V 0 16000 Weighted Avr 10 Disable Se systems Delete Base Disable 10 10V 0 16000 sampling 0 Disable EE SGF A084 8 CH Base Setting Disable 10 10V 0 186000 sampling Disable Delete All Enable 10 10 0 186000 Weighted Avr 20 Disable Enable 10 10 0 16000 Weighted Avr Disable Disable 10 10 0 16000 sampling 0 Disable Disable 10 10V 0 16000 sampling Disable Input Fiter_ Emergency Out Allocation Cancel Disable 10 10V 0 16000
66. isplayed in the digital BCD display when P00002 is On 00040 4 4 Program a An example of the program that uses I O parameter setting Parameter Setting Variable allocation Base 00 Default DC 24V XGF AD8A Cur Default 00020 PODO2F Default Default Default Default Default Default Default Default Default Base 01 Default amp Base 02 Default Base 03 Default lt XGF AD8A Cur Volt 8 CH ABF AD8A Cur Volt 8 Parameter 0 16000 Time Ar 100 Enable 4 20mA Chapter 6 Programming XGK Disable 4 20mA 0 16000 Sampling 0 Disable Disable 4 20mA 0 16000 Sampling 100 Disable Disable 4 20mA 0 165000 Sampling 200 Disable Disable 4 20mA 0 16000 Sampling 50 Disable Disable 4 20mA 0 16000 Sampling 0 Disable Disable 4 20mA 0 16000 Sampling 0 Disable Disable 4 20mA 0 16000 Sampling 0 Disable Hold last value Disable 4 16000 Cancel Module Execution Ready contact Designate CH to be used 6 00 6 PUT 2 0 hono POOOO 102 01 0 p conversion 000000 value of CHO in DO Channel operating Store error code in D1 PODOUE PADS Convert data in D1 into BCD type and output at Convert error code to BCD type Bb Bi b An example of the program that uses PUT GET command Designate CH to be
67. lue Disable Disable Disable Disable Disable Disable Disable Disable i 8 6 CS industrial systems Chapter 8 Programming b An example of the program that uses PUT GET command _0001 ROV Execution A a oo Execution 2 0 BT 2 4 Error code 8 7 LS Industrial Systems Chapter 8 Programming XGI 8 2 2 The Program That Outputs the Error Code of the Analog Input Module through BCD Display 1 System configuration XGP Xel Xaq XGQ CPUU 024 RY2A AD16A RYZA System 1 0 0 1 Saves A D conversion value G6 and error code Digital BCD display displays errors Outputs error code thru BCO O 2 Initial setting a Channel in use channel 0 b Analog input current range DC 4 20 mA c Time average processing 100 ms d Digital output data range 0 16000 3 Program description a When IX 0 0 1 is On the A D conversion value and error code are respectively saved as conversion value and error code b When IX 0 0 2 is On the error code is output in the digital BCD display QW 0 3 0 4 Program a An example of the program that uses I O parameter setting I O Parameter Setting Fixed allocation 64points Comment inputFiter EmemgencyOuj Allocation 4 00 DC 24 INPUT DC 24v INPUT 16paints 3 Standard
68. materials or explode itself Revision History Hevision History Version Date Remark Page V 1 0 09 9 1 First Edition x The number of User s manual is indicated right part of the back cover LS Industrial Systems Co Ltd 2009 All Rights Reserved About User s Manual Thank you for purchasing PLC of LS Industrial System Co Ltd Before use make sure to carefully read and understand the User s Manual about the functions performances installation and programming of the product you purchased in order for correct use and importantly let the end user and maintenance administrator to be provided with the User s Manual The User s Manual describes the product If necessary you may refer to the following description and order accordingly In addition you may connect our website http eng lsis biz and download the information as a PDF file Relevant User s Manuals XG5000 software user manual describing online function such as programming print monitoring debugging by using XGK XGB CPU XG5000 software user manual describing online function such as programming print monitoring debugging by using XGI XGR CPU XG5000 User s Manual for XGK XGB XG5000 User s Manual for XGl XGR XGK XGB Instructions amp Programming Users manual for programming to explain how to use User s Manual instructions that are used PLC system with XGK XGB CPU XGI XGR XEC Instructions amp Programming Users manual for prog
69. mber of the channels being used X conversion speed 2 15 Chapter 2 Specifications 1 If you do not set the time average within 2 64000 RUN LED flashes every second If you want to keep RUN LED on reset the time average within 2 64000 and switch the operating mode of the CPU module from STOP to RUN If you want to end the error through modification you must use the clear request flag UXY 19 0 2 In case of an error of the number average value setting the set value is saved as 2 which is the initial value Example when the number of channels being used 4 and the number of average processing processes is 50 times 50 X 4 X 0 25 ms 50 ms c Weighted average processing Weighted average processing is for getting stable digital output values by filtering sudden changes of the noise or input values The weighted average constant can be set for each channel by setting the user program or I O parameter 1 Settable range 1 99 Fin 1 a x A n a x F n 1 F n the current weighted average output value the current A D conversion value F n 1 the previous weighted average output value a weighted average constant 0 01 0 99 weighted value of the previous value a If you do not set the time average within 1 99 RUN LED flashes every second If you want to keep RUN LED on reset the time average within 4 16000 and switch the operating mode of the CPU module from STOP to RUN If you want to end the error thro
70. meter Basic Parameter Scan Program New Program User Function Function Block User Data Type b Select XGF AD8A module in the I O parameter window 7 2 Chapter 7 Configuration and Functions of Global Variables XGI XGR Parameter T allocation 64points EJ E3 _ Al Base m Base 00 Default Do OO Default Input Fiter Emergency Allacatian 01 Default Digital Module List 1 ggg 02 Default Special Module List eg 03 Default fe Al Analog Input Module ug 04 Default EE 04 Defau ow Al 8 CH 05 Default 8 Curent 8 06 Default XGF AD4S Isolated 4 a OF Default i H EE 8 CH 08 Default 7 Al NGFADITEA 16 CH ggg 09 Default 9 E Analog Output Module am 10 Default 19 iH H High Speed Counter Module em 1 Default lao amp Al Positioning Module Base 01 Default Motion Module Base 02 Default COME i DERE Temp Measuring Module 1 Base 03 Default p Ej SOE Module E Base D4 Default pe Al Process control module 8 9 Analog 10 Module E Communication Module List c Press the Details button set the parameter and choose OK Cur Volt 8 C
71. ms Cur XGF AD84 Cur Volt 8 CH oo G vj RELAY OUTPUT RELAY OUTPUT 16points Default Default Default Default Default Default Default Default Default Default Base 01 Default 4 Base 02 Default 2 Base 03 Default lt Chapter 8 Programming XGF AD8A Cur Volt 8 CH AGF ADB4 5 CH ___ Parameter cu chs cus cHe cu Channel status Input range Qutput type Average processing Average value Hold last value Enable 4 270mA 0 186000 Time Avr 100 Disable Disable 4 20m 0 16000 sampling 0 Disable Disable 4 20m 20 16000 sampling 100 Disable Disable 4 20mA 0 186000 sampling 200 Disable Disable 4 20m 0 16000 Sampling 1 0 Disable Disable 4 20m 0 416000 _ sampling 0 Disable Disable 4 20mA 0 16000 Sampling 0 Disable Disable 4 20mA4 20 16000 sampling 0 Disable mem 416000 b An example of the program that uses parameter setting INST 20002 RDY IXD 0 0 WORD 0 2 F OD2 CH EN 0001 0002_ _ 1X0 0 1 ACT LL 4 EN _O002_CHO_ IH OUT Conversion value BET WORD STAT 2 SLOT DATA Error code _FOOU2 ERR CODE
72. nalog Input Module Output data type setting VAR GLOBAL C 000 ERR C 13 Input Module Error codes UD DH mp 5 m 1 ep eo ee ee 57 VAR GLOBAL C F0000 IN RAN UNT Analog Input Module Input current voltage ranges set 58 GLOBAL C FOO000 IN RAN UINT 02 Analog input Module Input current voltage ranges set LS industrial Systems 7 4 Chapter 7 Configuration and Functions of Global Variables XGI XGR 2 Global variables registration You can register the global variables of the module set in I O parameter a Double click on the global direct variables in the project window Project Window X tems El fay MewPLCOXGI CPUUYOffline T Global Direct Variables B E Parameter 3 E a blo TH VO Pasameler sd Scan Program 8 2 NewProgram e User Function Function Block bee User Data Type b Select Register Special Communication Module Variables in Edit of the main menu dfgfdg XG5000 Global Direct Variables HA Project Edit Find Replace View Online Monitor Debug Tools Window Help s 2 BB X BE CDS 1 A WE EE mh UM p Mad E ECR oen gs es i l ren Variable e Lem 0 R GLOB 0000 CH7 DATINT 9eUWO09 T Analog Input Module CH7 Output 0000 CH7 BOOL 96UX0 0 327 Analog Input Module CH7 High Out Of Range 39 VAR GLOBAL
73. nel High precision The conversion precision is 0 2 surrounding temperature 25 5 High resolution of 1 16000 The resolution of the digital values can be set at 1 16000 Operating parameter setting and monitoring by GUI Graphical User Interface The operating setting which was conducted by commands can be manipulated by using I O parameter setting with improved user interface which increased the user s convenience You can reduce the sequence program by using I O parameter setting Furthermore you can easily monitor the A D converted values using Special module monitor function A variety of digital output data formats 4 types of digital output data format are supported The output type of the digital data can be defined as follows Unsigned value 0 16000 Signed value 8000 8000 Precise value see Chapter 2 2 Percentile value O 10000 Short circuit detection A short circuit of the input circuit can be detected when the analog input sign range of 4 20 mA 1 5V is used Chapter 1 Overview 1 2 Glossary ES Voltage input satan 10 10 A D Time Fig 1 1 Analog quantity Fig 1 2 An example of the transducer 1 2 1 Analog Quantity A Analog quantity refers to when a physical value is continuous As analog values are unbroken there is always a median value Physical properties in general such as voltage current velocity pressure and flow
74. ng channel will be displayed Fig 5 4 is the monitoring that you see when the analog input module is all channel stop status The current value field at the bottom of the window displays the parameter of the currently set analog input module Special Module Monitor AXGF AD8A Cur Volt 8 em Mauinvalue tem Se ngvaue Curentvaue Enable Enable 1 5V 1 5V 0 16000 0 16000 Sampling Sampling 0 0 Disable Disable Reset max min value Stop Monitoring Fig 5 4 The display of Start monitor 6 Test Test is used when you want to change the parameter of the currently set analog module You can change the parameter by clicking on the set value in the field at the bottom of the window Fig 5 5 is when you execute Test after changing the input voltage range of channel 0 to 1 5V Special Module Monitor ABF ADB8A Cur Volt 8 em Curentvaue we uw CH3ADvaue Setting Value Current Value Enable Enable RS C 0 16000 0 16000 Sampling Sampling o Disable Disable Reset max min value Stop Monitoring Fig 5 5 Start test c Reset max min value shows the maximum and minimum A D conversion values at the top of the window If you clink on it the maximum and minimum values are reset Fig 5 6 is when you click on Reset max min in Fig 5 5 As shown the A D conversion value of channel 0 has been reset LS industrial systems 4 10 Chapter 4 Operating Setting
75. nnel where the error occurred For details of the error codes see 9 1 d If there are two or more errors the module saves the error code that happened first and does not save the following error codes e If there is an error you should use the error clear request flag see 5 2 5 or turn the power supply Off gt On after the error is corrected so that the LED stops flashing and the error code is deleted 7 17 Chapter 8 Programming mE M Chapter 8 Programming XGR 8 1 The Basic Program XGI XGR This chapter provides information on how to set the operating conditions for the internal memory of the analog input module he analog input module is mounted in slot 2 The input and output occupancy point of the analog input module is 16 points variable The initial setting condition is one time entry The setting of the initial value is saved in the internal memory of the analog input module 8 1 1 An Example of a Program That Uses I O Parameter Parameter Setting Fixed allocation 64points Base Sei Base Base 00 Default CE 0 01 Default B 02 CE 03 Default 09 Default CE 06 OF Default CE 08 09 Default 10 Default a 11 Base 01 Default Base 02 Default E Base 03 Default Default XGF AD8A Default Default Default Default Delete Slot XGF ADBA
76. o continuous voltage current and digital values ideal inputs and outputs are defines as a straight line within minimum 1L SB of voltage current The difference between an ideal analog conversion value and real analog conversion value on the graph is referred to as a linearity error Real conversion value 4 ES X Ideal conversion value m Multiplexer The switching circuit where multiple circuits share a single AVD converter or D A converter m Analog output module The module that has an output module which converts the analog DC voltage or current signals in proportion to the digital values transmitted from the processor to the module m Resolution The minimum value that can be recognized in the measure It is expressed in engineering units 1mV or number of Bits in general That is 14 Bit is capable of 16383 types of outputs m Filter The device that softens the change of digital conversion values of an analog circuit produced from a sudden change of external noise or inputs It has two methods of S W and HW filters m Precision The maximum deviation of the ideal output voltage and current against the pre output range With respect to the outputs it is expressed as the maximum difference between the ideal value in the whole input range and the digital conversion value of the input signals It is mainly expressed in percentage to the full scale The error includes the gain offset and linearity errors m Output precision The dif
77. ocessing choose between time average and number average 7 16 Chapter 7 Configuration and Functions of Global Variables XGI XGR E 9 Error code a Saves the error code detected in the analog input module b The types and descriptions of errors are as follows c The following illustration is an example of reading the error code B15 B14 B13 B12 B9 B8 B7 B6 B5 B4 B3 B2 BO _ _ _ l Error code E d DE Description of the error 0 operation RUN LED on 11 module error ASIC RAM or Register Error RUN LED flashes 20 module error A D Conversion Error every 0 2 second module error The offset value of 4 20 is larger than or equal to the gain value module error The offset value of 0 20 mA is 41 larger than or equal to the gain value module error The offset value of 1 5 V is large 42 than or equal to the gain value 4388 module error The offset value of 0 5 V is large RUN LED flashes than or equal to the gain value NEHMEN module error The offset value of O 10 V is large y AAHH ENG or equal to the gain value module error The offset value of 10 10 V is 45tHt larger than or equal to the gain value 50 the time average setting range 6044 Beyond the number average setting range 70 the weighted average setting range of the error code means the cha
78. odule ready Designate input rage 10 10V Designate input rage 10 10V Designate output data range 192 16191 Designate average process CH2 count average time average Designate average value 100 Designate average value CH4 200 DR MOODOT 101 01 0 101 02 12000 i Paiwi i i i sg n UOI 04 38 200082 i i i 001 01 4 Ug mo qot P 4 1 4 L a i 05 12800 700085 i i i lt UJ 06 100 P00084 ON if the A D conversion value in channel 4 is between 12000 and 13600 Storage device No of word to read 6 5 LS Industrial Systems Chapter 6 Programming 6 2 2 The Program That Outputs the Error Code of the Analog Input Module through BCD Display 1 System configuration XGP XGI XGl XGQ XGF CPUS D24A 2 Initial value Saves A D conversion value ERG P000 and error code Digital BCD display displays errors Outputs error code thru BCD EEG P0002 2 Initial setting a Channel in use channel 0 b Analog input current range DC 4 20 mA c Time average processing 100 ms d Digital output data range 0 16000 3 Program description a Initial setting of A D conversion when P00000 is b The A D conversion value and error code are respectively saved D00000 and D00001 when P00001 is On c The error code is d
79. og Input Module CHO Active 4 01 ACT U01 01 1 Analog Input Module CH1 Active 5 01 BIT 001 01 2 Analog Input Module 2 Active 6 CH3 ACT BIT U01 01 3 Analog Input Module CH3 Active 7 CH4 ACT BIT 1001 01 4 Analog Input Module CH4 Active 01 CH5 ACT BIT U01 01 5 Analog Input Module Active 9 U01 01 6 Analog Input Module CH6 Active 10 CH7 ACT 1001 017 Analog Input Module CH7 Active 11 CHO 01 10 0 Analog Input Module Input Disconnection Flag 12 01 001 101 Analog Input Module CH1 Input Disconnection Flag 13 01 100 U01 10 2 Analog Input Module CH2 Input Disconnection Flag 14 IDD 001 103 Analog Input Module CH3 Input Disconnection Flag 15 1 IDD BIT U01 10 4 Analog Input Module CH4 Input Disconnection Flag 16 100 U01 10 5 Analog Input Module Input Disconnection Flag 01 CH6 IDD U01 10 6 Analog Input Module CH6 Input Disconnection Flag 18 CH7IDD U01 10 7 Analog Input Module CH7 Input Disconnection Flag 19 01 ERR CLR BIT U01 11 0 Analog Input Module Error Clear Request 20 CHO HOOR U01 20 0 Analog Input Module High Out Of Range 21 HOOR BIT U01 20 1 Analog Input Module CH1 High Out Of Range 22 01 CH2 HOOR U01 20 2 Analog Input Module CH2 High Out Of Range 23 01 CH3 HOOR BIT 0
80. og input voltage Fig 2 1 Precision at 25 5 C 2 13 Chapter 2 Specifications 2 5 Functions of the Analog Input Module Table 2 3 explains the functions of the analog conversion module Table 2 3 List of functions mes Den _ Sets the operating stop of the channel to conduct A D conversion Set channel operating stop You can reduce the time it takes for analog conversion by setting the channel you don t use at stop Sets the analog input range you want to use Set input voltage current ranges l l There are 4 input ranges for voltage input and 2 for current input Sets the digital output type Set the output data type gt 4 output data types are provided in this module 1 Sampling When no A D conversion type is specified 2 Average time number A D conversion type Outputs the A D conversion value of the average frequency or time 3 Weighted average Slows a sudden change of the input value Detection of an input If the analog input at 4 20 mA and 1 5 V is disconnected it can be detected in the user disconnection program 1 This function is supported at current input 4 20 0 20 Hold last value 2 When input signal exceeds the effective range holds the last effective value 1 Separate setting is not necessary Alarm function 2 When input signal exceeds the effective range relevant flag tums on to let the user know There are sampling and average
81. on 1 02 5 alarm upper limit CH6 alarm upper limit CH7 alarm upper limit CHO alarm lower limit CH1 alarm lower limit CH2 alarm lower limit CH3 alarm lower limit More than OS CHA alarm lower limit in version 1 02 CH5 alarm lower limit CH6 alarm lower limit CH7 alarm lower limit 1 In device allocation X means the number of the base where the module is mounted and Y the number of the slot where the module is mounted 2 The channel1 digital output value of the analog input module mounted in base 0 slot 4 is expressed as U04 03 Base Word classifier 04 0 8 Device type Word Slot no a Base number setting range 0 7 b Slot number setting range 0 15 3 The channel 4 disconnection detection flag of the analog input module mounted in base 0 slot 5 is expressed as U05 10 4 Base No Word Bit classifier 5 10 4 Word Slot No 5 2 Chapter 5 Configuration and Functions of the Internal Memory 5 1 2 Operating Parameter Setting Range The operating parameter of the analog input module can be set through I O parameter of XG5000 XG5000 provides the GUI Graphical User Interface type parameter setting of the analog input module in order to enhance the user s convenience of the analog input module Table 5 2 shows the operating parameter setting range of the analog input module EMEN 5 2 Operating parameter setting ranges Memory address
82. processing the current A D conversion value is directly output Weighted processing is getting data by putting a weighted value between the current and the previous A D conversion values and the weighted value can be decided by the average value If there is much wavering of the output data set the average value high 2 5 3 Detection of Input Disconnection 1 Settable range You can detect disconnection of the input circuit when you use the input signal range of 4 20 mA 1 5 V The conditions for detection of each input signal range is as shown in the table below Input signal range Current voltage values perceived as disconnection Below 02 V 4 20 0 8 2 Display of disconnection by channel The disconnection detection signal for each input channel is saved in UXY 18 X represents the base number and Y the slot number Initial we eee tsetse eae 3 Action Each bit is set as 1 when a disconnection is detected of an allocated channel Each bit can be used for detecting disconnection in the user program as shown in the table of conditions above 2 17 Chapter 2 Specifications 4 An example of the program If a module is mounted in base O slot 2 below is an example of using the disconnection detection flag If a disconnection is detected of the channel the detected channel number is written in the P area Sy
83. processing types for A D conversion Sampl ing conversion Count averaging method Averaging Time averaging Weighted averaging 2 5 1 Sampling Processing common A D conversion sampling processing conducts A D conversion collecting analog input signals at a regular interval The time it takes for the analog input signals to be A D converted and stored in the memory differs according to the number of the channels being used Processing time number of channels being used X conversion speed e g The processing time when 3 channels are being used 3 X 500 us 1500 us Sampling means picking up continuous analog signals as sample values at regular intervals 2 14 Chapter 2 Specifications 2 5 2 Average Processing The A D conversion of a designated channel is conducted a set times or for a set time and the average of the sum 15 stored in the memory 1 Why is average processing used Abnormal analog input signals such as noise can be A D converted to a value close to a normal analog input signal 2 Types of average processing Average processing divides into time count and weighted averages a Time average processing 1 Settable range 16 16000 ms 2 The number of average processing processes within the set time is decided according to the number of the channels being used when you use the time average Set up time Averaging Frequency No channels used Conversion spee
84. r 1 16000 1 25 mV Digital output Analog input voltage V range Unsigned value 192 4000 8000 12000 16000 16191 192 16191 oigned value 8192 8000 4000 4000 8000 8191 8192 8191 Precise value 10240 2500 5000 7500 10000 10239 10240 10238 Percentile value 2500 5000 7500 10000 10119 120 10119 1 When value out of the digital output range is inputted as the analog input value the digital output value is maintained as the maximum or the minimum value that fall within the set output range For example when the digital output range is set as the Unsigned value 192 16191 and an analog value that exceed 6191 or 192 is entered as the digital output value the digital output value is fixed at 16191 or 192 2 The offset gain of the analog input module cannot be set by the user N Caution gt Do not put the voltage and current beyond 15 V and 30 mA respectively Otherwise it may cause a failure due to over current voltage 2 12 Chapter 2 Specifications 2 4 2 Precision The precision for the digital output value does not change if the input range is changed Fig 2 1 shows the range of precision at surrounding temperatures of 25 5 when the analog input range and digital output type are set at 10 10 V and Unsigned value respectively The precision is 0 2 and 0 3 when the temperature is 25 5 and 0 55 respectively yndjno 10 V OV 10 V Anal
85. ramming to explain how to use User s Manual instructions that are used PLC system with XGI XGR XEC CPU XGK CPUA CPUE CPUH CPUS CPUU user manual describing CPU User s Manual about XGK CPU module power module base IO module XGK CPUA CPUE CPUH CPUS CPUU specification of extension cable and system configuration standard XGI CPUU CPUH CPUS user manual describing about CPU module power module base IO module specification of extension cable and system configuration EMC standard XGR CPUH F CPUH T user manual describing about XGR redundant series User s CPU module power module extension drive base IO module Manual specification of extension cable and system configuration EMC standard XGI CPU User s Manual XGI CPUU CPUH CPUS Current XGF AD16A manual is written based on the following version Related OS version list Contents Contents Chapter 1 Overview 1 1 PHH t21 Arabo Quanity A 1 2 122 CMa Cy ND B 1 2 1 2 3 The Characteristics of Analog Digital Conversion 1 3 1 9 1 4 Chapter 2 Specifications 2M e
86. sampling 0 Disable Chapter 6 Programming Device to store Execution contact Device storing the data transmitted data Module ready to be transmitted w2 00 F ao 0001 ue 01 0 m alus gs pus digital output 01 3 2 ur ag i CH3 digital output uge D 4 TTD a H FTU CHA digital output duda ERES Slot Heading error code SIL Device to store Internal memory address No of data to read 6 1 2 An Example of a Program That Uses the PUT GET Command Internal memory No of word to write address Setting data Slot No Execution contact i uir 7 F i 100 Designate channel to use channel 0 3 4 Module ready Designate input range 10 10V Designate input range 107 10V Designate output data range 192 16191 Designate weighted average process CHO 3 4 H Designate weighted average value Designate weighted average value CH3 H i Designate weighted average value H Ty LI i Pogi mm i ON 002 02 00000 CHo digital output i W2 01 3 000009 CHO3digital output ir UD 00000 CH4 digital output E hh k 2 CH operating signal ETE e 6 2 industrial Systems Chapter 6 Programming 6 2 Application Program 6 2 1 The Progr
87. set the ranges of the analog input voltage current for each channel 2 When no analog input range is specified all the channels are set as 4 20 mA 3 The ranges of the analog input voltage current are set as follows B15 B14 B13 B12 B11 B10 B9 B8 B7 B6 B5 B4 B3 B2 B1 BO Channel 3 Channel 2 Channel 1 Channel 0 B15 B14 B13 B12 B11 B10 B9 B8 B7 B5 B4 B3 B2 B1 BO Channel 7 Channel 6 Channel 5 Channel 4 BIT Description 0000 4 20 mA 0001 mA 20 mA 0010 1V 5V 0011 0V 5V 0100 0V 10V 0101 10V 10V 5 3 3 Output Data Ranges Address 3 1 You can set the ranges of the digital output data for analog input for each channel 2 When no output data range is specified all the channels are set as 0 16000 3 The ranges of the digital output data are as follows B15 B14 B13 B12 B11 B10 B9 B8 B7 B6 B5 B3 2 B1 BO Channel Channel Channel Channel Channel Channel Channel Channel 7 6 5 4 3 2 1 0 Description 0 16000 8000 8000 Precise Value 0 10000 The precise values have the following digital output ranges for the analog input range 5 7 Chapter 5 Configuration and Functions of the Internal Memory a Current Digital output 4000 20000 0 20000 b Voltage Analog input 10 10 V 0 10V 0 5V 1 5V Digital output 5 3 4 Average Processing Address 4 1 This is the area where you designate the method of average processing Average processing divides into numb
88. stem configuration XGP 2 CPUH ADBA K 0000 00000 50 eR a KODODO iyd MOV U02 10 0000 002 10 0 MOV 0 0000 u02 10 1 MOV 0001 Ue 10 2 MOV 2 0002 002 10 3 MOV 3 0003 002 10 4 MOV 4 0004 002 10 5 MOV 5 0005 002 10 6 MOV 000 02 10 MOV 1 P0007 LS industrial Systems 2 18 Chapter 2 Specifications 2 5 4 Hold last value Dedicated for current input When input signal exceeds the effective range last input value is held This function can be set for each channel by I O parameter setting or user program 1 Input range to be used This function can be used when you use input signal range of 4 20mA 0 20 So this function can be used in current input module In this function enabled channel only value of effective range is indicated For example in case output data type is unsigned value if this function is disabled output data has the 192 16191 range But this function is enabled output data has the 0 16000 range Input t 192 16191 8192 8191 3808 20191 120 10119 Enable 0 16000 8000 8000 4000 20000 0 10000 0 20 192 16191 8192 8191 240 20239 120 10119 0 16000 8000 8000 0 20000 0 10000 2 Operation When this function is enabled and range is 4 20mA output value corresponding to sample input value is as follows Output data type 0 16000 Input current 12 3 4 12 21 20 mA Output value
89. t press right button of mouse on module figure gt module information Monitor gt System monitor gt double click on module figure 2 Module information a Module type displays the information of the currently mounted module b Module information displays the OS version information of the analog input module c OS version displays the data when the analog input module OS was configured d Module status displays the current error code for details see Table 7 1 9 4 Chapter 9 Failure Check Hl NewPLC System Monitoring Base 0 View Base PLC Help m sa T G Ma gt 4 Special Module Information b P RCF 1 AGK CPUH XGL T Displays the informations of special module ltem formation XGF AD8A Cur Volt 8 CH Ve i10 O OS Update Date 2009 4 21 Module Status Normal System infomation Comment Base 0 Main Base 6 Slots ile Power XGP ACF AC1007240V Input CPU XGK CPUH Di High Speed CPU Madule l O Maximum 6 1 ie Slot 0 XGL EIPT EtherNet lP Module Slot 1 A D Voltage Current Input Type 4 Channels Slot 2 XGF ADSA A D Voltage Current Input Type 8 Channels T ci mannan nnnnar T a i 9 5 LS Industrial Systems Appendix 1 Glossary 4 Appendix 1 Glossary The following glossary covers the manual and
90. tal output range Unsigned value 192 16191 oigned value 8192 8191 Precise value 120 2500 5000 7500 10000 10119 60 5059 Percentile value 120 10119 6 In the range of DC 10 10 V 8192 8000 Analog input voltage V 92 0 25 5 75 w 4000 a Set setting range at 10 10V in set I O parameter of XG5000 XGF AD8A Cur Volt 8 CH AGF AD8A Cur Volt 8 Channel status Input range Output type C Average processing Average value Hold last value Disable 10 10V Sampling 0 Disable Disable 10 10V U Sampling 0 Disable Disable 10 10V Sampling 0 Disable Disable U Sampling 0 Disable Disable 10 10V U TOUUU Sampling 0 Disable 4000 8000 12000 16000 16191 E 4000 8000 8191 omo 2500 5000 7500 10000 10119 Disable Disable Disable 0 10V 10V 10 10V U Sampling Sampling Sampling 0 0 0 Disable Disable Disable U IOUUU 10119 10000 7500 g a r 2 5000 O c re O 2500 0 120 10239 10000 5000 5000 10000 10240 8191 8000 4000 4000 8000 8192 16191 16000 12000 8000 4000 192 2 11 10V 5 OV 5V 10V Analog input voltage Chapter 2 Specifications b The digital output values for the voltage input characteristics are as follows resolution fo
91. tems Chapter 7 Configuration and Functions of Global Variables XGI XGR 7 2 PUT GET Function Block Area Parameter Area 7 2 1 PUT GET Function Block Area Parameter Area Table 7 2 shows the operating parameter setting area of the analog input module Table 7 2 Operating parameter setting ranges Global variables Designation Command _ CH EN Channel to use _ CHO AVG VAL channel 0 average _ CH1 AVG VAL channel 1 average _ CH2 AVG VAL channel 2 average _ CH3 AVG VAL channel 3 average _ 4 AVG VAL channel 4 average _ CH5 AVG VAL channel 5 average _ CH6 AVG VAL channel 6 average _ AVG VAL channel 7 average _ DATA TYPE Output data type _ IN RANGE1 Input current voltage range 1 PUT _ IN RANGE2 Input current voltage range 2 ERR CODE Fxxyy HOLD LV Hold last value In device allocation xx and yy respectively mean the numbers of the base and slot where the module is mounted 7 10 Chapter 7 Configuration and Functions of Global Variables XGI XGR E C 7 2 2 PUT GET Commands 1 PUT Command PUT Write data in special module HEQ performs function when 1 BASE designates base location SLOT designates slot location MADDR module address DATA X datato save in module DONE STAT Output DONE outputs 1 when normally functioning
92. the cable 2 250 O typ as the current input resistance of the analog input module 9 1 MO min as the voltage input resistance of the analog input module 3 3 Chapter 3 Installation and Wiring 5 The relation between the voltage input precision and wiring length The wiring length between the transmitter or sensor and the module in voltage inputs affect the digital conversion values of the module as shown below Analog input voltage In the figure Rc the loop resistance of the cable Rs the internal resistance of the transmitter or sensor Ri the internal resistance of the module 142 when the voltage is input Vin the voltage supplied to the analog input module Vi the error 96 of the conversion values resulting from the source and cable lengths in voltage inputs Ri xVs g Rs 2x Rc Ri Vi Vs There is no precision error from the cable length and the internal resistance of the source in current inputs 3 4 Chapter 4 Operating Setting Chapter 4 Operating Setting 4 1 The Operating Setting Flowchart Fig 4 1 illustrates the operating setting flowchart Install analog input module in slot Connect analog input module with external device Will the operating parameters be set up by Parameter setting Specify operating parameter through parameter setting PLC sequence programming Fig 4 1 Operating setting flowchart 4 1
93. the entire analog module m A D converter converts the analog input signals into digital values in proportion to the magnitude of the signals m Analog input module The module that has a circuit which converts analog voltage current input signals into digital values It has 14 otr16 bit resolutions according to the converter m Channel Related to the terminals of the analog input output module each channel is linked to various current voltage input and output devices and has the functions of data and check m Conversion time The time it takes for the analog input module samples and converts the analog signals and then for the processor in the module to receive the converted digital values In addition this is the time for the digital values from the processor in the module to be converted into analog output signals and transmitted to the output channel m D A converter Performs the function of producing analog voltage and current signals of continuous size in proportion to the digital value m Full scale The magnitude of voltage and current at which normal function is performed m Full scale error The difference between an ideal analog conversion value and real analog conversion value on the graph m Full scale range The difference between the maximum and minimum of the analog inputs m LSB Least Significant Bit The minimum of the unit bit line Appendix 1 Glossary m Linearity error The analog inputs and outputs being related t
94. the input and output ranges of the analog input data Table 5 1 Input and output ranges of analog input data Signal Device allocation Description Read write direction 00 0 module ERROR flag UXY 00 F module READY flag channelO operating flag channel1 operating flag channel2 operating flag channel3 operating flag Read A D CPU channel4 operating flag channel5 operating flag channel6 operating flag 7 operating flag UXY 02 Channel 0 digital output value UXY 03 Channel 1 digital output value UXY 04 Channel 2 digital output value UXY 05 Channel 3 digital output value Read A D S CPU channelO disconnection detection flag 1 5 V OR 4 20 mA channel1 disconnection detection flag 1 5 V OR 4 20 mA channel2 disconnection detection flag 1 5 V OR 4 20 mA channel3 disconnection detection flag 1 5 V OR 4 20 mA channel4 disconnection detection flag 1 5 V OR 4 20 mA Deed DIETE channel5 disconnection detection flag 1 5 V OR 4 20 mA channel6 disconnection detection flag 1 5 V OR 4 20 mA channel7 disconnection detection flag 1 5 V OR 4 20 mA UXY 11 0 Error clear request flag CPU A D 5 1 Chapter 5 Configuration and Functions of the Internal Memory ignal Device allocation Description Read write Signa direction CHO alarm upper limit CH1 alarm upper limit 2 alarm upper limit CH3 alarm upper limit More than OS CHA alarm upper limit dins versi
95. uch the terminal when powered Electric shock or abnormal operation may occur Prior to cleaning or tightening the terminal screws let all the external power off including PLC power If not electric shock or abnormal operation may occur Don t let the battery recharged disassembled heated short or soldered Heat explosion or ignition may cause injuries or fire Caution Do not make modifications or disassemble each module Fire electric shock or abnormal operation may occur Prior to installing or disassembling the module let all the external power off including PLC power If not electric shock or abnormal operation may occur Keep any wireless equipment such as walkie talkie or cell phones at least 30cm away from PLC If not abnormal operation may be caused When making a modification on programs or using run to modify functions under PLC operations read and comprehend all contents in the manual fully Mismanagement will cause damages to products and accidents Avoid any physical impact to the battery and prevent it from dropping as well Damages to battery may cause leakage from its fluid When battery was dropped or exposed under strong impact never reuse the battery again Moreover skilled workers are needed when exchanging batteries Safety Instruction Safety Instructions for waste disposal N Caution Product or battery waste shall be processed as industrial waste he waste may discharge toxic
96. ue _ CH1 DATA 9o UWxx yy 3 channel 1 digital output value conversion value _ CH2 DATA YUWxx yy 4 channel 2 digital output value conversion value _xxyy_CH3_DATA 9oUWxx yy 5 channel 3 digital output value conversion value _ CH4 DATA 9oUWxx yy 6 channel 4 digital output value conversion value _ CH5 DATA So UWxx yy 7 channel 5 digital output value conversion value _ CH6 DATA 9o UWxx yy 8 channel 6 digital output value conversion value _ CH7 DATA 9oUWxx yy 9 channel 7 digital output value conversion value _ CHO 160 channel 0 input disconnection detection flag _ CH1 IDD 1 61 channel 1 input disconnection detection flag _ CH2 IDD 162 channel 2 input disconnection detection flag _ IDD SoU Xxx yy 163 channel 3 input disconnection detection flag _ 4 0 164 channel 4 input disconnection detection flag _ 5 165 channel 5 input disconnection detection flag _ CH6 166 channel 6 input disconnection detection flag _ CH7 IDD SoU Xxx yy 167 channel 7 input disconnection detection flag _ ERR CLR UXxx yy 176 Error clear request flag _ CHO UXxx yy 320 CHO alarm upper limit _ CH1 HOOR UXxx yy 321 CH1 alarm upper limit _ CH2 UXxx yy 322 2 alarm upper limit _ HO
97. ugh modification you must use the clear request flag UXY 11 0 b In case of an error of the number average value setting the set value is saved as 1 which is the initial value 2 Voltage input a The analog input range is set at DC 10 10 V and the digital output range is set at O 16000 b When the analog input value changes 10 V 10 V 0 16000 the weighted average output value according to o is as follows EM Weighted average output value Note 3 scans 19 1 0 01 15840 15998 15999 un toward previous UE 8000 12000 14000 50 biased toward previous value aem value 1 16000 output after about 4 scans 2 16000 output after about 24 scans 3 16000 output after about 1491 scans 372 75 ms in case of 1 channel operation 3 Current input The analog input range is set at DC 0 20 mA and the digital output range is set at O 16000 b When the analog input value changes 0 mA 10 mA 0 8000 the weighted average output value according to a is as follows 2 16 Chapter 2 Specifications Weighted average output value i 7920 7999 7099 19e biased toward previous value 4000 6000 7000 50 biased toward previous value i value 1 8000 output after about 4 scans 2 16000 output after about 21 scans 9 8000 output after about 1422 scans 355 5 ms in case of 1 channel operation value Note 4 4 If you do not use the weighted average
98. ur Volt 8 CH ABF AD8A 8 Disable Disable Disable Disable Disable Disable Disable Disable 20 4 20mA 4 20 4 20 4 20 4 20 4 20 0 16000 0 16000 0 16000 0 16000 0 16000 0 16000 0 16000 Sampling Sampling Sampling Sampling Sampling Sampling Sampling 0 0 0 0 Disable Disable Disable Disable Disable Disable Disable Disable f Change all parameter If you want to change all the channels to the same set value check the radio button in the parameter row Then if you change the parameter of a channel the parameters of all the channels will change at the same time Fig 4 2 gives an example in which the operating channel is changed to all channel operating by using this function Fig 4 2 Change all channel parameters XGF AD8A Cur Volt 8 CH ABF AD8A 8 Parameter Enable Enable Enable Enable Enable Enable Enable 4 20 4 20 4 20 4 20 4 20 4 20 4 20 4 20 0 16000 0 16000 0 16000 0 16000 0 16000 0 16000 0 16000 0 16000 Sampling Sampling Sampling Sampling Sampling Sampling Sampling Sampling 0 0 0 0 0 0 0 Disable Disable Disable Disable Disable Disable Disable Disable 4 5 systems Chapter 4 Operating Setting 4 3 Functions of the Special Module Monitor Table 4 3 shows the functions of the special module monitor Table 4 3 The functions of the special module monitor Mem
99. use accidents from abnormal output oroperation Please install interlock circuits in the sequence program for safe operations in the system when exchange data with PLC or modify operation modes using a computer or other external equipments Read specific instructions thoroughly when conducting control operations with PLC Safety Instruction Safety Instructions for design process signal or communication line shall be wired at least 100mm away from a high voltage cable or power line Fail to follow this Safety Instructions on installation process Use PLC only in the environment specified in PLC manual or general standard of data sheet If not electric shock fire abnormal operation of the product may be caused Before install or remove the module be sure PLC power is off not electric shock or damage on the product may be caused Be sure that every module is securely attached after adding a module or an extension connector If the product is installed loosely or incorrectly abnormal operation error or dropping may be caused In addition contact failures under poor cable installation will be causing malfunctions as well Be sure that screws get tighten securely under vibrating environments Fail to do so will put the product under direct vibrations which will cause electric shock fire and abnormal operation Do not come in contact with conducting parts in each module which may cause electric shock malfun
Download Pdf Manuals
Related Search
Related Contents
VPN Tracker BMW Multi Tool User Manual Installationshandbuch SRL-6056S User Manual Ergotron LX Series Triple Display Lift Stand Photo /戦国時代の武将気分を味わってミュージアム Télécharger la fiche technique Copyright © All rights reserved.
Failed to retrieve file