Page 1
Right choice for ultimate yield LSIS strives to maximize customers' profit in gratitude of choosing us for your partner. Programmable Logic Controller XGB Analog XGT Series User’s Manual Analog input XBF-AD04A XBF-AD08A Analog output XBF-DV04A XBF-DC04A Temperature input XBF-RD04A XBF-TC04S...
Page 2
Safety Instructions Before using the product … For your safety and effective operation, please read the safety instructions thoroughly before using the product. ► Safety Instructions should always be observed in order to prevent accident or risk with the safe and proper use the product. ►...
Page 3
Safety Instructions Safety Instructions for design process Warning 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.
Page 4
Safety Instructions Safety Instructions for design process Caution I/O signal or communication line shall be wired at least 100mm away from a high-voltage cable or power line. Fail to follow this instruction may cause malfunctions from noise Safety Instructions on installation process Caution ...
Page 5
Safety Instructions Safety Instructions for wiring process Warning Prior to wiring works, make sure that every power is turned off. If not, electric shock or damage on the product may be caused. After wiring process is done, make sure that terminal covers are ...
Page 6
Safety Instructions Safety Instructions for test-operation and maintenance Warning Don’t touch 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.
Page 7
Safety Instructions Safety Instructions for waste disposal Caution Product or battery waste shall be processed as industrial waste. The waste may discharge toxic materials or explode itself.
Page 8
Revision History Version Data Important change Page 1. Adding contents V 1.0 2007. 7 (1) Setting Sequence before operation 2-1,3-1,4-1 (2) Accuracy calculation example 2-9,3-7 2. Changing contents (1) Wiring examples 2-13,3-9,4-9 (2) Configuration and Function of Internal 2-28,3-18,4-20 Memory (3) Example Program 2-33,3-23,4-24,5-37 1.
Page 9
1. Domain name changed 2. General specifications changed by reason 2-2,3-2,4-2,5-2,6-2 of changed IEC Specifications. 7-2,8-2,9-2,10-2,11-2 12-2,13-2,14-2 ※ The num ber of User’ s m anual is indicated right part of the back cover. ⓒ LSIS Co., Ltd. 2007 All Rights Reserved.
Page 10
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://www.lsis.com/) and download the information as a PDF file.
Page 11
About User’s Manual No. of User’s Title Description Manual XGB High speed It is the user’s manual for High speed counter extension module of 10310001242 counter User’s XGB basic unit to explain High speed counter extension module Manual function of XGB basic unit. XGB Fast Ethernet 10310000873 It describes how to use XGB FEnet I/F module.
Chapter 1 General ..................1-1~1-17 1.1 Analog Product List ......................... 1-1 1.2 Specification of Analog Module ....................... 1-3 Chapter 2 Analog Input Module (XBF-AD04A) ..........2-1~2-43 2.1 Setting Sequence before Operation ....................2-1 2.2 Specifications ..........................2-2 2.3 Name of part and function ......................2-4 2.4 Characteristic of I/O conversion ....................
Page 14
6.8 Operation Parameter Setting ...................... 6-22 6.9 Special Module Monitor Function ....................6-24 6.10 Auto-registration of U-Device (Special Module Variable) ............6-28 6.11 Constitution and Function of Internal Memory ................6-33 6.12 Example Program ........................6-40 6.13 Troubleshooting .......................... 6-46 Chapter 7 Analog Input Module (XBF-AD08A) ..........
Page 15
Chapter 9 Analog Output Option Board (XBO-DA02A) ......9-1~9-31 9.1 Setting Sequence before Operation ....................9-1 9.2 Specifications ..........................9-2 9.3 Name of part and function ......................9-4 9.4 Characteristic of I/O conversion ....................9-5 9.5 Accuracy ............................9-7 9.6 Functions of Analog Output Option Board ..................9-8 9.7 Wiring ............................
Page 16
11.7 Temperature Display ........................11-6 11.8 Disconnection Detection Function ..................... 11-7 11.9 Wiring ............................11-8 11.10 Average Function ........................11-10 11.11 Operation Parameter Setting ....................11-11 11.12 Special Module Monitoring Functions ................... 11-14 11.13 Register U devices ........................ 11-17 11.14 Configuration and Function of Internal Memory ..............11-20 11.15 Example Program ........................
Page 17
13.13 Breakdown Test ........................13-45 Chapter 14 Analog Output Module (XBF-DV04C/XBF-DC04C) ....14-1~14-41 14.1 Setting Sequence before Operation .................... 14-1 14.2 Specifications ..........................14-2 14.3 Name of each Part and Functions ....................14-5 14.4 Conversion Characteristic of each Output Range ..............14-6 14.5 Accuracy .............................
Name Range Resolution Characteristic channel 2.5 ㎷ 0 ~ 10V 1.Range selection by external switch and XBF-AD04A parameter setting 0 ~ 20 ㎃ 5.0 ㎂ 2. External DC24V used 4㎃~20㎃ 0.250㎷ 1 ~ 5V 1.Range selection by external switch and 0.3125㎷...
Page 19
XGB Analog edition manual No. of Classification Name Range Resolution Characteristic channel 4~20㎃ 1.Range selection by external switch 5.0 ㎂ 0~20㎃ and parameter setting Analog combo 2.Filter function, averaging function 1~5V 2(Input) 1.25 ㎷ (voltage/current XBF-AH04A 3.Specifies output when error or CPU 0~5V 2(Output) I/O)
Chapter 1 General 1.2 Specification of Analog Module Here describes about specification of analog module of XGB series. 1.2.1 Analog input Item XBF-AD04A Type Voltage Current Analog input DC 4 ~ 20㎃ range DC 0 ~ 10V Range DC 0 ~ 20㎃...
Page 21
XGB Analog edition manual Items XBF-AD04C Number of channels 4 channels Type Voltage Current DC 1 ~ 5V DC 0 ~ 5V DC 4 ~ 20mA DC 0 ~ 10V DC 0 ~ 20mA (Input resistance: 250 Ω) DC -10 ~ 10V Analog (Input resistance: 1 ㏁...
Page 22
Chapter 1 General Item XBF-AD08A Type Voltage Current DC 1 ~ 5V DC 4 ~ 20㎃ Analog input DC 0 ~ 5V DC 0 ~ 20㎃ range DC 0 ~ 10V (Input resistance: 250 Ω) Range (Input resistance: 1 MΩ min.) Input range can be voltage/current selector switch after being set by user program or I/O parameter for each channel Type...
Page 23
XGB Analog edition manual 1.2.2 Analog output Item XBF-DV04A XBF-DC04A XBF-DC04B Current Type Voltage Current DC 4 ~ 20mA Analog DC 0 ~ 10V DC 0 ~ 1.2mA DC 0 ~ 20mA output Range (Load resistance: (Load resistance: (Load resistance: 510Ω...
Page 24
Chapter 1 General Items XBF-DV04C XBF-DC04C Channels 4 channels Type Voltage Current DC 1 ~ 5V DC 0 ~ 5V DC 4 ~ 20㎃ Analog DC 0 ~ 10V DC 0 ~ 20㎃ output (Load resistance: 600Ω or less) DC -10 ~ 10V Range range (Load resistance: 1㏀...
Page 25
XGB Analog edition manual 1.2.3 RTD input Item XBF-RD04A XBF-RD01A No. of input channel 4 channels One channel PT100 JIS C1604-1997 Input sensor type JPT100 JIS C1604-1981 , KS C1603-1991 PT100 -200 ~ 600℃ Temperature input range JPT100 -200 ~ 600℃ PT100 -2000 ~ 6000 Digital output...
Page 26
Chapter 1 General 1.2.4 Thermocouple input (1) Thermocouple input specification (XBF-TC04S / XBF-TC04B) Items Specification 4 channels Number of input channel Select channel type by parameter (thermocouple input) Thermocouple K / J / T / R type Type of input sensor JIS C1602-1995 -200.0℃...
Page 27
XGB Analog edition manual (3) Common specification (XBF-TC04S / XBF-TC04B) Items Specification Terminal – inner Photo-coupler insulation circuit Insulation Terminal – operating method DC/DC converter insulation power Insulation Between channels Photomos relay insulation 400 V AC, 50/60 Hz, 1min, Dielectric withstand voltage leakage current 10㎃...
Page 28
Chapter 1 General 1.2.5 Analog Combo (1) Input performance specification Items XBF-AH04A No. of input channel 2 channels Type Voltage Current DC 4 ~ 20㎃ DC 1 ~ 5V DC 0 ~ 20㎃ Analog DC 0 ~ 5V (input resistor 250 Ω) input DC 0 ~ 10V Range...
Page 29
XGB Analog edition manual (2) Output performance specification Items XBF-AH04A No. of output channel 2 channels Type Voltage Current DC 4 ~ 20㎃ DC 1 ~ 5V DC 0 ~ 20㎃ Analog DC 0 ~ 5V (Load resistor 510 Ω or less) output DC 0 ~ 10V Range...
Page 30
Chapter 1 General 1.2.6 Analog Input Option Board Items XBO-AD02A Number of channel 2 channels Type Voltage Current DC 4 ~ 20㎃ DC 0 ~ 10V Analog input DC 0 ~ 20㎃ (Input resistance: 1 ㏁ or above) range (Input resistance 250 Ω) Range Set by external voltage/current selector switch after being set at user program or I/O parameter per each channel...
Page 31
XGB Analog edition manual 1.2.7 Analog Output Option Board Item XBO-DA02A No. of channels 2 channels Type Voltage Current ㎃ DC 4 ~ 20 Analog DC 0 ~ 10V ㎃ DC 0 ~ 20 output ㏀ (Load resistance: 2 or more) Range (Load resistance: 450Ω) range...
Page 32
Chapter 1 General 1.2.8 Analog I/O Option Board (1) Input performance specification Items XBO-AH02A Number of channels 1 channel Type Voltage Current DC 4 ~ 20㎃ Analog DC 0 ~ 10V DC 0 ~ 20㎃ input (Input resistance: 1㏁ or above) (Input resistance: 250 Ω) Range range...
Page 33
XGB Analog edition manual (3) I/O Common performance specification Items XBO-AH02A Non-insulation betweens analog I/O channels Insulation method Non-insulation between I/O terminal and PLC main unit I/O terminal 5-point terminal block I/O occupation point Fixed type: 64 points 1(when using XBC-DR10E/DR14E type) Max.
Page 34
Chapter 1 General 1.2.10 Thermocouple Input Option Module Items XBO-TC02A Number of input channel 2 channels Type of input sensor Thermocouple K / J type (JIS C1602-1995) K type sensor -200.0℃ ~ 1300.0℃ Range of input temperature J type sensor -200.0℃...
Chapter 2 Analog Input Module (XBF-AD04A) Chapter 2 Analog Input Module 2.1 Setting Sequence before operation Before using the analog input module, follow steps below. XBF-AD04A Checking performance specification Specification (2.2 performance specification) Operating environment Input type and range ...
(15G) 6 Shock resistance IEC61131-2 Duration: 11ms Half-sine, 3 times each direction per each axis AC: ± 1,500V Square wave LSIS standard Impulse noise DC: ± 900V IEC 61131-2, Electrostatic Voltage : 4kV (contact discharging) IEC 61000-4- discharge...
Page 37
Chapter 2 Analog Input Module (XBF-AD04A) 2.2.2 Performance specifications Performance specifications are as follows. Items XBF-AD04A Type Voltage Current Analog input DC 4 ~ 20mA range DC 0 ~ 10V Range DC 0 ~ 20mA (Input resistance: 1 MΩ min.) (Input resistance 250 Ω)
2.3 Name of part and function Respective designations of the parts are as described below. ① ③ ② Description RUN LED ▪ Displays the operation status of XBF-AD04A ① On: Operation normal Flickering: Error occurs (page 12-30) Off: Module error Terminal block ②...
Chapter 2 Analog Input Module (XBF-AD04A) 2.4 Characteristic of I/O conversion Characteristics of I/O conversion are the inclination connected in a straight line between Offset and Gain values when converting analog signal (voltage or current input) from PLC’s external device to digital value.
XGB Analog edition manual 2.5 Conversion Characteristic according to Input Range Voltage input range can be set through user program or special module package for respective channels. Output formats of digital data are as specified below; A. Unsigned Value B. Signed Value C.
Page 41
Chapter 2 Analog Input Module (XBF-AD04A) 2.5.2 If the range is DC 0 ~ 20mA ▪ Digital output value for current input characteristic is as specified below. (Resolution (based on 1/4000): 5 ㎂) Analog input current (㎃) Digital output range 20.23...
Page 42
XGB Analog edition manual 2.5.3 If range is DC4 ~ 20mA 1011 2023 2047 4047 1000 2000 2000 4000 1600 1000 3000 1200 2000 -1000 1000 -2000 -2048 12mA 16mA 20mA Analog input value (voltage) ▪ Digital output value for current input characteristic is as specified below. (Resolution (Based on 1/4000): 5 ㎂) Analog input current (㎃) Digital...
Chapter 2 Analog Input Module (XBF-AD04A) 2.6 Accuracy Accuracy of digital output value does not changed even if input range is changed. Figure below shows the range of the accuracy with analog input range of 0 ~ 10 V and digital output type of unsigned value selected.
XGB Analog edition manual 2.7 Functions of Analog Input Module Functions of XBF-AD04A conversion module are as described below. Function Description Channel Run/Stop (1) Specify Run/Stop of the channel to execute A/D conversion. setting (2) If the unused channel is set to Stop, whole Run time can be reduced.
Page 45
Chapter 2 Analog Input Module (XBF-AD04A) (2) Filter processing Filter process function is used to obtain stable digital output value by filtering (delaying) noise or sudden change of input value. Filter constant can be specified for respective channels through user program or I/O parameters setting.
Page 46
XGB Analog edition manual Ex.1) Channels used: 1, setting time: 16000 ms 16000 Average processing count 10667 times Ex.2) Channels used: 4, setting time: 4 ms Average processing count times If setting value of time average is not specified within 4 ~ 16000, RUN LED flickering at an interval of 1 second.
Chapter 2 Analog Input Module (XBF-AD04A) 2.8 Wiring 2.8.1 Precaution for wiring (1) Don’t let AC power line near to A/D conversion module’s external input sign line. With an enough distance kept away between, it will be free from surge or inductive noise.
Page 48
XGB Analog edition manual (2) Wiring example of 2-Wire sensor/transmitter (current input) - In case of voltage/current input, wiring is same. Adjust the voltage/current setting switch according to the case. (a) Input resistance of current input circuit is 250 Ω (typ.). (b) Input resistance of voltage input circuit is 1 MΩ...
Page 49
Chapter 2 Analog Input Module (XBF-AD04A) (3) Wiring example of 4-Wire sensor/transmitter (Voltage/Current input) - In case of voltage/current input, wiring is same. Adjust the voltage/current setting switch according to the case. (a) Input resistance of current input circuit is 250 Ω (typ.).
Page 50
XGB Analog edition manual (4) Relationship between voltage input accuracy and wiring length In voltage input, the wiring (cable) length between transmitter or sensor and module has an effect on digital-converted values of the module as specified below; Load Analog input (Voltage) Where, Rc: Resistance value due to line resistance of cable Rs: Internal resistance value of transmitter or sensor...
Chapter 2 Analog Input Module (XBF-AD04A) 2.9 Operation Parameter Setting A/D conversion module’s operation parameters can be specified through XG5000’s [I/O parameters]. (1) Settings For the user’s convenience of A/D conversion module, XG5000 provides GUI (Graphical User Interface) for parameters setting of A/D conversion module. Setting items available through [I/O parameters] on the XG5000 project window are as described below in the table.
Page 52
XGB Analog edition manual (d) Click the arrow button on the screen above to display the screen where an applicable module can be selected. Search for the applicable module to select. (e) After the module selected, click [Details]. (f) A screen will be displayed for you to specify parameters for respective channels as shown below. Click a desired item to display parameters to set for respective items.
Chapter 2 Analog Input Module (XBF-AD04A) 2.10 Special Module Monitoring Functions Functions of Special Module Monitoring are as described below. (1) Monitor/Test Through applicable XG5000 menu of [Monitor] -> [Special Module Monitoring], A/D converted value can be monitored and the operation of A/D conversion module can be tested.
Page 54
XGB Analog edition manual 2.10.1 How to use special module monitoring Monitoring special module will be based on XBF-AD04A. (1) Start of [Special Module Monitoring] Go through [OnLine] -> [Connect] and [Monitor] -> [Special Module Monitoring] to start. If the status is not [OnLine], [Special Module Monitoring] menu will not be active.
Page 55
Chapter 2 Analog Input Module (XBF-AD04A) (b) Select Special module and click [Module information] to display the information as below. (c) Click [Monitor] on the “Special Module” screen in [Special Module List] to display [Special Module Monitoring] screen as below, where 4 options are available such as [Reset max./min. value], [start Monitoring], [Test] and [Close].
Page 56
XGB Analog edition manual (d) [Start Monitoring]: Click [Start Monitoring] to display A/D converted value of the presently operated channel. Below screen is the monitoring screen displayed when the whole channels are in Stop status. In the present value field at the screen bottom, presently specified parameters of A/D conversion module are displayed Execution screen of [Start Monitoring] (e) [Test]: [Test] is used to change the presently specified parameters of A/D conversion module.
Page 57
Chapter 2 Analog Input Module (XBF-AD04A) (f) [Reset max/min value]: The max/min value field at the upper screen shows the max. value and the min. value of A/D converted value. Click [Reset max/min value] to initialize the max./min. value. Below screen is after [Reset max/min value] button is clicked in the screen of Special Module Monitor, where channel 0’s A/D converted value can be checked as reset.
XGB Analog edition manual 2.11 Register U devices Register the variables for each module referring to the special module information that is set in the I/O parameter. The user can modify the variables and comments. (1) Procedure (a) Select the special module type in the [I/O Parameter Setting] window. (b) Double click ‘Variable/Comment’...
Page 59
Chapter 2 Analog Input Module (XBF-AD04A) (d) Click ‘Yes’. (e) As shown below, the variables are registered. (f) For IEC type, as shown below, the variables are registered. (2) Save variables (a) The contents of ‘View Variable’ can be saved as a text file.
Page 60
XGB Analog edition manual (3) View variables The example of XGB ‘S’ type and ‘H’ type is as follows. (a) The example program of XG5000 is as shown below. (b) Select [View] -> [Variables]. The devices are changed into variables. (c) Select [View] ->...
Page 61
Chapter 2 Analog Input Module (XBF-AD04A) (d) Select [View] -> [Device/Comments]. Devices and comments are both displayed. (e) In case of IEC, you can see variables with diverse option at ‘View’ menu like (b)~(d). The following is example selecting ‘View Variable/Comment’ at IEC type.
XGB Analog edition manual 2.12 Configuration and Function of Internal Memory A/D conversion module has the internal memory to transmit/receive data to/from PLC CPU. 2.12.1 I/O area of A/D converted data I/O area of A/D converted data is as displayed in table. Device assigned Device assigned Details...
Page 63
Chapter 2 Analog Input Module (XBF-AD04A) (1) Module Ready/Error flag (U0x.00, x: slot number) (a) U0x.00.F : It will be ON when PLC CPU is powered or reset with A/D conversion ready to process A/D conversion. (b) U0x.00.0 : It is a flag to display the error status of A/D conversion module.
Page 64
XGB Analog edition manual (4) Flag to request error clear (( ) means the case of IEC type, x: slot number) (a) If a parameters setting error occurs, address No.22’s error code will not be automatically erased even if parameters are changed correctly. At this time, turn the ‘error clear request’ bit ON to delete address No.22’s error code and the error displayed in XG5000’s [System Monitor].
Page 65
Chapter 2 Analog Input Module (XBF-AD04A) 2.12.2 Operation parameters setting area Setting area of A/D conversion module’s Run parameters is as described in Table. Memory address Details Remark Hex. Dec. Channel enable/disable setting Setting ranges of input voltage/current Output data format setting...
Page 66
XGB Analog edition manual (3) Setting output data type (a) The range of digital output data for analog input can be specified for respective channels. (b) If the output data range is not specified, the range of all the channels will be set to 0 ~ 4000. bit15 bit14 bit13 bit12 bit11 bit10 bit9 bit8...
Page 67
Chapter 2 Analog Input Module (XBF-AD04A) (7) Setting average process method This area is used to specify average processing method, where ‘count average’ and ‘time average’ are available. bit15 bit14 bit13 bit12 bit11 bit10 bit9 bit8 bit7 bit6 bit5 bit4...
XGB Analog edition manual 2.13 Example Program 2.13.1 Program to sort A/D converted value in size (1) System configuration (2) Initial setting Internal memory The value to write in Item Details address internal memory Channel Ch0, Ch1, Ch2 h0007 Input voltage range 0 ~ 10 V h0000 Output data range...
Page 69
Chapter 2 Analog Input Module (XBF-AD04A) (4) Program (a) Program example using [I/O Parameters] Data no. to read Read error code Internal Device for Slot no. memory saving address [Program in case of “S” type or “H” type] 2 - 35...
Page 70
XGB Analog edition manual [Program in case of IEC type] 2 - 36...
Page 71
Chapter 2 Analog Input Module (XBF-AD04A) (b) Program example of PUT/GET instruction used Channel Run signal [Program in case of “S” type or “H” type] 2 - 37...
XGB Analog edition manual 2.14 Troubleshooting 2.14.1 RUN LED flickers RUN LED f lickers . RUN LED f lickers 0.2s intervals. It seems to be a module defect. Contact the nearest agency or LS branch office. RUN LED f lickers 1s intervals. It is Run parameters setting error.
Page 75
Chapter 2 Analog Input Module (XBF-AD04A) 2.14.2 RUN LED is off RUN LED is off. A/D conversion module is installed on the base correctly? Correctly install A/D conversion module on the base. I/O information can be seen at the XG5000.
Page 76
XGB Analog edition manual 2.14.3 A/D conversion value is not normal A/D conversion value is “0”. Channel status is set as Enable. Check and correct the channel status on the I/O parameter. External power (DC 24V) is supplied. Supply external power (DC 24V) Wiring of each channel is normal.
Page 77
Chapter 2 Analog Input Module (XBF-AD04A) 2.14.4 Status check of A/D conversion module through XG5000 system monitor Module type, module information, OS version and module status of A/D conversion module can be checked through XG5000 system monitoring function. 1) Execution sequence Two routes are available for the execution.
Chapter 3 Analog Output Module (XBF-DV04A, XBF-DC04A, XBF-DC04B) Chapter 3 Analog Output Module 3.1 Setting Sequence before Operation Before using the analog output module, follow steps below. XBF-DV04A / XBF-DC04A/ XBF-DC04B Checking performance specification Specification Operating environment Digital input range ...
(15G) Duration: 11ms 6 Shock resistance IEC61131-2 Half-sine, 3 times each direction per each axis AC: ± 1,500V Square wave LSIS standard DC: ± 900V Impulse noise IEC 61131-2, Electrostatic Voltage : 4kV (contact discharging) IEC 61000-4- discharge...
Page 80
Chapter 3 Analog Output Module (XBF-DV04A, XBF-DC04A, XBF-DC04B) 3.2.2 Performance specifications Here describes performance specification of analog output module. Specification Item XBF-DV04A XBF-DC04A XBF-DC04B Current Type Voltage Current DC 4 ~ 20mA Analog DC 0 ~ 10V DC 0 ~ 1.2mA DC 0 ~ 20mA output Range...
XGB Analog edition manual Designations and Functions Here describes designation and functions. Description RUN LED It displays the operation status of D/A conversion module ① - On: Normal operation status - Flickering: Error occurred - Off: Power off or abnormal status of the module Analog output terminal (Voltage, Current) ②...
Chapter 3 Analog Output Module (XBF-DV04A, XBF-DC04A, XBF-DC04B) Characteristic of I/O Conversion Characteristic of I/O conversion converts a digital input into an analog output (voltage, current) and displays a straight line with the gradient as shown below. The range of digital input is shown with Unsigned Value, Signed Value, Precise Value, and Percentile Value such as the graph below.
XGB Analog edition manual Characteristic of Input/Output The range of a voltage output is DC 0 ~ 10V and a current output is DC 4 ~ 20mA / DC 0 ~ 20mA. Digital input value toward analog voltage output is shown below. Resolution: 2.5mV (1/4000), Accuracy: within ±0.5% Analog voltage output The range of...
Chapter 3 Analog Output Module (XBF-DV04A, XBF-DC04A, XBF-DC04B) 3.6 Accuracy Though the range of input is changed, the accuracy for the analog output values doesn’t change. The range of accuracy is displayed at the ambient temperature of 25 ± 5 ℃ if you select unsigned value as your range of the digital input.
XGB Analog edition manual 3.7 Functions of Analog Output Module Here describes functions of XBF-DV04A/DC04A module. Function Details Operation 1) It sets up Run/Stop of a channel that will operate an analog output. channel 2) You can save the time of whole operation by stopping unused channels. 1) It sets up the range of an analog output.
Chapter 3 Analog Output Module (XBF-DV04A, XBF-DC04A, XBF-DC04B) 3.8 Wiring 3.8.1 Precautions for wiring (1) Use separate cable of an A.C. power line and an external output signal of an analog output module to prevent a surge or inductive noise from the A.C. side. (2) Select the cable with consideration of an ambient temperature and a permitted current limit.
Page 87
XGB Analog edition manual Caution Current output module(XBF-DC04A) can not be connected with device which is grounded with common line. Because it is not normal current output. 3 - 10...
Chapter 3 Analog Output Module (XBF-DV04A, XBF-DC04A, XBF-DC04B) Operation Parameter Setting You can specify operation parameters of the analog output module through [I/O parameters] menu in XG5000. (1) Setting items For the user’s convenience, XG5000 provides GUI (Graphical User Interface) for parameters setting of analog voltage/current output module.
Page 89
XGB Analog edition manual (d) Click the arrow button then you can see the menu to choose the applicable module. Select the applicable module. (e) Double-click the applicable slot that is selected for the parameters setting or click [Details]. (f) A screen will be displayed for you to specify parameters for respective channels as shown below. Click a desired item to display parameters to set for respective items.
Chapter 3 Analog Output Module (XBF-DV04A, XBF-DC04A, XBF-DC04B) 3.10 Special Module Monitoring Function You can start to test the analog output module connecting by [Online] [Connect] and then click [Monitor] [Special Module Monitoring] menu in XG5000. Remark 1) If the program is not displayed normally because of insufficient system resource, you may start XG5000 again after close the program and other applications.
Page 91
XGB Analog edition manual (b) Select a special module then click [Module Info.] button to display the information as described below. (c) Click [Monitor] button in the [Special Module List] window to display the [Special Module Monitor] window as below Parameter setting for a test 3 - 14...
Page 92
Chapter 3 Analog Output Module (XBF-DV04A, XBF-DC04A, XBF-DC04B) (d) [Start Monitoring] button will show you digital input data of the operating channel. Monitoring screen Details of channel 0 (e) [Test] is used to change the parameters of the voltage output module. You can change the parameters when you click the values at the bottom of the screen.
XGB Analog edition manual 3.11 (special module variable) Register U devices Register the variables for each module referring to the special module information that is set in the I/O parameter. The user can modify the variables and comments. (1) Registration sequence (a) Select a special module type in [I/O Parameter Setting] window.
Page 94
Chapter 3 Analog Output Module (XBF-DV04A, XBF-DC04A, XBF-DC04B) (d) Click ‘Yes’. (e) As shown below, the variables are registered. 3 - 17...
Page 95
XGB Analog edition manual (2) Save variables (a) The contents of ‘View Variables’ can be saved as a text file (b) Click [Edit] [Export to File]. (c) The contents of ‘View Variable’ are saved as a text file. (3) View variables in a program (a) The example of XG5000 is shown below.
Page 96
Chapter 3 Analog Output Module (XBF-DV04A, XBF-DC04A, XBF-DC04B) (d) Select [View] [Devices/Comments]. Device and comment both are displayed. 3 - 19...
XGB Analog edition manual 3.12 Internal memory Describes configuration and function of internal memory 3.12.1 Data I/O area Describes data I/O area of analog output module Address Address Description Details Remarks (‘s’, ‘h’ type) (IEC type) F(15) Bit On(1): Module Ready U0x.00 Module Ready / Error %UW0.x.0...
Page 98
Chapter 3 Analog Output Module (XBF-DV04A, XBF-DC04A, XBF-DC04B) (3) Output setting (a) Each channel can be specified enable/disable the analog output. (b) If the output is not specified, output of all the channels will be disabled. B15 B14 B13 B12 B11 B10 B9 U0x.02 —...
Page 99
XGB Analog edition manual 3.12.2 Setting area of operation parameters XBF-DV04A Address Description Details Remarks (Dec) Bit On(1): Run Set up the run channel Bit Off(0): Stop Set up the output voltage range Bit (00): 0 ~ 10V Bit (00): 0 ~ 4000 Bit (01): -2000 ~ 2000 Set up the input data type Bit (10): 0 ~ 1000...
Page 100
Chapter 3 Analog Output Module (XBF-DV04A, XBF-DC04A, XBF-DC04B) XBF-DC04B Address Description Details Remarks (Dec) Bit On(1): Run Set up the run channel Bit Off(0): Stop Bit (00): 4 ~ 20mA Set up the output voltage range Bit (01): 0 ~ 20mA Bit (00): 0 ~ 4000 Bit (01): -2000 ~ 2000 Set up the input data type...
Page 101
XGB Analog edition manual (3) Setting up the input data type (a) Input type can be specified for respective channels. (b) If input data type is not specified, all the channels will be set to the range of 0 ~ 4000. B15 B14 B13 B12 B11 B10 B9 Address “2”...
Chapter 3 Analog Output Module (XBF-DV04A, XBF-DC04A, XBF-DC04B) 3.13 Example Program 3.13.1 Analog output program (1) Program example using [I/O Parameter Setting]. Module ready CH. Run information Digital input data 3 - 25...
Page 103
XGB Analog edition manual (2) Program example with PUT/GET instruction. Internal memory address Data No. to write Module ready Data Slot No. CH. Run information Digital input data (3) Program example using parameter in case of IEC type 3 - 26...
Page 104
Chapter 3 Analog Output Module (XBF-DV04A, XBF-DC04A, XBF-DC04B) 4) Program example using PUT/GET instruction in case of IEC type 3 - 27...
XGB Analog edition manual 3.14 Troubleshooting 3.14.1 RUN LED flickers RUN LED flickers. RUN LED flickers 0.2s intervals. It seems to be a module defect. Contact the nearest agency or LS branch office. RUN LED flickers 1s intervals. It is Run parameters setting error. Check the error code to take action against as follows in the table below.
Page 106
Chapter 3 Analog Output Module (XBF-DV04A, XBF-DC04A, XBF-DC04B) 3.14.3 Analog output value is not normal. D/A conversion value is “0”. Channel status is set as Enable. Check and correct the channel status on the I/O parameter. External power (DC 24V) is supplied. Supply external power (DC 24V) Wiring of each channel is normal.
Page 107
XGB Analog edition manual 3.14.4 Status check of D/A conversion module through XG5000 system monitor Module type, module information, O/S version and module status of D/A conversion module can be checked through XG5000 system monitoring function. (1) Execution sequence Two routes are available for the execution. (a) [Monitor] ->...
XGB Analog edition manual 4.3 Part Names and Functions Here describes part names and functions. ① ② ⑤ ③ ④ Descriptions Name ▶ Displays the hardware operation status of XBF-RD04A On: Normal ① RUN LED Flickering: Error (0.2s intervals) Off: power disconnected, hardware error ▶...
Chapter 4 RTD Input Module (XBF-RD04A, XBF-RD01A) 4.4 Temperature Conversion Characteristic Since RTD sensor has non-linear characteristic, RTD input module linearizes the relationship between input and output in each section. The graph below is an example to describe the linearization process and is different with graph about sensor temperature input.
XGB Analog edition manual 4.5 Conversion Speed The conversion speed of XGF-RD4A is 40 ms per channel and each channel is converted sequentially, that is, one channel is converted and then the next channel is converted. (Run/stop can be specified independently for each channel.) The conversion speed includes the time to convert input temperature (resistance value) to digital value and to save the converted digital data into the internal memory.
Chapter 4 RTD Input Module (XBF-RD04A, XBF-RD01A) 4.8 Scaling Function It is used to scale and output the range specified by the user other than temperature range. × Temperatur 2000 • Scaling expression = Ex.) When scaling is allowed and sensor input is 200℃ with PT100 sensor, scaling value is as follows. ×...
XGB Analog edition manual 4.9 Disconnection Detection Function (1) As a module used to measure the temperature with the RTD temperature sensor directly connected, it detects and displays disconnection of the sensor connected. If any disconnection occurs in the sensor used and extended lead wire, LED (ALM) will flicker in a cycle of 1 second and produce an error code.
Chapter 4 RTD Input Module (XBF-RD04A, XBF-RD01A) 4.10 Wiring - 3 types of sensor-connecting methods are available (2, 3 and 4-wired). - The standard wiring method for XGF-RD4A module is 3-wired wiring. - Use an identical type of wire (thickness, length, etc.) for each 3 wire when extended lead wire is used.
Page 117
XGB Analog edition manual 4.10.3 If 4-wired sensor is used (connection terminal unit is used) Terminal block If sensor and compensating wire are shielded, shield line can be connected to PE terminal of the module. 2* DC 24V external supply terminal to supply the analog power to module 4 - 10...
Chapter 4 RTD Input Module (XBF-RD04A, XBF-RD01A) 4.11 Filtering Function Based on the filter value (time-constant) which defines the temperature-converted value of the specified channel, it performs and outputs calculation as below. × Previously filtered temp.x Filter value (Presently input temp.x40 Channels used)
XGB Analog edition manual 4.12 Operation Parameter Setting Operation parameters of RTD module can be specified through [I/O parameters] of XG5000. 4.12.1 Setting items For the user’s convenience, XG5000 provides GUI (Graphical User Interface) for parameters setting of RTD module. Setting items available through [I/O parameters] of the XG5000 project window are described below.
Page 120
Chapter 4 RTD Input Module (XBF-RD04A, XBF-RD01A) (5) Click the arrow button on the screen to display the screen where an applicable module can be selected. Search for the applicable module to select. (6) After the module selected, click [Details] or double-click relevant slot. (7) A screen will be displayed to specify parameters for respective channels as shown below.
Page 121
XGB Analog edition manual (b) Input sensor type setting screen (c) Temp. unit setting screen (d) Scaling setting screen (9) If necessary setting is complete, press OK. (10) Check the check box on the parameter menu to select and change setting of a channel then the setting value of all the channels will be identical to changed setting value.
Chapter 4 RTD Input Module (XBF-RD04A, XBF-RD01A) 4.13 Special Module Monitoring Run Special Module Monitoring by selecting [On-Line] -> [Connect] and [Monitor] -> [Special Module Monitoring]. If the status is not [On-Line], [Special Module Monitoring] menu will not be activated. Remark 1) If the program is not displayed normally because of insufficient system resource, you may start XG5000 again after close the program and other applications.
Page 123
XGB Analog edition manual (2) How to use [Special Module Monitoring] (a) [Special Module List] window will show base/slot information and types of special module by click [Monitor] [Special Module Monitoring].In this list box, the modules that are now installed in PLC system will be displayed.
Page 124
Chapter 4 RTD Input Module (XBF-RD04A, XBF-RD01A) (d) [Start Monitoring]: [Start Monitoring] button will show you digital input data of the operating channel. The figure below is monitoring screen when all channels are Run status. Monitoring screen Detail of channel 0 [Start Monitoring] execution screen (e) [Test]: [Test] is used to change the parameters of the RTD input module.
XGB Analog edition manual 4.14 Register U devices (Special module variable) Register the variables for each module referring to the special module information that is set in the I/O parameter. The user can modify the variables and comments. (1) Procedure (a) Select the special module type in the [I/O Parameter Setting] window.
Page 126
Chapter 4 RTD Input Module (XBF-RD04A, XBF-RD01A) (d) Click ‘Yes’. (e) As shown below, the variables are registered. (2) Save variables (a) The contents of ‘View Variable’ can be saved as a text file. (b) Select [Edit] -> [Export to File]. (c) The contents of ‘View variable’...
Page 127
XGB Analog edition manual (3) View variables (a) The example program of XG5000 is as shown below. (b) Select [View] -> [Variables]. The devices are changed into variables. (c) Select [View] -> [Devices/Variables]. Devices and variables are both displayed. (d) Select [View] -> [Device/Comments]. Devices and comments are both displayed. 4 - 20...
Chapter 4 RTD Input Module (XBF-RD04A, XBF-RD01A) 4.15 Configuration and Function of Internal Memory Here describes configuration and function of internal memory. 4.15.1 Data I/O area of RTD input module Data I/O area of RTD input module is as shown below. Area Area Details...
Page 129
XGB Analog edition manual (2) Channel run/stop information (a) It displays which channel is being used. bit15 bit14 bit13 bit12 bit11 bit10 bit9 bit8 bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 U0x.01 — — — — — — — —...
Page 130
Chapter 4 RTD Input Module (XBF-RD04A, XBF-RD01A) 4.15.2 Operation parameter setting area Operation parameter setting areas of RTD input module are as follows. Memory address Details Remark Hex. Dec. Channel enable/disable setting CH0 sensor type setting CH1 sensor type setting CH2 sensor type setting CH3 sensor type setting Temperature display unit setting...
Page 131
XGB Analog edition manual (3) Setting temperature display unit Unit of temperature conversion value can be specified as Celsius/ Fahrenheit. bit15 bit14 Bit13 bit12 bit11 bit10 bit9 bit8 bit7 bit6 bit5 bit4 bit3 bit2 bit1 Bit0 Address 5 — — —...
Chapter 4 RTD Input Module (XBF-RD04A, XBF-RD01A) 4.16 Example Program - Here describes how to specify the operation condition of RTD input module. - RTD input module is installed on slot 2. - Initial setting condition is that with one input, initial setting value is saved in internal memory of module.
Page 133
XGB Analog edition manual (2) Program example using PUT/GET command CH Enable Sensor type (PT100) Temperature unit (Celsius) Filter value Moving channel 0 temp. value to Moving channel 1 temp. value to Moving channel 0 disconnection information to M0 Moving channel 1 disconnection information to M (3) Program example using parameter in case of IEC 4 - 26...
Page 134
Chapter 4 RTD Input Module (XBF-RD04A, XBF-RD01A) (4) Program example using PUT/GET function block inn case of IEC 4 - 27...
XGB Analog edition manual 4.17 Trouble Shooting 4.17.1 RUN LED flickers RUN LED flickers. RUN LED flickers 0.2s intervals. Contact the nearest agency or LS branch office. 4.17.2 RUN LED is off RUN LED is off. RTD input module is installed on the base correctly? Correctly install A/D conversion module on the base.
Page 136
Chapter 4 RTD Input Module (XBF-RD04A, XBF-RD01A) 4.17.3 ALM (Alarm) LED flickers ALM LED flickers. 3 wired wiring is normal. Wire properly referring to 4.10 Wiring to sensor is normal Wire properly referring to 4.10 Contact the nearest agency or A/S center. 4.17.4 Temperature conversion value is not normal.
Page 137
XGB Analog edition manual 4.17.5 Stats check of RTD input module through XG5000 system monitor Module type, module information, O/S version and module status of RTD input module can be checked through XG5000 system monitoring function. (1) Execution sequence Two routes are available for the execution. (a) [Monitor] ->...
Chapter 5 Thermocouple Input Module (XBF-TC04S,TC04B) Chapter 5 Thermocouple Input Module 5.1 General Here describes specification, handling, and programming of XGB thermocouple input module (XBF- TC04S/XBF-TC04B). Thermocouple input module is used to convert the temperature data detected from thermocouple to signed 16 bit data.
Page 139
XGB Analog edition manual 5.1.3 Setting sequence before operation 1) Before using the thermocouple input module, follow steps below. XBF-TC04S Checking performance specification Specification - Operating environment - Thermocouple sensor type and temperature range - Digital output range System configuration and selection System configuration - Equip-able number - External power selection...
Page 140
Chapter 5 Thermocouple Input Module (XBF-TC04S,TC04B) 2) Before using the thermocouple/voltage input module, follow steps below. XBF-TC04B Checking performance specification Specification - Operating environment - Thermocouple sensor type, voltage input and temperature range - Digital output range System configuration and selection System configuration - Equip-able number - External power selection...
(15G) • Duration: 11ms 6 Shock resistance IEC61131-2 • Half-sine, 3 times each direction per each axis AC: ± 1,500V Square wave LSIS standard DC: ± 900V Impulse noise IEC 61131-2, Electrostatic Voltage : 4kV (contact discharging) IEC 61000-4- discharge...
Page 142
Chapter 5 Thermocouple Input Module (XBF-TC04S,TC04B) 5.2.2 Performance Specification (1) Thermocouple input specification (XBF-TC04S/XBF-TC04B) Items Specification 4 channels Number of input channel Select channel type by parameter (thermocouple input) Thermocouple K / J / T / R type Type of input sensor JIS C1602-1995 -200.0℃...
Page 143
XGB Analog edition manual (3) Common specification (XBF-TC04S/XBF-TC04B) Items Specification Terminal – inner Photo-coupler insulation circuit Insulation Terminal – operating method DC/DC converter insulation power Insulation Between channels Photomos relay insulation 400 V AC, 50/60 Hz, 1min, Dielectric withstand voltage leakage current 10㎃...
Chapter 5 Thermocouple Input Module (XBF-TC04S,TC04B) 5.2.3 Name of part and function Respective designations of the parts are as described below XBF-TC04S XBF-TC04B ① ① ② ② ⑤ ⑤ ③ ③ ⑥ ⑥ ④ ④ K,J,T,R 0~100mV XBF-TC04B Name Description ▶...
Page 145
XGB Analog edition manual 5.2.4 Characteristic of thermocouple temperature conversion Thermocouple input module connect 4 kinds of thermocouple and one voltage input (XBF-TC04B) directly, input characteristic are as described below. (1) Thermocouple K (JIS C1602-1995): -200 ℃(-5891 ㎶) ~ 1300 ℃(52410 ㎶) Temperature (2) Thermocouple J (JIS C1602-1995): -200 ℃(-7890 ㎶) ~ 1200 ℃(69553 ㎶) Temperature...
Page 146
Chapter 5 Thermocouple Input Module (XBF-TC04S,TC04B) (3) Thermocouple T (JIS C1602-1995): -200 ℃(-5603 ㎶) ~ 400 ℃(20872 ㎶) Temperature (4) Thermocouple R (JIS C1602-1995): 0 ℃(0 ㎶) ~ 1700 ℃(20222 ㎶) Temperature Remark Thermocouple characteristics: thermocouple sensor measures temperature by using fine voltage (electromotive force), which occurs when applying temperature gradient to a junction between two different metals.
Page 147
XGB Analog edition manual (5) Temperature conversion characteristic Thermocouple input module converts the thermocouple input with non-linear characteristics into A/D and outputs the temperature conversion that is linearly treated. Temperature conversion to thermocouple input has non-linear characteristics. Remark Non-linear characteristics: regarding the relation of temperature(℃) and electromotive force(㎶) of a thermocouple sensor, electromotive force is different by sections even though temperature changes by a certain amount, which is called ‘non-linear characteristics.’...
Page 148
Chapter 5 Thermocouple Input Module (XBF-TC04S,TC04B) 5.2.5 Temperature display (1) Temperature is displayed down to one decimal place. In the XG5000, when monitoring the temperature conversion value, select “Signed decimal” According to monitor indication type, temperature is monitored like figure below. Ex.) if displaying -123.0℃...
Page 149
XGB Analog edition manual 5.2.6 Accuracy / Resolution Accuracy / Resolution are as follows according to ambient temperature Accuracy - note1) Measurement Operating Thermocouple Indication temperature Normal temperature resolution temperature - type range temperature range note2) (25℃) (0℃ ~ 55℃) -270.0℃...
Page 150
Chapter 5 Thermocouple Input Module (XBF-TC04S,TC04B) 5.2.7 Conversion velocity (1) Conversion velocity per channel: 50ms/channel (2) Sequential process method The next channel is converted after conversion of one channel is completed. (Run/Stop of the respective channels can be set independently.) (3) Concept of conversion time The conversion velocity of XGF-TC4S module is a cycle that the temperature (electromotive force) entered into terminal strip is converted into digital value and stored in internal memory.
XGB Analog edition manual 5.3 Function 5.3.1 Disconnection detection function Thermocouple input module has a function to detect the disconnection and display it. That the module detects and displays disconnection means that the following cabling path would have partially bad connection, which requires taking measures (1) Disconnection occurs between a sensor used/compensating cable and module, LED(ALM) flickers every second and generates error code.
Page 152
Chapter 5 Thermocouple Input Module (XBF-TC04S,TC04B) 5.3.2 Scaling function Thermocouple input module has a function to scale value in user-defined range besides temperature display. The scope is classified into two types; 16 bits data type, -32768~32767 and 16 bits data type without mark, 0~65535.
Page 153
XGB Analog edition manual 5.3.3 Filter function By means of filter value (time constant 63.2%) setting temperature conversion of a designated channel, it operates and outputs as follows. × × (previousl filtered temp. value fileter va (presen input temp value No.of channel used)
Chapter 5 Thermocouple Input Module (XBF-TC04S,TC04B) 5.3.4 Average function (1) Time average It accumulates temperature conversion values of a selected channel and displays the average of the total sum in digital data. Temperature change after averaging process Actual temperature change Channel scan interval Averaging section Averaging section...
Page 155
XGB Analog edition manual (3) Moving average It accumulates temperature conversion values of a selected channel as many as set and displays the average of the total sum in digital data. In case of the moving average, it outputs average per scan. Setting range of average number = 2 ~ 100 Average Average...
Chapter 5 Thermocouple Input Module (XBF-TC04S,TC04B) 5.4 Installation and Wiring 5.4.1 Installation environment Although the device can be installed with high reliance regardless of installation environment, attention should be paid to the followings in order to secure the reliance and stability of the system. Environmental Conditions (a) Install on a water-proof and dust-proof control board.
Page 157
XGB Analog edition manual (2) Terminal array Terminal array of thermocouple input module is as follows. XBF-TC04S XBF-TC04B Signal Purpose Signal Purpose CH0 + CH0 + CH0 TC input CH0 TC/Voltage input CH0 - CH0 - CH1 + CH1 + CH1 TC input CH1 TC/Voltage input CH1 -...
Page 158
Chapter 5 Thermocouple Input Module (XBF-TC04S,TC04B) (4) Voltage (0~100mV) input wiring example XBF-TC04B CH0+ CH0- CH1+ CH1- CH2+ CH2- CH3+ CH3- DC24V+ DC power (Analog power DC24V- supply) K,J,T,R 0~100mV XBF-TC04B Input resistance of voltage input circuit is 1 MΩ (min.). (5) Relationship between voltage input accuracy and wiring length In voltage input, the wiring (cable) length between transmitter or sensor and module has an effect on digital-converted values of the module as specified below;...
XGB Analog edition manual 5.5 Operation Setting and Monitor 5.5.1 Operation Parameter Setting Operation parameter of thermocouple input module can be set through [I/O Parameter] of XG5000. (1) Setting items For user convenience, parameter setting of thermocouple input module is provided by GUI (Graphical User Interface) method in the XG5000.
Page 160
Chapter 5 Thermocouple Input Module (XBF-TC04S,TC04B) (c) If [I/O Parameter Setting] window shows, find slot of base where module is installed and click it. (d) Register the module on a slot where module is installed on as follows. (e) Select a module registered and click [Details] or double-click a module 5 - 23...
Page 161
XGB Analog edition manual (f) Select the required settings in Parameter Settings and click [OK]. (g) The initial values of each item are as figure shown below 1) Channel status (Disable / Enable) 2) Sensor status (K / J / T / R) 5 - 24...
Page 163
XGB Analog edition manual 7) Scaling min. value/scaling max. value Scaling data Scaling min value Scaling max value type With sign -32768 ~ [scaling max value -1] [scaling min value+1] ~ 32767 Without sign 0 ~ [scaling max value -1] [scaling min value+1] ~ 65535 (h) Constant input 1) In case the user inputs numbers directly like filter constant, if the relevant parameter is...
Chapter 5 Thermocouple Input Module (XBF-TC04S,TC04B) 3) If the wrong number is specified, it is displayed with red color. (When Average value or scaling min./max. value is out of range.) 5.5.2 Special module monitoring function While XG5000 is connected with PLC, through [Monitor] -> [Special Module Monitoring], the user can test the operation of the analog output module.
Page 165
XGB Analog edition manual (b) How to use [Special Module Monitoring] 1) Click [Monitor] -> [Special Module Monitoring] while XG5000 is connected with PLC basic unit. ‘Special Module List’ screen is displayed as shown below and displays information of base/slot with special module type. On the list dialog box, The modules currently equipped at the PLC are displayed.
Page 166
Chapter 5 Thermocouple Input Module (XBF-TC04S,TC04B) 4) [Start Monitoring]: [Start Monitoring] button will show you digital input data of the operating channel. The figure below is monitoring screen when all channels are Run status. Monitoring screen Detail of channel 0 [Start Monitoring] execution screen 5) [Test]: [Test] is used to change the parameters of the Thermocouple input module.
Page 167
XGB Analog edition manual 6) If [Flag Monitor] is selected on the [Special Module Monitor] window, [Temp. Measuring Module Command] screen can be monitored. [Temp. Measuring Module Command] execution screen 7) [Temp. Measuring Module Command] screen monitoring screen, Channel status (Run/Stop) Sensor status...
Chapter 5 Thermocouple Input Module (XBF-TC04S,TC04B) 5.5.3 Register U devices (Special module variable) Register the variables for each module referring to the special module information that is set in the I/O parameter. The user can modify the variables and comments. (1) Procedure (a) Select the special module type in the [I/O Parameter Setting] window.
Page 169
XGB Analog edition manual (c) Select [Edit] – [Register U Device]. In case of XEC, select [Edit] - [Register special module variable] 5 - 32...
Page 170
Chapter 5 Thermocouple Input Module (XBF-TC04S,TC04B) (d) Click ‘Yes’. The previous comment will be deleted. (e) As shown below, the variables are registered. 5 - 33...
Page 171
XGB Analog edition manual (2) Save variables (a) The contents of ‘View Variable’ can be saved as a text file. (b) Select [Edit] -> [Export to File]. (c) The contents of ‘View variable’ are saved as a text file. (3) View variables (a) The example program of XG5000 is as shown below.
Page 172
Chapter 5 Thermocouple Input Module (XBF-TC04S,TC04B) (d) Select [View] -> [Device/Comments]. Devices and comments are both displayed. 5 - 35...
XGB Analog edition manual 5.6 Configuration and Function of Internal Memory It describes the configuration and function of internal memory. 5.6.1 Data I/O area (U device) (1) Data sent from module to XGB main unit (XGB PLC input area, read only) Device Signal Type...
Page 174
Chapter 5 Thermocouple Input Module (XBF-TC04S,TC04B) (2) Command sent from XGB main unit to module (XGB PLC output area, read/write available) Device Signal Type Comment Content assignment direction CH 0 max./min. searching U0x.29.0 Enable/Disable CH 1 max./min. searching Min./max. search U0x.29.1 Enable/Disable On: enable...
Page 175
XGB Analog edition manual (3) Data sent from module to XGB main unit (IEC type) (XGB PLC input area, read only) Device Signal Type Comment Content assignment direction %UX0.x.0 CH 0 offset/gain adjustment error %UX0.x.1 CH 1 offset/gain adjustment error %UX0.x.2 CH 2 offset/gain adjustment error On: error...
Page 176
Chapter 5 Thermocouple Input Module (XBF-TC04S,TC04B) (4) Command sent from XGB main unit (IEC type) to module (XGB PLC output area, read/write available) Device Signal Type Comment Content assignment direction CH 0 max./min. searching %UX0.x.464 Enable/Disable CH 1 max./min. searching Min./max.
Page 177
XGB Analog edition manual (2) Writing operation parameters through program (PUT instruction is used.) Remark How to use PUT instruction indicates PUT instruction. [Area setting] Operand Description Data size Slot no. where special module is mounted WORD Internal memory address of special module WORD Device to save in special module WORD...
Page 178
Chapter 5 Thermocouple Input Module (XBF-TC04S,TC04B) (3) Writing operation parameters at setting area of thermocouple input module through program (IEC type, PUT function block is used) 5 - 41...
Page 179
XGB Analog edition manual 5.6.3 Operation parameter setting area It describes operation parameter setting area of thermocouple input module. Memory address Description Setting value Instruction Hex. Dec. Designate a channel to bit0:bit3, 0: stop, 1: run Set sensor type of CH 0 Set sensor type of CH 1 K:0, J:1, T:2, R:3 0~100 ㎷:4 (XBF-TC04B)
Page 180
Chapter 5 Thermocouple Input Module (XBF-TC04S,TC04B) Memory address Description Setting value Instruction Hex. Dec. scaling range Set error inf. Of CH0. Set error inf. Of CH1 Setting error information (Flag) Set error inf. Of CH2 Set error inf. Of CH3 Cold junction compensation temp.
Page 181
XGB Analog edition manual (1) Designating Channel (Address 0) (a) Temperature conversion module Enable/Disable can be set to each channel. (b) By prohibiting a channel not to use from conversion, conversion interval by channels can be shortened. (c) If channel to use is not designated, every channel can not be used. (d) In case of using PUT instruction,temperature conversion module Enable/Disable are as follows.
Page 182
Chapter 5 Thermocouple Input Module (XBF-TC04S,TC04B) (d) This area shows the same results with sensor type designation in I/O parameter setting window. (3) Temp. unit setting area (Address 5) (a) Temp. unit (Celsius/ Fahrenheit) of thermocouple input module can be set per channel. (b) In case of PUT instruction, Temp.
Page 183
XGB Analog edition manual CH0 filter constant setting (0, 200~64000) Address “6” CH1 filter constant setting (0, 200~64000) Address “7” CH2 filter constant setting (0, 200~64000) Address “8” CH3 filter constant setting (0, 200~64000) Address “9” (f) This area shows the same results with filter constant setting in I/O parameter setting window. (5) Average processing setting area (Address 10~13) (a) Average processing method can be set per channel.
Page 184
Chapter 5 Thermocouple Input Module (XBF-TC04S,TC04B) (6) Average value setting area (Address 14~17) (a) Average value can be set per channel. (b) In case average processing method is sampling, values of this area are ignored. (c) In case of using PUT instruction, average value setting address is as follows. Address “14”...
Page 185
XGB Analog edition manual (7) Scaling data type setting area (address 18) (a) Scaling data type can set per channel. (b) There are two type of scaling operation output, unsigned 16 bit (0~65535) or signed 16 bit (- 32768~32768). (c) In case of using PUT instruction, scaling data type setting address is as follows. Address “0”...
Page 186
Chapter 5 Thermocouple Input Module (XBF-TC04S,TC04B) (e) This area shows the same results with Scaling min./max. value setting in I/O parameter setting window. Scaling data Scaling min. value Scaling max. value type Signed -32768 ~ [Scaling max. value -1] [Scaling min. value+1] ~ 32767 Unsigned 0 ~ [Scaling max.
Page 187
XGB Analog edition manual (10) Cold junction compensation temp. area (Address 31~34) (a) Cold junction compensation temp. can be seen per channel. (b) In case of GET instruction, cold junction compensation temp. area is as follows. CH0 cold junction compensation temp. Address “31”...
Chapter 5 Thermocouple Input Module (XBF-TC04S,TC04B) 5.7 Example Program (1) It describes how to set operation parameter in the internal memory of thermocouple module. (2) Regarding the initial condition, the initial settings are saved in the internal memory of thermocouple module if saved once.
Page 189
XGB Analog edition manual (3) Program example (in case of IEC type) (a) If module is running normally, operation start bit is on %UX0.1.15 (Module Ready) = On %UX0.1.0 (CH 0 offset/gain adjustment error) = Off %UX0.1.14 (Module H/W error) = Off %UX0.1.16 (CH 0 running) = On %UX0.1.24 (Setting error) = Off (b) If operation start bit is on, it moves CH 0 temp.
Page 190
Chapter 5 Thermocouple Input Module (XBF-TC04S,TC04B) 5.7.2 Program example using PUT/GET instruction (1) Program example (a) It writes h0001 at address 0 of slot 1 in order to enable CH0. (b) If module is under normal operation, M0000 is on. U01.00.F(module Ready) = On U01.00.0(CH0 offset/gain adjustment error) = Off U01.00.E(module H/W error) = Off...
Page 191
XGB Analog edition manual (2) Program example (in case of IEC type) (a) Writes 1 at address 0 of slot 1 and operates CH 0 by using PUT_WORD function block. (b) If operation start bit is on, reads CH 0 setting error (address 27) and movies it into D0001. (c) If module is running normally, operation start bit is on.
Page 192
Chapter 5 Thermocouple Input Module (XBF-TC04S,TC04B) 5.7.3 Example when error occurs (1) Program example (a) If disconnection error occurs at CH0, U01.01.4 (CH0 disconnection) is on and M0001 bit is set. (b) If disconnection error occurs at CH0, min. value within the range of K type temperature senor is displayed at U01.04.
XGB Analog edition manual 5.8 Troubleshooting The chapter describes diagnostics and measures in case any trouble occurs during use of thermocouple input module. 5.8.1 LED Indication by Errors Thermocouple input module has two LEDs and it is possible to check whether it had any error with the indication of RUN LED and ALM LED.
Page 194
Chapter 5 Thermocouple Input Module (XBF-TC04S,TC04B) 5.8.3 Troubleshooting (1) RUN LED flickers. RUN LED flickers. RUN LED flickers 0.2s intervals. Contact the nearest agency or LS branch office. (2) RUN LED is off. RUN LED is off. Thermocouple input module is installed correctly? Correctly install this module.
Page 195
XGB Analog edition manual (3) ALM LED flickers. ALM LED flickers. Sensor wiring is normal. Wire properly referring to wiring method of user manual. LS branch office Contact the nearest agency or (4) Temperature conversion value is not normal. Temperature conversion value is not normal. External DC 24V input power is normal.
Page 196
Chapter 5 Thermocouple Input Module (XBF-TC04S,TC04B) 5.8.4 Error code and measure (1) Measure when error flag of data I/O area (U device) occurs. Device Device assignment assignment Description Content Measure (‘S’, ‘H’ type) (IEC type) CH0 offset/gain adjustment U0x.00.0 %UX0.x.0 error CH1 offset/gain adjustment U0x.00.1...
Page 197
XGB Analog edition manual Ex.2) In case thermocouple input module is mounted at slot 1. (In case of IEC) (c) In case setting error occurs, setting error representation flag (U0x.01.8~ U0x.01.B, in case of IEC type %UX0.x.24 ~ %UX0.x.27) will be on and it will act as default value. If setting error representation flag (U0x.01.8~ U0x.01.B, in case of IEC type, %UX0.x.24 ~ %UX0.x.27) is on, check above setting error information 1B ~ 1F...
(15G) • Duration: 11ms 6 Shock resistance IEC61131-2 • Half-sine, 3 times each direction per each axis AC: ± 1,500V Square wave LSIS standard DC: ± 900V Impulse noise IEC 61131-2, Electrostatic Voltage : 4kV (contact discharging) IEC 61000-4- discharge...
Page 200
Chap. 6 Analog I/O Module (XBF-AH04A) 6.2.2 Performance Specification This section specified the performance of analog I/O module. (1) Input Performance Specification Classification Input Performance Specification No. input channels 2 channels Type Voltage Current DC 4 ~ 20㎃ DC 1 ~ 5V DC 0 ~ 20㎃...
Page 201
XGB Analog edition manual (2) Output Performance Specification Classification Output Performance Specification No. of output channels 2 channels Type Voltage Current DC 1 ~ 5V DC 4 ~ 20㎃ DC 0 ~ 5V DC 0 ~ 20㎃ Analog (Load resistance: 510 Ω max.) DC 0 ~ 10V Output (Load resistance: 2kΩ...
Chap. 6 Analog I/O Module (XBF-AH04A) 6.3 Major Components Major components are as follows; ① ② ⑧ ③ ④ ⑤ ⑥ ⑦ Name Description ▶ Indicate operation of input part On: normal operation ① INPUT LED Flickering: in error (1s intervals) Off: power off or module failure ▶...
XGB Analog edition manual 6.4 Conversion Characteristics by I/O Range The input/output ranges of voltage and current can be set up per channel with user program or I/O parameters. The I/O types of digital data are defined as follows. (1) Unsigned Value (2) Signed Value (3) Precise Value (4) Percentile Value...
Page 204
Chap. 6 Analog I/O Module (XBF-AH04A) (2) DC 0 ~ 20mA Range Input Digital Analog Input Current (mA) Output Range -0.24 20.23 Unsigned Value 1000 2000 3000 4000 4047 (0 ~ 4000) Signed Value -2048 -2000 -1000 1000 2000 2047 (-2000 ~ 2000) Precise Value 1000...
Page 205
XGB Analog edition manual 6.4.2 Output Characteristics The graph below shows the data conversion characteristics by output range. Practical analog output range 1011 2047 4047 1000 2000 4000 Gain value 1000 3000 Digital input 2000 -1000 1000 -2000 Offset -2048 value DC 4 ~ 20 mA 4 mA...
Page 206
Chap. 6 Analog I/O Module (XBF-AH04A) (3) DC 1 ~ 5V Range Output Analog Output Voltage (V) Digital Input Range 1V less 5V over Unsigned Value 0 less 1000 2000 3000 4000 4000 over (0 ~ 4000) Signed Value -2000 less -2000 -1000 1000...
XGB Analog edition manual 6.5 Precision 6.5.1 Input Precision The precision of digital output is not dependent upon the input range. The graph below shows the variation of precision when the analog input range is 0 ~ 10 V for unsigned value for digital output.
Page 208
Chap. 6 Analog I/O Module (XBF-AH04A) 6.5.2 Output Precision The precision of analog output is not dependent upon the output range. The graph below shows the variation of precision when the analog output range is 0 ~ 10 V for unsigned value for digital output.
XGB Analog edition manual 6.6 Functions of Analog I/O Module The functions of XBF-AH04A Module are as follows. Function Description Channel Specify operation/stop of the channel which will perform A/D and D/A conversion. ● operation/stop setting Specifying unused channels as Stop can shorted overall operation time. ●...
Page 210
Chap. 6 Analog I/O Module (XBF-AH04A) 6.6.2 Filtering Function The input value of the designated channel is calculated with previously filtered input value using preset filter constant (time constant 63.2%) by the formula below; × × × eviouslyFi lteredInpu FilterCons esentInput ofChannels Used...
Page 211
XGB Analog edition manual 6.6.3 Averaging Function (1) Average by Time The input values of the designated channel are accumulated for the preset time, and the average value of the total sum is outputted in digital data. Averaged input value Actual input value Channel Scanning Intervals (1ms/Ch.
Page 212
Chap. 6 Analog I/O Module (XBF-AH04A) (3) Moving Average The inputs into the designated channel are accumulated for the presser number, and its average is calculated and outputted in digital data. However, in moving average method, each scan provides its average value. Averaging No.
Page 213
XGB Analog edition manual 6.6.4 Line Open Detection Function The analog I/O module has a diagnostic function which can detect and indicate open input line, when voltage input range of DC 1~5V or current input range of DC 4~20mA is selected as its analog input range.
Page 214
Chap. 6 Analog I/O Module (XBF-AH04A) 6.6.5 Channel Output Status Setting Function This function sets up the output in response to PLC shutdown or failure. (1) Function This function is used to obtain preset output value of the analog I/O module when the PLC system is transferred from run to stop.
XGB Analog edition manual 6.7 Wiring 6.7.1 Precautions for Wiring (1) Keep the I/O signal lines of the analog I/O module away from AC power line. Otherwise, the surge or induction noise of the AC line may affect the module. (2) The cable should be selected taking ambient temperature and allowable current into consideration.
Page 216
Chap. 6 Analog I/O Module (XBF-AH04A) (6) Exemplary Wiring for Analog Input 2-Wire Sensor/Transmission Same wiring scheme is applied to voltage and current inputs, except that voltage/current setting switch must be set up accordingly. Voltage/Current selection switch 2-Wire Transmitter 2-Wire CH0+ Transmitter CH0-...
Page 217
XGB Analog edition manual (8) Relation between voltage input precision and cable length In voltage input system, the cable length between the module and transmitter or sensor influences on the converted digital value of the module. The value is as follows. Load Analog input (Voltage) Where,...
Page 218
Chap. 6 Analog I/O Module (XBF-AH04A) 6.7.3 Exemplary Analog Output Wiring (1) Exemplary analog voltage output wiring Same wiring scheme is applied to voltage and current outputs, except that voltage/current setting switch must be set up accordingly. (2) Exemplary analog current output wiring Same wiring scheme is applied to voltage and current outputs, except that voltage/current setting switch must be set up accordingly.
XGB Analog edition manual 6.8 Operation Parameter Setting The operation parameters of analog I/O module can be set up with XG5000 [I/O Parameter]. (1) Setting Items For user convenience, XG5000 provides GUI (graphic user interface) for analog I/O module parameter setting. The items which can be set up in the [I/O Parameter] in the XG5000 project window are as follows.
Page 220
Chap. 6 Analog I/O Module (XBF-AH04A) (c) In the [I/O Parameter Setting] window, find out the slot of the base where the analog I/O module is installed, and click it. (d) In the above window, click the arrow button to call the window where the module can be selected.
XGB Analog edition manual (f) The window below where parameters can be set up by channel appears. Click the item to set up. The parameters which can be set up appear by item. 6.9 Special Module Monitor Function The functions of the special module monitor are as follows. (1) Start-up of [Special Module Monitor] Select [Online] ->...
Page 222
Chap. 6 Analog I/O Module (XBF-AH04A) (2) Usage of [Special Module Monitor] (a) With the XG5000 in connection (online) with the base unit of PLC, select [Monitor] -> [Special Module Monitor]. The Select Special Module window shown below will appear showing the type of the special modules and base/slot information.
Page 223
XGB Analog edition manual (d) [Start Monitoring]: click [Start Monitoring] to look up the digital input data of the channel currently in operation. The screen shot below is a monitoring window when all the channels are in operation status. Input Monitoring Output Monitoring Detail information of input CH0...
Page 224
Chap. 6 Analog I/O Module (XBF-AH04A) (f) Minimum/Maximum Value Monitoring The minimum and maximum values of the input channels in operation can be monitored. However, the Max/Min values in the window are based on the current value. Therefore, the Max/Min values are not saved when exiting from the [Monitoring/Testing Screen]. Monitors Max/Min value Resets Max/Min value The screen executing [Max/Min Value Monitoring]...
XGB Analog edition manual 6.10 Auto-registration of U-Device (Special Module Variable) The variables for each module are automatically registered by referring to the information of the special modules set up in the [I/O Parameter]. User can modify variables and descriptions. (1) Registration Procedure (a) In [I/O Parameter], set up special module in slot.
Page 226
Chap. 6 Analog I/O Module (XBF-AH04A) (d) Click ‘Yes.’ (e) Variables are registered as shown below. (f) In IEC types, the variables are registered as shown below. (2) Saving Variables (a) The contents in the ‘View Variables’ tab can be saved in a text file. (b) In the ‘Edit’...
Page 227
XGB Analog edition manual (3) Viewing Variables in Program The figures below present examples of use in XGB “S” and “H” types. (a) Below is an exemplary program for XG5000. (b) In the ‘View' menu, click ‘View Variables.’ The devices are changed into variables.
Page 228
Chap. 6 Analog I/O Module (XBF-AH04A) (d) In the ‘View' menu, click ‘View Device/Description’ to look up the devices and descriptions at the same time. 6 - 31...
Page 229
XGB Analog edition manual (e) For IEC type also, as shown in Fig. (a) ~ (d), you can look up variables with diversified options in the ‘View’ menu. The figure below is the case of an IEC type with which the ‘View Variables/Descriptions’ option. 6 - 32...
Chap. 6 Analog I/O Module (XBF-AH04A) 6.11 Constitution and Function of Internal Memory An analog I/O module has internal memory for data communication with XGB base unit. 6.11.1 Analog Data I/O Area The table below presents the analog data I/O area. Device Allocation Read/ Signal...
Page 231
XGB Analog edition manual (1) Module Ready/Error Flag ( ( ) is for IEC types, x: slot No.) (a) U0x.00.F(%UX0.x.15): at power on or reset of PLC CPU, turns on when the analog I/O conversion is ready and analog conversion is performed. (b) U0x.00.0(%UX0.x.0): the flag indicating the error status of A/D conversion module.
Page 232
Chap. 6 Analog I/O Module (XBF-AH04A) (4) Output Permit Setting ( ( ) is for IEC types, x: slot No.) (a) Output permit/prohibit can be set up for each channel. (b) The default setting is ‘Output Prohibited.’ ※ The base No. of the XGB PLC is 0. Bit15 Bit14 Bit13...
Page 233
XGB Analog edition manual 6.11.2 Operation Parameter Setting Area The operation parameter setting area of the analog I/O module is as follows. Memory Description Setting Command Add. Appoint operating channel Bit Off (0): stop, Bit ON (1): run I/O range setting (4 bit per Ch.) 0: 4 ~ 20 ㎃...
Page 234
Chap. 6 Analog I/O Module (XBF-AH04A) (1) Operating Channel Setting The default setting for operating channel is ‘Stop.’ Bit15 Bit14 Bit13 Bit12 Bit11 Bit10 Bit9 Bit8 Bit7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0 Address0 Appoint Using CH. bit Bit On (1): Operate Bit Off (0): Stop (2) I/O Range Setting (a) The analog I/O voltage range is DC 1~5V, DC 0~5V, DC 0~10V, and analog current I/O...
Page 235
XGB Analog edition manual (4) Filter Constant Setting (a) If set to 0, no filtration is processed. (b) Default setting is 0 – no filtration process. Bit15 Bit14 Bit13 Bit12 Bit11 Bit10 Bit9 Bit8 Bit7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0 Address3...
Page 236
Chap. 6 Analog I/O Module (XBF-AH04A) (7) Output Status Setting (a) This sets up the analog output status when the XGB base unit is changed from run to stop. (b) Default setting is the Previous Value output. Bit15 Bit14 Bit13 Bit12 Bit11 Bit10...
XGB Analog edition manual 6.12 Example Program (1) This sample program sets up operating parameters of analog I/O module. (2) Initial settings are saved in the internal memory of the module by input by once. (3) The sample program below controls the I/O data of the analog I/O module at slot #1 and check open wire.
Page 238
Chap. 6 Analog I/O Module (XBF-AH04A) (2) Sample Input Program Input CH0 program (a) When the module is in normal operation, M0000 is turned On. U01.00.0(Module Error) = Off U01.00.F(Module Ready) = On U01.01.0(Input Channel 0 in-operation) = On U01.01.8(Input Channel 0 Error) = Off (b) When M0000 is ON, Input Channel 0 Converted Value(U01.04) is moved to D00100.
Page 239
XGB Analog edition manual (4) Sample Input Program (for IEC type) CH0Input Value (a) When the module is in normal operation, %MX0 is turned ON. %UX0.1.0(Module Error) = Off %UX0.1.15(Module Ready) = On %UX0.1.16(Input Channel 0 in-operation) = On %UX0.1.24(Input Channel 0 Error) = Off (b) When %MX0 is ON, Input Channel 0 Converted Value(%UW0.1.4) is transferred to “Channel 0 Input”...
Page 240
Chap. 6 Analog I/O Module (XBF-AH04A) 6.12.2 Exemplary Usage of PUT/GET Command (1) Sample Input Program Input CH0 Program (a) Using PUT command to write h0005 in the address 0, slot 1 to operate Input Channel 0 and Output Channel 0. (b) Using PUT command to write h0000 in the address 1, slot 1 to set the input range of Input Channel 0 to DC 4 ~ 20mA and the output range of the Output Channel 0 to DC 4 ~ 20mA.
Page 241
XGB Analog edition manual (3) Sample Input Program (for IEC type) CH0Input Value (a) Using PUT command to write h0005 in the address 0, slot 1 to operate Input Channel 0 and Output Channel 0. (b) Using PUT command to write h0000 in the address 1, slot 1 to set the input range of Input Channel 0 to DC 4 ~ 20mA and the output range of the Output Channel 0 to DC 4 ~ 20mA.
Page 242
Chap. 6 Analog I/O Module (XBF-AH04A) (4) Sample Output Program (for IEC type) CH0Outnput Value (a) Using PUT command to write h0005 in the address 0, slot 1 to operate Input Channel 0 and Output Channel 0. (b) Using PUT command to write h0000 in the address 1, slot 1 to set the input range of Input Channel 0 to DC 4 ~ 20mA and the output range of the Output Channel 0 to DC 4 ~ 20mA.
XGB Analog edition manual 6.13 Troubleshooting This section describes methods for identifying the troubles which may occur during the operation of analog I/O module, and their solutions. 6.13.1 LED Indication for Error An analog I/O module has INPUT LED and OUTPUT LED to indicate error status of the module. Normal Channel Open Parameter...
Page 244
Chap. 6 Analog I/O Module (XBF-AH04A) 6.13.3 Troubleshooting (1) INPUT LED or OUTPUT LED is off. INPUT LED or OUTPUT LED is off.. Analog combo module is correctly installed. Install the module correctly XG5000 software shows I/O information Contact nearest dealer or A/S center System resumes normal function if the module is replaced.
Page 245
XGB Analog edition manual (3) OUTPUT LED flikering OUTPUT LED flikering OUTPUT LED f lickers 0.2s intervals Contact nearest dealer or A/S center OUTPUT LED f lickers 1s intervals Output channel input exceeds data range Enter correctly according to the output range in the user manual Parameter setting is normal (Check with PUT command)
Page 246
Chapter 7 Analog Input Module (XBF-AD08A) Chapter 7 Analog Input Module (XBF-AD08A) 7.1 Setting Sequence before operation Before using the analog input module, follow steps below. XBF-AD08A Checking performance specification Specification (2.2 performance specification) Operating environment Input type and range ...
Page 247
(15G) • Duration: 11ms 6 Shock resistance IEC61131-2 • Half-sine, 3 times each direction per each axis AC: ± 1,500V Square wave LSIS standard DC: ± 900V Impulse noise IEC 61131-2, Electrostatic Voltage : 4kV (contact discharging) IEC 61000-4- discharge...
Page 248
Chapter 7 Analog Input Module (XBF-AD08A) 7.2.2 Performance specifications Performance specifications are as follows. Items Performance specification Number of channel 8 channels Type Voltage Current DC 1 ~ 5V Analog input DC 4 ~ 20mA DC 0 ~ 5V range Range DC 0 ~ 20mA DC 0 ~ 10V...
Page 249
XGB Analog edition manual 7.3 Name of part and function Respective designations of the parts are as described below. ① ⑤ ② ③ ④ Name Description ▶ Displays the operation status of XBF-AD08A On: Operation normal ① Flickering: Error occurs (1s intervals) Off: power off or module error Voltage/current ②...
Page 250
Chapter 7 Analog Input Module (XBF-AD08A) 7.4 Characteristic of I/O conversion The input/output ranges of voltage and current can be set up per channel with user program or I/O parameters. The I/O types of digital data are defined as follows. (1) Unsigned Value (2) Signed Value (3) Precise Value...
Page 251
XGB Analog edition manual (2) DC 0 ~ 20mA Range Input Digital Analog Input Current (mA) Output Range -0.24 20.23 Unsigned Value 1000 2000 3000 4000 4047 (0 ~ 4000) Signed Value -2048 -2000 -1000 1000 2000 2047 (-2000 ~ 2000) Precise Value 1000 1500...
Page 252
Chapter 7 Analog Input Module (XBF-AD08A) 7.5 Accuracy Accuracy of digital output value does not changed even if input range is changed. Figure below shows the range of the accuracy with analog input range of 0 ~ 10 V and digital output type of unsigned value selected.
Page 253
XGB Analog edition manual 7.6 Functions of Analog Input Module The functions of XBF-AD08A Module are as follows. Function Description Channel Specify operation/stop of the channel which will perform A/D and D/A conversion. ● operation/stop setting Specifying unused channels as Stop can shorted overall operation time. ●...
Page 254
Chapter 7 Analog Input Module (XBF-AD08A) 7.6.2 Filtering Function The input value of the designated channel is calculated with previously filtered input value using preset filter constant (time constant 63.2%) by the formula below; × × × eviouslyFi lteredInpu FilterCons esentInput ofChannels Used...
Page 255
XGB Analog edition manual 7.6.3 Averaging Function (1) Average by Time The input values of the designated channel are accumulated for the preset time, and the average value of the total sum is outputted in digital data. Averaged input value Actual input value Channel Scanning Intervals (1ms/Ch.
Page 256
Chapter 7 Analog Input Module (XBF-AD08A) (3) Moving Average The inputs into the designated channel are accumulated for the presser number, and its average is calculated and outputted in digital data. However, in moving average method, each scan provides its average value. Averaging No.
Page 257
XGB Analog edition manual 7.6.4 Disconnection detecting Function The analog mix module has a diagnostic function which can detect and indicate open input line, when voltage input range of DC 1~5V or current input range of DC 4~20mA is selected as its analog input range.
Page 258
Chapter 7 Analog Input Module (XBF-AD08A) 7.7 Wiring 7.7.1 Precaution for wiring (1) Don’t let AC power line near to A/D conversion module’s external input sign line. With an enough distance kept away between, it will be free from surge or inductive noise. (2) Cable shall be selected in due consideration of ambient temperature and allowable current, whose size is not less than the max.
Page 259
XGB Analog edition manual (6) Wiring example of analog input 2-Wire sensor/transmitter - In case of voltage/current input, wiring is same. Adjust the voltage/current setting switch according to the case. 2- Wire Transmitter 2- Wire Transmitter 2- Wire Transmitter CH0+ CH0- 2- Wire CH1+...
Page 260
Chapter 7 Analog Input Module (XBF-AD08A) (8) Relationship between voltage input accuracy and wiring length In voltage input, the wiring (cable) length between transmitter or sensor and module has an effect on digital-converted values of the module as specified below; Load Analog input (Voltage) Where,...
Page 261
XGB Analog edition manual 7.8 Operation Parameter Setting A/D conversion module’s operation parameters can be specified through XG5000’s [I/O parameters]. (1) Settings For the user’s convenience of A/D conversion module, XG5000 provides GUI (Graphical User Interface) for parameters setting of A/D conversion module. Setting items available through [I/O parameters] on the XG5000 project window are as described below in the table.
Page 262
Chapter 7 Analog Input Module (XBF-AD08A) (c) In the [I/O Parameter Setting] window, find out the slot of the base where the analog mix module is installed, and click it. (d) In the above window, click the arrow button to call the window where the module can be selected. Find out the module and select it.
Page 263
XGB Analog edition manual (f) The window below where parameters can be set up by channel appears. Click the item to set up. The parameters which can be set up appear by item. 7 - 18...
Page 264
Chapter 7 Analog Input Module (XBF-AD08A) 7.9 Special Module Monitoring Functions The functions of the special module monitor are as follows. (1) Start-up of [Special Module Monitor] Select [Online] -> [Connect], and [Monitor] -> [Special Module Monitor] to start up. [Special Module Monitor] menu is enabled only in the [Online] condition.
Page 265
XGB Analog edition manual (b) In the above window, select the special module and click [Module Info.] to see the information window below. (c) Click the [Monitor] button in the “Special Module” window. The “Special Module Monitor’ window will appear as shown below. 7 - 20...
Page 266
Chapter 7 Analog Input Module (XBF-AD08A) (d) [Start Monitoring]: click [Start Monitoring] to look up the digital input data of the channel currently in operation. The screen shot below is a monitoring window when all the channels are in operation status. Monitoring Detail information of CH0...
Page 267
XGB Analog edition manual (f) Minimum/Maximum Value Monitoring The minimum and maximum values of the input channels in operation can be monitored. However, the Max/Min values in the window are based on the current value. Therefore, the Max/Min values are not saved when exiting from the [Monitoring/Testing Screen]. Monitors Max/Min value Resets Max/Min value The screen executing [Max/Min Value Monitoring]...
Page 268
Chapter 7 Analog Input Module (XBF-AD08A) 7.10 Register U devices The variables for each module are automatically registered by referring to the information of the special modules set up in the [I/O Parameter]. User can modify variables and descriptions. (1) Registration Procedure (a) In [I/O Parameter], set up special module in slot.
Page 269
XGB Analog edition manual (d) Click ‘Yes.’ (e) Variables are registered as shown below. (f) In IEC types, the variables are registered as shown below. (2) Saving Variables (a) The contents in the ‘View Variables’ tab can be saved in a text file. (b) In the ‘Edit’...
Page 270
Chapter 7 Analog Input Module (XBF-AD08A) (3) Viewing Variables in Program The figures below present examples of use in XGB “S” and “H” types. (a) Below is an exemplary program for XG5000. (b) In the ‘View' menu, click ‘View Variables.’ The devices are changed into variables.
Page 271
XGB Analog edition manual (d) In the ‘View' menu, click ‘View Device/Description’ to look up the devices and descriptions at the same time. 7 - 26...
Page 272
Chapter 7 Analog Input Module (XBF-AD08A) (e) For IEC type also, as shown in Fig. (a) ~ (d), you can look up variables with diversified options in the ‘View’ menu. The figure below is the case of an IEC type with which the ‘View Variables/Comment’...
Page 273
XGB Analog edition manual 7.11 Configuration and Function of Internal Memory An analog mix module has internal memory for data communication with XGB base unit. 7.11.1 Analog Data I/O Area The table below presents the analog data I/O area. Device assignment Signal Read/ Variable...
Page 274
Chapter 7 Analog Input Module (XBF-AD08A) - In the device allocation, the small letter ‘y’ is the No. of the slot where the module is installed. - For example, to read the ‘CH3 Output’ of the analog module installed in the slot 4, write in U04.05. (%UW0.4.5 for IEC types) Base No Word classifier...
Page 275
XGB Analog edition manual (3) Digital Output Values ( ( ) is for IEC types, y: slot No.) (a) A/D converted digital values are outputted to buffer memory address U0y.02 ~ U0y.09 (%UW0.y.2~ %UW0.y.9) by channel-basis. (b) Digital output values are saved in 16-bit binary figures. ※...
Page 276
Chapter 7 Analog Input Module (XBF-AD08A) 7.11.2 Operation Parameter Setting Area The operation parameter setting area of the analog mix module is as follows. Memory Description Setting Command Add. Appoint operating channel Bit Off (0): stop, Bit ON (1): run I/O range setting (bit) I/O range setting 0000: 4 ~ 20 ㎃...
Page 277
XGB Analog edition manual (1) Operating Channel Setting The default setting for operating channel is ‘Stop.’ Bit15 Bit14 Bit13 Bit12 Bit11 Bit10 Bit9 Bit8 Bit7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0 Address0 Appoint Using CH Bit On (1): Operate Bit Off (0): Stop (2) Input Range Setting (a) The analog input voltage range is DC 1~5V, DC 0~5V, DC 0~10V, and analog current input...
Page 278
Chapter 7 Analog Input Module (XBF-AD08A) (4) Filter Constant Setting (a) If set to 0, no filtration is processed. (b) Default setting is 0 – no filtration process. Bit 15 Bit 14 Bit 13 Bit 12 Bit 11 Bit 10 Bit 9 Bit 8 Bit 7...
Page 279
XGB Analog edition manual (6) Average Value Setting (a) Set up average values in accordance with the setting area of the averaging method. (b) If the average value is out of setting range, averaging is not applied. Bit 15 Bit 14 Bit 13 Bit 12 Bit 11...
Page 280
Chapter 7 Analog Input Module (XBF-AD08A) 7.12 Example Program (1) This sample program sets up operating parameters of analog input module. (2) Initial settings are saved in the internal memory of the module by input by once. (3) The sample program below controls the output data of the analog input module at slot #1 and check open wire.
Page 281
XGB Analog edition manual (2) Sample Program CH0 program (a) When the module is in normal operation, M0000 is turned On. U01.00.0 (Module Error) = Off U01.00.F (Module Ready) = On U01.01.0 (Input Channel 0 in-operation) = On U01.01.8 (Input Channel 0 Error) = Off (b) When M0000 is ON, Input Channel 0 Converted Value(U01.02) is moved to D00100.
Page 282
Chapter 7 Analog Input Module (XBF-AD08A) 7.13 Troubleshooting This section describes methods for identifying the troubles which may occur during the operation of analog input module, and their solutions. 7.13.1 LED Indication for Error An analog input module has one INPUT LED to indicate error status of the module. Module H/W Channel Open Parameter Setting...
Page 283
XGB Analog edition manual 7.13.3 Troubleshooting (1) INPUT LED is off. INPUT LED is off.. Analog input module is correctly installed. Install the module correctly XG5000 software shows I/O information Contact nearest dealer or A/S center System resumes normal function if the module is replaced.
Page 284
Chapter 7 Analog Input Module (XBF-AD08A) (3) Analog input value is abnormal. Analog input value is abnormal. External DC24V input power is OK. Supply DC 24 power PE ground is OK Correct PE grounding according to the wiring in the user manual Parameter setting is OK (Operation channel permit, I/O range setting...
Chapter 8 Analog Input Option Board (XBO-AD02A) Chapter 8 Analog Input Option Board 8.1 Setting Sequence before operation Before using the analog input option board, follow steps below. XBO-AD02A Checking performance specification Specification (8.2.2 performance specification) Operating environment Input type and range ...
(15G) • Duration: 11ms 6 Shock resistance IEC61131-2 • Half-sine, 3 times each direction per each axis AC: ± 1,500V Square wave LSIS standard DC: ± 900V Impulse noise IEC 61131-2, Electrostatic Voltage : 4kV (contact discharging) IEC 61000-4- discharge...
Page 287
Chapter 8 Analog Input Option Board (XBO-AD02A) 8.2.2 Performance specifications Performance specifications are as follows. Items Performance specification Number of channel 2 channels Type Voltage Current DC 4 ~ 20㎃ DC 0 ~ 10V Analog input DC 0 ~ 20㎃ (Input resistance: 1 ㏁...
XGB Analog edition manual 8.3 Name of part and function Respective designations of the parts are as described below. 35.0mm ① Hook for fixation 49.0mm ② Terminal block 10.3mm ③ Cover ④ Hook for fixation ⑤ Connector for option board ⑥...
Chapter 8 Analog Input Option Board (XBO-AD02A) 8.4 Characteristic of I/O conversion The input ranges of voltage and current can be set up per channel with user program or I/O parameters. The output types of digital data are defined as follows. (1) Unsigned Value (2) Signed Value (3) Precise Value...
Page 290
XGB Analog edition manual (2) DC 0 ~ 20mA Range Input Digital Analog Input Current (mA) Output Range -0.24 20.23 Unsigned Value 1000 2000 3000 4000 4047 (0 ~ 4000) Signed Value -2048 -2000 -1000 1000 2000 2047 (-2000 ~ 2000) Precise Value 1000 1500...
Chapter 8 Analog Input Option Board (XBO-AD02A) 8.5 Accuracy Accuracy of digital output value does not changed even if input range is changed. Figure below shows the range of the accuracy with analog input range of 0 ~ 10 V and digital output type of unsigned value selected.
XGB Analog edition manual 8.6 Functions of Analog Input Option Board The functions of analog input option board are as follows. Function Description Channel Specify operation/stop of the channel which will perform A/D conversion. ● operation/stop setting Specifying unused channels as Stop can shorten overall operation time. ●...
Page 293
Chapter 8 Analog Input Option Board (XBO-AD02A) 8.6.2 Count Averaging Function The input values of the designated channel are accumulated for the preset cycles, and the average value of the total sum is outputted in digital data. Averaged input value Actual input value Channel Scanning Intervals (1ms/Ch.
Page 294
XGB Analog edition manual 8.6.3 Gain Adjustment Function You can adjust input gain of the analog input option board. When selecting current input for analog input range, the digital output (4000) corresponding to analog input max. value (20mA) is standard gain value. When selecting voltage input, the digital output (4000) corresponding to analog input max.
Chapter 8 Analog Input Option Board (XBO-AD02A) 8.7 Wiring 8.7.1 Precaution for wiring (1) Don’t let AC power line near to A/D conversion module’s external input sign line. With an enough distance kept away between, it will be free from surge or inductive noise. (2) Cable shall be selected in due consideration of ambient temperature and allowable current, whose size is not less than the max.
Page 296
XGB Analog edition manual (4) Relationship between voltage input accuracy and wiring length In voltage input, the wiring (cable) length between transmitter or sensor and option board has an effect on digital-converted values of the option board as specified below; Load Analog input (Voltage) Where,...
Chapter 8 Analog Input Option Board (XBO-AD02A) 8.8 Operation Parameter Setting Analog input option board’s operation parameters can be specified through XG5000’s [I/O parameters]. (1) Settings For the user’s convenience, XG5000 provides GUI (Graphical User Interface) for parameters setting of analog option board. Setting items available through [I/O parameters] on the XG5000 project window are as described below in the table.
Page 298
XGB Analog edition manual (c) In the [I/O Parameter Setting] window, find out the slot of the base where the analog input option board is installed, and click it. (d) In the above window, click the arrow button to call the window where the module can be selected.
Page 299
Chapter 8 Analog Input Option Board (XBO-AD02A) (f) The window below where parameters can be set up by channel appears. Click the item to set up. The parameters which can be set up appear by item. 8 - 15...
XGB Analog edition manual 8.9 Special Module Monitoring Functions The functions of the special module monitor are as follows. (1) Start-up of [Special Module Monitor] Select [Online] -> [Connect], and [Monitor] -> [Special Module Monitor] to start up. [Special Module Monitor] menu is enabled only in the [Online] condition.
Page 301
Chapter 8 Analog Input Option Board (XBO-AD02A) (b) In the above window, select the special module and click [Module Info.] to see the information window below. (c) Click the [Monitor] button in the “Special Module” window. The “Special Module Monitor’ window will appear as shown below.
Page 302
XGB Analog edition manual (d) [Start Monitoring]: click [Start Monitoring] to look up the digital input data of the channel currently in operation. The screen shot below is a monitoring window when all the channels are in operation status. Monitoring Detailed information of CH0 The screen executing [Start Monitoring]...
Page 303
Chapter 8 Analog Input Option Board (XBO-AD02A) (f) Minimum/Maximum Value Monitoring The minimum and maximum values of the input channels in operation can be monitored. However, the Max/Min values in the window are based on the current value. Therefore, the Max/Min values are not saved when exiting from the [Monitoring/Testing Screen]. Monitor max/min value Reset max/min...
XGB Analog edition manual 8.10 Register U devices The variables for each module are automatically registered by referring to the information of the special modules set up in the [I/O Parameter]. User can modify variables and descriptions. (1) Registration Procedure (a) In [I/O Parameter], set up special module in slot.
Page 305
Chapter 8 Analog Input Option Board (XBO-AD02A) (d) Click ‘Yes.’ (e) Variables are registered as shown below. (2) Saving Variables (a) The contents in the ‘View Variables’ tab can be saved in a text file. (b) In the ‘Edit’ menu, select ‘Save as Text File.’ (c) The contents in the ‘View Variables’...
Page 306
XGB Analog edition manual (3) Viewing Variables in Program The figures below present examples of use in XGB compact “E” and “S” types (a) Below is an exemplary program for XG5000. (b) In the ‘View' menu, click ‘View Variables.’ The devices are changed into variables. 8 - 22...
Page 307
Chapter 8 Analog Input Option Board (XBO-AD02A) (c) In the ‘View' menu, click ‘View Device/Variables’ to look up the devices and variables at the same time. (d) In the ‘View' menu, click ‘View Device/Comment’ to look up the devices and descriptions at the same time.
Page 308
XGB Analog edition manual (e) In the ‘View' menu, click ‘View Variable/Comment’ to look up the devices and descriptions at the same time. 8 - 24...
Page 309
Chapter 8 Analog Input Option Board (XBO-AD02A) (f) For IEC type also, as shown in Fig. (a) ~ (e), you can look up variables with diversified options in the ‘View’ menu. The figure below is the case of an IEC type with which the ‘View Device/Variables’...
XGB Analog edition manual 8.11 Configuration and Function of Internal Memory An analog input option board has internal memory for data communication with XGB base unit. 8.11.1 Analog Data I/O Area The table below presents the analog data I/O area. Device assignment Signal Variable...
Page 311
Chapter 8 Analog Input Option Board (XBO-AD02A) (1) Module Ready/Error Flag ( ( ) is for IEC types, y: slot No.) (a) U0y.00.F(%UX0.y.15): at power on or reset of PLC CPU, turns on when the analog I/O conversion is ready and analog conversion is performed. (b) U0y.00.0(%UX0.y.0): the flag indicating the error status of analog input option board module.
Page 312
XGB Analog edition manual 8.11.2 Operation Parameter Setting Area The operation parameter setting area of the analog mix module is as follows. Memory Description Setting Command Add. Enable channel Bit Off (0): disable, Bit ON (1): enable Input range setting (4 bit per channels) 0: 4 ~ 20 ㎃...
Page 313
Chapter 8 Analog Input Option Board (XBO-AD02A) (1) Operating Channel Setting (address 0) (a) You can set “Enable/Disable” of analog input option board per each channel (b) Disable the unused channels to reduce the conversion period. (c) Default value is “Disable” for all channels (d) When using PUT instruction, address is as follows.
Page 314
XGB Analog edition manual (2) Input range setting area (address 1) (a) Set the type of input range with the following code Bit (HEX) Input range 4 ~ 20 ㎃ 0000 (0) 0 ~ 20 ㎃ 0001 (1) 0010 (2) 0 ~ 10 V (b) If you set more than 3, 0 (4~20㎃) will be set forcibly But, U0X.01.8~ U0X.01.9 (Setup error flag) will be ON.
Page 315
Chapter 8 Analog Input Option Board (XBO-AD02A) (3) Output data type setting area (address 2) (a) Set the type of output data type with the following code Bit (HEX) Output data type 0000 (0) 0~4000 0001 (1) -2000~2000 0010 (2) Precise value 0011 (3) 0~1000...
Page 316
XGB Analog edition manual (4) Count average value setting area (address 3~4) (a) Set count average value with 0 or value of 2~6400 (b) If you set the count average value as 0, corresponding channel will not perform averaging process and output sampled analog input value (c) If you set 1 or more than 64001, 0 (Disable averaging) will be set forcibly.
Page 317
Chapter 8 Analog Input Option Board (XBO-AD02A) (5) Input gain weighting setting area (address 9~10) (a) Set input gain weighting with value of -40~40 (b) If you set this as 0 (default value), 4000 will apply for gain value (c)For example, if you set this as -10, 4010 (=4000-(-10)) will apply for gain value (d) When using PUT instruction, address is as follows bit15 bit14...
XGB Analog edition manual 8.12 Example Program (1) This sample program sets up operating parameters of analog input option board. (2) Initial settings are saved in the internal memory of the XGB main unit by one input. (3) The sample program below controls the I/O data of the analog input option board at option slot #0 (I/O slot #9) and check open wire.
Page 319
Chapter 8 Analog Input Option Board (XBO-AD02A) (2) Sample Program (XBC Type) (a) When the option board is in normal operation, M0000 is turned On. U09.00.0 (Module Error) = Off U09.00.F (Module Ready) = On U09.01.0 (Input Channel 0 in-operation) = On U09.01.8 (Input Channel 0 Error) = Off (b) When M0000 is ON, Input Channel 0 Converted Value(U09.04) is moved to D00100.
XGB Analog edition manual 8.13 Troubleshooting This section describes methods for identifying the troubles which may occur during the operation of analog input option board, and their solutions. 8.13.1 Troubleshooting (1) Analog input value is abnormal. Analog input value is abnormal. Installation is OK.
Page 321
Chapter 9 Analog Output Option Board (XBO-DA02A) Chapter 9 Analog Output Option Board 9.1 Setting Sequence before Operation Before using the analog output option board, follow steps below. XBO-DA02A Checking performance specification Specification (9.2.2 performance specification) Operating environment Digital input range ...
Page 322
(15G) • Duration: 11ms 6 Shock resistance IEC61131-2 • Half-sine, 3 times each direction per each axis AC: ± 1,500V Square wave LSIS standard DC: ± 900V Impulse noise IEC 61131-2, Electrostatic Voltage : 4kV (contact discharging) IEC 61000-4- discharge...
Page 323
Chapter 9 Analog Output Option Board (XBO-DA02A) 9.2.2 Performance specifications Here describes performance specification of analog output module. Item Specification No. of channels 2 channels Type Voltage Current ㎃ DC 4 ~ 20 Analog DC 0 ~ 10V ㎃ DC 0 ~ 20 ㏀...
Page 324
XGB Analog edition manual 9.3 Designations and Functions Here describes designation and functions. 35.0mm ① Hook for fixation 49.0mm ② Terminal block 10.3mm ③ Cover ④ Hook for fixation ⑤ Connector for option board ⑥ Input connector Name Description ①④ ▶...
Page 325
Chapter 9 Analog Output Option Board (XBO-DA02A) 9.4 Characteristic of I/O Conversion The output ranges of voltage and current can be set up per channel with user program or I/O parameters. The input types of digital data are defined as follows. (1) Unsigned Value (2) Signed Value (3) Precise Value...
Page 326
XGB Analog edition manual (2) DC 0 ~ 20mA range output Analog output current (mA) Digital input 0mA or Over range less 20mA Unsigned value 0 or less 1000 2000 3000 4000 Over 4000 (0 ~ 4000) Signed value -2000 or -2000 -1000 1000...
Page 327
Chapter 9 Analog Output Option Board (XBO-DA02A) 9.5 Accuracy Accuracy for analog output value does not changed even if output range is changed. Figure below shows the range of the accuracy with analog output range of 0 ~ 10 V and digital output type of unsigned value selected.
Page 328
XGB Analog edition manual 9.6 Functions of Analog Output Option Board Here describes functions of XBO-DA02A option board Function Details Enable/Disable 1) It sets up Run/Stop of a channel that will operate an analog output. channel 2) You can save the time of whole operation by stopping unused channels. The range of 1) It sets up the range of an analog output.
Page 329
Chapter 9 Analog Output Option Board (XBO-DA02A) 9.6.2 Gain Adjustment Function You can adjust output gain of the analog output option board. When selecting current output for analog output range, the digital input (4000) corresponding to analog output max. value (20mA) is standard gain value. When selecting voltage output, the digital input (4000) corresponding to analog output max.
Page 330
XGB Analog edition manual 9.7 Wiring 9.7.1 Precautions for wiring (1) Don’t let AC power line at close range to output option board to prevent a surge or inductive noise from the A.C. side. (2) Select the cable with consideration of an ambient temperature and a permitted current limit. It is recommended over AWG22 (0.3㎟).
Page 331
Chapter 9 Analog Output Option Board (XBO-DA02A) 9.8 Operation Parameter Setting You can specify operation parameters of the analog output option board through [I/O parameters] menu in XG5000. (1) Setting items For the user’s convenience, XG5000 provides GUI (Graphical User Interface) for parameters setting of analog output option board.
Page 332
XGB Analog edition manual (c) Click the slot of the base that contains analog output option board in the [I/O Parameter Setting] window. (d) Click the arrow button then you can see the menu to choose the applicable module. Select the applicable option board.
Page 333
Chapter 9 Analog Output Option Board (XBO-DA02A) (f) A screen will be displayed for you to specify parameters for respective channels as shown below. Click a desired item to display parameters to set for respective items. 9.9 Special Module Monitoring Function The function of the special module monitor is as follows.
Page 334
XGB Analog edition manual (2) How to use [Special Module Monitoring] (a) Connecting XG5000 with PLC basic unit, [Special Module List] window will show base/slot information and types of special module by click [Monitor] [Special Module Monitoring]. Special Module List will display the modules that are installed in PLC now. (b) Select a special module then click [Module Info.] button to display the information as described below.
Page 335
Chapter 9 Analog Output Option Board (XBO-DA02A) (d) [Start Monitoring] button will show you digital input data of the operating channel. Output monitoring Detailed information of output CH0 [Start Monitoring] execution screen (e) [Test] is used to change the parameters of the voltage output module. You can change the parameters when you click the values at the bottom of the screen.
Page 336
XGB Analog edition manual 9.10 Register U devices (special module variable) Register the variables for each option board referring to the special module information that is set in the I/O parameter. The user can modify the variables and comments. (1) Registration sequence (a) Select a special module type in [I/O Parameter Setting] window.
Page 337
Chapter 9 Analog Output Option Board (XBO-DA02A) (d) Click ‘Yes’. (e) As shown below, the variables are registered. (2) Save variables (a) The contents of ‘View Variables’ can be saved as a text file (b) Click [Edit] [Export to File]. (c) The contents of ‘View Variable’...
Page 338
XGB Analog edition manual (3) View variables in a program The figure below present examples of use in XGB compact “E” and “S” types (a) The example of XG5000 is shown below. (b) Select [View] [Variables]. The devices are changed into variables. (c) Select [View] ...
Page 339
Chapter 9 Analog Output Option Board (XBO-DA02A) (d) Select [View] [Devices/Comments]. Device and comment both are displayed. 9 - 19...
Page 340
XGB Analog edition manual (e) Select [View] [Variable/Comments]. Variable and comment both are displayed. 9 - 20...
Page 341
Chapter 9 Analog Output Option Board (XBO-DA02A) (f) For IEC type also, as shown in Fig. (a) ~ (e), you can look up variables with diversified options in the ‘View’ menu. The figure below is the case of an IEC type with which the ‘View Device/Variables’...
Page 342
XGB Analog edition manual 9.11 Internal memory Describes configuration and function of internal memory 9.11.1 Data I/O area Describes data I/O area Device assignment Signal Variable name Type Description direction _0y_ERR U0y.00.0 %UX0.y.0 Module Error Option → CPU _0y_RDY U0y.00.F %UX0.y.15 Module Ready _0y_DA0_ACT...
Page 343
Chapter 9 Analog Output Option Board (XBO-DA02A) (1) Module Ready/Channel Error information ( ( ) is for IEC types, y: slot No.) (a) U0y.00.F(%UX0.y.15): It will be ON when PLC CPU unit is powered or reset with the condition that an analog option board has prepared to convert. (b) U0y.00.0(%UX0.y.0): It is the flag which displays error status of each channel in the analog option board.
Page 344
XGB Analog edition manual 9.11.2 Setting area of operation parameters Memory Description Setting value Instruction address Enable CH Bit Off (0): disable, bit On (1): enable Input range setting (4 bit per channel) 0: 4 ~ 20 ㎃ Output range setting 1: 0 ~ 20 ㎃...
Page 345
Chapter 9 Analog Output Option Board (XBO-DA02A) (1) Operating Channel Setting (address 0) (a) You can set “Enable/Disable” of analog output option board per each channel (b) Disable the unused channels to reduce the conversion period. (c) Default value is “Disable” for all channels (d) When using PUT instruction, address is as follows.
Page 346
XGB Analog edition manual (2) Output range setting area (address 1) (a) Set the type of output range with the following code Bit (HEX) Input range 4 ~ 20 ㎃ 0000 (0) 0 ~ 20 ㎃ 0001 (1) 0010 (2) 0 ~ 10 V (b) If you set more than 3, 0 (4~20㎃) will be set forcibly But, U0X.01.A~ U0X.01.B (Setup error flag) will be ON.
Page 347
Chapter 9 Analog Output Option Board (XBO-DA02A) (3) Input data type setting area (address 2) (a) Set the type of input data type with the following code Bit (HEX) Input data type 0000 (0) 0~4000 0001 (1) -2000~2000 0010 (2) Precise value 0011 (3) 0~1000...
Page 348
XGB Analog edition manual (4) Channel output state setting area (address 8) (a) Set the output state setting with the following code Bit (Hex) Channel output state 0000 (0) Former value 0001 (1) Min value 0010 (2) Middle value 0011 (3) Max value (b) If you set more than 4, 0 (former value) will be set forcibly.
Page 349
Chapter 9 Analog Output Option Board (XBO-DA02A) (5) Output gain weighting setting area (address 11~12) (a) Set output gain weighting with value of -40~40 (b) If you set this as 0 (default value), 4000 will apply for gain value (c)For example, if you set this as -10, 4010 (=4000-(-10)) will apply for gain value (d) When using PUT instruction, address is as follows bit15 bit14...
Page 350
XGB Analog edition manual 9.12 Example Program (1) This sample program sets up operating parameters of analog output option board. (2) Initial settings are saved in the internal memory of the XGB main unit by one input. (3) The sample program below controls the I/O data of the analog output option board at option slot #0 (I/O slot #9) and check open wire.
Page 351
Chapter 9 Analog Output Option Board (XBO-DA02A) (2) Sample Program(XBC Type) (a) When the option board is in normal operation, M0000 is turned On. U09.00.0 (Module Error) = Off U09.00.F (Module Ready) = On U09.01.2 (Output Channel 0 in-operation) = On U09.01.A (Output Channel 0 Error) = Off (b) When M0000 is ON, it turns on CH0 output state (U09.06.0) and allows output (c) When M0000 is ON, D00100 data is moved to output CH0 Output value (U09.07) and outputs.
Page 352
XGB Analog edition manual 9.13 Troubleshooting This section describes methods for idetifying the troubles which may occur during the operation of analog output option board, and their solutions. 9.13.1 Troubleshooting (1) Analog output value is abnormal. Analog output value is abnormal. Installation is OK.
Chapter 10 Analog I/O Option Board (XBO-AH02A) Chapter 10 Analog I/O Option Board 10.1 Setting Sequence before operation Before using the analog I/O option board, follow steps below. XBO-AH02A Checking performance specification Specification (10.2.2 performance specification) Operating environment I/O type and range ...
(15G) • Duration: 11ms 6 Shock resistance IEC61131-2 • Half-sine, 3 times each direction per each axis AC: ± 1,500V Square wave LSIS standard DC: ± 900V Impulse noise IEC 61131-2, Electrostatic Voltage : 4kV (contact discharging) IEC 61000-4- discharge...
Page 355
Chapter 10 Analog I/O Option Board (XBO-AH02A) 10.2.2 Performance specifications Performance specifications are as follows. (1) Input performance specification Items Input performance specification Number of channels 1 channel Type Voltage Current DC 4 ~ 20㎃ Analog DC 0 ~ 10V DC 0 ~ 20㎃...
Page 356
XGB Analog edition manual (2) Output performance specification Items Output performance specification Number of channels 1 channel Type Voltage Current DC 4 ~ 20㎃ Analog DC 0 ~ 10V DC 0 ~ 20㎃ (Load resistance: 2kΩ Min.) output (Load resistance: 450 Ω Max.) Range range Set at user program or I/O parameter per each channel per each...
Chapter 10 Analog I/O Option Board (XBO-AH02A) 10.3 Name of Part and Function Respective designations of the parts are as described below. 35.0mm ① Hook for fixation 49.0mm ② Terminal block 10.3mm ③ Cover ④ Hook for fixation ⑤ Connector for option board ⑥...
XGB Analog edition manual 10.4 Characteristic of I/O conversion The input ranges of voltage and current can be set up per channel with user program or I/O parameters. The output types of digital data are defined as follows. (1) Unsigned Value (2) Signed Value (3) Precise Value (4) Percentile Value...
Page 359
Chapter 10 Analog I/O Option Board (XBO-AH02A) (2) DC 0 ~ 20mA Range Input Digital Analog Input Current (mA) Output Range -0.24 20.23 Unsigned Value 1000 2000 3000 4000 4047 (0 ~ 4000) Signed Value -2048 -2000 -1000 1000 2000 2047 (-2000 ~ 2000) Precise Value...
Page 360
XGB Analog edition manual 10.4.2 Output characteristic Data conversion characteristic per output range is as follows. Analog output practical range 1011 2047 4047 1000 2000 4000 Gain 1000 3000 Digital 2000 input -1000 1000 -2000 Offset DC 4 ~ 20 mA 4 mA 12 mA 20 mA...
Page 361
Chapter 10 Analog I/O Option Board (XBO-AH02A) (3) DC 0 ~ 10V range output Analog output voltage (V) Digital input range 0V or less Over 10V Unsigned value 0 or less 1000 2000 3000 4000 Over 4000 (0 ~ 4000) Signed value -2000 or -2000...
XGB Analog edition manual 10.5 Accuracy 10.5.1 Input accuracy Accuracy of digital output value does not changed even if input range is changed. Figure below shows the range of the accuracy with analog input range of 0 ~ 10 V and digital output type of unsigned value selected.
Page 363
Chapter 10 Analog I/O Option Board (XBO-AH02A) 10.5.2 Input accuracy Accuracy for analog output value does not changed even if output range is changed. Figure below shows the range of the accuracy with analog output range of 0 ~ 10 V and digital output type of unsigned value selected.
Page 364
XGB Analog edition manual 10.6 Functions of Analog I/O Option Board The functions of XBO-AH02A analog I/O option board are as follows. Function Description ● Specify operation/stop of the channel which will perform A/D, D/A conversion Channel ● Specifying unused channels as Stop can shorten overall operation time. operation/stop setting ●...
Page 365
Chapter 10 Analog I/O Option Board (XBO-AH02A) 10.6.2 Count Averaging Function The input values of the designated channel are accumulated for the preset cycles, and the average value of the total sum is outputted in digital data. Averaged input value Actual input value Channel Scanning Intervals (1ms/Ch.
Page 366
XGB Analog edition manual 10.6.3 Channel Output State Setting Function It sets output against PLC stop and abnormal state (1) Function It is used to output an already set value when PLC system switches RUN to Stop (2) Type You can select one among former, min, middle and max value. (a) Former value: keeps last normal output value (b) Min.
Page 367
Chapter 10 Analog I/O Option Board (XBO-AH02A) 10.6.4 Gain Adjustment Function You can adjust I/O gain of the analog I/O option board. When selecting current input for analog input range, the digital output (4000) corresponding to analog input max. value (20mA) is standard gain value. When selecting voltage input, the digital output (4000) corresponding to analog input max.
XGB Analog edition manual 10.7 Wiring 10.7.1 Precaution for wiring (1) Don’t let AC power line near to A/D conversion module’s external input sign line. With an enough distance kept away between, it will be free from surge or inductive noise. (2) Cable shall be selected in due consideration of ambient temperature and allowable current, whose size is not less than the max.
Page 369
Chapter 10 Analog I/O Option Board (XBO-AH02A) 10.7.3 Analog input wiring example (1) Current input wiring example XBO-AH02A INPUT *(b) *(a) OUTPUT *(a) In case of current input, connect V+ terminal to I+ terminal *(b) Input resistance of current input circuit is 250 Ω (typ.). (2) Voltage input wiring example XBO-AH02A INPUT...
Page 370
XGB Analog edition manual (3) Relationship between voltage input accuracy and wiring length In voltage input, the wiring (cable) length between transmitter or sensor and option board has an effect on digital-converted values of the option board as specified below; Load Analog input (Voltage) Where,...
Page 371
Chapter 10 Analog I/O Option Board (XBO-AH02A) 10.7.4 Analog output wiring example (1) Current output wiring example XBO-AH02A INPUT OUTPUT Motor etc. 450Ω or 510Ω or less less (2) Voltage output wiring example XBO-AH02A INPUT OUTPUT Motor etc. 2㏀ or 2kΩ...
XGB Analog edition manual 10.8 Operation Parameter Setting Analog I/O option board’s operation parameters can be specified through XG5000’s [I/O parameters]. (1) Settings For the user’s convenience, XG5000 provides GUI (Graphical User Interface) for parameters setting of analog option board. Setting items available through [I/O parameters] on the XG5000 project window are as described below in the table.
Page 373
Chapter 10 Analog I/O Option Board (XBO-AH02A) (c) In the [I/O Parameter Setting] window, find out the slot of the base where the analog input option board is installed, and click it. (d) In the above window, click the arrow button to call the window where the module can be selected.
XGB Analog edition manual (f) The window below where parameters can be set up by channel appears. Click the item to set up. The parameters which can be set up appear by item. 10.9 Special Module Monitoring Functions The functions of the special module monitor are as follows. (1) Start-up of [Special Module Monitor] Select [Online] ->...
Page 375
Chapter 10 Analog I/O Option Board (XBO-AH02A) (2) Usage of [Special Module Monitor] (a) With the XG5000 in connection (online) with the base unit of PLC, select [Monitor] -> [Special Module Monitor]. The Select Special Module window shown below will appear showing the type of the special modules and base/slot information.
Page 376
XGB Analog edition manual (d) [Start Monitoring]: click [Start Monitoring] to look up the digital input data of the channel currently in operation. The screen shot below is a monitoring window when all the channels are in operation status. Input monitoring Output monitoring Detailed information of input...
Page 377
Chapter 10 Analog I/O Option Board (XBO-AH02A) (f) Minimum/Maximum Value Monitoring The minimum and maximum values of the input channels in operation can be monitored. However, the Max/Min values in the window are based on the current value. Therefore, the Max/Min values are not saved when exiting from the [Monitoring/Testing Screen]. Max/Min value monitoring Max/Min value...
XGB Analog edition manual 10.10 Register U devices The variables for each module are automatically registered by referring to the information of the special modules set up in the [I/O Parameter]. User can modify variables and descriptions. (1) Registration Procedure (a) In [I/O Parameter], set up special module in slot.
Page 379
Chapter 10 Analog I/O Option Board (XBO-AH02A) (d) Click ‘Yes.’ (e) Variables are registered as shown below. (2) Saving Variables (a) The contents in the ‘View Variables’ tab can be saved in a text file. (b) In the ‘Edit’ menu, select ‘Save as Text File.’ (c) The contents in the ‘View Variables’...
Page 380
XGB Analog edition manual (3) Viewing Variables in Program The figures below present examples of use in XGB compact “E” and “S” types (a) Below is an exemplary program for XG5000. (b) In the ‘View' menu, click ‘View Variables.’ The devices are changed into variables. (c) In the ‘View' menu, click ‘View Device/Variables’...
Page 381
Chapter 10 Analog I/O Option Board (XBO-AH02A) (d) In the ‘View' menu, click ‘View Device/Comment’ to look up the devices and descriptions at the same time. 10 - 29...
Page 382
XGB Analog edition manual (e) In the ‘View' menu, click ‘View Variable/Comment’ to look up the devices and descriptions at the same time. 10 - 30...
Page 383
Chapter 10 Analog I/O Option Board (XBO-AH02A) (f) For IEC type also, as shown in Fig. (a) ~ (e), you can look up variables with diversified options in the ‘View’ menu. The figure below is the case of an IEC type with which the ‘View Device/Variables’...
XGB Analog edition manual 10.11 Configuration and Function of Internal Memory An analog input option board has internal memory for data communication with XGB base unit. 10.11.1 Analog Data I/O Area The table below presents the analog data I/O area. Device assignment Signal Variable...
Page 385
Chapter 10 Analog I/O Option Board (XBO-AH02A) (1) Module Ready/Error Flag ( ( ) is for IEC types, y: slot No.) (a) U0y.00.F(%UX0.y.15): at power on or reset of PLC CPU, turns on when the analog I/O conversion is ready and analog conversion is performed. (b) U0y.00.0(%UX0.y.0): the flag indicating the error status of analog input option board module.
Page 386
XGB Analog edition manual 10.11.2 Operation Parameter Setting Area The operation parameter setting area of the analog mix module is as follows. Memory Description Setting Command Add. Enable channel Bit Off (0): disable, Bit ON (1): enable Input range setting (4 bit per channels) 0: 4 ~ 20 ㎃...
Page 387
Chapter 10 Analog I/O Option Board (XBO-AH02A) (1) Operating Channel Setting (address 0) (a) You can set “Enable/Disable” of analog I/O option board per each channel (b) Disable the unused channels to reduce the conversion period. (c) Default value is “Disable” for all channels (d) When using PUT instruction, address is as follows.
Page 388
XGB Analog edition manual (2) I/O range setting area (address 1) (a) Set the type of I/O range with the following code Bit (HEX) I/O range 4 ~ 20 ㎃ 0000 (0) 0 ~ 20 ㎃ 0001 (1) 0010 (2) 0 ~ 10 V (b) If you set more than 3, 0 (4~20㎃) will be set forcibly But, U0X.01.8~ U0X.01.A (Setup error flag) will be ON.
Page 389
Chapter 10 Analog I/O Option Board (XBO-AH02A) (3) I/O data type setting area (address 2) (a) Set the type of I/O data type with the following code Bit (HEX) Output data type 0000 (0) 0~4000 0001 (1) -2000~2000 0010 (2) Precise value 0011 (3) 0~1000...
Page 390
XGB Analog edition manual (4) Count average value setting area (address 3) (a) Set count average value with 0 or value of 2~6400 (b) If you set the count average value as 0, corresponding channel will not perform averaging process and output sampled analog input value (c) If you set 1 or more than 64001, 0 (Disable averaging) will be set forcibly.
Page 391
Chapter 10 Analog I/O Option Board (XBO-AH02A) (b) If you set more than 4, 0 (former value) will be set forcibly. But, U0X.01.A (Setup error flag) will be ON. (c) When using PUT instruction, address is as follows bit15 bit14 bit13 bit12 bit11...
Page 392
XGB Analog edition manual (6) I/O gain weighting setting area (address 9~11) (a) Set input gain weighting with value of -40~40 (b) If you set this as 0 (default value), 4000 will apply for input gain value 4000 will apply for output gain value (c)For example, if you set this as -10, 4010 (=4000-(-10)) will apply for gain value (d) When using PUT instruction, address is as follows bit15...
Page 393
Chapter 10 Analog I/O Option Board (XBO-AH02A) (6) Setup error information output area (address 13) (a) Saves error code detected when setting (setting by program) (b) Setting error is canceled when value is reset to make it in the valid range (c) When U0X.01.8~ U0X.01.A (setting error flat) is on, check that area and fix the corresponding setting to cancel the error (d) When using GET instruction, address is as follows...
XGB Analog edition manual 10.12 Example Program (1) This sample program sets up operating parameters of analog input option board. (2) Initial settings are saved in the internal memory of the XGB main unit by one input. (3) The sample program below controls the I/O data of the analog I/O option board at option slot #0 (I/O slot #9) and check open wire.
Page 395
Chapter 10 Analog I/O Option Board (XBO-AH02A) (2) Sample Input Program (XBC Type) (a) When the option board is in normal operation, M0000 is turned On. U09.00.0 (Module Error) = Off U09.00.F (Module Ready) = On U09.01.0 (Input Channel 0 in-operation) = On U09.01.8 (Input Channel 0 Error) = Off (b) When M0000 is ON, Input Channel 0 Converted Value(U09.04) is moved to D00100.
Page 396
XGB Analog edition manual (4) Sample Input Program (IEC Type) (a) When the option board is in normal operation, %MX0 is turned On. %UX0.9.0 (Module Error) = Off %UX0.9.15 (Module Ready) = On %UX0.9.16 (Input Channel 0 in-operation) = On %UX0.9.24 (Input Channel 0 Error) = Off (b) When %MX0 is ON, Input Channel 0 Converted Value(%UW0.9.4) is moved to “CH0_DATA”.
Chapter 10 Analog I/O Option Board (XBO-AH02A) 10.13 Troubleshooting This section describes methods for identifying the troubles which may occur during the operation of analog I/O option board, and their solutions. 10.13.1 Troubleshooting (1) Analog input value is abnormal. Analog input value is abnormal. Installation is OK.
Page 398
XGB Analog edition manual (2) Analog output value is abnormal. Analog output value is abnormal. Installation is OK. Install the option board properly PE ground is OK Correct PE grounding according to the wiring in the user manual Wiring is OK (Current output wiring, voltage output wiring) Refer to the manual and wire properly...
Page 399
Chapter 11 RTD Input Option Board (XBO-RD01A) Chapter 11 RTD Input Option Board 11.1 Setting Sequence before Operation Before using the RTD input option board, follow steps below. XBO-RD01A Checking performance specification Specification Operating environment Digital input range System configuration and selection System configuration ...
Page 400
(15G) • Duration: 11ms 6 Shock resistance IEC61131-2 • Half-sine, 3 times each direction per each axis AC: ± 1,500V Square wave LSIS standard DC: ± 900V Impulse noise IEC 61131-2, Electrostatic Voltage : 4kV (contact discharging) IEC 61000-4- discharge...
Page 401
Chapter 11 RTD Input Option Board (XBO-RD01A) 11.2.2 Performance specifications Here describes general specifications of RTD input option board. XBO-RD01A No. of input channels One channel PT100 JIS C1604-1997 Input sensor type JPT100 JIS C1604-1981 , KS C1603-1991 PT100 -200.0 ~ 600.0℃ (-328.0℉~1112.0℉) Temperature input range JPT100...
Page 402
XGB Analog edition manual 11.3 Part Names and Functions Here describes part names and functions. 35.0mm ① Hook for fixation 49.0mm ② Terminal block 10.3mm ③ Cover ④ Hook for fixation ⑤ Connector for option board ⑥ Input connector Name Description ①④...
Page 403
Chapter 11 RTD Input Option Board (XBO-RD01A) 11.4 Temperature Conversion Characteristic Since RTD sensor has non-linear characteristic, RTD input module executes linearization per each section. The graph below is an example to describe the linearization process and is different with graph about actual sensor temperature input.
Page 404
XGB Analog edition manual 11.5 Conversion Speed The conversion speed of RTD input option board is less than 25ms + 3 x scan time. The conversion speed includes the time to convert input temperature (resistance value) to digital value and to save the converted digital data into the internal memory. ∴...
Page 405
Chapter 11 RTD Input Option Board (XBO-RD01A) 11.8 Disconnection Detection Function (1) As a module used to measure the temperature with the RTD temperature sensor directly connected, it detects and displays disconnection of the sensor connected. If any disconnection occurs in the sensor used and extended lead wire, it will turn on the disconnection diction bit (2) The figure below shows the temperature sensor’s appearance of the 3-wired RTD.
Page 406
XGB Analog edition manual 11.9 Wiring - 3 types of sensor-connecting methods are available (2, 3 and 4-wired). - The standard wiring method for XBO-RD1A module is 3-wired wiring. - Use an identical type of wire (thickness, length, etc.) for each 3 wire when extended lead wire is used.
Page 407
Chapter 11 RTD Input Option Board (XBO-RD01A) 11.9.3 If 4-wired sensor is used (connection terminal unit is used) Terminal block If sensor and compensating wire are shielded, shield line can be connected to FG terminal of the module. 11 - 9...
Page 408
XGB Analog edition manual 11.10 Average Function It accumulates temperature conversion values of a selected channel as many as average value and displays the average of the total sum in digital data - Setting range = 2 ~ 64000 [times] - Averaging interval is calculated according to the number of channel used - Averaging interval[ms] = Averaging count x (25ms + 3*scan time) Remark...
Page 409
Chapter 11 RTD Input Option Board (XBO-RD01A) 11.11 Operation Parameter Setting Operation parameters of RTD input option board can be specified through [I/O parameters] of XG5000. 11.11.1 Setting items For the user’s convenience, XG5000 provides GUI (Graphical User Interface) for parameters setting of RTD module.
Page 410
XGB Analog edition manual (4) Click the arrow button on the screen to display the screen where an applicable option board can be selected. Search for the applicable option board to select. (5) After the option board selected, click [Details] or double-click relevant slot. (6) A screen will be displayed to specify parameters for respective channels as shown below.
Page 411
Chapter 11 RTD Input Option Board (XBO-RD01A) (b) Input sensor type setting screen (c) Temp. unit setting screen (d) Count average setting screen (8) If necessary setting is complete, press OK. 11 - 13...
Page 412
XGB Analog edition manual 11.12 Special Module Monitoring Run Special Module Monitoring by selecting [Online] -> [Connect] and [Monitor] -> [Special Module Monitoring]. If the status is not [On-Line], [Special Module Monitoring] menu will not be activated. Remark 1) If the program is not displayed normally because of insufficient system resource, you may start XG5000 again after close the program and other applications.
Page 413
Chapter 11 RTD Input Option Board (XBO-RD01A) (2) How to use [Special Module Monitoring] (a) [Special Module List] window will show base/slot information and types of special module by click [Monitor] [Special Module Monitoring].In this list box, the modules that are now installed in PLC system will be displayed.
Page 414
XGB Analog edition manual (d) [Start Monitoring]: [Start Monitoring] button will show you digital input data of the operating channel. The figure below is monitoring screen when all channels are Run status. Monitoring screen Detail of channel 0 [Start Monitoring] execution screen (e) [Test]: [Test] is used to change the parameters of the RTD input module.
Page 415
Chapter 11 RTD Input Option Board (XBO-RD01A) 11.13 Register U devices (Special module variable) Register the variables for each module referring to the special module information that is set in the I/O parameter. The user can modify the variables and comments. (1) Procedure (a) Select the special module in the [I/O Parameter Setting] window.
Page 416
XGB Analog edition manual (d) Click ‘Yes’. (e) As shown below, the variables are registered. (2) Save variables (a) The contents of ‘View Variable’ can be saved as a text file. (b) Select [Edit] -> [Export to File]. (c) The contents of ‘View variable’ are saved as a text file. (3) View variables Example in the XGB compact “E”...
Page 417
Chapter 11 RTD Input Option Board (XBO-RD01A) (c) Select [View] -> [Devices/Variables]. Devices and variables are both displayed. (d) Select [View] -> [Device/Comments]. Devices and comments are both displayed. (e) For IEC type also, as shown in Fig. (a) ~ (d), you can look up variables with diversified options in the ‘View’...
Page 418
XGB Analog edition manual 11.14 Configuration and Function of Internal Memory Here describes configuration and function of internal memory. 11.14.1 Data I/O area Data I/O area of RTD input option board is as shown below. Device Variable Type Description Signal direction _0y_ERR U0y.00.0 %UX0.y.0...
Page 419
Chapter 11 RTD Input Option Board (XBO-RD01A) (1) Module ready/error flag ( ( ) is for IEC types, y: slot No.) (a) U0x.00.F: It will be ON when PLC CPU is powered or reset with A/D conversion ready to process A/D conversion. (b) U0x.00.0: It is a flag to display the error status of A/D conversion option board.
Page 420
XGB Analog edition manual 11.14.2 Operation parameter setting area Operation parameter setting areas of RTD input option board are as follows. Memory Contents Setting value Instruction address Channel CH status setting enable/disable 0: Stop setting 1: Run Input range setting 0: PT100 sensor type setting PUT/GET...
Page 421
Chapter 11 RTD Input Option Board (XBO-RD01A) (1) Run channel setting (address 0) (a) You can enable/disable the RTD input option board (b) If Run channel is not specified, all channels will be stop status. (c) When using Put instruction, Channel Status address is as follows bit15 bit14 bit13...
Page 422
XGB Analog edition manual (4) Disconnection information (address 6) (a) Displays disconnection information of channel. (b) In case of using GET instruction, Disconnection Information address is as follows. bit15 bit14 bit13 bit12 bit11 bit10 bit9 bit8 bit7 bit6 bit5 bit4 bit3 bit2 bit1...
Page 423
Chapter 11 RTD Input Option Board (XBO-RD01A) 11.15 Example Program - Here describes how to specify the operation condition of RTD input option board. - RTD input option board is installed on slot 9. - Initial setting value is saved in internal memory of module with one input. - The following program is an example to read temperature value and disconnection information.
Page 424
XGB Analog edition manual (2) Program example using PUT/GET command CH Enable Sensor type (PT100) Temperature unit (Celsius) Count average value setting Moving channel 0 temp. value to D0 Moving channel 0 disconnection information to M0 11 - 26...
Page 425
Chapter 11 RTD Input Option Board (XBO-RD01A) 11.16 Troubleshooting Describes troubleshooting about the problem that occurs during using RTD input option board 11. 16.1 Troubleshooting (1) Temperature conversion value is not normal. Temperature conversion value is not normal Installation is correct Install the option board correctly.
Chapter 12 Thermocouple Input Option Module (XBO-TC02A) Chapter 12 Thermocouple Input Option Module 12.1 Setting sequence before operation Setting sequence before operation Before using the thermocouple input module, follow steps below. XBO-TC02A Checking performance specification Specification - Operating environment - Thermocouple sensor type and temperature range - Digital output range System configuration and selection System configuration...
(15G) • Duration: 11ms 6 Shock resistance IEC61131-2 • Half-sine, 3 times each direction per each axis AC: ± 1,500V Square wave LSIS standard Impulse noise DC: ± 900V IEC 61131-2, Electrostatic Voltage : 4kV (contact discharging) IEC 61000-4- discharge...
Page 428
Chapter 12 Thermocouple Input Option Module (XBO-TC02A) 12.2.2 Performance Specification Performance specifications are as follows Items Specification Number of input channel 2 channels Thermocouple type K / J Type of input sensor (JIS C1602-1995) Range of input -200.0℃ ~ 1300.0℃ (-328.0℉ ~ 2372.0℉) K type sensor temperature J type sensor...
Page 429
XGB Analog edition manual 12.3 Name and Function of Each Part Describes name and function of each part 35.0mm ① Hook for fixation 49.0mm ② Terminal block 10.3mm ③ Cover ④ Hook for fixation ⑤ Connector for option board ⑥ Input connector Name Description...
XGB Analog edition manual 12.5 Accuracy Accuracy / Resolution are as follows according to ambient temperature Accuracy - note1) Measurement Operating Thermocouple Indication temperature Normal temperature Resolution temperature - type range temperature range note2) (25℃) (0℃ ~ 55℃) -200.0℃ ~ 0.0℃ 0.2℃...
Chapter 12 Thermocouple Input Option Module (XBO-TC02A) 12.6 Conversion speed 12.6.1 Conversion speed function (1) Conversion speed: 50ms/2Ch (2) Sequential process method The next channel is converted after conversion of one channel is completed. (Run/Stop of the respective channels can be set independently.) (3) Concept of conversion time The time taken to convert the temperature from terminal block to digital value and save it at internal memory...
XGB Analog edition manual 12.8 Disconnection detection 12.8.1 Disconnection detection function Thermocouple input module has a function that detects the disconnection and displays it. That the module detects and displays disconnection means that the following cabling path would have partially bad connection, which requires taking measures (1) If disconnection occurs between thermocouple or compensating cable and module, it generates error code.
Page 434
Chapter 12 Thermocouple Input Option Module (XBO-TC02A) 12.9 Disconnection detection 12.9.1 Average function (1) Count average It accumulates temperature conversion values of a selected channel as many as average value and displays the average of the total sum in digital data Input after averaging Actual input Channel conversion interval (50 ms + 6 scan time)
Page 435
XGB Analog edition manual 12.10 Disconnection detection 12.10.1 Installation environment Attention should be paid to the followings in order to secure the reliance and stability of the system. Environmental Conditions (a) Install on a water-proof and dust-proof control board. (b) Place free of continuous impact or vibration. (c) Place not directly exposed to direct sunrays.
Page 436
Chapter 12 Thermocouple Input Option Module (XBO-TC02A) (2) Terminal array Terminal array of thermocouple input module is as follows. Signal Purpose name CH0 + Channel 0 thermocouple input CH0 - CH1 + Channel 1 thermocouple input CH1 - Not used (3) Wiring example Thermocouple can be connected with module directly.
XGB Analog edition manual 12.11 Operation Setting and Monitor 12.11.1 Operation Parameter Setting Operation parameter of thermocouple input module can be set through [I/O Parameter] of XG5000 (1) Setting items For user convenience, parameter setting of thermocouple input module is provided by GUI (Graphical User Interface) method in the XG5000.
Page 438
Chapter 12 Thermocouple Input Option Module (XBO-TC02A) (c) If [I/O Parameter Setting] window shows, find slot of base where module is installed and click it (d) Register the module on a slot where module is installed on as follows. (e) Select a module and click [Details] or double-click a module for parameter setup. 12 - 13...
Page 439
XGB Analog edition manual (f) Parameter setup screen appears as follows. If you click the item you want to set, settable parameter will be displayed. (g) The initial values of each item are as figure shown below 1) Channel status (Disable / Enable) 2) Sensor type (K / J) 12 - 14...
Page 440
Chapter 12 Thermocouple Input Option Module (XBO-TC02A) 3) Temp. unit (Celsius / Fahrenheit) 4) Average processing (Count averaging) 5) If you input invalid number, error message will be displayed. (When average value is out o range) 12 - 15...
Page 441
XGB Analog edition manual 12.11.2 Special module monitoring function While XG5000 is connected with PLC, through [Monitor] -> [Special Module Monitoring], the user can test the operation of the module. Remark 1) If system resource is short, the screen may not be displayed properly. In case of this, shut down other application program and restart the XG5000.
Page 442
Chapter 12 Thermocouple Input Option Module (XBO-TC02A) (b) How to use [Special Module Monitoring] 1) Click [Monitor] -> [Special Module Monitoring] while XG5000 is connected with PLC basic unit. ‘Special Module List’ screen is displayed as shown below and displays information of base/slot with special module type.
Page 443
XGB Analog edition manual 4) [Start Monitoring]: [Start Monitoring] button will show you digital input data of the operating channel. The figure below is monitoring screen when all channels are “Run” status. [Start Monitoring] execution screen 5) [Test]: [Test] is used to change the parameters of the Thermocouple input module. You can change the parameters when you click the values at the bottom of the screen.
Page 444
Chapter 12 Thermocouple Input Option Module (XBO-TC02A) 12.11.3 Register U devices (Special module variable) It registers the variables for each module referring to the special module information that is set in the I/O parameter. The user can modify the variables and comments. (1) Procedure (a) Select the special module type in the [I/O Parameter Setting] window.
Page 445
XGB Analog edition manual (c) Select [Edit] – [Register U Device]. In case of XEC, select [Edit] - [Register special module variable] 12 - 20...
Page 446
Chapter 12 Thermocouple Input Option Module (XBO-TC02A) (d) If you click “yes”, U device will be registered automatically. At this time, if there is U device comment inputted previously, the previous comment will be removed. (e) As shown below, the variables are registered. (2) Save variables (a) The contents of ‘View Variable’...
Page 447
XGB Analog edition manual (3) View variables (a) The example program of XG5000 is as shown below (b) Select [View] -> [Variables]. The devices are changed into variables. (c) Select [View] -> [Devices/Variables]. Devices and variables are both displayed 12 - 22...
Page 448
Chapter 12 Thermocouple Input Option Module (XBO-TC02A) (d) Select [View] -> [Device/Comments]. Devices and comments are both displayed. 12 - 23...
XGB Analog edition manual 12.12 Configuration and Function of Internal Memory It describes the configuration and function of internal memory 12.12.1 Data I/O area (U device) (1) Data sent from module to XGB main unit (XGB PLC input area, read only Device assignment Device Signal...
Page 450
Chapter 12 Thermocouple Input Option Module (XBO-TC02A) (2) Writing operation parameters through program (PUT instruction is used.) Remark How to use PUT instruction COMMAND COMMAND PUTP indicates PUT instruction. 는 PUT를 나타냄 [Area setting] Operand Description Data size Slot no. where special module is mounted WORD Internal memory address of special module WORD...
Page 451
XGB Analog edition manual 12.12.2 How to set operation parameter Operation parameter of thermocouple input module can be set by two methods. (1) Setting operation parameters through [I/O parameter setting] window. 12 - 26...
Page 452
Chapter 12 Thermocouple Input Option Module (XBO-TC02A) 12.12.3 Operation parameter setting area It describes operation parameter setting area of thermocouple input module. Memory address Description Setting value Instruction Hex. Dec. Designate a channel to bit0: bit3, 0: stop, 1: run Set sensor type of CH 0 K:0, J:1 Set sensor type of CH 1...
Page 453
XGB Analog edition manual (1) Designating Channel (Address 0) (a) Temperature conversion module Enable/Disable can be set to each channel. (b) By prohibiting a channel not to use from conversion, conversion interval by channels can be shortened. (c) If channel to use is not designated, every channel can not be used. (d) In case of using PUT instruction, temperature conversion module Enable/Disable are as follows.
Page 454
Chapter 12 Thermocouple Input Option Module (XBO-TC02A) (3) Temp. unit setting area (Address 5) (a) Temp. unit (Celsius/ Fahrenheit) of thermocouple input module can be set per channel. (b) In case of PUT instruction, Temp. unit setting area is as follows. bit15 bit14 bit13...
Page 455
XGB Analog edition manual (d) This area shows the same results with count average value setting in I/O parameter setting window. (e) In the I/O parameter setting window, prohibition function is provided not to set value that is out of range. (In case of setting value that is out of range, error message is displayed.) 1) Count-Avr.
Chapter 12 Thermocouple Input Option Module (XBO-TC02A) 12.13 Example Program (1) It describes how to set operation parameter. (2) The initial settings are saved in the internal memory of thermocouple module (3) The following is program example that reads the temp. value of thermocouple input module of slot 1 and check whether disconnection occurs or not.
Page 457
XGB Analog edition manual 12.13.2 Program example using PUT/GET instruction (1) Program example (XBC Type) (a) It writes h0001 at address 0 of slot 1 in order to enable CH0 by using PUT instruction. (b) If module is under normal operation, M0000 is on. U0A.00.F(Module Ready) = On U0A.00.E(Module H/W error) = Off U0A.01.0(CH 0 running) = On...
Page 458
Chapter 12 Thermocouple Input Option Module (XBO-TC02A) (2) Program example (IEC Type) (a) It writes 1 at address 0 of slot 1 in order to enable CH0 by using PUT instruction. (b) If module is under normal operation, %MX0 is on. %UX0.10.15 (Module Ready) = On %UX0.10.14 (Module H/W error) = Off %UX0.10.16 (CH 0 running) = On...
Page 459
XGB Analog edition manual 12.13.3 Example when error occurs (1) Program Example (a) If disconnection error occurs at CH0, U0A.01.4 (CH0 disconnection) is on and M0001 bit is set (b) If disconnection error occurs at CH0, min. value within the range of K type temperature senor is displayed at U01.04.
Chapter 12 Thermocouple Input Option Module (XBO-TC02A) 12.14 Troubleshooting The chapter describes diagnostics and measures in case any trouble occurs during use of thermocouple input module. 12.14.1 Status in case of error You can check whether there is error or not according to the module status. Module H/W error Items Normal...
Page 461
XGB Analog edition manual 12.14.3 Troubleshooting Temperature conversion value is not normal Installation is correct Install the option board correctly. PE ground is normal Execute PE ground properly referring to user manual Wiring is normal (K,J type thermocouple sensor input wiring) Wire properly referring to user manual Parameter setting is normal.
Chapter 13 Analog Input Module (XBF-AD04C) Chapter 13 Analog Input Module (XBF-AD04C) 13.1 Setting Sequence before Operation Before using the analog input module, follow steps below. XBF-AD04C Checking performance specification Specification(13.2.2 performance specification)) Operating environment Input type and range ...
(15G) • Duration: 11ms 6 Shock resistance IEC61131-2 • Half-sine, 3 times each direction per each axis AC: ± 1,500V Square wave LSIS standard DC: ± 900V Impulse noise IEC 61131-2, Electrostatic Voltage : 4kV (contact discharging) IEC 61000-4- discharge...
Page 464
Chapter 13 Analog Input Module (XBF-AD04C) 13.2.2 Performance specifications Performance specifications are as follows. Items Performance specification Number of channels 4 channels Type Voltage Current DC 1 ~ 5V DC 0 ~ 5V DC 4 ~ 20mA DC 0 ~ 20mA DC 0 ~ 10V (Input resistance: 250 Ω) DC -10 ~ 10V...
Page 465
XGB Analog edition manual Remark 1) To use the analog input module (14 Bit), It needs the basic unit more than below table. Segment Version XBM-DxxxS Type V3.30 or above XBC-DxxxH Type V2.20 or above XBC-DxxxSU Type V1.30 or above XBC-DxxxS Type V1.20 or above XEC-DxxxH Type...
Chapter 13 Analog Input Module (XBF-AD04C) 13.3 Name of each Part and Functions Respective designations of the parts are as described below. XBF-AD04C ① ④ COM0 COM1 ② COM2 COM3 ③ DC24V -10~10V 0~20mA XBF-AD04C Name Description ▶ Displays the operation status of module On: Operation normal ①...
XGB Analog edition manual 13.4 Characteristic of I/O Conversion Voltage/Current input ranges are able to set from each channel by using user program or I/O parameter. Data output type of digital is defined as below. (1) Unsigned Value (2) Signed Value (3) Precise Value (4) Percentile Value Analog input applicable...
Page 468
Chapter 13 Analog Input Module (XBF-AD04C) (3) DC 1 ~ 5V Input range Analog input voltage (V) Digital output range 0.952 5.047 Unsigned Value -192 4,000 8,000 12,000 16,000 16,191 (-192 ~ 16,191) Signed Value -8,192 -8,000 -4,000 4,000 8,000 8,191 (-8,192 ~ 8,191) Precise Value...
XGB Analog edition manual 13.5 Accuracy Accuracy of digital output value does not changed even if input range is changed. Figure below shows the range of the accuracy with analog input range of 0 ~ 10 V and digital output type of unsigned value selected.
Chapter 13 Analog Input Module (XBF-AD04C) 13.6 Functions of Analog Input Module Functions of XBF-AD04C conversion module are as described below. Function Description ● Specify Run/Stop of the channel to execute A/D conversion. Channel Run/Stop ● If the unused channel is set to Stop, whole Run time can be reduced. setting ●...
Page 471
XGB Analog edition manual 13.6.2 Filter processing Pre-filter input value and specified channel are calculated as below. × × × Filtered Input Value Filter Constant Current Input Value Number used channels Filtered Value × Filter Constant Number used channels Setting range of Filter constant = 4 ~ 64,000 [ms] Input Input value after filtering value...
Page 472
Chapter 13 Analog Input Module (XBF-AD04C) 13.6.3 Average processing Time average Input value of specified channel accumulates during setting time and then the average value of the sum is shown with digital data. Input value after average processing 평균처리후 입력값 실제...
Page 473
XGB Analog edition manual Notes (1) In case of the time/number of average, every conversion time input value is not outputted. And precondition is retained until the average time/number is arrived. (2) Two kinds of average functions and introduced filtering functions that are above are able to deal with at the same time.
Page 474
Chapter 13 Analog Input Module (XBF-AD04C) 13.6.4 Detecting disconnection wire In case that Input voltage(DC 1~5V) or Input current (DC 4~20 mA) is chosen with analog input range, the analog input module has diagnostic function by checking disconnection and showing. If the module shows disconnection, that means the parts of connections in the wiring connection are faulty.
Page 475
XGB Analog edition manual 13.6.5 Function retaining valid conversion value When the valid signal is out of the range, the last converted valid input value is retained. The function retaining valid conversion value is able to designate for each channel by user program and I/O parameter setting.
Page 476
Chapter 13 Analog Input Module (XBF-AD04C) 13.6.6 Alarm function When the input signal is exceeded from valid value, the alarm will be shown through alarm flag of relevant channel. Input detection function Detection condition for each input signal range is as below. Analog input Permission Difference...
XGB Analog edition manual 13.7 Installation and Wiring 13.7.1 Installation and separation of module Notices in handling Use the PLC within general specification ranges from instructions. When the PLC is used out of the specified ranges, it will cause burning, getting electric shock, abnormal operation.
Page 478
Chapter 13 Analog Input Module (XBF-AD04C) (2) Separation of module • Divide connections by lifting hook for module fixing in the upward part and downward part. • Separate modules by holding modules with both hands. (Do not hold strongly in the module.) Hook for module separating Caution...
Page 479
XGB Analog edition manual 13.7.2 Notices in wiring (1) Do not put the power line near the external I/O signal line of analog input module. You have to secure enough distance to avoid the interruption from the induced noise and the surge. (2) The wire has to select by considering permitted current and the ambient temperature.
Page 480
Chapter 13 Analog Input Module (XBF-AD04C) b) Current wiring XBF-AD04C COM0 COM1 CH0+ CH0 - COM0 COM2 CH1+ CH1 - COM1 CH2+ CH2 - COM2 COM3 CH3+ CH3 - COM3 DC24V+ DC24V DC24V- DC Power (For analog module) -10~10V 0~20mA XBF-AD04C ※...
Page 481
XGB Analog edition manual (7) The example of analog input 4-Wire sensor/transmitter wiring(The current input) Use the I+ and COM terminal after connecting V+ with I+ terminal. XBF-AD04C 4- Wire Transmitter COM0 4- Wire Transmitter COM1 CH0+ CH0 - COM0 4- Wire Transmitter COM2...
Page 482
Chapter 13 Analog Input Module (XBF-AD04C) (8) Relationship between voltage input accuracy and wiring length In voltage input, the wiring (cable) length between transmitter or sensor and module has an effect on digital-converted values of the module as specified below; Load The analog input(voltage) Where,...
XGB Analog edition manual 13.8 Operation Parameter Setting A/D conversion module’s operation parameters can be specified through XG5000’s [I/O parameters]. (1) Settings For the user’s convenience of A/D conversion module, XG5000 provides GUI (Graphical User Interface) for parameters setting of A/D conversion module. Setting items available through [I/O parameters] on the XG5000 project window are as described below in the table.
Page 484
Chapter 13 Analog Input Module (XBF-AD04C) (3) [I/O Parameter setting] On the 'I/O parameters setting’ screen, find and click the slot equipped with analog input module. (4) Click the arrow button on the screen above to display the screen where an applicable module can be selected.
Page 485
XGB Analog edition manual (6) A screen will be displayed for you to specify parameters for respective channels as below. Click a desired item to display parameters to set for respective items. 13 - 24...
Chapter 13 Analog Input Module (XBF-AD04C) 13.9 Special Module Monitoring Functions Functions of Special Module Monitoring are as described below. 1) Start of [Special Module Monitoring] Go through [Online] [Connect] and [Monitor] [Special module Monitoring] to start. If the status is not online, [Special Module Monitoring] menu will not be activated.
Page 487
XGB Analog edition manual (2) Select “Special Module” and click [Module information] to display the information as below. (3) Click [Monitor] on the “Special Module” screen in [Special Module List] to display [Special Module Monitoring] screen as below. 13 - 26...
Page 488
Chapter 13 Analog Input Module (XBF-AD04C) (4) Start Monitoring: Click [Start Monitoring] to show digital input data of current operated channel. When the channel is operating you can see the painting through monitor. Monitoring CH0 details Execution screen of [Start Monitoring] (5) Test: [Test] is a function to change the parameter of the analog input module which is presently set.
Page 489
XGB Analog edition manual (6) Max/Min Value Monitor Max/Min value of input channel in operation can be monitored. However, visible Max/Min values are based on present value. So Max/Min value is not saved when [Monitoring/Test Screen] is closed. Monitoring of Max/Min value Reset of Max/Min value [Max/Min Value Monitor] execution screen (7) Close...
Chapter 13 Analog Input Module (XBF-AD04C) 13.10 Register U Devices Register the variables for each module referring to the special module information that is set in the I/O parameter. The user can modify the variables and comments. 1) Procedure (1) Select the special module type in the [I/O Parameter Setting] window. (2) Double click ‘Variable/Comment’...
Page 491
XGB Analog edition manual (4) Click ‘Yes’ (5) As shown below, the variables are registered. 13 - 30...
Page 492
Chapter 13 Analog Input Module (XBF-AD04C) (6) For IEC type, as shown below, the variables are registered. 2) Save variables (1) The contents of ‘View Variable’ can be saved as a text file. (2) Select [Edit] -> [Export to File]. (3) The contents of ‘View variable’...
Page 493
XGB Analog edition manual 3) View variables The example of XBC type is as follows. (1) The example program of XG5000 is as shown below. (2) Select [View] -> [Variables]. The devices are changed into variables. (3) Select [View] -> [Devices/Variables]. Devices and variables are both displayed. 13 - 32...
Page 494
Chapter 13 Analog Input Module (XBF-AD04C) (4) Select [View] -> [Device/Comments]. Devices and comments are both displayed. 13 - 33...
Page 495
XGB Analog edition manual (5) Select [View] -> [Variables/Comments]. Variables and comments are both displayed. 13 - 34...
Page 496
Chapter 13 Analog Input Module (XBF-AD04C) (6) In case of IEC, you can see variables with diverse option at ‘View’ menu like (1)~(5). The following is example selecting ‘View Variable/Comment’ at IEC type. 13 - 35...
XGB Analog edition manual 13.11 Configuration and Function of Internal Memory A/D conversion module has the internal memory to transmit/receive data to/from PLC CPU. 13.11.1 I/O area of A/D converted data I/O area of A/D converted data is as displayed in table. Device assigned Direction Details...
Page 498
Chapter 13 Analog Input Module (XBF-AD04C) 1) Module Ready/Error flag ( ‘( )’ means the case of IEC type, y: slot number) (1) U0y.00.F(%UX0.y.15) : It will be ON when PLC CPU is powered or reset with A/D conversion ready to process A/D conversion. (2) U0y.00.0(%UX0.y.0) : It is a flag to display the error status of A/D conversion module.
Page 499
XGB Analog edition manual 4) Input disconnection flag (( ) means the case of IEC type, y: slot number) The area where the input disconnection detection signal of each channel is saved. U0y.10.0 ~ U0y.10.3 (%UX0.y.160 ~ %UX0.y.163) ※ XGB PLC’s base number is 0. Bit 15 Bit 14 Bit 13...
Page 500
Chapter 13 Analog Input Module (XBF-AD04C) 13.11.2 Operation parameters setting area Setting area of A/D conversion module’s Run parameters is as described in Table. Memory Descriptions Details Remark address Bit 0 ~ Bit 3 Specify channel to use 0: Stop, 1: Run Input range setting (4 Bits) 0000 : 4 ~ 20㎃...
Page 501
XGB Analog edition manual Setting operation channels If the channel to use is not specified, all the channels will be set to Prohibited. Bit 15 Bit 14 Bit 13 Bit 12 Bit 11 Bit 10 Bit 9 Bit 8 Bit 7 Bit 6 Bit 5 Bit 4...
Page 502
Chapter 13 Analog Input Module (XBF-AD04C) 4) Setting filter constant (1) When the filter constant is specified with 0, the filter will not be operated. (2) If the filter constant is not specified with anything, it can't filter and it will be handled in 0. Bit 15 Bit 14 Bit 13...
Page 503
XGB Analog edition manual 7) Maintaining valid conversion value (1) In case that retaining valid conversion value is set at the same time, if the invalid value is come, the late valid value will only be retained. For example, firstly, it is operated with 4 ~20mA.
Chapter 13 Analog Input Module (XBF-AD04C) 13.12 Example Program (1) Setting of operation parameter of analog input module is explained. (2) The initial setting condition is saved in internal memory of the analog input module by inputting once. (3) As below, these example programs are that the analog input modules of the slot No. 1 control the output data of the analog input module and detect whether wire is disconnect.
Page 505
XGB Analog edition manual 2) Example program (1) The 'M0000' is on while the module normally operates. U01.00.0(Module Error) = Off U01.00.F(Module Ready) = On U01.01.0(CH0 Run) = On U01.01.8(CH0 Error) = Off (2) When the 'M0000' is on, conversion value (U01.02) of CH0 is moved to the 'D00100'. (3) If the error is caused on CH0, U01.10.0 Bit(CH0 disconnection) and the M00001 will be on.
Chapter 13 Analog Input Module (XBF-AD04C) 13.13 Breakdown test Explain the test and measure method of breakdown while using the analog input module. 13.13.1 Checking the LED status in case of error The analog input module has a LED and is able to check whether there is error of the module through the sign of LED.
Page 507
XGB Analog edition manual 13.13.3 Check and Measure the breakdown 1) The LED is turned off. The LED is turned off. The analog module is installed on correct position. Install the analog module correctly. I/O information is shown in XG5000 software.
Page 508
Chapter 13 Analog Input Module (XBF-AD04C) 3) The analog input value is abnormal. The analog input value is abnormal. The external DC24V is normal. Supply input power source of external DC24V. PE ground is normal. Modify PE ground correctly by referring wiring method from instructions.
Chapter14 Analog Output Module (XBF-DV04C/XBF-DC04C) Chapter 14 Analog Output Module (XBF-DV04C/XBF-DC04C) 14.1 Setting Sequence before Operation Before using the analog input module, follow steps below. XBF-DV04C / XBF-DC04C Checking performance specification Specification(14.2.2 performance specification) Operating environment Output type and range ...
(15G) • Duration: 11ms 6 Shock resistance IEC61131-2 • Half-sine, 3 times each direction per each axis AC: ± 1,500V Square wave LSIS standard Impulse noise DC: ± 900V IEC 61131-2, Electrostatic Voltage : 4kV (contact discharging) IEC 61000-4- discharge...
Page 511
Chapter14 Analog Output Module (XBF-DV04C/XBF-DC04C) 14.2.2 Performance specifications Performance specifications are as follows. Performance specification Items XBF-DV04C XBF-DC04C Channels 4 channels Type Voltage Current DC 1 ~ 5V DC 0 ~ 5V DC 4 ~ 20㎃ Analog DC 0 ~ 10V DC 0 ~ 20㎃...
Page 512
XGB Analog edition manual Remark 1) To use the analog input module (14 Bit), It needs the basic unit more than below table. Segment Version XBM-DxxxS Type V3.30 or above XBC-DxxxH Type V2.20 or above XBC-DxxxSU Type V1.30 or above XBC-DxxxS Type V1.20 or above XEC-DxxxH Type...
Chapter14 Analog Output Module (XBF-DV04C/XBF-DC04C) 14.3 Name of each Part and Functions Respective designations of the parts are as described below. XBF-DV04C XBF-DC04C ① ① ④ ④ ② ② ③ ③ XBF-DV04C XBF-DC04C Name Description ▶ Displays the operation status of analog output module On: Normal operation RUN LED ①...
XGB Analog edition manual 14.4 Conversion Characteristic of each Output Range The output conversion characteristic is described by graphs as follows after changing digital input set from XBG basic unit to analog output (Voltage, Current). In the digital input range, there are four kinds of value. Those are unsigned value, signed value, precise value, percentile value.
Page 515
Chapter14 Analog Output Module (XBF-DV04C/XBF-DC04C) (3) DC 0 ~ 10V Output range Analog output voltage (V) Digital input -0.12 10.119 Unsigned value -192 4,000 8,000 12,000 16,000 16,191 (-192 ~ 16,191) Signed value -8,192 -8,000 -4,000 4,000 8,000 8,191 (-8,192 ~ 8,191) Precise value -120 2,500...
Page 516
XGB Analog edition manual 2) Conversion characteristic of analog output module (XBF-DC04C: Current) Gain value 20.192 20.24 20mA 20mA 16mA 15mA Analog output 12mA 10mA value 3.808 Offset value 8000 16000 Unsigned value -191 16191 Digital -8000 8000 Signed value -8192 8191 input value...
Chapter14 Analog Output Module (XBF-DV04C/XBF-DC04C) 14.5 Accuracy Accuracy of digital output value does not changed even if input range is changed. When digital input ℃) range is selected with unsigned value, accuracy is ±0.2% (Ambient temperature of 25 ± 5 10.02V 10.04V 5.01V...
XGB Analog edition manual 14.6 Functions of Analog Output Module Functions of XBF-DV04C / DC04C conversion module are as described below. Function Description ● Specify Run/Stop of channel to execute analog output. Channel ● If the unused channel is set with Stop, whole operation time can be shorter. Run/Stop setting ●...
Page 519
Chapter14 Analog Output Module (XBF-DV04C/XBF-DC04C) 14.6.2 Interpolation method setting 1) Functions The output signal of module is used in order to execute interpolation output depending on set interpolation time. When the voltage and current is outputted, it can be used to prevent transient response of load system as a suddenly changed output.
Page 520
XGB Analog edition manual 4) Interpolation output value The interpolation operation value that is currently being outputted can check in parameter area (Address No. 17 ~ 20) while using interpolation function. Address of interpolation output value Details No.17 Channel 0 interpolation operation value No.18 Channel 1 interpolation operation value No.19...
Page 521
Chapter14 Analog Output Module (XBF-DV04C/XBF-DC04C) 14.6.3 Disconnection detecting function (Only for current output module XBF-DC04C) If the analog current output module detects disconnection of output, it can show the status of module. In case that the module checks the disconnection and it is shown as the disconnection status, there are faulty in parts of wiring connection paths.
XGB Analog edition manual 14.7 Installation and Wiring 14.7.1 Installation and separation of module Notices in handling Use the PLC within general specification ranges from instructions. When the PLC is used out of the specified ranges, it will cause burning, getting electric shock, abnormal operation.
Page 523
Chapter14 Analog Output Module (XBF-DV04C/XBF-DC04C) (2) Separation of module • Divide connections by lifting hook for module fixing in the upward part and downward part. • Separate modules by holding modules with both hands. (Do not hold strongly in the module.) Hook for module separating Caution...
Page 524
XGB Analog edition manual 14.7.2 Notices in wiring (1) Do not put the power line near the external I/O signal line of analog input module. You have to secure enough distance to avoid the interruption from the induced noise and the surge. (2) The wire has to select by considering permitted current and the ambient temperature.
Page 525
Chapter14 Analog Output Module (XBF-DV04C/XBF-DC04C) (2) Example for analog current output wiring (XBF-DC04C : Current) Motor-driven devices XBF-DC04C 600Ω or less 600Ω or less 600Ω or less CH0+ CH0- CH1+ CH1- 600Ω CH2+ or less CH2- CH3+ CH3- DC24V+ DC Power DC24V- (For analog module) XBF-DC04C...
XGB Analog edition manual 14.8 Operation Parameter Setting A/D conversion module’s operation parameters can be specified through XG5000’s [I/O parameters]. (1) Settings For the user’s convenience of D/A conversion module, XG5000 provides GUI (Graphical User Interface) for parameters setting of D/A conversion module. Setting items available through [I/O parameters] on the XG5000 project window are as described below in the table.
Page 527
Chapter14 Analog Output Module (XBF-DV04C/XBF-DC04C) (3) [I/O Parameter setting] On the 'I/O parameters setting’ screen, find and click the slot equipped with analog input module. (4) Click the arrow button on the screen above to display the screen where an applicable module can be selected.
Page 528
XGB Analog edition manual (6) A screen will be displayed for you to specify parameters for respective channels as below. Click a desired item to display parameters to set for respective items. 14 - 20...
Chapter14 Analog Output Module (XBF-DV04C/XBF-DC04C) 14.9 Special Module Monitoring Functions You can start to test the analog output module connecting by [Online] [Connect] and then click [Monitor] [Special Module Monitoring] menu in XG5000. 14.9.1 How to use special module monitoring Special module monitoring function is described below based on the analog voltage output module (XGF-DV04C).
Page 530
XGB Analog edition manual (2) Select a special module then click [Module Info.] button to display the information as described below. (3) Click [Monitor] button in the [Special Module List] window to display the [Special Module Monitor] window as below. 14 - 22...
Page 531
Chapter14 Analog Output Module (XBF-DV04C/XBF-DC04C) (4) [Start Monitoring] button will show you digital input data of the operating channel. Monitoring CH0 details Execution screen of [Start Monitoring] (5) [Test] is used to change the parameters of the voltage output module. You can change the parameters when you click the values at the bottom of the screen.
XGB Analog edition manual 14.10 Register U Devices Register the variables for each module referring to the special module information that is set in the I/O parameter. The user can modify the variables and comments. 1) Procedure (1) Select the special module type in the [I/O Parameter Setting] window. (2) Double click ‘Variable/Comment’...
Page 533
Chapter14 Analog Output Module (XBF-DV04C/XBF-DC04C) (4) Click ‘Yes’ (5) As shown below, the variables are registered. (6) For IEC type, as shown below, the variables are registered. 14 - 25...
Page 534
XGB Analog edition manual Save variables (1) The contents of ‘View Variable’ can be saved as a text file. (2) Select [Edit] -> [Export to File]. (3) The contents of ‘View variable’ are saved as a text file. View variables (1) The example of XBC type is as follows.
Page 535
Chapter14 Analog Output Module (XBF-DV04C/XBF-DC04C) (4) Select [View] -> [Device/Comments]. Devices and comments are both displayed (5) In case of IEC-type can also see variety option variables like (1) ~ (4). As shown below, there is an example when 'Variable/Instruction window' is selected in the IEC-type. 14 - 27...
XGB Analog edition manual 14.11 Internal Memory Describes configuration and function of internal memory 14.11.1 Data I/O area Describes data I/O area of analog output module. Device assigned Direction Type Description Details of signal XBM/XBC U0y.00.0 %UX0.y.0 Channel0 Error U0y.00.1 %UX0.y.1 Channel1 Error Parameter setting...
Page 537
Chapter14 Analog Output Module (XBF-DV04C/XBF-DC04C) - In the device assigned, 'y' means slot number equipped with module. - In order to read ‘CH2 conversion value’ of A/D conversion module installed on Slot No.4, it shall be displayed as U04.05. (In case of IEC type %UW0.4.5) Base No Word Separator % U W 0 .
Page 538
XGB Analog edition manual 2) Channel operation information (1) This area shows the channel being used. ※ The base number of XGB PLC is ‘0’. Bit 15 Bit 14 Bit 13 Bit 12 Bit 11 Bit 10 Bit 9 Bit 8 Bit 7 Bit 6 Bit 5...
Page 539
Chapter14 Analog Output Module (XBF-DV04C/XBF-DC04C) 5) Output permission setting (1) The output enable / disable for each channel can be set. (2) When the output permission is not set, the output of all channels will be prohibited. ※ The base number of XGB PLC is ‘0’. Bit 15 Bit 14 Bit 13...
Page 540
XGB Analog edition manual 14.11.2 Operation parameters setting area Setting area of D/A conversion module’s Run parameters is as described in Table. Memory Descriptions Details Remark address Bit 0 ~ Bit 3 Specify channel to use 0: Stop, 1: Operation Output range setting (2Bit) 00 : 1 ~ 5 V (4 ~ 20㎃) Specify voltage output range...
Page 541
Chapter14 Analog Output Module (XBF-DV04C/XBF-DC04C) Notes (1) In case of U0y.00.0~U0y.00.3 and IEC type, %UX0.y.0~%UX0.y.3 turns on and operates as the basic setting value when Inputting except set value in 1, 2, 11 area of memory address. (2) The system area (after No. 22) is prohibited to read/write. If this area is changed, malfunctions or breakdowns will be happened.
Page 542
XGB Analog edition manual 4) Output status setting (1) When the XGB basic unit is stopped, set the analog output status. (2) When the output status setting is not specified, output the previous value. Bit 15 Bit 14 Bit 13 Bit 12 Bit 11 Bit 10...
Page 543
Chapter14 Analog Output Module (XBF-DV04C/XBF-DC04C) 7) Channel error Show the error code of each channel. When two error or more are happened, the high priority of error code will be saved. Bit 15 Bit 14 Bit 13 Bit 12 Bit 11 Bit 10 Bit 9 Bit 8...
XGB Analog edition manual 14.12 Example Program 14.12.1 Analog output program (1) Program example using [I/O Parameter Setting]. Module Ready Channel Digital input data operation information 14 - 36...
Page 545
Chapter14 Analog Output Module (XBF-DV04C/XBF-DC04C) (2) Program example with PUT/GET instruction Operating CH(0,1,2,3) Output Voltage range(1~5) Input data type(0~16000) CH0 Output status (Previous value) CH1 Output status (Min value) CH2 Output status (Mid value) CH3 Output status (Max value) Output Voltage range(1~5) Output Voltage range(1~5) Output Voltage range(1~5) Output Voltage range(1~5)
Page 546
XGB Analog edition manual (4) Program example using PUT/GET instruction in case of IEC type 14 - 38...
Chapter14 Analog Output Module (XBF-DV04C/XBF-DC04C) 14.13 Breakdown Test Explain the test and measure method of breakdown while using the analog input module. 14.13.1 Checking the LED status in case of error The analog input module has a LED and is able to check whether there is error of the module through the sign of LED.
Page 548
XGB Analog edition manual 14.13.3 Check and Measure the breakdown RUN LED is turned off RUN LED is turned off. The analog module is installed on correct position. Install the analog module correctly. I/O information is shown in XG5000 software. Call our near agency or A/S center.
Page 549
Chapter14 Analog Output Module (XBF-DV04C/XBF-DC04C) (3) The analog output value is abnormal. The analog output value is abnormal. The external DC24V is normal. Supply input power source of external DC24V. The wiring of each channel is normal. Refer wiring method from instructions. The parameter setting is normal.
Chapter 15 PID Function (Built-in function) Chapter 15 PID Function (Built-in function) 15. 1General 15.1.1 General Here describes built-in PID (Proportional Integral Derivative) function. When there is plant (target of control), Control means that the user changes the status such as velocity, temperature, position, voltage, current etc. as the user wishes.
Page 551
XGB Analog edition manual 15.1.2 Features The built-in PID control functions of XGB series feature as follows. (1) Since operations are executed within CPU part, it can be controlled by PID parameters and PLC program without PID module. (2) A variety of controls can be selected ▪...
Chapter 15 PID Function (Built-in function) 15.2 PID Control 15.2.1 Basic theory of PID control Here describes basic theory of PID control and how to configure PID control. (1) Terms Terms used in this user manual are as follows. ▪ PV: status of plant detected by sensor (Process value) ▪...
Page 553
XGB Analog edition manual At this system, we assume that the PID parameter is specified as shown below to describe the PID control operation. Items Value Items Value Output temperature of Proportional coefficient 0℃ heating system (PV) Target temperature (SV) 50℃...
Page 554
Chapter 15 PID Function (Built-in function) Max. overshoot Offset < Figure 15.2 simulation of proportional control > (b) Concerning the result of simulation, it has the maximum overshoot of about 23.4℃ at 0.62s and after 7s, it converges at 48.49℃ with offset of 1.51℃ (about 3%). (c) Offset is an unavoidable error when only P control is executed.
Page 555
XGB Analog edition manual < Figure 15.3 Temperature- time graph according to P coefficient > (c) Considering table 15.3, as P coefficient decreases, offset increases but overshoot decreases. (d) Generally, offset can’t be solved with only P control. In order to remove the offset, P control and I control is used together.
Page 556
Chapter 15 PID Function (Built-in function) Target Proportional Integral Time P Control PI Control temp. coefficient time 46.96 49.70 47.12 50.38 47.03 49.76 47.07 50.14 47.06 49.94 47.06 50.02 47.06 49.99 47.06 50.00 47.06 50.00 47.06 50.00 47.06 50.00 < Table 15.4 Temp.- time table > (d) Considering table 15.4 and Figure 15.4, if P and I control is used together, offset is removed and temp.
Page 557
XGB Analog edition manual < Figure 15.5 overshoot according to integral time > (f) Like this, if I control is used, overshoot is larger. According to system, large overshoot can be problem. In order to solve this, PID control is used. (5) Proportional integral derivative control (PID control) In D control, when status of system changes rapidly, D control yields the output to reduce the error.
Page 558
Chapter 15 PID Function (Built-in function) Target Proportional Integral Derivative Time temp. coefficient time time Control Control 74.41 55.50 40.63 56.33 52.99 52.50 49.67 50.92 49.70 50.34 50.38 50.12 49.76 50.05 50.14 50.02 49.94 50.01 50.02 50.00 49.99 50.00 50.00 50.00 50.00 50.00...
Page 559
XGB Analog edition manual 15.2.2 Functional specifications of PID control (1) Functional Specifications The performance specifications of the built-in PID control function in XGB series are summarized in the below table. Item Specifications No. of loops 16 Loop Proportional Real number (0 ~ 3.40282347e+38) Scope of constant(P) setting...
Page 560
Chapter 15 PID Function (Built-in function) 15.2.3 PID control parameter setting To use the built-in PID control function of XGB series, it is necessary to set PID control parameters by loops in the parameter window and operate it though the commands. Here, it explains parameters to use PID control functions and how to set them.
Page 561
XGB Analog edition manual (c) Input items The items to set in the built-in PID function parameter window and the available scope of them are summarized in below table. Items Description Scope Auto/manual RUN mode Set the operation mode of PID control. operation RUN direction Set the operation direction of PID control.
Page 562
Chapter 15 PID Function (Built-in function) ) Description of Setting of PID Parameters (a) Operation mode It is the mode to set the operation for PID control of a loop in question. The available scope is automatic operation or manual operation. If automatic operation is selected, it outputs the PID control result internally operated by the input PID control parameter as the maneuver value while if manual operation is selected, it outputs the value input to the manual maneuver value parameter without PID operation...
Page 563
XGB Analog edition manual (d) PWM Output Enabled PWM output means an output method to turn a junction on – off with a duty proportional to control output calculated by a uniform output cycle. If PWM output is enabled, it realizes PWM output in accordance with PWM output cycle set in the parameter of PWM output junction(P20 ~ P3F) designated in the parameter.
Page 564
Chapter 15 PID Function (Built-in function) (i) Differential time It sets the differential time of PID loop in question (Td). As larger the differential time, the differential operation is getting stronger. The scope is real number at the unit of second. (j) Limiting change of present value It sets the limit of change in present value of PID loop in question.
Page 565
XGB Analog edition manual DeadBand [ Figure 15.11 Example of DeadBand setting ] If setting deadband as in the figure, the PID control built in XGB may regard the error between PV and set value as 0 as long as PV is within the available scope of deadband from set value. That is, in this case, the change of MV is reduced.
Page 566
Chapter 15 PID Function (Built-in function) (r) PV Follow-up setting It is intended to prevent any excessive operation of a drive resulting from sudden change of output at the initial control and changes SV gradually from PV at the time when PID operation starts, not directly to SV in case control just turns from stop to operation mode or it changes from manual to automatic operation.
Page 567
XGB Analog edition manual 15.2.4 PID flag The parameter set by the XGB series built-in PID control function is saved into the flash memory of the basic unit. Such parameters are moved to K area for the built-in PID function as soon as PLC turns from STOP to RUN mode.
Page 568
Chapter 15 PID Function (Built-in function) Data Loop K area IEC type Symbol Default Description type K1230 %KW1230 _PID00_PV_old PID PV of previous cycle K1231 %KW1231 _PID00_MV PID MV K1232 %KD616 _PID00_ERR DINT PID control error PID MV proportional value K1234 %KD617 _PID00_MV_p...
Page 569
XGB Analog edition manual 2) PID flag function Each function of K area flags for XGB series built-in PID control function is summarized as follows. (a) Common bit area The area is a flag collecting operation setting and information consisting of bits to each 16 loop. Each bit of each word device represents the information of each loop.
Page 570
Chapter 15 PID Function (Built-in function) 5) _PID_REM_RUN (PID remote operation setting) IEC type Flag name Address Unit Setting address _PID_REM_RUN K1204n %KX19264 + n Available (PID remote run setting) GB series built-in PID function can be started by both run from command’s start junction and remote run bit setting.
Page 571
XGB Analog edition manual occurs, the error code is indicated in the error code area of a loop. For more information about type of error codes and measures, refer to 15.5. In the area as monitoring area, it is changed to the current run status by PLC although a user enters any value temporarily.
Page 572
Chapter 15 PID Function (Built-in function) 5) _PIDxx_T_d (PID xx Loop differential time) Flag name Address IEC type address Unit Scope _PIDxx_T_d K1222+16*xx %KD611+20*xx REAL Real number (PID xx Loop differential time) It sets/indicates differential time of PID control of ‘xx’ th loop. The available scope is real number.
Page 573
XGB Analog edition manual 11) _PIDxx_MV (Control MV) Flag name Address IEC type address Unit Scope _PIDxx_MV (control MV) K1231+16*xx %KW1231+16*xx Unavailable The area shows the MV of ‘xx’ th PID control loop. As the area in which XGB built-in PID operation result is output every PID control cycle, it delivers the value in the area to U device every scanning by using commands like MOV in the program and outputs to D/A output module, operating a drive.
Page 574
Chapter 15 PID Function (Built-in function) 16) _PIDxx_PWM (PWM output junction setting) Flag name Address IEC type address Unit Scope _PID00_PWM H’20 ~ H’3F K1242+16*xx %KW1242+16*xx WORD (PWM output junction setting) It sets the junction to which PWM output of ‘xx’ th loop is output. PWM output junction is valid only between H’20 ~ H’3F.
Page 575
XGB Analog edition manual 22) _PIDxx_ERR_CODE (Error code) Flag name Address IEC type address Unit Scope _PIDxx_ERR_CODE K1249+16*xx %KW1249+16*xx WORD Unavailable (error code) It indicates error code if an error occurs during ‘xx’ th loop run. The flag, as a dedicated monitoring, is updated although a user directly enters it.
Chapter 15 PID Function (Built-in function) 15.3 PID Instructions It describes PID control commands used in XGB series. The command type of PID control used in XGB series built-in PID control is 4. (1) PIDRUN PIDRUN is used to execute PID control by loops. - Operand S means the loop no.
Page 577
XGB Analog edition manual Indication contents of PID STATE Item Indication Flag name Contents Current value exceeds range of maximum, minimum 16#0001 PV_MIN_MAX_ALM value PID_SCANTIME_AL 16#0002 Operation cycle is too short. Variation of current value of this PID cycle exceeds the 16#0003 PID_dPV_WARN current value variation limit.
Page 578
Chapter 15 PID Function (Built-in function) (2) PIDCAS PIDCAS is a command to execute CASCADE control. - Operand M and S mean master loop and slave loop respecively and available only for constant(0~15). - If start junction is on, cascade control is executed through master loop and slave loop. - In case of IEC type, PIDCAS function block is used for cascade control.
Page 579
XGB Analog edition manual (3) PIDHBD PIDHBD is a command to execute the mixed forward/reverse E control. - Operand F and R represent forward operation loop and reverse operation loop and available only for constant(0~15). - If start junction is on, it starts the mixed forward/reverse operation from the designated forward/reverse loops.
Page 580
Chapter 15 PID Function (Built-in function) [Figure 15.14 Conversion of RUN direction in the mixed forward/reverse control] (c) At the moment, every control parameter uses the parameter of a loop set for forward operation while MV is output to MV output area of a loop of forward operation. Reversely, every control parameter uses the parameter of a loop set for reverse operation during reverse operation run while MV is also output to MV output area of reverse operation loop.
Page 581
XGB Analog edition manual - In case of IEC type, APM_WRT funcion block is used. 15 - 32...
Chapter 15 PID Function (Built-in function) 15.4 PID Auto-tuning 15.4.1 Basic theory of PID auto-tuning It describes the function of PID auto-tuning. The performance of PID controller is very different according to P, I, D coefficient. Generally, It is very difficult and takes long time to predict the system and set P, I, D coefficient because of non-periodical disturbance, interference of other control loop, dynamic characteristic of control system though the engineer is good at handling the PID controller.
Page 583
XGB Analog edition manual 15.4.2 PID Auto-Tuning function specifications The specifications of the XGB series built-in PID auto-tuning function are summarized as in Table. Item Specifications Scope of SV INT (-32,768 ~ 32,767) Scope of PV INT (-32,768 ~ 32,767) Scope of MV INT (-32,768 ~ 32,767) Normal: error flag off...
Page 584
Chapter 15 PID Function (Built-in function) (b) If selecting auto-tuning, it shows the parameter setting window as seen in Figure 15.17. <Figure 15.17 Built-in auto-tuning function parameter setting window> (c) Input items Table shows the items to set in auto-tuning parameter window and the available scopes. Items Description Scope...
Page 585
XGB Analog edition manual (b) PWM output enable PWM output means an output method to turn a junction on – off with a duty proportional to control output calculated by a uniform output cycle. If PWM output is enabled, it realizes PWM output in accordance with PWM output cycle set in the parameter of PWM output junction (P20 ~ P3F, in case of IEC type, %QX0.0.0~%QX0.0.15) designated in the parameter.
Page 586
Chapter 15 PID Function (Built-in function) 15.4.4 Auto-tuning flag The parameters set in the XGB series auto-tuning function are saved to the flash memory of basic unit. Such parameters are moved to K area for auto-tuning function as soon as PLC enters to RUN mode from STOP.
Page 587
XGB Analog edition manual (2) Auto-tuning flag function Each function of K area flags for XGB series auto-tuning is summarized as follows. A) Common bit area The area is a flag collecting operation setting and information consisting of bits to each 16 loop. Each bit of each word device represents the information of each loop.
Page 588
Chapter 15 PID Function (Built-in function) 2) _ATxx_T_s (Auto-tuning xx Loop operation cycle) Flag name Address IEC type address Unit Scope _PIDxx_T_s K1861+16*xx %KW1861+16*xx WORD 100 ~ 65,535 (Auto-tuning xx Loop operation cycle) It sets/indicates the operation cycle of ‘xx’ th loop auto-tuning. The available scope is 100 ~ 65,535.
Page 589
XGB Analog edition manual 8) _ATxx_ERR_CODE (Error code) Flag name Address IEC type address Unit Scope _ATxx_ERR_CODE K1868+16*xx %KW1868+16*xx WORD Unavailable (Error code) It indicates error code in case an error occurs during the auto-tuning of ‘xx’th loop. The flag, as a dedicated monitor, is updated although a user directly enters it.
Page 590
Chapter 15 PID Function (Built-in function) 15.4.5 Auto-tuning instructions The commands used in XGB series auto-tuning are as follows. 1) PIDAT PIDAT is a command to execute auto-tuning by loops. - Operand S means the loop no. to execute auto-tuning and avaiable only for constant(0~15). - If start junction is on, the PID control of a loop starts.
It functions as receiving PV of an object to control from a water level sensor and delivering it to basic unit. XBF-AD04A is a 4CH analog input module and settings of analog input types and scopes can be changed in the I/O parameter setting window appeared when selecting I/O parameter in the parameter item of project window.
Page 592
PWM output: disabled - In the example, auto-tuning using PWM is not executed. Therefore, PWM output is set as disabled. SV: 1000(2.5V) - It shows an example in which XBF-AD04A is set as the voltage input of 0~10V. 15 - 43...
Page 593
RUN CH: CH0 RUN - The example receives the water level sensor input as CH0. Input scope: 0 ~ 10V - Set XBF-AD04A input scope as 0 ~ 10V so that it should be identical with the output 15 - 44...
Page 594
Chapter 15 PID Function (Built-in function) scope of water level sensor. Output data type: 0 ~ 4000 - It converts the input 0 ~ 10V to digital value from 0 ~ 4000 and delivers it to basic unit. - In the case, the resolving power of digital value 1 is 10/4000 = 2.5mV ...
Page 595
XGB Analog edition manual 4) Example of PID Auto-tuning program The example of PID auto-tuning program is illustrated as Figure 15.21. < Figure 15.21 Auto-tuning example program > (a) Devices used Device Data type Application F0099 It is always on, so it readily operates once PLC is RUN. U01.01.0 It starts operation of CH0 of Slot 1 A/D input module.
Page 596
Chapter 15 PID Function (Built-in function) 5) If auto-tuning is complete or there is any error during auto-tuning, M0001 junction is set, blocking operation of PIDAT command and it outputs min. MV set in parameter to D/A output module. (c) Monitoring and changing PID control variables using K area In XGB series built-in auto-tuning, it can monitor and change RUN status of auto-tuning by using K area allocated as fixed area by loops.
Page 597
XGB Analog edition manual (d) In case of IEC type, example program In case of IEC type, the following program is used. 15 - 48...
Page 598
Chapter 15 PID Function (Built-in function) (5) Observing RUN status by using trend monitor function Since it is possible to monitor the operation status of XGB series built-in auto-tuning graphically, it is useful to monitor the operation status of auto-tuning clearly. (a) If selecting Monitor –...
Page 599
XGB Analog edition manual 15.5.3. Stand-along operation after PID Auto-Tuning Here, with example, it explains how to execute PID control followed by PID auto-tuning. (1) PID auto-tuning parameter setting ▪ PID auto-tuning parameters are set as same as examples of 15.4.2 Example of PID Auto- tuning.
Page 600
- In the example, auto-tuning using PWM is not executed. Therefore, PWM output is set as disabled. SV: 1000(2.5V) - It shows an example in which XBF-AD04A is set as the voltage input of 0~10V Operation cycle: 1000 - In the example, it is set that PID control is executed every 100ms.
Page 601
XGB Analog edition manual ) Example of PID control program after PID auto-tuning The program example for PID auto-tuning is illustrated as Figure 15.27. [Figure 15.27 Example program of PID control after auto-tuning] 1) Devices used Device Data type Application F0099 It is always on, so it readily operates once PLC is RUN.
Page 602
Chapter 15 PID Function (Built-in function) 2) Program explanation a) Since F0099 (always on) is ON if PLC is converted form STOP to RUN, CH0 of A/D and D/A starts operating. b) Once M0000 junction is on, the auto-tuning of loop 0 starts. At the moment, PV entered to CH0 is moved to K1875, the PV input device of loop 0 and saved accordingly.
XGB Analog edition manual 15.6 Error/Warning Codes It describes error codes and warning codes of the XGB built-in PID function. The error codes and warning codes that may occur during use of the XGB built-in PID function are summarized as table. If any error or warning occurs, remove potential causes of the error by referring to the tables.
Page 604
Chapter 15 PID Function (Built-in function) 15.6.2. Warning codes Error Indications Measures codes H’0001 PV_MIN_MAX_ALM It occurs when the set PV is beyond the min./max. PV. It occurs when PID operation cycle is too short. It is H’0002 PID_SCANTIME_ALM desirable to set PID operation cycle longer than PLC scan time.
Page 606
Appendix 2 Thermo electromotive force and compensating force Appendix 2 Thermo Electromotive Force and Compensating Cable 2.1 Table of Thermo Electromotive Force Type K unit: ㎶ Temp. Temp. (℃) (℃) unit: ㎶ Type J Temp. Temp. (℃) (℃) Appendix 2 - 1...
Page 607
Appendix 2 Thermo electromotive force and compensating force Type T unit: ㎶ Type R unit : ㎶ Appendix 2 - 2...
Page 608
Appendix 2 Thermo electromotive force and compensating force 2.2 Thermocouple 2.2.1 Common limit and overheat limit Common limit (1) Overheat limit (2) Former symbols Nominal diameter Symbol of materials C C (cf) (mm) 0.65 1.00 1.60 1050 2.30 1100 3.20 1000 1200 0.65...
Page 609
Appendix 2 Thermo electromotive force and compensating force 2.2.2 Allowance by temperature Former symbols (cf) Symbol of materials Temperature Grade Allowance 0 C ~ lower than 1000C 1.5C or 0.4% of temperature measured 2.5C or 0.75% of temperature measured 0.75 0C ~ lower than 1200C 2.5C or 1.5% of temperature measured -200C...
Page 610
Appendix 2 Thermo electromotive force and compensating force 2.3 Compensating Cable 2.3.1 Type and specifications of compensating cable Type of Type of compound Materials Core cabl e ’ s col o r Electric compensating type Temp. Electric thermocouple resistan Operating resistan ce of Sectional ratio by...
Page 611
Appendix 3 Appendix 3 Dimension 1) Dimension of XBF-AD04A Unit: mm 2) Dimension of XBF-DV04A / DV04C Unit: mm Appendix 3- 1...
Page 612
Appendix 3 3) Dimension of XBF-DC04A / DC04B / DC04C Unit: mm XBF-DV04A 4) Dimension of XBF-RD04A / XBF-AD04C Unit: mm XBF-RD04A Appendix 3- 2...
Page 613
Appendix 3 5) Dimension of XBF-TC04S Unit: mm 6) Dimension of XBF-AH04A Unit: mm V↔I XBF-AH04A Appendix 3- 3...
Page 614
Appendix 3 7) Dimension of XBF-AD08A Unit: mm 8) Dimension of XBO-AD02A Unit: mm Appendix 3- 4...
Page 615
Appendix 3 9) Dimension of XBO-DA02A Unit: mm 10) Dimension of XBO-AH02A Unit: mm Appendix 3- 5...
Page 616
Appendix 3 11) Dimension of XBO-RD01A Unit: mm 12) Dimension of XBO-TC02A Unit: mm Appendix 3- 6...
Page 617
3. Since the above warranty is limited to PLC unit only, make sure to use the product considering the safety for system configuration or applications. Environmental Policy LSIS Co., Ltd. supports and observes the environmental policy as below. Environmental Management About Disposal LSIS’...
Page 618
109 First Floor, Park Central, Sector-30, Gurgaon- 122 002, Haryana, India Tel : +0091-124-493-0070 Fax : 91-1244-930-066 E-Mail : hwyim@lsis.com ※ LSIS constantly endeavors to improve its product so that 2015. 07 information in this manual is subject to change without notice.
Need help?
Do you have a question about the XBF-AD04A and is the answer not in the manual?
Questions and answers