LG GLOFA 34F - RD2A Скачать руководство пользователя страница 32

 

Chapter 5.  PROGRAMMING 

 
 

5 - 9 

 

5.3  A Program when Loading the RTD Input Module  onto the Remote I/O Station

 

 

1)  System Configuration 

 

 

 

 

 

 
 

 

 

 
 

 

 
 

 

 
 

 

 

 
 

 

 

2)  Initial Settings 

 

(1)   Specifying the used channel : channel 0 

(2)   Specifying the type of a RTD : Pt 100 
 

 

3)  Descriptions of the Program  

 

(1)  %Q0.1.0 turns on when the temperature value detected at channel 0 is more than or equal to -10

°

(2)  %Q0.1.1 turns on when the temperature value detected at channel 0 is less than  -10

°

C  and more 

than or equal to -20

°

(3)  %Q0.1.2 turns on when the temperature value detected at channel 0 is less than -20

°

 
GM3- 
PA1A   

 

GM3- 
CPUA

 

 

G3L- 
FUEA

 

 

G3Q- 
RY2A

 

 

 

 
GM3- 

PA1A   

 

G3S- 
RBEA

 

 

G3F- 
RD3A

 

 

 

 

Remote 
Station No. 
"0" 

Slot 0 

Содержание GLOFA 34F - RD2A

Страница 1: ...User s Manual LG Programmable Logic Controller G3F RD3A G4F RD2A GLOFA LG Industrial Systems ...

Страница 2: ...ns 2 2 2 3 Names of Parts and Functions 2 3 2 3 1 G3F RD3A 2 3 2 3 2 G4F RD2A 2 4 2 4 RTD Input Module Characteristics 2 5 2 4 1 Temperature Conversion Characteristics 2 5 2 4 2 Conversion Speed 2 5 2 4 3 Accuracy 2 5 2 4 4 Burn out Function 2 6 2 5 Connectio n between a Pt and RTD Input Module 2 7 Chapter 3 INSTALLATION AND WIRING 3 1 Installation 3 1 3 1 1 Installation Ambience 3 1 3 1 2 Handlin...

Страница 3: ... 2 Error Indicated by the Output Variable ALM_CODE in the Array Type Detected Temperature Value Reading Function Block 4 7 Chapter 5 PROGRAMMING 5 1 A Program for Output of the Detected Temperature Value as a BCD Value 5 1 5 2 A Program for Conversing the Detected Temperature Value C into Fahrenheit F and Output as a BCD Value 5 6 5 3 A Program when Loading the RTD Input Module onto the Remote I O...

Страница 4: ...emory GET GETP 7 1 7 1 2 Write to Buffer Memory PUT PUTP 7 2 7 2 Remote 7 3 7 2 1 Read from Buffer Memory RGET 7 3 7 2 2 Write to Buffer Memory RPUT 7 4 Chapter 8 PROGRAMMING 8 1 Basic Program ming 8 1 8 1 1 G3F RD3A 8 1 8 1 2 G4F RD2A 8 2 8 2 Application Programming 8 3 8 2 1 A Program for Output of the Detected Temperature Value as a BCD Value 8 3 8 2 2 A Program for Conversing the Detected Temp...

Страница 5: ...s Not Consistent with The Detected Temperature Value 9 4 9 2 5 RTD Input Module Hardware Defect 9 4 Chapter 10 DIMENSIONS 10 1 G3F RD3A Dimensions 10 1 10 2 G4F RD2A Dimensions 10 2 Appendix1 Standard Resistance Value of Pt RTD A 1 ...

Страница 6: ...input by the Pt Pt100 or JPt100 into a signed 16 bit digital binary data and outputs it 1 1 Features 1 With direct connection of the RTD input module the temperature data C can be converted into a digital value to be processed in the PLC 2 The temperature data C input can be processed to one digit after the point asa digital value 3 One module can be connected to G3F RD3A 8 point or G4F RD2A 4 poi...

Страница 7: ... the CPU module for digital processing Therefore analog value should be converted into a digital value to b e input to the CPU module In addition for external output of analog value digital value of the CPU module should be converted into analog value 1 2 3 Pt This is a sensor that detects temperature as the type of resistance The Pt 100 outputs the resistance value of 100 00 Ω for the temperature...

Страница 8: ... wave impulse noise 1 500 V LGIS Standard Electrostatic discharge Voltage 4 kV contact discharge IEC 61131 2 IEC 1000 4 2 Radiated electromagnetic field 27 500 MHz 10 V m IEC 61131 2 IEC 1000 4 3 Severity Level All Power modules Digital I Os Ue 24 V Digital I Os Ue 24 V Analog I Os interface communication I Os 7 Noise Immunity Fast transient burst noise Voltage 2 kV 1 kV 0 25 kV IEC 61131 2 IEC 10...

Страница 9: ...0 to 16 000 Detected temperature value 2000 to 6000 one digit after point 5 10 Buffermemory Each of three wires at every channel has detection function Accuracy 0 5 full scale Maximum conversion speed 50msperchannel Number of temperature input device points 8 channels per module 4 channels per module Insulationmethod Photo coupler insulation between the input terminal and the PLC power supply non ...

Страница 10: ...1 G3F RD3A The following gives the names and functions of each part of the G3F RD3A No Descriptions RUN LED ℵ It displays the operating status of G3F RD3A module l On Normal Operation l Flickering Error occurred For more information see Chapter 4 1 l Off DC 5V disconnection or the G3F RD3A module error ...

Страница 11: ...wing gives the names and functions of each part of the G4F RD2A RUN LED G4F RD2A module operating status Indication On Normal operation Flickering Error occurred For more information see Section Common 4 1 Off 5 VDC disconnection or G4F RD2A module error ...

Страница 12: ...ally that is one channel is processed and then another channel is processed Processing time 50 ms 5 the number of the used channels Example When three channels are used Processing time 50 ms 5 3 150 ms 2 4 3 Accuracy The accuracy of RTD input module is within 0 5 of all of the measurable temperature range Example When the RTD Pt100 is used the conversion valuesof 100 C and 400 C are as below Measu...

Страница 13: ...nection error code is generated by b and then disconnection error code is generated by A or b sequentially If disconnection is detected simultaneouslyin A and B only disconnection error code is generated by b Connection Method Connection Example Burn out Detection Function Remark 2 wire type 3 wire type 4 wire type No wiring When specified as the enabled channel The burn out detection function is ...

Страница 14: ... be 1 Ω or less or the accuracy shown in the Table 2 2 could not be satisfied Connection Method Connection Example Wire Conditions 2 wiredtype 3 wiredtype 4 wiredtype ℵ wire resistance 10Ω ℑ wire resistance 10Ω ℜ wire resistance 10Ω The difference between the resistance values of the wires ℵ and ℑ 1Ω or less The difference between the resistance values of the wires ℑ and ℜ 1Ω or less The differenc...

Страница 15: ...raps to enter into the PLC Install it on locations that are convenient for operation Make sure that it is not located on the same panel that high voltage equipment located Make sure that the distance from the walls of duct and external equipment be 50 mm or more Be sure to be grounded to locations that have good ambient noise immunity 3 1 2 Handling Precautions From unpacking to installing the RTD...

Страница 16: ...urrent so that surge or induction noise generated from the alternating current could not effect 3 When wiring locating this unit too near from high temperature generating devices or materials or contacting it with the material like oil can cause short circuit and occur damage or disorder 4 When wiring to the terminal block wiring with high pressure wire or power supply wire can occur flow inhibiti...

Страница 17: ...ction Blocks for the RTD Input Module in GMWIN Function blocks can be registered with the following procedure while the GMWIN is running Registering function blocks is only possible when a project is open G4F RD2A 1 Special 4fb RTD2INI RTD2ARD RTD2RD 2 Remote4 4fb RTDR2INI RTDR2RD 3 Remote3 4fb RTDR3INI RTDR3RD Project P Library Insert I G3F RD3A 1 Special 3fb RTD3INI RTD3ARD RTD3RD 2 Remote3 3fb ...

Страница 18: ...he RTD input module is loaded Setting range 0 7 CH BOOL Array Note 1 Run channel enable disable specification Used to enable or disable a channel for run Specify 1 for enabling and 0 for disabling I TYPE BOOL Array Note 1 Specifying the type of RTD for use Used to specify the type of 0 for Pt100 and 1 for JPt100 for each channel 0 Pt100 1 JPt100 DONE BOOL Function block execution complete status 1...

Страница 19: ... block execution For description of errors see GM Section 7 4 ACT BOOL Array Note 1 Run channel status indication area After the reading function block is finished with no error 1 is output if the channel is in normal state But 0 is output for the disabled channels ALM BOOL Array Note 1 Run channel error indication area 1 is outputted when error occurs for each run channel ALM_ CODE USINT Array No...

Страница 20: ...t execution If an error occur 0 is displayed and the operation enters into the stop state STAT USINT Error status indication area Used to output the number of an error when it occurs during reading function block execution For description of errors see GM Section 7 4 ALM BOOL Run channel error indication area 1 is output if error occurs for each run channel TEMP IN T Detected temperature value out...

Страница 21: ...nput module is loaded Setting range 0 3 SLOT USINT Slot location No Used to write the number of the slot where the RTD input module is loaded Setting range 0 7 CH BOOL Array Note 1 Run channel enable disable specification Used to enable or disable a channel for run Specify 1 for enabling and 0 for disabling I TYPE BOOL Array Note 1 Specifying the type of RTD for use Used to specify the type of 0 f...

Страница 22: ... reading function block execution 1 is outputted and the module enter into the stop state 1 remains during the scan where the execution condition is being satisfied and it changes into 0 at the next scan STAT USINT Error status indication area Used to output the number of an error when it occurs during reading function block execution For description of errors see GM Section 7 4 ACT BOOL Array Not...

Страница 23: ...sconnectiondetectedsimultaneously Ο Fix the disconnection between the b terminal RTD input module and the temperature measuring resistor Or FixAandBterminalsdisconnection 19 Local Temperature outside the range at the use channels Ο Correctly specify the type of the temperature measuring resistor or use the temperature within the range 200 0 C 600 0 128 RemotecommunicationsmoduleH Wdefect Ο Ο SeeRe...

Страница 24: ...criptions of the Program The present A D conversion value of the detected temperature value which is detected from the temperature measuring resistor Pt 100 is displayed on the BCD digital display by use of channel 0 of the temperature measuring resistor input module The lamp turns on when the detected temperature value is a negative number and turns off when it is a positive number The lamp turns...

Страница 25: ...perature value read through channel 0 is a negative number and the temperature value of the negative temperature value number is converted into positive In this program The data type of the detected temperature value is integer so that it is converted into a BCD data type to be displayed to the digital BCD value is output Q0 1 0 to Q0 1 19 ...

Страница 26: ...variables 1 specifying channel This denotes 8 channels Select this and this screen appears Select this and this screen appears Channel No Channel enable 1 Channel disable 0 To specify channel enable disable To select the previous channel To select the next channel ...

Страница 27: ...Chapter 5 PROGRAMMING 5 4 1 2 Specifying the type of the RTD Channel No 0 Pt100 1 JPt100 Specify Pt100 or JPt100 ...

Страница 28: ...T CHO_TEMPERATURE VAR INT PT100 VAR ARRAY 0 7 OF BOOL 0 0 0 0 0 0 0 0 RTD_ACTO VAR ARRAY 0 7 OF BOOL RTD_CH VAR ARRAY 0 7 OF BOOL 1 0 0 0 0 0 0 0 RTD_INI VAR FB Instance RTD_RD VAR FB Instance RTD_READY VAR BOOL RTD_STATO VAR USINT RTD_STAT1 VAR USINT Variable Name Var_Kind Data Type AT Address Initial Value ...

Страница 29: ...sented as the real Fahrenheit temperature x 10 the detected temperature x 18 320 be processed into the program 4 Descriptionsof the Program 1 If 10 0 0 turns on then the initialization of the RTD input moduleis executed 2 The detected temperature value is displayed on Q0 2 0 to Q0 2 19 of the BCD digital display when it is negativethe ramp Q0 3 2 turns on 3 The detected temperature value is conver...

Страница 30: ...nel0 The temperature detection is normally finish ed at the RTD input module Turns On when error is detected at the used channel Q0 3 2 turns on when the detected temperature value of centigrade is negative and the negative is converted into positive In this routine the data type of the detected temperature value is integer so that it is covered into BCD data type to be displayed to the digital BC...

Страница 31: ...1 VAR DINT DATAO VAR INT F_DATA VAR INT F_DATA1 VAR INT F_DATA2 VAR INT F_DATA3 VAR INT INTIAL VAR FB Instance PT100 VAR ARRAY 0 7 OF BOOL 0 0 0 0 0 0 0 0 RD_STAT VAR USINT READ VAR FB Instance RTD_CH VAR ARRAY 0 77 OF BOOL 1 0 0 0 0 0 0 0 SCALEO VAR INT STATO VAR USINT Variable Name Var_Kind Data Type AT Address Initial Value ...

Страница 32: ...00 3 Descriptions of the Program 1 Q0 1 0 turns on when the temperature value detected at channel 0 is more than or equal to 10 C 2 Q0 1 1 turns on when the temperature value detected at channel 0 is less than 10 C and more than or equal to 20 C 3 Q0 1 2 turns on when the temperature value detected at channel 0 is less than 20 C GM3 PA1A GM3 CPUA G3L FUEA G3Q RY2A GM3 PA1A G3S RBEA G3F RD3A Remote...

Страница 33: ...Chapter 5 PROGRAMMING 5 10 4 Program The RTD input module RTD input module RTD input module R Slot location No of the RTD input module Base No of the RTD Input module No Specifying the used channel ...

Страница 34: ...ARRAY 0 7 OF BOOL DIGITAL VAR ARRAY 0 7 OF BOOL ERROR0 VAR BOOL ERROR1 VAR BOOL INITIAL VAR FB Instance PT100 VAR ARRAY 0 7 OF BOOL 0 0 0 0 0 0 0 0 READ VAR FB Instance READY VAR BOOL RTD_CH VAR ARRAY 0 7 OF BOOL 0 0 0 0 0 0 0 0 START VAR BOOL STAT0 VAR USINT STAT1 VAR USINT TEMP VAR ARRAY 0 7 OF INT Variable Name Var_Kind Data Type AT Address Initial Value ...

Страница 35: ...r code of channel 3 21 Detected temp value of channel 4 22 Digital conversion value of channel 4 23 Error code of channel 4 24 Detected temp value of channel 5 25 Digital conversion value of channel 5 26 Error code of channel 5 27 Detected temp value of channel 6 28 Digitalconv ersion value of channel 6 29 Error code of channel 6 30 Detected temp value of channel 7 31 Digital conversion value of c...

Страница 36: ...nversion value of channel 3 16 Error code of channel 3 Detected temperature value A value of 10 times of the real temperature is read Digital conversion value Detected temperature value 2000 X 2 When the detected value of temp is used as the current value the value means the converted value which is equal to the input range of the current value from 0 to 16 000 Error code value 16 A disconnection ...

Страница 37: ...ature conversion enable disable of the RTD input module 6 2 2 Specifying the Type of the RTD G3F RD3A Addresses 1 8 G4F RD2A Addresses 1 4 1 Each type of the RTD connected to each channel of the RTD input module can be specified at each channel 2 A channel without its specification of the type of the RTD is specified to Pt 100 as its default 3 The method of the type specification is same on every ...

Страница 38: ...temperature value have the following arithmetic relation Digital conversion value Detected temperature value 2000 X 2 REMARK If a real temperature is 123 4 C then the detected temperature value is 1234 and the digital conversion value is 6468 since the item of the detected temperature value in the expression Detected temperature value 2000 x 2 should be replaced with 1234 4 If the temperature conv...

Страница 39: ...orresponding to each channel is not turned On 1 then the RTD input module executes the temperature conversion not with the new user defined setting data at the address 0 to 8 in the G3F RD3A and at the address 0 to 4 in the G4F RD2A but with the previous setting data 3 The followings show the SET data specification 6 2 7 Information on Run Channel G3F RD3A Address 34 G4F RD2A Address 18 This area ...

Страница 40: ... 1 is set at the addresses Address 1 to 8 in G3F RD3A Address 1 to 4 in G4F RD2A used for specifying the type of the RTD which is connected t o each channel of the RTD input module 2 If error occurs at a channel then the channel runs with Pt 100 as its type of the RTD 3 The following shows indication of error information G3F RD3A G4F RD2A ...

Страница 41: ...read Integer The difference between GET and GETP GET always executed if the execution condition turns On GETP executed if the execution condition is triggered Example 1 In this example the RTD input module is loaded on the slot 3 in the base unit and the data of the buffer memory addresses 9 10 and 11 will be read to the CPU module addresses D9 D10 and D11 RTDinput module address CPU module D area...

Страница 42: ...tten Integer The difference between PUT and PUTP PUT always executed if the execution condition turns On PUTP executed if the execution condition is triggered Example 1 In this example the RTD input module is loaded on the slot 6 in the base unit and the data of CPU module addresses D50 and D51 will be written to the buffermemory addresses 3 and4 RTD input module address CPU module D area buffer m...

Страница 43: ...rd number of data to be read Integer D SS Area used for indicating the status information duringlink M P K L T C D D REMARK If the content is read from the buffer memory of the temperature measuring input module by use of RGET be sure to make the program so that execution conditioncan transitfrom 0 to 1 Rising Edge Otherwise The content in the buffer memory of the temperature measuring input modul...

Страница 44: ... data Integer n Word number of data to be write Integer D SS Area used for indicating the status information duringlink M P K L T C D D REMARK If the content is write to the buffer memory of the RTD input module by use of RPUT be sure to make the program so that executioncondition can transitfrom 0 to 1 Rising Edge Otherwise The content in thebuffer memory of the RTD input module will not be chang...

Страница 45: ... input module The RTD input module is already mounted on the slot 2 The I O point of the RTD inputmoduleare16 8 1 1 G3F RD3A Address of buffer memory Specifying the type of the RTD input module to Pt100 channel 0 to 3 Specifying the type of the RTD input module to JPt100 channel 4 to 7 Reading error information on specification of the type of RTD input module Slot No ...

Страница 46: ...2A Reading error information on specification of the type of RTD input module Specifying the type of the RTD input module to Pt100 channel 0 1 Specifying the type of the RTD input module to JPt100 channel 2 3 Addressof Buffer memory Slot No ...

Страница 47: ...is detected from the RTD Pt 100 by use of channel 0 of the RTD input module is displayed on the BCD digital display If the detected temperature value is negativethen the ramp turns on and If positivethe ramp turns off 4 Program Initializing the RTD input module Specifying the type of the RTD to Pt100 Enabling the SET data of the RTD input module Turning P030 ON If the detected temperature value is...

Страница 48: ...lue 18 320 4 Descriptions of the Program 1 If P0000turns on the RTD input module is initialized 2 The detected temperature value is displayed to P0030 to P0043 of the BCD digital display If the value is negative value the ramp P0052 turns on 3 The detected temperature value is converted to a Fahrenheit temperature value F and displayed to P0060 to P0073 of the BCD digital display If the value is n...

Страница 49: ...SET data of the RTD input module Outputting the detected Temperature value of centigrade Stored at D0 to P030 toP043 after The conversion of it into a BCD value Outputting the detected Temperature value of Fahrenheit stored at D200 to P060 toP073 after The conversion of it into a BCD value ...

Страница 50: ...pe of the RTD Pt 100 3 Descriptions of the Program 1 P0010 turns on if the temperature value detected at channel 0 is more than or equal to 10 C 2 P0011 turns on if the temperature value detected at channel 0 is less than 10 C and more than or equalto 20 C 3 P0012 turns on if the temperature value detected at channel 0 is less than 20 C 0 GM3 PA1A GM3 CPUA G7L FUEA G3Q RY2A GM3 PA1A G3L RBEA G3F R...

Страница 51: ...ted onto the remote station First address of the buffer memory to be written the data Specifying the type of the RTD to Pt100 communication information buffer memory Writing the value stored at D33 to the address 33 of buffer memory buffer memory 10 C 10 C 20 C 20 C Enabling the SET data of the RTD input module ...

Страница 52: ...by the flickering RUN LED of RTD input module a re given below RUN LED Status Descriptions Remark Flickering cycle 0 1 sec WDT error System error Flickering cycle 0 2 sec Internal memory error Flickering cycle 0 6 sec A D conversion error Adisconnectiondetected B disconnection detected b disconnection detected Flickering cycle 1 0 sec Outside the upper or lower boundoftherange The data before erro...

Страница 53: ...tside the range 200 0 C 600 0 C See Section 4 2 RUN LED flickering with 1 sec cycle Yes No See Section 9 2 5 RUN LED off The RTD input module is correctly loaded on the base unit No Yes The capacity of the power supply module on the base unit is sufficient No Yes If the RTD input module which has error is replaced with another one then normally operated Yes No Fault of other module not the RTD inp...

Страница 54: ...ires are correctly connected to thespecified channel Replacing the RTD input module with another one correct the temperature conversion value No Yes The base unit hardware defect See Section 9 2 5 Yes No See Section 9 2 5 CPU module cannot read the temperature conversion value RUN LED is turned off Yes No RUN LED is flickering Yes No The use channels are correctly specified See Section 9 2 2 See S...

Страница 55: ...he temperature resister input module and the temperature measuring resister is correct See Section 9 2 5 No Yes The specified RTD type for the corresponding channel is consistent with the connected RTD type No Yes Input value of the RTD is notconsistent with the detected temperature value RUN LED is flickering Yes No See Section 9 2 2 Check the type of the RTD and correctly specify the type Perfor...

Страница 56: ...Chapter 10 DIMENSIONS 10 1 Chapter 10 DIMENSIONS 10 1 G3F RD3A Dimensions ...

Страница 57: ...Chapter 10 DIMENSIONS 10 2 10 2 G4F RD2A Dimensions ...

Страница 58: ...CAUTIONS WARNING If not provided with proper prevention it can cause death or fatal injury or considerable loss of property CAUTION If not properly observed it can cause a hazard situation to result in severe or slight injury or a loss of property CAUTION CAUTION Design Precautions Do not run I O signal lines and compensation wires near to high voltage line or power line Separate them as 100 mm or...

Страница 59: ...enter into the module It can cause a fire disorder or malfunction WARNING Test Run and Maintenance Precautions Do not contact the terminals while the power is applied It can cause malfunction When cleaning or driving a termi nal screw perform them after the power has been turned off Do not perform works while the power is applied which can cause disorder or malfunction CAUTION Do not separate the ...

Страница 60: ...0 86 303 91 27 08 68 33 80 80 130 89 168 46 204 88 240 13 274 22 307 15 22 80 64 30 90 90 134 70 172 16 208 45 243 59 277 56 310 38 Jpt 100Ω Unit Ω 200 100 0 Temperature C Temperature C 0 100 200 300 400 500 600 17 14 59 57 100 00 0 0 100 00 139 16 177 13 213 30 249 56 284 02 317 28 55 44 96 02 10 10 103 97 143 01 180 86 217 54 253 06 284 40 51 29 92 02 20 20 107 93 146 85 184 58 221 15 256 55 290...

Отзывы: