background image

Applied to ELC&PR series Ver: 3.0

Programmable Relay User's Manual

Rievtech Electronic Co.,Ltd

Summary of Contents for ELC-12AC-R-N

Page 1: ...Applied to ELC PR series Ver 3 0 Programmable Relay User s Manual Rievtech Electronic Co Ltd...

Page 2: ...2 Contents Introduction Getting started Installation and wiring Programming xLogic Configuring software Applications Technical data...

Page 3: ...pplications as building and parking lot lighting managing automatic lighting access control watering systems pump control ventilation systems home automation and a wide field of other applications dem...

Page 4: ...If more than one degree of danger is present the warning notice representing the highest degree of danger will be used A notice warning of injury to persons with a safety alert symbol may also includ...

Page 5: ...ight Rievtech 2015 all rights reserved The distribution and duplication of this document or the utilization and transmission of its contents are not permitted without express written permission Offend...

Page 6: ...on 38 4 1 Overview of xLogic menu 38 4 2 LCD panel instruction 39 4 3 Select function page 42 4 3 1 How to switch Run Stop 44 4 3 2 Set parameter 44 4 3 3 Set password 47 4 3 4 How to set address of C...

Page 7: ...e triggered wiping relay 90 5 5 7 Asynchronous pulse generator 91 5 5 8 Random generator 92 5 5 9 Stairway lighting switch 94 5 5 10 Multiple function switch 96 5 5 11 Weekly timer 97 5 5 12 Yearly ti...

Page 8: ...Comport Status 199 5 5 47 Astronomical clock 202 5 5 48 Cam Control 204 5 5 49 Angular Cam Timer 205 5 5 50 Pumps Management 206 5 5 51 Defrost 208 5 5 52 Comparison of 2 values 209 5 5 53 Multicompar...

Page 9: ...e CPU and PC through Ethernet 261 6 4 1 CPU works as TCP server 261 6 4 2 CPU works as TCP Client 265 6 4 2 CPU works as UDP Server 270 6 5 How to log on the built in Web server 271 6 5 1 How to enabl...

Page 10: ...7 5 1 Standard solution 349 7 5 2 The scheme of xLogic 349 7 6 Rainwater pump 351 7 6 1 Standard solution 352 7 6 2 The scheme of xLogic 353 Chapter 8 Modbus function code and Register addresses 354 8...

Page 11: ...ogicsoft It can be either DIN rail or panel mounted depending upon the needs of your application and it is available in 120V 240V ac as well as 12V and 24V dc versions and it is the ideal solution for...

Page 12: ...nction blocks PR 18 PR 24 512 function blocks PR 12 ELC 12 N and 64 function blocks for PR 6 PR 12 E Mounting via modular 35mm DIN rail or screw fixed mounting plate On line monitor capability Free ch...

Page 13: ...tly connected to standard 9 pin port of PC also kind of interface module which can enable user s program to be downloaded into xLogic CPU through xLogicsoft for running It also is the connection cable...

Page 14: ...he down and upload of the project to and from the main module happens over the standard RS232 or USB port It allows system maintenance like monitoring too Note PR E RS485 module is required to connect...

Page 15: ...1 I168 Expansion with address 16 Analog inputs I1 to I6 PR 18 PR 24 I1 to I4 PR 12 I11 to I14 PR E expansion with address 1 AI161 to AI164 PR E expansion with address 16 Digital outputs Q1 to Q6 PR 18...

Page 16: ...nalog 5 Output type R relay T transistor TN PNP transistor TP NPN transistor 6 E economic mode 7 N Ethernet port built in Note The model end with HMI means the CPU has LCD and panel keys on it The mod...

Page 17: ...4 relays 10A no no no yes PR 12DC DA TN HMI no DC12 24V 4 0 10V 4 digital 4Transistor 0 3A PNP 4 I5 I8 60KHZ Yes 10KHZ yes yes PR 14 Series CPU Units Expandable built in RS485 port Model Expansion Su...

Page 18: ...I DC12 24V 4 Channels 0 4 20 mA Current Signal none PR RS485 DC12 24V isolated 485 converter used to bring out the terminals of RS485 port built in PR 18 PR 24 series CPU for connection with third par...

Page 19: ...3 Program port for applied to ELC 6 CPU 4 Output 2 Standard PR 12 series with LCD model 1 Power supply Input terminals 2 Program Port can be used as RS232 port with ELC RS232 or RS485 port with PRO R...

Page 20: ...port with PRO RS485 3 RUN STOP Indicator 4 Output terminals 4 PR 14 and PR 18 series model 1 Power supply Input terminals 2 HMI LCD panel 3 keypad 4 Output terminals 5 Program Port can be used as RS2...

Page 21: ...21 5 PR 24 series CPU 1 Power supply 2 Input 3 Program RS232 port 4 HMI LCD panel 5 keypad 6 Extension RS485 port 7 Output 6 ELC 22 Ethernet CPU...

Page 22: ...keypad 6 Extension RS485 port 7 Output 8 LAN port 11 PR E extension module 1 Power supply Input terminals 2 Connection cable between CPU and extension Detached 3 Extension port left 4 RUN STOP indica...

Page 23: ...with DIN 43880 xLogic can be snap mounted to 35 mm DIN rails to EN 50022 or on the wall xLogic width EXM E expansion module and PR 6 series CPU have a width of 48mm PR 14 PR 18 ELC 12 N Series CPU has...

Page 24: ...ok the xLogic Basic module onto the rail 2 Push down the lower end to snap it on The mounting interlock at the rear must engage 3 Hook the xLogic expansion module onto the rail 4 Slide the module towa...

Page 25: ...ic Basic off the DIN rail if you have connected at least one expansion module to xLogic Basic 1 Remove the connector on the flat cable 2 Slide the expansion module off towards the right 3 Insert a scr...

Page 26: ...or wall mounting Before you can wall mount xLogic you need to drill holes using the template shown below All dimensions in mm Bore hole for M4 screw tightening torque 0 8 to 1 2 Nm 1 xLogic CPU PR 6 s...

Page 27: ...27 PR 14 and PR 18 series 1 PR 18 CPU 2 PR E extension PR 24 series...

Page 28: ...inal chamber Tightening torque 0 4 0 5 N m or 3 4 lbs in Note Always cover the terminals after you have completed the installation To protect xLogic adequately from impermissible contact to live parts...

Page 29: ...gnal Data of the last uninterrupted cycle are stored in xLogic To connect xLogic to the power supply 3 4 2 Connecting xLogic inputs 1 Requirements the inputs you connect sensor elements such as moment...

Page 30: ...terminal is connected with an analog function block and they will be recognized as switching inputs when the input terminal is not connected with an analog function block 2 The analog inputs require...

Page 31: ...31 AC type digital inputs Analog Inputs DC 0 10V Analog inputs current Inputs 0 20mA...

Page 32: ...nd IC1 this rule also shall be applied to M2 and IC2 M3 and IC3 would be short connected Such connection can not compensate error tolerance caused by the resistance in measurement loop The measurement...

Page 33: ...th the following figure 2 Requirement for the electronic transistor output The load connected to xLogic must have the following characteristics The maximum switch current cannot exceed 0 3A When the s...

Page 34: ...ctually PR RS485 is just a converter with photo isolation bringing out 3 wiring terminals short circuited inner of such 3 terminals so only one channel RS485 bus is available from RS485 port 2x8pin of...

Page 35: ...35 If RT1 RT2 terminal are short connected one 120R resistor will be connected between A and B 3 4 4 Communication port instructions PR 6 CPUs PR 14 PR 18 ELC 22 and PR 24 CPUs...

Page 36: ...O RS485 should be inserted in this port When the programming port should be used as the standard RS232 port D shape 9 pin header the ELC RS232 cable needed Blow is show you the pin definition of the h...

Page 37: ...LC 22 PR 24 CPU communicate with the third party devices via RS485 bus PR 12 CPUs With HMI model Without HMI model 1 Programming port RS232 port ELC RS232 ELC USB ELC Copier ELC MEMORY ELC BATTERY PRO...

Page 38: ...eters modification HMI operation 4 1 Overview of xLogic menu PR 12 PR 14 PR 18 ELC 22 ELC 26 series CPU has same menu on the LCD so here we show the PR 18 for example Parameter assignment mode Paramet...

Page 39: ...amming view alarming message What this operate panel can do for you Display the RUN STOP status of the CPU Display or modify the Clock Display the IO status of CPU extensions Display all kinds registe...

Page 40: ...40...

Page 41: ...am is accurate then the CPU will be running meanwhile the system cover will show as follows In xLogicsoft this interface is defaulted as its initialization screen If there are several parameter pages...

Page 42: ...go through all alarm messages by pressing or key Note The message text block would be treated as parameter page only when it has no input otherwise it may be regarded as alarm page When input has high...

Page 43: ...communication parameters settings refer to chapter 4 3 3 and 4 3 4 for details please 1 Press UP or DOWN key to move the cursor to Set 2 Then press OK key xLogic will display as follows Clock To set...

Page 44: ...UP or DOWN key 2 Move the cursor to Yes Press OK key After pressing ESC key you ll find out your circuit program has changed to stop status as figure below shows 4 3 2 Set parameter If you want to sel...

Page 45: ...specific value of that parameter which you want to edit then press OK key How to modify parameter A First select certain parameter which you need to edit by following the below procedures 1 Under the...

Page 46: ...er at RUN time you can alter time base s second m minute h hour Current value of time T View time T in parameter mode You are allowed to modify configuration time Switch on off time for a time segment...

Page 47: ...threshold trigger In parameter mode the view of threshold trigger You can alter the threshold value of switching on off 4 3 3 Set password xLogic supply password protection function for your program...

Page 48: ...e cursor to the next character press Right key 5 Select 2 press UP key twice 6 Move the cursor to the next character press Right key 7 Select 3 press UP key three times 8 Move the cursor to the next c...

Page 49: ...imary password in our instance is 1234 the process is the same as the step 3 to step 10 mentioned above LCD displays Thus you could select New to input new password such as 8888 3 Select 8 press UP ke...

Page 50: ...ursor to Password Press UP or DOWN key 2 Confirm Password Press OK key Select Old and input primary password in our instance is 8888 the process is the same as the step 3 to step 10 mentioned above LC...

Page 51: ...hen you want to upload the program into PC Note 1 The password which set in the LCD menu is the parameter password 2 The program password cannot be set in the LCD menu it only can be set in xlogicsoft...

Page 52: ...Ok The CPU address also can be set by xlogicsoft if the CPU without HMI you only can set the expansion address with such method You can set the CPU address by the menu Tools transfer set PLC s address...

Page 53: ...witch as the below instructions to set the address what you need Up to 8 extensions includes IO AQ AI PT100 modules can be connected with the CPU The default address of PR E extensions is 1 and the di...

Page 54: ...will turn to RUN green color If the LED is red that means the CPU cannot get communication with it 4 If more than one expansion module connect to CPU at the same time the address of expansion module...

Page 55: ...55 3 Select Backlight menu and click OK 4 Default is 10 seconds and another option is Always On Confirm with OK Modify the contrast Confirm with OK...

Page 56: ...Set Com menu from the menu Set Confirm with Ok COM0 RS232 port or programming port COM1 RS485 port For the PR RS485 module which shall be connected to PR 14 PR 18 PR 24 ELC 18 ELC 22 ELC 26 CPU COM2 B...

Page 57: ...57 Confirm with OK Change it with pressing Up and Down key And confirm with OK Set Modbus protocol Confirm with OK...

Page 58: ...TU TCP ASCII Note If you want to use the Modbus TCP protocol generally you can select the TCP RTU 4 3 7 Modification of System Time You should first select the FUNCTION PAGE read 4 2 1 Move the cursor...

Page 59: ...inished your setting press OK key to return to If you want to set the time further please move the cursor to Set Time menu then press OK key Here you can set week day From Monday to Sunday and the clo...

Page 60: ...variables of xLogic in RUN mode Status of a digital I O shift register bits and cursor keys The values of all analog I Os The results of all blocks The current values including the times of selected...

Page 61: ...g with function blocks is simpler and better appreciated than the conventional PLC instruction programming The following types of operator for xLogic function blocks are available for options 5 2 Gene...

Page 62: ...n the corresponding cursor keys will turn on and give off a high trigger 5 2 3 Outputs Fashion Classic Output blocks represent the output terminals of xLogic You can use up to 2 outputs ELC 6 4 output...

Page 63: ...panel F1 F4 If one of the function keys is pressed down the status of the corresponding symbol in the program shall turn from 0 to 1 And it shall give off one high trigger Notes 1 Only one function ke...

Page 64: ...ration you can assign a new input terminal to an input block provided this terminal is not already used in the circuit program For help on analog block parameter refer to Information on analog value p...

Page 65: ...lag is set in the first cycle of the user program and can thus be used in your circuit program as a startup flag It is reset after the first program execution cycle In the subsequent cycles the F8 fla...

Page 66: ...and the value does not lost if the power was failure so you can use such AF in your program as a number input from the touch screen or the panel key of the CPU Notes 1 AF65 AF256 does not support suc...

Page 67: ...XOR exclusive OR NOT negation inverter BOOLEAN FUNCTION BOOLEAN FUNCTION 5 3 1 AND Fashion Classic Symbol in xLogic The output of an AND function is only 1 if all inputs are 1 i e when they are close...

Page 68: ...th edge evaluation Fashion Classic Symbol in xLogic The output of an AND with edge evaluation is only 1 if all inputs are 1 and at least one input was 0 during the last cycle The output is set to 1 fo...

Page 69: ...on is only 0 if all inputs are 1 i e when they are closed A block input that is not used x is assigned x 1 Logic table of the NAND block Input 1 Input 2 Input 3 Input 4 Output 0 0 0 0 1 0 0 0 1 1 0 0...

Page 70: ...ge evaluation is only 1 at least one input is 0 and all inputs were 1 during the last cycle The output is set to 1 for the duration of one cycle and must be reset to 0 at least for the duration of the...

Page 71: ...is 1 closed A block input that is not used x is assigned x 0 Logic table of the OR function Input 1 Input 2 Input 3 Input 4 Output 0 0 0 0 0 0 0 0 1 1 0 0 1 0 1 0 0 1 1 1 0 1 0 0 1 0 1 0 1 1 0 1 1 0...

Page 72: ...is switched on logical 1 state the output is switched off A block input that is not used x is assigned x 0 Logic table of the NOR function Input 1 Input 2 Input 3 Input 4 Output 0 0 0 0 1 0 0 0 1 0 0...

Page 73: ...on Input 1 Input 2 Output 0 0 0 0 1 1 1 0 1 1 1 0 5 3 8 NOT Fashion Classic Symbol in xLogic The output is 1 if the input is 0 The NOT block inverts the input status Advantage of the NOT for example x...

Page 74: ...nnected inputs are set to 0 The following diagram shows an example of part of the Boolean function truth table Parameters Having connected at least one input you can configure the value of the output...

Page 75: ...s of the xLogic unit S Set A signal at input S sets the output to logical 1 R Reset The reset input R takes priority over all other inputs and resets the outputs Trg Trigger This input is used to trig...

Page 76: ...seconds 1 100 seconds m minutes minutes seconds h hours hours minutes Accuracy of T Because of slight tolerances in the characteristics of electronic components the set time T may deviate The xLogic h...

Page 77: ...ions are available The parameter attribute permits read write access in parameter assignment mode default The parameter settings are read write protected in parameter assignment mode and can be edited...

Page 78: ...i e offset B 30 70 1000 A 30 i e gain A 0 1 Example 2 A pressure sensor converts a pressure of 1000 mbar into a voltage of 0 V and a pressure of 5000 mbar into a voltage of 10 V Actual value internal...

Page 79: ...hen you create your circuit program in xLogicsoft you find the special function blocks in the SF list You can invert the inputs of SFs individually i e the circuit program converts a logical 1 at the...

Page 80: ...tiple function switch REM Weekly timer Yearly timer Counter Up down counter REM Hours counter REM Threshold trigger Analog Analog threshold trigger Analog differential trigger Analog comparator Analog...

Page 81: ...detection Miscellaneous Latching relay Pulse relay Message texts Softkey Shift register Data latching relay REM Modbus Read Modbus Write Memory Write Memory Read Word to bit REM Bit to word REM Device...

Page 82: ...82 RH math Cam control block REM Angular Cam Timer Pumps management Defrost Comparison of 2 values Multicompare Compare in Zone Conversion word bits Conversion bits word Demultiplexer Multiplexing...

Page 83: ...put Q Q switches on after a specified time T has expired provided Trg is still set Parameter T The time for parameter T can also be preset based on the actual value of another already configured funct...

Page 84: ...T Actual value of an already programmed function Timing diagram Description of the function The time Ta the current time in xLogic is triggered with the 0 to 1 transition at input Trg If the status a...

Page 85: ...in memory Output Q Q is switched on for the duration of the time T after a trigger at input Trg Parameter The time set in parameter T can be supplied by the value of another already programmed functio...

Page 86: ...y time and then reset it again upon expiration of a second configured time Connection Description Input Trg You trigger the on delay with a positive edge 0 to 1 transition at input Trg Trigger You tri...

Page 87: ...at least for the duration of the configured time TH the output is set to logical 1 upon expiration of this time output is on delayed to the input signal The time TH is reset if the status at input Tr...

Page 88: ...ovided by the value of another already programmed function Analog comparator Ax Ay Analog trigger Ax Analog amplifier Ax Analog multiplexer AQ Analog ramp AQ Analog math AQ PI controller AQ Data latch...

Page 89: ...mation about how to modify refer to chapter 5 2 2 please Timing diagram Description of the function With the input signal Trg 1 output Q is set to 1 The signal also triggers the time Ta while the outp...

Page 90: ...ctual value of another already programmed function Analog comparator Ax Ay Analog trigger Ax Analog amplifier Ax Analog multiplexer AQ Analog ramp AQ Analog math AQ PI controller AQ Data latching rela...

Page 91: ...s restarted If retentivity is not set output Q and the time are reset after a power failure 5 5 7 Asynchronous pulse generator Fashion Classic Description of function The pulse shape at the output can...

Page 92: ...r information about how to modify refer to chapter 5 2 2 please Timing diagram Description of the function You can set the pulse pause ratio at the TH Time High and TL Time Low parameters The INV inpu...

Page 93: ...time TL can be provided by the actual value of another already programmed function Analog comparator Ax Ay Analog trigger Ax Analog amplifier Ax Analog multiplexer AQ Analog ramp AQ Analog math AQ PI...

Page 94: ...re warning period T L can be provided by the actual value of another already programmed function Analog comparator Ax Ay Analog trigger Ax Analog amplifier Ax Analog multiplexer AQ Analog ramp AQ Anal...

Page 95: ...y time T T has expired you can output a pre warning that resets Q for the duration of the off pre warning time T L Ta is retriggered optional at the next high low transition at input Trg and if Ta is...

Page 96: ...pired TL determines the period during which the input must be set in order to enable the permanent light function T Determines the on delay for the pre warning time T L determines the length of the pr...

Page 97: ...ion is enabled and output Q is set accordingly The off delay time T is triggered when the status at input Trg changes to 0 before the time TL has expired Output Q is reset when the Ta T Before the off...

Page 98: ...practical examples No1 Daily 06 30 h to 08 00 h No2 Tuesday 03 10 h to 04 15 h No3 Saturday and Sunday 16 30 h to 23 10 h Description of the function Each weekly timer is equipped with three cams You...

Page 99: ...s and Move to the cursor to the various positions using the keys and At the first position you can only select the value means No on off times set 6 Press to move the cursor to the first position of t...

Page 100: ...s typically 100 hours at an ambient temperature of 25 C In order to set the weekly timer parameters through MODBUS now the parameters of the weekly Timer can use the AF value Weekday parameter For exa...

Page 101: ...101 You can program as above use one Bit to word block and then you can set the F1 F7 at the touch screen to change the weekday settings On time Off Time settings Reference AF value...

Page 102: ...put of the weekly timer will be 0 5 5 12 Yearly timer Fashion Classic Caution Your xLogic must be equipped with an internal real time clock if you are going to use this SFB Short description The outpu...

Page 103: ...ntil August 31 Example 2 Yearly mode on Monthly mode off Pulse on On Time 2000 03 15 Off Time 2099 Every year on March 15 the timer switches on for one cycle Example 3 Yearly mode on Monthly mode off...

Page 104: ...08 and 2009 the timer output switches on and remains on until January 7 of the following year When the timer output turns off on January 7 2010 it does NOT turn on again the following December 15 Exam...

Page 105: ...ard input of the month and day values The values entered may not exceed the logical maximum of the relevant input boxes otherwise xLogicsoft returns an error message The calendar icon offers you an Ri...

Page 106: ...on your programming interface and configure the blocks as specified Create a logical link of the blocks via a standard OR block The OR output is 1 if at least one of the yearly timer switches is set...

Page 107: ...counter value to zero with a signal at input R Reset Input Cnt This function counts the 0 to 1 transitions at input Cnt It does not count 1 to 0 transitions Input Dir Input Dir Direction determines t...

Page 108: ...00000 with a signal at the reset input R As long as R 1 the output is 0 and the pulses at input Cnt are not counted Output Q is set and reset according to the actual value at Cnt and the set threshold...

Page 109: ...sets both the hours counter OT and the output and sets the configured value MI at the counter to for the duration of the time to go MN That is Output Q 0 The measured operating hours OT 0 and The time...

Page 110: ...troller AQ Data latching relay AQ Up Down counter Cnt The value of can be set and modified in parameter mode For information about how to modify refer to chapter 4 2 2 please Description of the functi...

Page 111: ...t reaches this value Parameter preset In xLogicsoft you can define MI and an OT start value You determine that Q does not depend on En by selecting the corresponding check box Retentivity with the hou...

Page 112: ...e Timing diagram fa Input frequency Connection Description Input Fre The function count 0 to 1 transitions at input Fre to 0 transitions are not counted Use Inputs I5 I6 14KHZ I7 I8 60kHz for ELC 12 C...

Page 113: ...6 Latching relay Fashion Classic Short description A signal at input S sets output Q A signal at input R resets output Q No parameter of Latching relay can be set modified in parameter mode Timing dia...

Page 114: ...s status at the output Logic table of the latching relay S R Q Remark 0 0 x Status unchanged 0 1 0 Reset 1 0 1 Set 1 1 0 Reset When retentivity is enabled the output signal corresponds with the signal...

Page 115: ...S has no effect as long as R 1 or the input S takes priority over input R i e the signal at input R has no effect as long as S 1 depending on your configuration 5 5 18 Message text Fashion Classic Sho...

Page 116: ...figured message text actual value text TOD date in RUN mode Acknowledgement disabled Ack Off The message text is hidden with a 0 to 1 signal transition at input En Acknowledgement enabled Ack On After...

Page 117: ...ty Acknowledgement Message destination Restrictions Up to 64 message text functions are available for PR 12 PR 18 ELC 22 ELC 26 Particular characteristics to be noted when configuring 1 General area H...

Page 118: ...ows the parameters of a block selected from the Blocks area which you can output in the message text 8 General parameters area Shows general parameters such as the current date 9 Delete button Button...

Page 119: ...k properties dialog and to close the dialog You may also enter the actual values of other blocks in the text lines To do so select the relevant block from the Block dialog A Parameter dialog opens to...

Page 120: ...120 C Analog input value of CPU and extensions D Analog output value of CPU and extensions...

Page 121: ...121 E F digital flag status F AF analog flag value...

Page 122: ...122 G M status H AM value...

Page 123: ...s or 4 bits This feature only can be used in ELC 22 26 Series CPU and PR 12 CPU Animate option This option is for the ELC 43TS touch screen it is used to trigger the pictures saved in the screen you c...

Page 124: ...eters of blocks can be changed in displayed message if inserted into the message text block by press OK key for 3 seconds Step as follows A Insert the parameters of block into message text Here is On...

Page 125: ...for 3 seconds and enter into edit mode D Modify value by pressing arrow keys and confirm with OK key 5 5 19 Softkey Fashion Classic Short description This SFB provides the action of a mechanical pushb...

Page 126: ...f the function The output is set when input En is set and the Status parameter is set to On and confirmed with OK This action is performed irrespective of a configured switch or pushbutton function Th...

Page 127: ...block is also can be inserted into the message texts block for displaying 5 5 20 Shift register Fashion Classic Short description The shift register function can be used to read an input value and to...

Page 128: ...tput value corresponds with the configured shift register bit Timing diagram Setting the Par parameter This special function is not available in parameter assignment mode Description of the function T...

Page 129: ...ption The output is set and reset depending on the difference Ax Ay and on two configurable thresholds Connection Description Inputs Ax Ay Input the analog signals of which you want to determine the d...

Page 130: ...ues The compare function ignores the decimal point The value of On Off and Dec can be set modified in parameter mode For information about how to set modify refer to chapter 5 2 2 please Dec means dec...

Page 131: ...parameters are used to adapt the sensors to the relevant application Example In a heating control system the supply Tv and return line temperatures Tr are to be compared for example with a sensor at...

Page 132: ...0 10 V is proportional to 0 1000 internal value Parameter A Gain Range of values 10 00 B Zero offset Range of values 10 000 On On threshold Range of values 20 000 Off Off threshold Range of values 20...

Page 133: ...odify refer to chapter 4 2 2 please Dec means decimal point Timing diagram Description of the function The function reads the value of the signal at the analog input Ax This value is multiplied by the...

Page 134: ...mplifier Fashion Classic Short description This SFB amplifies an analog input value and returns it at the analog output Connection Description Input Ax Input the analog signal to be amplified at input...

Page 135: ...are function ignores the decimal point Description of the function The function reads the value of an analog signal at the analog input Ax This value is multiplied by the gain parameter A Parameter B...

Page 136: ...m Connection Description Input En A positive edge 0 to 1 transition at input En saves the analog value at input Ax Aen to memory and starts monitoring of the analog range Aen Delta Input Ax You apply...

Page 137: ...lue Ax Output Q is set when the signal at input En 1 and if the actual value at input Ax is out of range of Aen Delta Output Q is reset when the actual value at input Ax lies within the range of Aen D...

Page 138: ...rence values Parameter p number of decimals Applies only to the display of On Off and Ax values in a message text Does not apply to the comparison of On and Off values The compare function ignores the...

Page 139: ...a positive differential value Delta the On threshold the Off threshold and Q 1 if On the actual value Ax Off See the timing diagram B 5 5 26 Analog multiplexer Fashion Classic Short Description This s...

Page 140: ...4 can be provided by the value of another already programmed function Analog comparator Ax Ay Analog trigger Ax Analog amplifier Ax Analog multiplexer AQ Analog ramp AQ Analog math AQ PI controller AQ...

Page 141: ...al analog output Using this amplifier you standardize the output range of the special function to a value range of 0 to 1000 5 5 27 System cover This block cannot directly be found in the block list h...

Page 142: ...parameter A Gain Range of values 10 00 B Zero offset Range of values 10 000 PT Periodic time over which the digital output is modulated p Number of decimals Range of values 0 1 2 3 Output Q Q is set...

Page 143: ...he PT periodic time parameter and sets Q low for the remainder of the time period Examples with Timing Diagrams The following examples show how the PWM instruction modulates a digital output signal fr...

Page 144: ...e special output is selected in the property dialog box of PWM block then the unit of periodic time will be changed from s 1 100s to s 1 1000s so if you input 3 1 1000s then its frequency is 1000 3 Hz...

Page 145: ...l to start changing to the selected level at the specified rate Input St A change in the status from 0 to 1 at input St Decelerated Stop causes the current level to decrease at a constant rate until t...

Page 146: ...of another already programmed function Analog comparator Ax Ay Analog trigger Ax Analog amplifier Ax Analog multiplexer AQ Analog ramp AQ Analog math AQ PI controller AQ Data latching relay AQ Up Dow...

Page 147: ...the relationship between output AQ and the current level Output AQ current level Offset B Gain A 5 5 30 Analog Math Fashion Classic Short Description The analog math block calculates the value AQ of a...

Page 148: ...function rounds the result to the nearest integer value The number of operand values is fixed at four and the number of operators is fixed at 3 If you need to use fewer operands use constructions such...

Page 149: ...t execution of the referenced analog math function block Parameter Referenced FB The value for the Referenced FB parameter references the block number of an already programmed analog math function blo...

Page 150: ...rflow bit set by the analog math instruction 1 if the error occurred 0 if not Zero division OR Overflow represents the logical OR of the zero division bit and the overflow bit of the referenced analog...

Page 151: ...Reset has priority over En Parameter Slave address 1 is default Communication protocol Modbus RTU Communication parameter baud rate BPS Data bits Stop bits Parity Overtime response time out Comm Type...

Page 152: ...ster directly That s to say any device communicating with xLogic sends command to it and then its response will be sent out only when the xLogic has received the command Just as the below figure shows...

Page 153: ...ster count Command Function description remark 01 Read one group coil status 00000 0XXXX Read Coil Status output 02 Fetch one group data of the status of switch input 10000 1XXXX Read input Status inp...

Page 154: ...wing we ll take a example that one xLogic Master communicate with other xLogic Slave via RS485 Example 1 Get Q1 status of SLAVE1 xLogic and then save the bit status to F1 If count was set 4 the Q1 Q2...

Page 155: ...155 F is bit type flag It can be used to receive bit data from slave device Example 2 Get AI value from Slave 2 xLogic with station No 2 and save the data to AQ11...

Page 156: ...also can be applied for the configuration of Modbus Write function block Model I Q AI AQ Dialog box set CPU I1 I8 I1 I8 Q1 Q4 Q1 Q4 AI1 AI8 AI1 AI8 AQ1 AQ2 AQ1 AQ2 Expansion1 Address is 1 I11 I14 I9...

Page 157: ...t has priority over En Parameter Slave address 1 is default Communication protocol Modbus RTU Communication parameter baud rate BPS Data bits Stop bits Parity Overtime response time out Comm Type RS23...

Page 158: ...n remark 05 Force the switch status of single coil 00000 0XXXX Force Single Coil output 06 Pre set the data of single register 40000 4XXXX Set single output register 15 Force multi coils on off bit 00...

Page 159: ...s high and the communication is established successfully one alarm message text message block will be displayed on LCD Then the Q1 of slave No 1 will be controlled by I2 of master If I2 is high Q1 of...

Page 160: ...ng to the start address Here is Q1 Note The manual input value is Hex data it contains 4 bytes If you want to write a decimal value to the register of SLAVE please convert it to Hex format 4 The follo...

Page 161: ...and the x Messenger could communicate with peripheral as a master via RS232 RS485 or Ethernet interface you selected further the output will be switched on when the communication is established succes...

Page 162: ...Q 0 Regarding of the RS232 RS485 comm type you can refer to the instructions of Modbus read or Modbus Write block Here only explain how to use the Ethernet comm type The Property in dialog box of Mod...

Page 163: ...the Confirm Reset button to active the settings In above dialog you can see the Max Clients is 4 And the first remote target server is 192 168 227 port is 5001 so if you enabled the modbus read write...

Page 164: ...default 2 Communication parameters BPS is baud rate Stopbits Databits Communication type RS232 RS485 Actually RS232 or RS485 are just interface of xLogic 3 Command register address and register count...

Page 165: ...eld number of bytes of Identification string 78 2d 4d 65 73 73 65 6e 67 65 72 20 73 74 61 74 69 6f 6e 31 x Messenger station1 Identification String 01 01 01 01 type code 01 means the digital inputs 01...

Page 166: ...00 17 type code 17 means the Analog flag 08 length field number of bytes of the analog flag 01 c2 00 00 02 26 00 00 analog flag value AF1 01 c2 AF2 00 00 AF3 02 26 AF4 00 00 07 01 04 07 type code 07 m...

Page 167: ...saves the process variable of an analog input to memory and returns it at the analog output Connection Description Input S Save the Ax to memory and return it at the analog output with a signal at inp...

Page 168: ...H the value of this function block will be reset to 0 1 Start value you can set a start value for the data latch relay block now 2 The HEG value of the data latch relay can be modified by press OK key...

Page 169: ...It is proportional action and integral action controllers You can use both types of controller individually or combined Connection Description Input A M Set the mode of the controller 1 automatic mode...

Page 170: ...Action direction of the controller value range or p Number of decimal places value range 0 1 2 3 Output AQ Analog output manipulated variable Value range for AQ 0 to 1 000 Parameter P number of decima...

Page 171: ...s This is based on the fact that PV increases which on account of Dir upwards causes AQ to drop Description of Function If the input A M is set to 0 then the special function issues output AQ with the...

Page 172: ...dated value PV is set to the value of Min If the input R is set to 1 then the AQ output is reset As long as R is set the input A M is disabled Sampling Time The sampling time is fixed at 500 ms Parame...

Page 173: ...educed Basic concepts of regulating In the example the current for the electric heating is the manipulated variable The changeable resistance is the actuator The hand that operates the actuator is the...

Page 174: ...ans of the regulating device This creates a closed circuit that is also known as a control loop If in the example above the window is opened the temperature in the room drops The person must increase...

Page 175: ...ct of the controller The following describes the most important types of controller A controller s step response tells us a lot about its conduct The step response describes how a controller reacts to...

Page 176: ...is period of time must be divided into small time slices The loop errors at the end of each time slice must be added up integrated and they are then entered in the calculation Manipulated variable of...

Page 177: ...ediately and will eventually drive the loop error to zero Manipulated variable at the time n Proportional part of the manipulated variable Integral part of the manipulated variable Manipulated variabl...

Page 178: ...ers Portrayed in xLogic Possible value range in the xLogic Mn Manipulated variable at the time n Output of the PI controller block 0 to 1 000 kP Gain of the P part kI Gain of the I part In the xLogic...

Page 179: ...on PV 0 0 to 10 0 The offset parameter has an effect on PV 10 000 to 20 000 PV is restricted by the parameters Min and Max In each case 10 000 to 20 000 The Dir parameter gives the action direction o...

Page 180: ...g input Only when there is a low to high trigger at Trg pin the Memory write Read block will be activated and the pre configured record action will be performed Each trigger only write once Input R Re...

Page 181: ...ORY If such box has been ticked the file content will show the time when the data starts to be recorded 4 Separator Such separator shall be required while more than one analog values would be stored a...

Page 182: ...dress Q1 Q4 0 7 Q11 Q14 8 15 Q21 Q24 16 23 C F digital flag Name Address F1 F64 0 63 D M Name Address M1 M512 0 511 E AI analog inputs Name Address AI1 AI8 0 7 AI11 AI14 8 15 AI21 AI24 16 23 F AQ anal...

Page 183: ...183 G AF analog flag Name Address AF1 AF256 0 255 I AM Name Address AM1 AM512 0 511 EXAMPLE Name Address AQ1 AQ2 0 1 AQ11 AQ12 2 3 AQ21 AQ22 4 5...

Page 184: ...If this function block is working the RS232 port programming port will be occupied some data will be being transferred if you want to use the programming port for some purposes for example download or...

Page 185: ...priority over Trg Output Q Q switches on only after the Read function had been executed correctly provided Description of Memory write block s property dialog box 1 File name The name of the file whic...

Page 186: ...r Q and F Q digital outputs Name Address Q1 Q4 0 7 Q11 Q14 8 15 Q21 Q24 16 23 F digital flag Name Address F1 F64 0 63 WORD data can be used to set the register AQ and AF AQ analog outputs Name Address...

Page 187: ...ory Read block had been triggered the Q1 of ELC 12 CPU will be set 1 5 5 39 Word to Bit Fashion Classic Short description This special function is used to transfer the word type data AI AF or AQ to 16...

Page 188: ...ut Q with a signal at input R Reset Parameter Retentivity set on the status is retentive in memory Output Q Q is switched on with a signal at input En and switched off with a low signal at input En Ex...

Page 189: ...n Input En Enable this function Input R Reset output AQ with a signal at input R Reset Parameter Retentivity set on the value is retentive in memory when power lost Output AQ AQ will output the value...

Page 190: ...transitions from 1 to 0 the elapsed time is frozen Input Lap A positive edge 0 to 1 transition at input Lap pauses the stopwatch and sets output to lap time A negative edge 1 to 0 transition at input...

Page 191: ...ion of the function When En 1 the current time increases When En 0 the current time counting pauses When En 1 and Lap 0 the output AQ outputs the value of the current elapsed time When En 1 and Lap 1...

Page 192: ...gram cycles that are determined by the set number of samples xLogic samples an analog value within every program cycle The number of program cycles is equal to the set number of samples Possible setti...

Page 193: ...circuit program in xLogicsoft 5 5 43 Max Min Fashion Classic Connection Description Input En The function of input En Enable depends on the settings of parameter Mode and the selection of check box wh...

Page 194: ...1000 internal value Parameter Mode You can set the values for parameter Mode based on the actual values of another already programmed function Analog comparator Ax Ay Analog threshold trigger Ax Analo...

Page 195: ...tings of Mode and S1 Mode 0 The function sets AQ to the minimum value Mode 1 The function sets AQ to the maximum value Mode 2 and S1 0 The function sets AQ to the minimum value Mode 2 and S1 1 The fun...

Page 196: ...ed time period and outputs the average value at AQ Connection Description Input En A positive edge 0 to 1 transition at input En Enable sets the output AQ to the average value of input Ax after the co...

Page 197: ...f the samples during the configured time interval At the end of the sampling time this function sets output AQ to this calculated average value When En 0 the calculation stops and AQ retains the last...

Page 198: ...out Just one parameter to be set is the Reset period as follows Here are two examples with detailed description on how to use these blocks in the program Example 1 Just as below program shows after th...

Page 199: ...e com port status from such function block for displaying on the LCD Connection Description En Enable the function block if a HI level at En input pin and if a trigger from HI to LOW the function woul...

Page 200: ...the communication status of the below accessories For Standard ELC 12 Series ELC12 E RS485 For ELC 12DC DA R N HMI CPU EXM E RS485 For ELC 18 22 26 Series CPUs ELC RS485 Ethernet This channel is the E...

Page 201: ...the timeout period exceeds such block shall output a high level trigger How to insert the com port status to the text message for displaying Put the com port status into program Select BLOCKS in the...

Page 202: ...stronomical clock SFB is used to set an output high between sunrise and sunset based on the local time at the geographical location of the xLogic devices The output status of this function block also...

Page 203: ...tively you can configure a specific latitude longitude and time zone for your location and provide a name for this custom location Based on the location and time zone xLogic calculates the absolute su...

Page 204: ...tion Description Input Forward MOVE FORWARD is the input which is used to control cam progress it moves one step forward at each rising edge digital status is changed from 0 to 1 Input Reverse MOVE BA...

Page 205: ...e 5 5 49 Angular Cam Timer Fashion Classic Short description This function block is used to describe operation of a cam timer based on the angle made by the cams as the analog input The number of step...

Page 206: ...PUMP CHANGEOVER This function is used to set to ON a maximum of four digital outputs which can be activated OUTPUT 1 OUTPUT 4 This number is equal to the maximum number of digital inputs from 2 to 4 i...

Page 207: ...ly the OUTPUT 1 OUTPUT 2 and OUTPUT 3 outputs are used and may therefore change to ON In this case if four inputs change to ON the OUTPUT 1 OUTPUT 2 and OUTPUT 3 outputs remain at ON and OUTPUT 4 rema...

Page 208: ...4 5 5 51 Defrost Fashion Classic short Description The defrost output changes to ON when the input temperature is less than the minimum temperature for a time T T being the cumulative duration of pass...

Page 209: ...s at the end of which the function triggers defrosting 1 to 32767 DEFROST CYCLE Duration of defrosting in minutes 1 to 32767 MAXIMUM TEMPERATURE Temperature in C above which defrosting is stopped 10 C...

Page 210: ...ut changes from Active to Inactive state Parameters The comparison operators that can be chosen from the Parameters window are Symbol Description Greater than Greater than or equal to Equal to Differe...

Page 211: ...BLE FUNCTION input this input is Active if it is not connected Input VALUE TO COMPARE The value is used to be compared with the min and max value whose type is Integer Input MIN VALUE A MIN VALUE inpu...

Page 212: ...es the output can take depending on the input value to compare and the enable input 5 5 55 Conversion Word bits Fashion Classic Short Description When the En is high The DEC BIN function breaks down a...

Page 213: ...ied to an output does not revert to 0 when a VALUE is written to another ADDRESS The BASE ADDRESS parameter allows several blocks to be used at the same time to multiply outputs The Parameters tab con...

Page 214: ...eger Input CHANNEL B this is the multiplexer input B whose type is integer Input SELECTION this input is used to choose the input channel to apply to the output Output this is the multiplexer output T...

Page 215: ...address of the INPUT 1 input Retentivity Chooses whether or not the function is reinitialized if the controller power supply is disconnected When they are not connected the digital input is in the OF...

Page 216: ...eration Example for X 20000 Root of X 141 42 The value read as an output of the function is 14142 If used as an input the number is negative and the result is 0 Performance The calculation is accurate...

Page 217: ...n as appropriate Sin 63 8 0 8973 and Cos 63 8 0 4415 5 5 62 Absolute Humidity Fashion Classic Short Description This function is used to calculate the absolute humidity Connection Description Input En...

Page 218: ...find all the functions and the functionality of the devices described in this manual in the version 3 1 6 2 and later Note If a full version is not installed you can carry out an upgrade as follows In...

Page 219: ...language you would like and click OK to confirm 3 If you consent to the license agreement click Next to confirm 4 Where is the program to be installed If you do not want to accept the recommended file...

Page 220: ...220 5 If you want to accept the recommended file location click Next to Confirm 6 In this example the program icon is to be placed on the desktop Use Next to proceed...

Page 221: ...221 7 Click Install button to install Program is being installed...

Page 222: ...222 8 The installation is finished You can start the xLogicsoft immediately or later by double clicking the icon on the desktop...

Page 223: ...nd the bottom of the programming interface contains scroll bars which you can use for vertical and horizontal scrolling of the circuit program 1 Menu bar 2 Standard Toolbar 3 Programming Toolbar 4 Ref...

Page 224: ...ur control requirements Here xLogicsoft provides you with a completely new off line test function through which you can debug the program without installing the xLogic on site With this function many...

Page 225: ...hanged according to the current operation for convenience of your specific operations 5 8 1 1 File The instruction is mainly used for file management including creation opening saving and printing of...

Page 226: ...t All Select all the contents in the current window editing box and setup the label Goto Apponited block Goto the apponited block in the program interface Property open the property box of the apponit...

Page 227: ...c address Get PLC s address Get the address of current xLogic Get PLC s scan time Get the scan period of the xLogic for current program Summer time Winter time Activate disable the conversion of the s...

Page 228: ...splaying instruction Info Window Info window displaying instruction Zoom window proportion displaying instruction There are four different sizes of the windows for the user to select 5 8 1 6 Help Cont...

Page 229: ...3 Programming Toolbar The programming toolbar contains integral icons for creating editing and testing programs Each one of these tools represents a programming mode in which mouse operations have dif...

Page 230: ...bel Text figures can be set in Wrap Text format You can adjust the size of a text figure typically by dragging the rectangle handles Cut Join This tool is used to cut and join connections between bloc...

Page 231: ...the reaction of your circuit program Start simulation for a specific time or number of cycles Set the period and the number of cycles using the following icons Setting the period and the time base fo...

Page 232: ...name of the output in your circuit program is displayed below this icon Status display of output Q1 Output switched off Status display of output Q1 Output switched on The output status only indicates...

Page 233: ...ut the function block into editing box First set the property of every function block then link every function block according to logic controlling relation thereby complete the protracting of a logic...

Page 234: ...programming In the Page Layout tab you can specify how and on how many pages to print your circuit program You can preview the pagination in this tab If you choose more than one program page the page...

Page 235: ...d 1 To open a document click Open option of menu File once with left button of mouse or click once in toolbar shortcut key Ctrl O also can be used As shown in Fig 11 3 Fig7 9 3 Open Existed Document 2...

Page 236: ...t button of the mouse 3 Move the mouse to the proper place in the program interface click with left button of the mouse then complete the placement of a block 4 According to above operation put all mo...

Page 237: ...elp to observe the detail instruction Fig 7 10 3 property box Note Different block has different property setup especially the property of special function block Please read chapter 5 the explanation...

Page 238: ...between the first terminal and the mouse pointer Once it is anchored it appears as a combination of horizontal and vertical lines which can be manipulated using the selection tool Fig 7 10 4 xLogicso...

Page 239: ...multiple inputs to a single output You cannot interconnect I O in the same path of a circuit program Recursion is not permitted Interconnect a flag or output if necessary Special function blocks also...

Page 240: ...t high in first The program run sequence is B001 B003 B004 You can change the block number with clicking the block by right key and select the change block index option then change to other block numb...

Page 241: ...olbar with mouse and it also can open simulation operation interface It shows as Fig 11 9 Fig 7 10 6 Start simulation 2 Click input block with mouse It can change the state of input state displays ON...

Page 242: ...r menu File with left button of the mouse as shown in Fig 7 10 8 or click button under toolbar 2 You can set up saving path and file name in this box 3 After the setup of the file saving path and file...

Page 243: ...ption Configuration under menu Tools with left button of the mouse or click in toolbar dialog box shown as 7 10 10 appears then select your communication port and speed Option A RS232 This option is u...

Page 244: ...rs Fig 7 10 11 Set or modify program password Program password and parameter password can be set here and you can directly set the parameter password by the panel on the CPU Set Password Set password...

Page 245: ...e Fig 7 10 14 downloading status Note After the Program updated xLogic will run the Program automatically do not need restart Operation Method of Upload Program a Click option Transfer xLogic PC under...

Page 246: ...246 Monitor mode Under monitor mode user can change the spare output the input pin of Q is not connected to other blocks state via xLogicsoft...

Page 247: ...247 Right click Q2 and then click Set Output State Click OK button and the Q2 of xLogic will be turned off...

Page 248: ...248 How to transfer monitoring data AI AQ to an Excel file Example program 1 Select Tools Set Monit Config and further click it...

Page 249: ...a is selected as well then the history data cannot be saved and then only the current monitor data can be saved furthermore the history data previous monitor data would be simultaneously cleared 2 Cli...

Page 250: ...250...

Page 251: ...ctions for Ethernet PLC from Rievtech is released Included CPU models ELC 12DC DA R N EXM 12DC DA R N 4G Method A Label on the bottom of the plastic house of the CPU The new version marked with V2 fol...

Page 252: ...tcp connections Tcp server Tcp clients 8 Works as Tcp client Can connect 1 Tcp server Works as TCP Built in Web server Control Software Yes No 6 2 How to Configure the Network parameters through prog...

Page 253: ...erver to make sure it still is on line Type TCP or UDP optional Timeout 0s means it will not be timeout the connection will always be kept even if there is no data transferred If the value is not 0 th...

Page 254: ...he PLC address with LCD menu Get the IP address from Network IP Config Local IP ADDR Local IP 192 168 0 201 Get the TCP server port from Network IP Config TCP Server TCP Server Port 6400 Then you can...

Page 255: ...255 After the connection is created you can click get the clock icon to confirm the communication is ok Now you can configure the Network parameter by the menu Tools transfer Web server Config...

Page 256: ...256 You can read the parameters from the PLC...

Page 257: ...257 6 3 How to view and configure the Ethernet parameters through LCD panel You can view and modify the network parameter through the LCD menu...

Page 258: ...258...

Page 259: ...ify the Local IP address subnet mask gateway from the LCD menu Web server port also can be modified and the web server also can be disabled or enabled You can view the MAC address from here but it can...

Page 260: ...IP Config the IP address will return to 192 168 0 201 and the tcp server port number will be 6400 RST Log on the webserver log on name and password will be back to admin Modify the IP address Press o...

Page 261: ...well Notes 1 The Ethernet can work under TCP and UDP mode you can create the connection between our Ethernet CPUs and also you can use our Ethernet CPU to create the connection with other factory Eth...

Page 262: ...clients can monitor and control the CPU at the same time Com with xlogicsoft PC is client First check the PLC IP address with LCD menu Get the IP address from Network IP Config Local IP ADDR Local IP...

Page 263: ...s established you can download upload the program and monitor the program like the usb cable connection Com with easySCADA PC is client You need set the correct IP address and com port in the device c...

Page 264: ...264 Our xLogicApp Smart phone is tcp client Interface configure Modbus Poll works as TCP client...

Page 265: ...5 6 4 2 CPU works as TCP Client The maximum TCP connection is 8 so one CPU allow maximum 8 TCP clients to connect with the CPU at the same time And each TCP connection is totally separately For exampl...

Page 266: ...ission can be processed separately If we set Max clients 0 then the CPU will only play as tcp clients then there are 8 tcp servers can be connected at the same time xlogicsoft works as TCP server and...

Page 267: ...267 TCP Sever 192 168 0 227 port 8004 is ok TCP Sever 192 168 0 227 port 8005 is ok...

Page 268: ...268 TCP Sever 192 168 0 227 port 8006 is ok TCP Sever 192 168 0 227 port 8007 is ok...

Page 269: ...269 TCP Sever 192 168 0 227 port 8008 is ok TCP Sever 192 168 0 227 port 8009 is ok...

Page 270: ...270 6 4 2 CPU works as UDP Server CPU can work as UDP server you can use your software to connect with it through UDP or make several CPUs communication through UDP as well...

Page 271: ...the built in Web server Only the new series ELC 12DC DA R N has built in web server So you can use PC or mobile phone to control PLC Supported browser Chrome IE Please ensure that your browser is the...

Page 272: ...r 1 Open Xlogic software choose ELC 12DC DA R N model and connect xlogicsoft to PLC you can use serial port or network port to connect PLC 2 Tools Transfer Web Server Config 3 Click Read button to rea...

Page 273: ...ce will appear The default IP of PLC is 192 168 0 245 the Default port of PLC is 8008 So you can use the default IP address to log on web server you can also use the IP and port of PLC to connect the...

Page 274: ...you click on Log on and you log on to the web server successfully You will always stay in the login state If you close the browser then you open the browser again input the IP address you will still s...

Page 275: ...ill be 5 CPU model Display CPU model Firmware Ver Display Firmware Version Hardware Ver Display Hardware Version GPRS connection For EXM series CPU Display connected or Not connected GSM signal For EX...

Page 276: ...O UNSIGNED HEX BINARY DEL Click on to delete variables Save Variable After finished configuration variables you have to click on Save Variable then you can monitor and control variables at Monitor Con...

Page 277: ...e the current status of variable When you change the current Status status of variable you have to click on the corresponding Set button Description of changing the state of variable Variable I You ca...

Page 278: ...iable F is not connected you can change the status of variable F If the input pin of digital flag block F is already connected with other blocks you can t change the status of variable F anymore Varia...

Page 279: ...d Cursor key You can t change the status of cursor key it only can be read Panel key You can t change the status of panel key it only can be read Shift register bit You can t change the status of shif...

Page 280: ...er name and a password If you forgot the user name or password you logged you can reset it by the LCD menu You can make the IP settings to factory by the menu Network IP Config Factory RST Log on Afte...

Page 281: ...irtual panel Press Set Press ok key for 3 seconds when there parameters in the text message need be modified 6 6 How to establish the communication between new Ethernet CPUs We can make the Ethernet c...

Page 282: ...is the master CPU The TCP server or the TCP client CPU can work as master or slave It totally decide by yourself Following chapters we will use examples to explain how to create the communication betw...

Page 283: ...F the Q1 of slave1 slave3 are ON OFF 2 Read the AI2 value from the slave1 slave3 to master and display Step1 Configure the IP configuration of the PLCs Master IP 192 168 0 100 TCP port 8000 Slave1 IP...

Page 284: ...284 port 8000 Slave2 IP 192 168 0 102 Target server 192 168 0 101 port 8000 Slave3 IP 192 168 0 103 Target server 192 168 0 101 port 8000...

Page 285: ...you need read and write data to the slaves the function block is Modbus Read Write Note Even if the MODBUS READ and MODBUS WRITE block also have the Ethernet interface but they only can be used for t...

Page 286: ...the I1 status of master will transferred to the F1 Modbus address is 0x 1536 slave1 IP 192 168 0 101 If B002 is enabled the I1 status of master will transferred to the F1 Modbus address is 0x 1536 sl...

Page 287: ...abled the I1 status of master will transferred to the F1 Modbus address is 0x 1536 slave3 IP 192 168 0 103 If B004 is enabled the master will read the AI1 value modbus address 4x 1024 of slave1 and sa...

Page 288: ...er will read the AI1 value modbus address 4x 1024 of slave2 and save into local AF2 If B006 is enabled the master will read the AI1 value modbus address 4x 1024 of slave3 and save into local AF3 Slave...

Page 289: ...of Master is ON OFF the Q1 of slave1 slave3 are ON OFF 2 Read the AI2 value from the slave1 slave3 to master and display Step1 Configure the IP configuration of the PLCs Master IP 192 168 0 100 Targe...

Page 290: ...290 Slave1 IP 192 168 0 101 TCP server port 8001 Slave2 IP 192 168 0 102 TCP server port 8002...

Page 291: ...291 Slave3 IP 192 168 0 103 TCP server port 8003 Step 2 Program in master and slave Master program...

Page 292: ...292 B001 is used to write I1 status to F1 of slave1 the Remote 1 is the target1 in the network parameter settings...

Page 293: ...293 B002 is used to write I1 status to F1 of slave1 the Remote 2 is the target2 in the network parameter settings...

Page 294: ...is used to write I1 status to F1 of slave1 the Remote 3 is the target3 in the network parameter settings B004 is used to read AI1 value of slave1 then save into AF1 the Remote 1 is the target1 in the...

Page 295: ...295 parameter settings B005 is used to read AI1 value of slave2 then save into AF2 the Remote 2 is the target2 in the network parameter settings...

Page 296: ...296 B006 is used to read AI1 value of slave3 then save into AF3 the Remote 3 is the target3 in the network parameter settings Slave1 Slave3 Program would be same...

Page 297: ...UDP clients The connection sketch Requirement 1 If I1 of Master is ON OFF the Q1 of slave1 slave3 are ON OFF 2 Read the AI2 value from the slave1 slave3 to master and display Step1 Configure the IP c...

Page 298: ...298 Slave1 IP 192 168 0 101 UDP Port 8001 Target1 IP address 192 168 0 100 UDP port 8000 Slave2 IP 192 168 0 102 UDP port 8002 Target1 192 168 0 100 UDP port 8000...

Page 299: ...299 Slave3 IP 192 168 0 103 UDP port 8003 Target1 192 168 0 100 UDP port 8000 Step 2 Program in master and slave Master program...

Page 300: ...0 B001 is used to transfer the I1 status to the F1 of slave1 slave1 IP 192 168 0 101 UDP port is 8001 B002 is used to transfer the I1 status to the F1 of slave2 slave2 IP 192 168 0 102 UDP port is 800...

Page 301: ...used to transfer the I1 status to the F1 of slave3 slave3 IP 192 168 0 103 UDP port is 8003 B004 is used to read the AI1 value from slave1 then save it into AF1 of master slave1 IP 192 168 0 101 UDP p...

Page 302: ...302 B005 is used to read the AI1 value from slave2 then save it into AF2 of master slave1 IP 192 168 0 102 UDP port is 8002 Slave1 Slave3 Program would be same...

Page 303: ...1 If I1 of Master is ON OFF the Q1 of slave1 slave3 are ON OFF 2 Read the AI2 value from the slave1 slave3 to master and display Step1 Configure the IP configuration of the PLCs Master IP 192 168 0 10...

Page 304: ...304 Target3 UDP 192 168 0 103 Port 8003 Slave1 IP 192 168 0 101 UDP Server port 8001 Slave2 IP 192 168 0 102 UDP Server port 8002...

Page 305: ...305 Slave3 IP 192 168 0 103 UDP Server port 8003 Step 2 Program in master and slave Master program...

Page 306: ...306 B001 is used to transfer I1 status to the F1 of slave1 by UDP connection The Remote1 is the target UDP server setting in the network parameter...

Page 307: ...307 B002 is used to transfer I1 status to the F1 of slave2 by UDP connection The Remote2 is the target UDP server setting in the network parameter...

Page 308: ...308 B003 is used to transfer I1 status to the F1 of slave3 by UDP connection The Remote3 is the target UDP server setting in the network parameter...

Page 309: ...309 B004 is used to read AI1 value from slave1 and save the value into AF1 by UDP connection The Remote1 is the target UDP server setting in the network parameter...

Page 310: ...alue into AF2 by UDP connection The Remote2 is the target UDP server setting in the network parameter B006 is used to read AI1 value from slave3 and save the value into AF3 by UDP connection The Remot...

Page 311: ...m would be same 6 7 Configuration with DeviceManager Note 1 This chapter is only applied to the CPU with built in LAN port Ethernet PLC Available CPU types ELC 12DC DA R N ELC 12AC R N ELC 12DC DA R N...

Page 312: ...dules happens over the Ethernet network Furthermore the visualization of the whole system is possible and Rievtech to realize by a personal computer Software part Device IP factory setting The default...

Page 313: ...o not have to read the following network setting contents If it is different then the following settings is very important to you Figure 4 3 Above contents is used to tell you how to make the user s P...

Page 314: ...ouse In order to enable your Ethernet module to link to Ethernet you are required to connect the LAN port of the CPU to your computer by net router You are allowed to connect the LAN port of the CPU t...

Page 315: ...uction carefully Power on ELC 12DC DA R N module and click to search Ethernet module At the same time the searching Process will be showing In the search window we can see the search module and the co...

Page 316: ...admin If the username and the password are both correct you can click the button And the configuration dialog box would pop out Basic Settings You can rename the Device name default is NB L After you...

Page 317: ...317 Network settings You can view the network parameters in such table...

Page 318: ...orresponding communication port must be set the same as baudrate namely the COM3 of CPU The default baudrate is 9600 in CPU Connection settings ELC 12DC DA R N can work as either server or client Net...

Page 319: ...ile working as server the client shall be connected with the CPU Password setting Password can be changed in such dialog box Password is required for accessing the Ethernet port You must enter at leas...

Page 320: ...st apply settings by save and reboot the module otherwise the modification settings is not finished Export you settings Click to export the settings The configuration would be saved as a xml file You...

Page 321: ...we only introduce how to establish the connection between CPU and xlogicsoft via Ethernet 1 Connect the ELC 12DC DA R N as the first part and configure as the first part 2 Here are two options to ope...

Page 322: ...as above figure shows Notes 1 The remote host IP address is the same as that of the PC in which the xLogicSoft being installed 2 Modbus Type in xlogic shall be MODBUS TCP 3 Active Connect must be Aut...

Page 323: ...a role of ELC RS232 USB cable A Upload program click B Download program click C Monitor program run status click Option 2 ELC 12DC DA R N work under TCP serve mode xLogicsoft software acting as Clien...

Page 324: ...need use the device manger to configure the LAN connection Example Master PLC works as server Its IP address is 192 168 0 16 and the local port shall be set as 5001 As below configure shows Work as se...

Page 325: ...figure Slave 1 settings IP address is 192 168 0 17 Work as Client Remote Host 192 168 0 16 Remote port 5001 The items with red circle marked must be the same as the above figure PLC address need be c...

Page 326: ...ange address with UP or DOWN button and confirm with OK Slave 2 settings IP address is 192 168 0 18 Work as Client Remote Host 192 168 0 16 Remote port 5001 PLC address need be changed to 2 default is...

Page 327: ...r the corresponding Q1 in salves is OFF IA is OFF in master the corresponding QA in salves is OFF 2 Read the Inputs I1 IA status of slave 1 to control the F11 F20 in master Read the Inputs I1 IA statu...

Page 328: ...328 Program in master You need use the MODBUS BLOCK to realize the data transmission between master and slaves...

Page 329: ...329 B001 Transfer the I1 IA status from the master to the Q1 QA of the slave1 Setting as follows...

Page 330: ...330 B002 Transfer the I1 IA status from the master to the Q1 QA of the slave2 Setting as follows...

Page 331: ...331 B005 Read the I1 IA status from the slave1 to the F11 F20 of the master Setting as follows...

Page 332: ...332 B006 Read the I1 IA status from the slave2 to the F21 F30 of the master Setting as follows...

Page 333: ...333 B009 Read the AF1 value from the slave1 to the AF1 of the master Setting as follows B010 Read the AF1 value from the slave2 to the AF2 of the master Setting as follows...

Page 334: ...BLOCKS had been used in your program moreover the communication type comm Type is Ethernet then ELC 22DC DA R N can not work as slave through Ethernet port 2 In your program if the Modbus read write...

Page 335: ...explain the general rule of using xLogic It is possible that these instances can be different from user s specific application so user should take all related responsibility of running those instance...

Page 336: ...has expired Disadvantage You can t keep the lights switched on over an extended period of time The permanent on switch usually installed inside the stairway lighting timer unit may be difficult or imp...

Page 337: ...pushbutton once more Switches off the lighting 7 1 2 The scheme of xLogic The wiring of a lighting system with xLogic is the same as standard corridor or stairway lighting systems Only the automatic l...

Page 338: ...flicker before it gets off automatically You can integrate different central control functions Central control off Central control on emergency button Control all lighting or certain single circuitry...

Page 339: ...1 Standard solution As long as the detector B1 or B2 detects someone approach the switch K3 will be on and open the door If the two detectors don t detect person in a short time trigger K4 and close t...

Page 340: ...pen contactor K2 close contactor S1 break contact close limit switch S2 break contact open limit switch B1 make contact outdoor infrared action detector B2 make contact infrared action detector inside...

Page 341: ...all the time The detector indicates that somebody is approaching to the door The door has not been opened entirely I4 limit switch is not off Trigger electromotor for closing door Operate control swi...

Page 342: ...n extractor fan and a fresh air fan Each fan is monitored by means of a flow sensor The pressure in the room may rise above the atmospheric pressure The fresh air fan may only be switched on if the fl...

Page 343: ...error message is generated which can be acknowledged by pressing the off button Fan monitoring requires an analyzer circuit with several switching devices in addition to the flow sensors A single xLo...

Page 344: ...u can also switch off of the fans sequentially after the system is switched off The circuit in xLogicSoft The system is switched on and off at the inputs I1 and I2 The fans are connected to outputs Q1...

Page 345: ...s closed However gate movements can always be interrupted A flashing light is activated five seconds before the gate moves and while the gate is in motion A safety pressure strip ensures that people a...

Page 346: ...346 7 4 2 The scheme of xLogic The circuit diagram of industry gate...

Page 347: ...tton S3 break contact Open position sensor S4 break contact Shutdown position sensor S5 break contact Safety bar xLogicSoft solution A xLogic circuit provides a further feature compared to standard co...

Page 348: ...ard solutions xLogic offers an Rievtech and economic means of modifying the control system 7 5 Daylight lamp system Requirements for lighting system Different daylight lamp rows should be able to be s...

Page 349: ...ns of timer and lightness sensitivity switch Pulse relay may shorten pulse width of off command Required component Button S1 S4 Daylight control switch B1 Timer T1 Pulse relay K1 and K2 pulse switch K...

Page 350: ...350 Components S1 S4 make contact Momentary switch B1 make contact Daylight control switch Circuit diagram by xLogicsoft...

Page 351: ...as been integrated in xLogic It can be installed in a small sized cabinet so quite space saving Less equipment Quite easier to modify lighting system According to your demand you may setup supplementa...

Page 352: ...e water If the rain water in the container dried up this system can supply drinkable water Requirements for the control system of service water pump It can provide service water all day under the cont...

Page 353: ...353 7 6 2 The scheme of xLogic Components K1 main contactor...

Page 354: ...Function description Length of message one frame order can deal with Remarks 01 Read one group coil status 00000 0XXXX Read Coil Status Output relay 02 Fetch one group data of the status of switch inp...

Page 355: ...gisters data 40000 4XXXX 8 2 Register addresses of xLogic Communication parameters settings PLC mode selection MODBUS RTU Communication parameter set Baud rates 9600 Data bit 8 Stop bit 1 Name Set add...

Page 356: ...1 EXM E 8 EXT8 64 71 PR 6 CPU 0 3 PR 12 0 7 PR 14 CPU 0 9 PR 18 CPU 0 11 PR E 16 EXT1 12 19 PR E 16 EXT2 20 27 PR E 16 EXT3 28 35 PR E 16 EXT9 76 83 PR E 16 EXT10 84 91 PR E 16 EXT15 124 131 PR E 16 E...

Page 357: ...357 4 cursors Cursor key Type 1x MODBUS code 02 C1 C4 256 259 BIT R...

Page 358: ...6 CPU 0 1 PR 12 CPU 0 3 PR 14 CPU 0 3 PR 18 CPU 0 5 PR E 16 EXT1 8 15 PR E 16 EXT2 16 23 PR E 16 EXT3 24 31 PR E 16 EXT9 72 79 PR E 16 EXT10 80 87 PR E 16 EXT11 88 95 PR E 16 EXT12 96 103 PR E 16 EXT...

Page 359: ...C 12 Series 256 767 PR 12 PR 14 ELC 22 Series 256 767 PR 18 PR 24 Series 256 1279 BIT R Digital Flag 0x MODBUS code 01 read 05 single Write 15 Multiple Write PR 6 Series 1536 1567 PR 12 E series 1536...

Page 360: ...MODBUS code 03 read 16 Multiple Write PR 18 PR 24 Series 0 1023 PR 6 Economic PR 12 Series 0 63 Standard RR 12 PR 14 Series 0 511 LONG R W Note some modbus device cannot read the REG type you can use...

Page 361: ...032 1039 EXT2 1040 1047 EXT8 1088 1095 ELC 22 26 Series CPU 1024 1031 EXT1 1032 1039 EXT2 1040 1047 EXT9 1096 1103 PR 6 Series 1024 1027 PR 12 Series 1024 1027 PR 14 PR 18 PR 24 Series CPU 1024 1031 E...

Page 362: ...280 1281 EXT1 1282 1283 EXT2 1284 1285 EXT9 1298 1299 EXT15 1310 1311 EXT16 1312 1313 PR 12 Series 1280 1281 Signed short R W Analog quantity buffer 4x MODBUS code 03 read PR 6 Economic PR 12 Series 1...

Page 363: ...The frequency value buffer of threshold trigger Data latching Relay 4x MODBUS code 03 read 16 Multiple Write EXM 12 ELC 12 Series 2560 3071 PR 12 PR 14 Series 2560 3071 PR 18 PR 24 Series HEG0 HEG511...

Page 364: ...180g on a 35 mm profile rail or wall mounting PR 12 Series CPU Dimensions W x H x D Weight Installation 72 x 90 x 61 mm Approx 300g on a 35 mm profile rail or wall mounting PR 18 or PR 14 series CPU D...

Page 365: ...l or wall mounting Climatic conditions Ambient temperature Horizontal installation Vertical installation Storage shipping Low temperature to IEC 6006821 High temperature to IEC 60068 2 2 20 55 C 20 55...

Page 366: ...ion EN 55022 Class B Emission Radiated Emission EN 55022 Class B Harmonics Current Harmonics EN 61000 3 2 Flicker Voltage Fluctuation EN 61000 3 3 ESD Electrostatic Discharge EN 61000 4 2 Severity 3 8...

Page 367: ...C0 240V DC0 28 8V Input signal0 AC0 40V 0 03mA 5V DC 0 1mA Input signal1 AC79 240V 0 06mA 8 V DC 0 3mA Input current 0 4mA 10 8V dc 0 5mA 12 0 V dc 1 2mA 24 V dc 1 5mA 28 8 V dc Input Response Time De...

Page 368: ...ec Max Built in protections Against short circuits None Against overvoltages and overloads None Switch frequency Mechanism 10Hz Resistor light load 2Hz Sensitive load 0 5Hz Other parameters Function b...

Page 369: ...Typ 5 ms Max Startup current Max 0 25A Max absorbed power 38mA 85V AC 30mA 265V AC 3 2 W 10 8V dc 3 8 W 28 8V dc Protection against polarity inversions Yes Yes The main frequency range 47 63Hz Input...

Page 370: ...Q4 Output type Relay output Continuous current Resistive load 10A Inductive load 2A Max breaking voltage AC 250 V DC 110 V Max Allowable Power Force 1250VA 300W Electrical durability Expectancy 105 Op...

Page 371: ...to 70 C Certification CE Mounting On 35 mm standard mounting rail 4 MW or wall mounting Dimensions W x H x D 72 90 61 mm Programming cable PC cable RS232 or USB Third party device HMI xLogic Yes work...

Page 372: ...9 240V 0 06m A 8 V DC 0 3mA I1 I4 1 7mA I5 I6 Input current 0 4mA I1 I4 2 3mA I5 I8 10 8V dc 0 5mA I1 I4 2 6mA I5 I8 12 0 V dc 1 2mA I1 I4 5 2mA I5 I8 24 V dc 1 5mA I1 I4 6 3mA I5 I8 28 8 V dc Input R...

Page 373: ...e 1 ms Release Time 1 ms Built in protections Against short circuits None Against overvoltages and overloads None Switch frequency Mechanism 10Hz Resistor light load 2Hz 10HZ Sensitive load 0 5Hz 0 5H...

Page 374: ...7 63Hz Input parameters Input No 10 I1 IA 10 I1 IA Digital input 10 I1 IA 10 I1 IA Analogue input None 6 I1 I6 0 10V DC Input voltage AC0 240V DC 0 28 8V Input signal0 AC0 40V 0 03mA 5V DC 0 1mA I1 I6...

Page 375: ...x Allowable Power Force 1250VA 300W Relay Electrical durability Expectancy 105 Operations at Rated Resistive Load Relay Mechanical life 107 Operations at No Load condition Relay Response time Operate...

Page 376: ...imits AC85 265 V DC 10 8 28 8V Immunity from micro power cuts Typ 5 ms Max Startup current Max 0 25A Max absorbed power 49mA 85V ac 37mA 265V ac 3 5 W 10 8V dc 4 W 28 8V dc Protection against polarity...

Page 377: ...Q6 4 Q1 Q4 Relay 2 Q5 Q6 Transistor PNP Output type Relay output Continuous current Resistive load 10A Inductive load 2A Relay Resistive load 10A Inductive load 2A Relay 0 3A Transistor Max breaking...

Page 378: ...ns W x H x D 72 90 61 mm Programming cable PC cable RS232 or USB Third party device HMI xLogic Yes work as modbus master or slave Extensions Yes Can connect up to 16 pcs PR E extensions High speed inp...

Page 379: ...3 I6 6 3mA I7 I C 28 8 V dc Input Response Time Delay time at 0 to 1 120V AC Typ 50 ms 240V AC Typ 30 ms Delay time at 1 to 0 120V AC Typ 90 ms 240V AC Typ 100 ms Delay time at 0 to 1 Typ 1 5 ms I1 I6...

Page 380: ...r Electrical durability Expectancy 105 Operations at Rated Resistive Load Relay Mechanical life 107 Operations at No Load condition Relay Response time Operate Time 15 mSec Max Relay Release Time 10 m...

Page 381: ...sions High speed input No I9 IC 60kHz HMI Yes RS485 port Option1 Can use PRO RS485 cable to convert program port to RS485 port Option2 Or use PR RS485 extension module Option3 built in RS485 port is a...

Page 382: ...Inputs used as analog inputs I1 I4 Measurement range DC 0 10V Input impedance Min 24K Max 72K Input voltage 28 8 V DC max Resolution 9bit 0 015V Accuracy at 25 C Max 0 02 V Accuracy at 55 C Max 0 04...

Page 383: ...imits DC 10 8 28 8V DC 19 2 28 8V Immunity from micro power cuts Typ 5 ms Max Startup current Max 0 25A Max absorbed power 3 5 W 10 8V dc 4 5 W 28 8V dc Protection against polarity inversions Yes Inpu...

Page 384: ...orbed power 1 5 W 10 8V dc 1 8W W 28 8V dc Protection against polarity inversions Yes Input parameters None Output parameters None Other parameters Weight Approx 400g Short circuit protection External...

Page 385: ...at 1 to 0 120V AC Typ 90 ms 240V AC Typ 100 ms Delay time at 0 to 1 Typ 1 5 ms I1 I4 1ms I5 I8 Delay time at 1 to 0 Typ 1 5 ms I1 I4 1ms I5 I8 Maximum counting frequency Typ 4Hz Typ 4 HZ Sensor type...

Page 386: ...d settings Backup 10 Years Data Power off retentivity Yes Weight Approx 400g Short circuit protection External fuse required Cycle time typ 0 6ms 8 0ms Connection cables 2 x 1 5 mm or 1 x 2 5 mm Ambie...

Page 387: ...5 I8 10 8V dc 0 5mA I1 I4 2 6mA I5 I8 12 0 V dc 1 2mA I1 I4 5 2mA I5 I8 24 V dc 1 5mA I1 I4 6 3mA I5 I8 28 8 V dc Input Response Time Delay time at 0 to 1 120V AC Typ 50 ms 240V AC Typ 30 ms Delay tim...

Page 388: ...None Switch frequency Mechanism 10Hz Resistor light load 2Hz Sensitive load 0 5Hz Other parameters Weight Approx 250g Connection cables 2 x 1 5 mm or 1 x 2 5 mm Ambient temperature 20 to 55 C Storage...

Page 389: ...Ambient temperature 20 to 55 C Storage temperature 40 C to 70 C Certification CE Mounting On 35 mm standard mounting rail 4 MW or wall mounting Dimensions W x H x D 48 90 64 mm RS485 communication mod...

Page 390: ...g On 35 mm standard mounting rail 4 MW or wall mounting Dimensions W x H x D 48 90 64 mm A 3 Switching capacity and service life of the relay outputs Ohmic load Figure A Switching capacity and service...

Page 391: ...391 Figure B Switching capacity and service life of the contacts with high inductive load contactors solenoid coils motors REVISION RECORD Revision Description...

Page 392: ...392...

Page 393: ...393 REVISION RECORD Revision Description Update 07 2016 A 2 PR 14 CPU information added Update 07 2017 5 5 34 Modbus read write added Chapter 6 1 6 6 Ethernt built in webserver instruction added...

Reviews: