Home

Preface

image

Contents

1. 1 Input Power AC or DOT AC110 220V T DC12 24V 2 Input Wiring Terminal 3 Real time clock battery slot 4 Mini HMI APB HMI 59 CPU run indicator in left Power supply indicator in right 6 Extend module conmunication Interface 7 Software Communication Interface 8 Outout Wiring Temminal Raay output type or transistor output type 2 Chapter General Introduction to APB 202 L 2 2 OOH JO ODM OD DO OA go a 3 4 6 6 APB 22 series Main Machine 1 2 Naming Rules of APB Series Type Nane APB XX M E R T G A D L L Programmeble Block Contrdler I O Points Main Extension Reay Transistor AC DC Power Type With LCD Pang Note M mens man machine E meansextenson module R mens rday output T mems NPN trengstor output G means PNP trensstor output A means AC type D mems DC typeC mens red time clock T he economica type is supplied without LCD pend and the basc type is supplied with LCD pand 1 3 Specificatons and Type of APB Note The economical type is supplied without LCD pane and the basic type is supplied with LCD pand APB 12MRA L AC110 220V 8 paints AC input 4 points rday output 8 points digital input can be used as APB 12MRD L DC12V 24V andoginputs 14 I7 can be high 4 paints relay output Speed ports Chapter General Introduction to APB 3 8 paints digital input can be used as 4 pants NPN transistor output APB 12MTD L
2. DC12V 24V analoginputs 14 17 can be high Q21 Q3 can be high speed speed pots output ports 8 pants digtal input can beused 4 paints PNP transistor output APB 12MGD L DC12V 24V as analog inputs 14 17 can be high Q2 Q3 can be high speed speed ports output ports APB 22MRA L AC100V 240V 14 points input 8 points raay output 14 points digtal input the first 12 APB 22MRD L DC12V 24V points can be analog inputs 14 17 can 8 points relay output be high speed ports 14 points digtal input the first 12 8 points NPN transistor outout APB 22MTD L DC12V 24V pants can be analog Inputs 14 17 can Q21 Q3 can be high speed be high speed ports output ports 14 pants digtal input the first 12 8 paints PNP transistor output APB 22MGD L DC12V 24V paints can be analog inputs 14 17 can Q2 Q3 can be high speed be high speed ports Output ports 2paints for current input and 14points i i for digtal input thefirst 12 points can 6 pants raay output 2 PE E RT E be O LOV analog inputs 14 17 canbe 4 20MA analog outputs A high speed ports ezna lactone 2a tapes iroa Note The type without L indicates the man machine of this type is supplied without LCD pend 10 4 Features of APB 1 Fledble hunen machine interface APB HMI If Chinese lanquage is sdected in APB softwere APB SLCD wil display Chinese after APB program has been downloaded fromPC If Engish language is sd ected in APB softwe
3. DIR 0 Counting up DIR L Counting down 00 Q is s amp or reset depending on the current value at CNT and the Set thresholds Tt P Output Outputs the running value of the block to the Reg ster DW DIR Input 22 Chapter lIl General Description of Function Blocks Pararreter Setting oni Onthreshdd Rang of values O 99999999 off Off threshold Range of values O 99999999 Time Sequence Frang Functional Description 1 If the On threshold gt Off threshold then when Cnt gt On Q 1 when Cnt lt Off Q 0 2 If the On threshdd lt Off threshold then when On lt Cnt lt Off Q 1 3 Retentivity function and high speed running function are optional Notes 1 The counting frequency is rdated to filtering duration If the default filtering duration is 50ms please choose high peed running mode when input frequency exceeds 4H Z 2 1447 ae high peed inputs Each high peed input only can be connected with a function block of high goeed counting in a program 3 2 11 Schedue mitch SCHD APB can provide clock switches for 32 time intervals at most Line diagrany fas InoutON Set power on tine for clock switch and select the mode for it Set power off tine for clock switch The mode of clock switch Q Input OFF a Stays at the sare one as it is during power on time O Q The Output of the clock block If one set tine interval is ON the output becorres 1 or it is in Status 0 The SCHD block has a powerful clock
4. EITE 4A 10 3 APB HMI Application Exanples Note This is an example for a weter supply system 1 The weter supply system diagramis shown as follow Chapter IV Instructions of APB HMI 51 IO 11 12 I3 14 I5 I6 I7 QOQ_QOOOOOOSO Proce Sensor Pl 2 Description a We use an APB 12MRD to compare pressure sensor P1 with 7V if P1 lt v then start the pun 1 QAO if P1 lt 3v then start the pup 2 QA1 P1 is input from A0 b SA is a Manual Auto switch which is connected to lA c When SA is selected as manual switch A3 controls pup 1 and 1A4 controls punp d When SA is selected as Auto switch the analog comparators BO B1 and B6 are defined in APB 12MRDC The pararretes are set as follows Analog comparator Compare lt Farameter Gain la F Offset b 0 m 10000 10000 20000 20000 Fixed W Fixed pin Fixed Humerics O Reference Range 20000 00 20000 00 Analog comparator Compare Farameter Gain la hooo Offset ooo 10000 10000 20000 20000 Fixed iW Fixed pin eS Fixed Humerics O B Reference Range 20000 00 20000 00 52 Chapter IV Instructions of APB HMI Analog comparator Compare kK l Farameter Tamia Eoo Offset h eooo 10000 10000 20000 20000 Fixed lW Fixed pin A gt Fixed Humerics a Reference Range 20000 00 20000 00 BO wil control the p
5. JS Set value of timedelayrelay Property Numeric Position Format Display style x 81 4 Digit 2 55 v Y fi Decimal Data setting Block Parameter Information Run value C ON delay TON Choose the component H andsdect Function block B0003 on ddlay The ON dday is chosen as the parareter Displayed digits 2 decimal digits 0 54 Chapter IV Instructions of APB HMI Screen Editor currentvalueoft X m time delay relay al Setvalueof time delay relay Property Numeric Position Format Display style x ET Digit 2 55 Y 40 Decimal Data setting F Block Parameter Information C Run value ON delay TON 3 Create a screen page for Display the current value of pressure sensor P1 and the set value of analog corparator Choose component A to input text message Pressure sensor Choose conmponent A to input text message Value Choose component A to input text message Analog comparator Choose conponent A to input text message Fixed value Screen Editor Pr SSLIre s rnsor Value Property Text Position Input String X 0 Y 50 Fixed value Font Style Reverse Choose the component R and select Function block BOOOO universal analog corrparator The Running value of the block is chosen as the parameter Displayed d
6. Porma O Output oO Hormal hal Qutput 1 Normal Output 7 Normal Step sequence mtpt B Chitput 0 j frutput B Chitput 2 Iw utpat 3 V Output 4 I Output 5 Output 6 Output 7 Featire Double click to change Tip If you have chosen the output 3 output 2 most be selected and so on 26 Chapter lIl General Description of Function Blocks When you select a SSEQ instruction in the program and double click it it will display the above figure Then you can select the output points If you sd ect Output 4 output 3 will be selected automatically the sane way for output 5 outout output 8 It means if you select one output then all the previous outputs wil be selected autoratically This block has two output modes you can select it through the change beween high leva and low leva signa a EN When EN 0 output mode 1 is sdlected Under this mode Outputs 1 7 are tiggered by a rising edge of input signal and become ON according to the step sequence Every time when there is a pulse rigge TRG it wll make one output become 1 And when all the selected outputs have becorre ON one by one the next TRG pulse wil make all the sd ected outputs becore OFF while Output O will retain the ON state and the above cycle will start again QO DE Q1 Q2 Q3 Q4 Qo QG Q7 Note The output O will bein ON state all the time no netter the input TRG is ON or OFF Whe
7. RAWA Read Write intermediate value Analog A RB Read analog input Al R WC Read Write analog output AQ Sections The serial nunber of the reg ster 4 bits at most Section4 The set value 10 bits at most please note that the set value should stay within the valid range of the reg ster value used in the write Instruction tis necessary to program SMS function block in APB softwere when SMS module is used with APB Ett DEEEH s 8 SS ARGS EE iT Hia paa Too ih AAT bhbik 8613800250500 Feast 261377066044 TA SRAN Example If 100 is ON the SMS function block will be triggered and GSM module will send the message of Tum on witch 0 to mobile phone 137706604 94 APB SMS Module Example Data fanet 111 RIO indicates the password is 111 read input I0 state If 10 is ON 0000000001 will be returned when the 10 state has been successfully read The last number of the retumed value indicates the switch state ON 1 OFF 0 Example Data forret 111 RQO indicates the password is 111 read input QO state If QO is OFF 0000000000 will be returned when the QO state has been successfully read Example Data forret 111 WQO0 1 indicates the password is 111 wite ouput QO state The returned message will be OK if QO state has beens successfully set Example Data fomet 111 WD0023 123456 7890 indicates the password is 111 set the value of reg ster DW23 to 1234567890 The returned message will be
8. Then if the calculated value of AIO is lt the value of Al1 QOOwill becon 1 otherwise QOO wil becorre 0 Example 2 Comparing the calculated val ue of the analog input 1 with the fixed value Input 1 is connected to AIO Input 2 is erpty Then select the Input 2 fromthe property dialogue frame and input proper fixed value Output is connected to QAO CMPR function is sdectedas lt Then if the calculated value of AIO is lt the fixed value QAO wil becorre 1 othewse QAO wil becore 0 38 Chapter III General Description of Function Blocks 30 30 8 AndogThreshdd Trigger THRDJ analog input IA or the preset analog value ait operearre on Parameter Setting AD Gain value Range of values 10000 10000 Bl Offset value Range of values 20000 20000 Or On threshdd Range of values 20000 20000 Off Off threshold Range of values 20000 20000 Time sequence frarre 1000 SS eee ee Functional Description The function fetches the analog signal at input Alx Alx is multiplied by the value of the A gain parameter and the value at parameter B offset is added to product i e Alx gain offset actual value of Alx If the On threshold Off threshold then Q if the actual value Alx gt On Q 0 if the actual value Alx lt Off If the On threshold Off threshold then Q if On lt actual valueAlx Off Chapter lIl General Description of Function Blocks 39 3 30 9 AndogAnpiifiel AMP
9. 0 4 0xC000 Parameter value occupies 2 words Parameter Gain lal Range I Telta 1 me e Reference 0 00 20000 00 t Offset tb e E 10000 00 10000 00 20000 00 20000 00 Delta 2 Qhumerics oo Reference Range 0 00 20000 00 If the input value is 10V then the theoretical value will be 12 according to the calculation fomula actual value Alx gain value offset and the actual value is 12 01 The read value through MODBUS protocd is 1201 which is O4B1 in HEX MODBUS RTU contrand frarre should be Request Message mple Fidd Nane e C CHigheyedttebok praras vau 00 ooo Exarpled Read the running value of off delay block If block number is 1 and parameter number is 0 then the address is OxC020 cal cul ated by the forrrula 0 32 0 4 0xC000 Parameter value occupies 2 words If the running value is 24seconds and 570r its decimal value is 24570 and Response Message Fidd Nane Exanple Hex The nunber of returned bytes 4 Parameter elved thetiock 0 Parameter valved thetiock 0 Perce 82 Chapter VI APB Application corresponding hexadecimal value is 5FFA MODBUS RTU contrand frarre should be Request Message a Fidd Nane Devi Deviceaddres Deviceaddres EKS a a High byte of the block address Request Message Tenmedananye o rich pect tetera vle 0 Paarasan o pacar vaved tetiek o0 Oo T e
10. 12MTD APB 22MTD Power voltage range DC 12V 24V DC 12V 24V Clock renmin tive at 25 C 160 Hours 6 Months 160 Hours 6 Months Real time clock accuracy Max 20s month Max 20s month nputs gJ 1000 1070 gJ 1000 1070 gJ 1000 1070 49 1040 1070 DC OV 24V0 digtal inputs Input points 14 100 1OD Digtal inputs Analog inputs High speed inputs 14 100 10D 12 100 I1OB0O 4 1040 107 DC OV 240 digital inputs Input voltage range DC OV 10V analoginputs DCOV 10V analog inputs DC OV 6 5V DC OV 6 5 Input signal O DC 7 5V 0 24V DC 7 5V 24V Input signal 1 UI O UI Daday tnefrom1to0 0 Daday time from0 to 1 50s 50s Transistor outputs canan eo High frequency outputs 2 Q02 Q03 2 Q02 Q03 Chapter V APB Technical Parameters 65 Output voltage DC OV 24V DC OV 24V Output current Response tine from 0 to 1 rener n 5S 4 APB 12MGD APB 22MGD Technical Parameters APB 12MGD APB 22MGD Power voltage range DC 12V 24V DC 12V 24V Power Clock renmin tine at 25 C 160 Hours 6 Months 160 Hours 6 Months Real time clock accuracy Max 20s month Max 20s month nuts a 100 om ag o0 10 1000 107 ag 100 10 1000 om 127 1000 oB 0 1040 107 0 1040 107 DC OV 240 didtal inout DCOVQ 24V0 didta inputs Input voltage range DC OV 10V analoginputs DCOV 10V maloginputs Input signal O DC OV 6 5V DC OV 6 5 Input s
11. 30 10 amp NOR In APB the symbol is shown as follow 1 In NOR function block when the status of all inputs is low potential Status 0 the r gt 1 LQ output is connected status 1 If any one of the input is high potential status 1 the B output is opened status 0 30 10 Q OR wthrisingedgetest In APB the symbol is shown as follow Il 2 1 4 o When amp least one input status is changed from 0 to 1 the output is 1 18 30 10 10 OR wth Fdling Edge Test In APB the symbol is shown as follow I1 27 S14 Ha When at least one input status is changed from 1 to 0 the output is 1 18 30 20 30 2 Special Function Blocks 18 in total Table 2 Special Function Blocks R Q M ey Up Down threshdd T count UD au cmd DIR UDCF p 14 Chapter lIl General Description of Function Blocks Renewal Table 2 Special Function Blocks OFF dday i Scheduer switch ar O TOFD L O SCHOD scup OFF ON OFF delay Time sequence output O TONF TSEQ ProgamONE SHOT Step sequence output O PONS 0 SSEQO Singe Pushbutton Latch Clock adjust O SPBLO HOUR Timer counter comparator T C CMPRJ Blinker rday O BLNK Delay Maintain ON Stairway lighting switch O MTOD O STLTY Multi ple function switch O MULTI Universal counter LCD editor 7 UDCTO SLCD aad Chapter lIl General Description of Function Blocks 15 30 20 1 ON deday Block TOND Line diagran After TRG is triggered th
12. edge is input at CNT the intemal counter adds 1 DIR 0 or minus 1 DIR L If the value of internal counter is larger than or equal to parameter value PAR the output Q is set to 1 2 If Reset R is input as 1 the internal counter and output will be reset to 0 If R 1 output Q is 0 and then does nat count Input CNT 3 choose counting rising edge or descending edge in function block property 4 Retentivity function and high speed running function are optional Notes 1 The counting frequency is rdated to filtering duration If the default filtering duration is 50ms please choose high peed running mode when input frequency exceeds 4H Z 2 1447 ae high ped inputs Each high peed input only can be connected with a function block of high goeed counting in a program 30 4 10 Up Down Threshold Courter UDCFO 7 wn di agram O mamae O O O R Input A signal at input R reset resets the intemal count value and output R takes priority over CNT Optional counter mode 1 Rising edge counter When rising edge counter mode is choosen The counter just counts the change from status O to stauts 1 and TRG Input doesn t count the change fromstatus 1 to status O rRe A IL 2 Descending edge counter DIR UDCF When descending edge counter mode is choasen The counter just counts the change from status 1 to stauts O and doesn t count the change from status O to status 1 Specifies the direction of counter with Input DI R direction
13. input IA 30 3 7 OMPR When the conditions are satisfied the output Q will be 1 Comparing function can be selected as lt gt OutoutP Output the running value of the block to the Register DW LAA ll LAA ll yy li LAA lt p Chapter lIl General Description of Function Blocks 37 Parameter Setting A Gain value Range of values 10000 10000 Bl Offset value Range of values 20000 20000 Functional Description Only APB 12MRD APB 12MTD APB 12MGD APB 22MRD APB 22MTD APB 22MGD types have this function CMPR Description The CMPR compared value of the analog input IA is valued out through neth fomula and it is not the actual input voltage value The math fomula is V input Virin Vinex Virin 10 Please see the Analog calibration for details CMPR wil corrpare the calculated value of the input AIX and input ALY When the comparison function iS saected as lt it means the calculated value of input AIX is smaller than that of input AIY and the output is high otherwise the output will be low It is allowed to set one value of input AIX or input ALY as the fixed value and the other is connected to the analog input Thus CMPR wil compare this fixed value and the calculated val ue of the analog input Example 1 Comparing the calculated value of input AIX and input ALY Input 2 is connected to Al 1 Output is connected to QAO CMPR function is sdected as lt
14. input output once 14 points input and 8 points output One set main machine of APB series can be externally connected with 7 extension modules which brings you many input output for your contral 5 Analog input and transnission The IA ports of DC type main machines all have the analog input function In addition to reca ving switching input APB can also rece ve O LOV voltage signal 22 points main machine can receive 2 ways 4 20mA current signal to implement the control of temperature humidity pressure flow level unit ec and transmit then renote y to a computer for monitoring Support high speed input output function APB series PLC can support high speed pulse counting The range of pulse frequency is 1 10KHZ The output terminal Q2 Q3 can output the pulse signal up to 1OKHZ 7 Reertivity The retentivity function can be set flexibly APB can save the current data in time when a power failure occurred And it resumes operation at the break point when it is power on again g Security dpher code function APB is provided with protection for the programs downloaded into it A security cipher code can be set before progras are witten The programs can then only be modified after the correct cipher code is entered 9 Free Prograntring Software APB software is the user friendly hunen machine interface programming softwere It can edit the function diagrams and also can simulate the written program on PC APB Software provide
15. o 2 Detailed Explanation on Clock Block Operation When read write the clock block parameters the self defined function codes are used and the request response format is similar to the function codes Ox03 0x10 of the standard MODBUS RTU It is only alowed to read and modify the time of clock block with this command while the time group canna be added In other words the operation can be executed to the existed tine only Examplel Read parameters of the dock block time setting Item State Date Time Teck Oo OH fO09 12 8 17 05 71 If block number is 0 and read the data of nurrber 0 then the address is calculated by the fomula block number 256 group nunber 8 O Parareter value occupies 4 words If the time data of item O is 2009 12 8 17 05 21 and stays in ON state then MODBUS RTU command frame should be Request Message Request Message Fidd Nave Example Hex Fidd Nane E ie Hes High byte of the black address Low Lowbyteof the block address Lowbyteof the block address the block address High byte of the block parameter value The nurrber of returned bytes B If clock switch is in ON state the value is Ol If clock switch is in OFF state the value is 00 Chapter VI APB Application 83 Low byte of the block parameter Clock switch mode see nate1 value Clock switch date Y ear o CRC lowbyte Clock snitch date Month CRC high bite Clock switch date Day B Not
16. proper position of the edit section and click the left button of the mouse to confirm Screen Editor Property Numeric I Position Format Display style x 33 Digit i z Mm y 23 Decimal fo i Data setting Block Parameter Information amp Aun value C ON delay TON A Farret Set the displayed digits and decine digts of the parameter A Display Type Several selectable types are shown as follows HHO MMU SS MS Hours Minutes Seconds Milliseconds HHO MME SS Hours Minutes Seconds HH MMi Hours Minutes MM Sg Minutes Seconds MM Minutes Sg Seconds MS Milliseconds A Function Block Parameter The set parameter or the running value of the function block can be set to display according to the actual needs 50 Chapter IV Instructions of APB HMI Triggered page Screen Editor Water leve Property S creer Screen Description LCD page type C Normal Page g SLOG f Triggered Page A LCD page type Choose Triggered Screen When the alarmis triggered the time when alarmmessage prompted will be displayed on System reserved area section and this section is disabled when the darminterface is editing Initial screen NO If cross the Initial screen NO any user defined screen will beset as initial screen FE Hitt 2 3 4 BnR E m jat
17. range 20000 00 20000 00 V4 value range 20000 00 20000 00 Time sequence frame 42 Chapter lIl General Description of Function Blocks Functional Description If input En is set this function will output one of 4 possible analog values V1 to V4 depending on the value of S1 and S2 If S1 0 and S2 0 output the value of V1 If S1 0 and S2 1 output the value of V2 If S1 1 and S2 0 output the value of V3 If S1 1 and S2 1 output the value of V4 30 30 13 AndogMath MATH reme ee mm A transition from0 to 1 at input En Enable enables the analog math function block A signal at input R resets the analog calculator Input En The output QA is the result of the equation formed fromthe operand values and operators An error will occur if QA is divided by 0 or the result exceeds 99999999 ep Posgetnenrrirg ded tek Rega Ow Parameter Seting V1 First operand value V2 Second operand value V3 Third operand value V4 Fourth operand value Op1 First operator Op2 Second operator Op3 Third operator Pr Priority of first operation Pr2 Priority of second operation Pr3 Priority of third operation Functional Description The analog math function combines the four operands and three operators to form an equation The operator can be any one of the four standard operators or It is necessary to set a unique priority of High H Medium M or Low L for each operator The High H operatio
18. rel evant text to explain the font of which can be modified through clicking Font A Style Reverse the static text box and the background color will be reversel y displayed A Fort Set the font of the text Note Position and Reverse is common property which is shared by other contrals Lanp Choose Lanp optionin Object nenu ar click the icon inthetod bar And then a dashed rectangular fran following the mouse appears Move the mouse to the proper position of the edit section and click the left button of the mouse to confirm Screen Editor Property Lamp Position Data setting A KX 8 on To m Y 24 Address 0 Style Double A Cal Propety The type and address correspond to the input output points of PLC and the type address of internal raay 48 Chapter IV Instructions of APB HMI A Style Double The displaying picture of the lanp will be doubled corresponding y If the corresponding intemal raay is ON the lanp wil be solid and if the corresponding internal raay is OFF the lanp will be hdlow Note Double is common property It is shared by other contrals Message Display Choose Message Display option in Object menu or click the icon in the tod bar And then a dashed rectangular fran following the nouse appears Move the mouse to the proper position of the edit section and click the left button of the mouse to confirm Screen Editor Property Lamp Position Da
19. running value of the block to the Register D Parameter Setting Pulse nunber Range of values O 99999999 Frequency Rangeof values 1 100000 Tine Sequence Frane TRG R oh Q lt _ ____ gt Functional Description a aan 1 A series of square waves are output according to the preset pulse cycle and the nunber of the pulse The duty cycle is fixed at 50 2 It is allowed to set pulse number and frequency value under the independent mode while the pulse number is unable to be set under the continuous mode and the square waves wil be output continuously at a certain frequency 3 High speed running function must be selected If the nunber of the pulse is 0 it wil be run under the continuous mode NotePTO pulse output only can be connected to output Q2 or Q3 Chapter III General Description of Function Blocks 35 30 30 5 PWM Outpull PWMJ 00 A series of square waves are output according to the preset duty cycle pulse cycle and the number of the pulse Gain Oupettenrringlvecrte eck totheRegster OW Parameter Setting Pulse nunber Range of values O 99999999 Frequency Rangeof values 1 100000 Duty cycle Range of values 10 100 Time Sequence Frane TRG R Inthe diagam T l frequency q o lt ___ __ gt Duty Cyclex T Functional Description 1 A series of Square waves are output according to the preset nurrber of the pulse frequency and duty cycle 2 It is allowed to set pulse numbe
20. 11 AndogDifferentia Trigger WARP Input AIX Analog input A signal at input R resets the analog differential arplifier Q is set or reset depending on the threshold and the offset cane ourtenening eu chetiocktothe Reser o Parameter Setting AD Gain value Range of values 10000 10000 Bl Offset value Range of values 20000 20000 ON On threshold range of values 20000 00 20000 00 A D Offset value Range of values 20000 00 20000 00 When the positive difference A isset if On lt actual value Aix On 1 then Q 1 The time sequence frame is shown as bel ow Ont Al When the negative difference A is set If actual value Aix gt On then Q 1 If actual value Aix On A 2 then Q 0 Chapter lIl General Description of Function Blocks 41 Time sequence frame Functional Description Q is set or reset depending on the threshold ON and the offset A 3 3J 12 AndogMutipleeq AMUXT A transition from0 to 1 at input En Enable outputs a parane PEA terized analog value depending on the value of S1 and S2 S1 and S2 selectors are used to select the analog value that needs to be output S1 0 and S2 0 output value V1 S1 0 and S2 1 output value V2 S1 1 and S2 0 output value V3 S1 1 and S2 1 output value V4 Output an analog value aint Ouptttenrringalvec te eck to Rests ow Parameter Setting V1 value range 20000 00 20000 00 V2 value range 20000 00 20000 00 V3 value
21. 6 3 Illumination Systemfor Show Windons ssssssssssssesnrssrrrrrrrrrrrrerrnrrrsrrsnernrrnrrrnrrrrrrene 14 APPENDIX APB MODBUS RTU aR ONN isha tase aha era sae ceca seria aE A AEREE uensne even EHn ae 76 APB UOC est eee es vce eect dn ete nti a aa a a aa i aiaa 85 APB Comrunication Module Operation Guide ccc cceccccceceeceeeeeseeeeeeeeeeaeeaeeaesneeateaeeaneneeas 95 Chapter General Introduction to APB 1 Part Basic Operation and Applicaton of APB Chapter General Introduction to APB APB Programmrable Block intelligent controller is a new type of programmable controller being orograntred by the use of Function Block Diagrams The programming of APB is simpler and easier to learn than that of a conventional PLC which uses ladder diagrams and associated instructions The design concept for APB series is to progam the APB series main machine and APB HMI wth the provided free program software free from connecting to another HMI APB HMI is able to display the input output status of APB series the set value and running velue of timer counter and analog function blocks which facilitates the operator to monitor and control of PLC running status at real time Currently APB is wdely used in many fields of industry commerce Mining agiculture home automation etc 1 1 Structure of APB Series APB Main Machine Hardwere Structure QOD BDOWODOOGOOA o fA y id _ E gt Fig 1 1 APB 12 Series Main Machine
22. 60 Hours 6 Months 160 Hours 6 Months Real time clock accuracy Max 20s nmonth Chapter V APB Technical Parameters 63 DC OV 24V digtal inputs DCOV 24V0 digtal inputs Input voltage range DC OV 10V analog inputs DC OV 10V analog inputs Input signal O DC OV 6 5V DC OV 6 5 Input signal 1 DC 7 5V 24V DC 7 5V 24V Relay output Output points 4 Qoo QO03 a Q00 QOQ yo ar AC OV 240V AC OV 240V Output voltage DC OV 24V DC OV 24V Resistor load 10A Resistor load 10A Output current nducti ve oad 2A Inductive oad 2A errata Response tire from 0 to 1 10s 10Mms Light Load 1000W AC 230V 240V 1000W AQ 230V 240V 25 000 Switch Cycle 500W AQ 115V 120V 500W AQ 115V 120V Fluorescence Light with electronics controlling equipments 10x58W AC 230V 240V 10x58W AC 230V 240V 25 000 Switch Cycle Fluorescence Tube with conventional compensation D58W AC 230V 240V DS8W AC 230V 240V 25 000 Switch Cycle Fluorescence Tube without compensation LOx58W AC 230V 240V LOx58W AC 230V 240V 25 000 Switch Cycle Short circuit protection cos1 Power protection B16 Power protection B16 J 600A 600A Short circuit protection cos Power protection B16 Power protection B16 0 5 0 7 600A 600A Raday output protection a B16 i Max 20A Max 20A 64 Chapter V APB Technical Parameters ON OFF frequency a et 2 ran 50 3 APB 12MTD APB 22MTD Technical Parameters APB
23. Edit Section Window Description riS creen ae Property Section Screen Description Led Page type Normal Page g SLC Trigger Page Create ok LMI 104 62 Status Bar Chapter IV Instructions of APB HMI 45 Ded ete components Static text including Chinese characters Engish characters and other character system Indicator displaying input output of PLC and the on off status of internal relays Message display displayi ng the corresponding message when the ON OFF of PLC components Register placing the data monitoring or data setting components the operated obj ect is the data register in PLC E Function block parameters displaying the function block parameters in program a Graphics file the Max size 108 64 pixeis lt a Place on the above layer k Distribution Bar EErEE FR aa bt Sal FF de KL El ot OP a4 37 ode GE SS SF gS H4 Ee ef E TE iones OO Ta ioes Ta oeras O TE ioaea OOO CE ioana OO File Click File menu and choose Exit toexitLCD editor Edit 46 Chapter IV Instructions of APB HMI This instruction is mainly used for tool managerrent including Cut Copy Paste Delete Select all Contrd Position and so on The pull down menu is shown as the follow View This menu includes the Toolbar distribution bar and Status bar The pull down menu is shown as follow A Tod bar Todbar displaying instruction A Distrib
24. Examples ccccccccceeceeceeeeseeeeeeeeeeeeaeeaeseeseeaneaeenes 50 4 2 APB MHI Structure and FUNCHON asccinccssnsstocisseaonctassenthmaseceessesienenmouceaubentasmacnsactaes 56 4 2 1 APB HMI Structure eoonsnnnnnnnnnnrrrrrrerererrrrrrrrrrrrrerrsrererrrrrrrrrrrrrrrrseerrrne 56 A A ZAPB AM FUNCION eersrrsieirre iii r E ie eater 56 4 3 Comparison with Conventional Controller LCD cccccceesseeaeeesteeceeseeesanesteesneeaneeaes 59 Chapter V APB Technical Parameters ccccccceeceeeeeseeeeeeesueesteeateeanegges 61 5 1 APB 22MRA Technical PArerV eters 2 0 ccc cccccccecceeeeeecceeeeeeueeeeeeeeugeteeeeegguneeeesguanengs 61 5 2 APB 12MRD APB 22MRD Technical Parameters 0 0 0 ccc cc cc cece ceeeceeeeueeeeeeueueueeveueneeeanes 62 5 3 APB 12MTD APB 22MTD Technical PararVeterS 0 cccccceceecceseeeveeeceeeeeeeeusaneveneauneaeas 64 5J 4 APB 12MGD APB 22MGD Technical Pararreters 2 0 00 ccccccccececceceeeeeeeeeeeeeevaesaeuaeaneneasy 65 FJ 5 APB 22ERA APB 22ERD APB 22ETD APB 22EGD and Extension Module Technical Pararreters 000 00e 66 5S 6 APB series general technical parameter 2 cece cece ce ece eee ee esse ee eeeeeeaseaeeaeeaeeaeeaneaees 72 Chapter VI APB Applicaton siiwsvvenisnsaterereaiea meinadeaieceiepinainaexwnwseaniain nian 73 6 1 Thelillumination of Multifunction Switch in Stairs Halls amp oo ccec cece eeeeeeeeeeeeeaeeeeas 73 g 2 Autore Se COTO pareina EENE EAE EAAS 73
25. OK if the reg ster value is successfully set Example Data format 111 RD0023 indicates the password is 111 read the value of register DW23 The corresponding val ue will be returned when the value has been successfully read Chapter VI APB Application 95 APB Communication M odule Operation Guide 10 Introduction Brief Description This module is used for the interface sending APB rerote signal The combination of APB PLC and APB communication module can get networking function which makes multiple APBs becorre a network with RS 485 bus and have real time monitoring on one HMI wth MODBUS communication protocal The user will enjoy more flexibility when designing automation solution Technica Parameters Seiad data interface Baud rate corresponds with sending baut rate Data format corresponds with sending data format Type RS 232 RS 485 Power supply Power supply powered by APB main machine or APB expansion module Power consunption Current 135mA 5VDQ Communication state Othe Pararetes Dimensions Weight Arrbient terperature 20 C 60 C Relative humidity 50 C 307 O 80 no condensation 2 Connections Connecting wth APB Main Machine ge ABABYABAB a 96 Chapter VI APB Application PinAssigqnrrent ey APB EXPMC APB E APR M lt v RS232 interface Used in 232 communication 5 AB Use BA recai ving sending terminal when it is connected wth APB expansion module 4 AB Use AB reca
26. PTO OUt PTO dcrwststienerteammetiicinneniaantnrinrviseamasaetlenewewnnss 34 309 30 5 Pulse PWM Output PVM victccrnrdthunciwnitaneeswcicadusiatetieniuvacddesvecutediaeiuixe 35 3 3 6 Accderate Decd erate Singe phase Pulse Output ACO cccecceeeeeeeeeeeeeeeeeees 35 J13 7 eC atl COMPRI cccaseunsanciavaievencadnwesiehrelaridnersiecmapreaaterials 36 3 30 8 Analog Threshdd Trigga THRD sssssssnsennnnnrrnrrssssnnnrrrrrrrrrnssnnenrrrrrrrrrneene 38 3 3B 9 AndlogAnrplifiat AMPT cccccessceceeceseteeesteeeeceeeaneatesseaeeanerereaneates 39 31 30 10 Analog Watchdog AVOUT stusiservensa ier eseecnGatennmaiaei enews 39 3 3 11 Analog Differential Trigge WARP cccceccceeeeeeeeeaeeeeeteaeeaeeaeeeneateaees 40 3J 309 12 Analog Multiplexer AMUX 1s cccswssnivncadaprtastannerevesnecnuaunaintacaaaenenacadepwiainnwes 41 309 30 13 Andog Mah MATA wiccdaicciiaennmaniicisasns eapatidemeciartnaieyasnnetaiestnanntinenes 42 31 4 APB Input amp Output Pants 6 IN tA siicadsaviexevia stn ctucciatvioiaviaandniassiemstiewemaans 43 Chapter IV Instructions of APB HMI c cccceccseeseeeeeeeeeteaeeaeeaeeanears 44 Ae VOOR tane gio ke EED PEIA EAEE EA EA A AEA A A ERA 44 4 1 1 Introduction of Operation Interface 2 0 ccceccecceceseeeeeeeeeeeeeeeseeaeegeegeeaesaesneaneas 44 4 1 2 Edit Operation Interface cece cc cce eee ee eee eceeee eee eaeeaeegesaeegeeeeeaeegesgnsaneaees 46 4 19 3 APB HMI Application
27. Preface Thank you for purchasing our APB series Intelligent Controller You are recommended to read over this menud thoroughly before operating APB series It ingructs you how to indadl use and program APB meanwhile you will find meny superior performence from it which may facilitate the operation of APB for you APB series intelligent controller adopts function blocks to progran and be provided with LCD digolay It enables the control functions of a PLC to be achieved without the need for large number of instructions and complicated program When severd function blocks ave linked together in a specific way rddtivey complicated control functions can be implemented so that the programming pat will be quite amplified Moreover APB series can be easly connected to SH series text pand APB HMI operaon interface communication module IO expangon module voice GSM module and compatible with MODBUS protocol APB ies h avery wide range of applications It can be applied to automation control of mechanica equipment flow control buiding autometion control and other various fidds The application of APB series leads automation control to the everyday life of us This manud describes in detal the functiona cheractenictics and operaion ingructions about APB series Notes 1 Copyright of this manual and patent of APB series are the property of ARRAY ELECTRONIC CO LTD The reproduction distribution or use of this manua or its contents isnot permitted wit
28. R because at least one input status of inputs 11 12 P 21a 13 14 15 16 17 and 18 is 1 i e closed then output Q is 1 18 30 10 4 NOT The phase inverter is indicated in The symbol of NOT is shown APB linediagram as follow YL gt ee 12 Chapter lIl General Description of Function Blocks This function block is called as NOT because if the input status is 0 output Q is 1 and vice versa In other words NOT is the phase inverter for the input point 3 10 5 XOR As shown in the line diagram the two In APB the symbol of XOR commutator are is shown as follow contacts for XOR connected in series Il 12 When the status of inputs is different the output status of XOR is 1 When the status of inputs is the sare the output status of XOR is 0 Logc frane of XOR 0 0 0 0 1 1 1 0 1 1 1 0 30 10 NAND In APB the symbol is shown as follow I1 When all the status of 119 120 139 149 150 160 170 18 is 1 at the sare tire the Pe Ha cuputQiso 7 When the status of 111 120 130 140 150 164 170 18 is nd 1 at the save time the ouput Qis 1 30 10 7 NANDI with RLO borderdine tesi In APB the symbol is shown as follow 18 uA The output status of this NAND with RLO borderline test is 1 only when amp least one g a input status is 0 and all status of inputs in the last period is 1 I8 Chapter lIl General Description of Function Blocks 13 Time diagamof NAND with RLO borderline test is shown as follow
29. TO Symbol in APB Description A siqnal at input R resets the analog amplifier Input AIX Analog input Input value is output after cal culation Gata Oupettenmningelvec te beck totheRegster Ow Parameter Setting AD Gain value Range of values 10000 10000 Bl Offset value Range of values 20000 20000 Functional Description The input value is multiplied by the value of the A gain parameter and then parameter B offset is added to the product Ax gain offset actual value Alx The actual value Alx is output at Q 3 3 10 AndogWatchdod AWDTO A positive edge 0 to 1 transition at input En saves the analog value V at input AIX to memory and starts monitoring the range of analog val ues A siqnal at input R resets the analog watchdog is s amp or reset d ding on the stored analog value and the oer Ouptttenmring ved te back totheRegster DN Parameter Setting A Gain value Range of values 10000 1L0000 B Offset value Range of values 20000 20000 A 1 Difference value above V range of values 0 00 20000 00 A 2 Difference value be owV range of values 0 00 20000 00 40 Chapter lIl General Description of Function Blocks Time sequence frame EN VRAI Saved value V V A 2 Functional Description A positive edge 0 to 1 transition at input En saves the analog value V of input AIX to marory If analogvalue gt V A lor lt V A 2 ahigt leva signal is output at Output Q 30 3
30. U 18 intoa teserieasvantcessaveavatasuacandnaenrseanaauplennanstieanaaneds 10 ALAND eiere a a R TE EEE EAEE 11 30 19 2 AND with RLO Bordedine Test assnrssnnrrnrrrrrrrrrrrrnrrnrrrrrrrerenrsrerrrrnerera 11 TA OR EE E E 11 SEEE I E E E A A EO E E E E E awe etanwe 11 TA O a eee E E E A E AE E EEE 12 Oe AE 6 AINE eA E E RE R E aesuphotensenasstauct 12 30 19 7 NAND with RLO BOOSTING Test ious cscessaacoruenaorsnidicnseuceangsicensangeweeaeteacesaencs 12 Dele WE S NOR eree a a E E EE EAEE 13 309 1 9 OR wthRising Edg Test nnnnnnannnnnrrrrrrsnrrrrrrrrrrrrrresrrrrrrrerrrrreerrrrresrrrrne 13 3 1100R wih FadlingEdge Tei sien ctecesaiacusesnarevtsieracialaerseetse oun ERAN NER EEE ETERNE 13 S 2 Special Function Block SF Q 18intotal wscraccrvvisken tern ieiaereielidvinebemannsivrvansounts 13 309 20 1 ON dday Block TONDO sssssesssnrsssrrrssrrrssrrrrssrrrrsnrrrenrrrrsrrrrrnrrrrserrrenne 15 JA22 OFF Blak TOFD eera EEEa 15 30 20 3 ON OFF Daday Block TONF sssssnsssnnressnrensrrrsrrrrsnrrresrrrrsrrrnsrernnnrrrssrrrne 16 3 2 4 Singe Pulse Rday PONS ccc cece sce e eee eeee esse eeaeeeaeeceeesgeeegeeeaneeaaneegs 17 3 4 5 Puse Raday Block SF Cll sssievraonanemdsrietissuexoeionctatieerariasdnusiaumenitadaedies 18 3 20 6 Clock Pulse Generato BLNK nssssssssessesssssssrrrrrrrrrrrrnrerennunnnunnrrrurrrrrrrrrrreena 18 30 20 7 Maintain ON Daday IMTOO ssssssssssnrnssrrrsnrrrrsnrrrenrrrrsrrrrenrrrrenrrrrenr
31. arm message wil be displayed on PLC display screen 56 Chapter IV Instructions of APB HMI 4 2 APB MHI Structure and Function 4 2 1 APB HMI Structure APB operation panel is shown as follow which is a simple hunen machine interface APB HMI can modify and set the analog time and counter parameters in programwith its 8 keys and can monitor running status of PLC input output display the analog time and counter parameter as well There are 8 keys on APB HMI 0 9 O O ESQ OKO T 4 0 gt anda4 10display pand 000 keys are miny used to modify the number at the position of the cursor ESC key is used to return to the interface of last operation OK key is used to confirmthe se ected menu Press ESC and OK or and keystoadjust contrast between light and shade on the screen 71 key is used to move the cursor HL up and down e gt key is used to switch the main interface icon and move the curso WO left and right 4 2 2 APB SLCD Fundim SLCD Main Interface There are four controls on the display interface Start Stop 4 Saf defined interface jump Program pararreters setting I O status display Time and date Switch the main interface icon with gt T keys and press OK key to enter the nett interface If there iS no any Operation on APB HMI keys within 10 seconds when the main interface is displayed the main interface
32. as separator case insensitive Section Sectiion2 arerdevant control codes Sectionl X0000 xx is the password for the SMS module which can be set through the softwere of host machine The password has 8 bits at most If there is no password Section1 can be omitted Section2 Instruction type 3bits The first bit R W represents read or wite The last two bits represent the corresponding type 00 Input SIO O1 Input SI 1 10 Output SQO 11 Output SQ1 XXXXXXXX ROO Read SIO Returned messsage Oaorl 0000009 RO1 Read S1 Re amp umed messsage Oor 1 3000000X R 10 Read SQO Reumed nessa Oo 1 000000fR R104 ReadSQ1 Reaurnedmessage Oorl XXXXXXXX W1 T Set SQ1 to 1 If it is set successfully the returned message will be OK XXXXXXXX W10 Set SQ1 to O If it is set successfully the retumed message will be OK The sent data format when SMS is connected wth APB Description for SMS control instruction is used as a separator case insensitive Sectionl Sectiion4 are redeant contra codes APB SMS Module 93 Sectionl the password part for APB mein machine the password has 14 bits at most If there is no password set by main machine Sectionl can be omitted Section2 instruction type 2bits The first bit RAW represents read or wite The second bit represents corresponding req ster type RAWD Read Write reg ster DW RAWQ Read Write output Q RI Read input RWM Read Write intermediate re ay M
33. bout fromits use we will show some common and typical control scherres herein After the user has read these application examples it will be clear how simple it is to use APB to establish automatic control requirements especially in a system requiring time control and in the automatic control of intelligent living quarters etc 69 1 The Illumination of Multifunction Switch in Stairs Halls etc Requirements 1 When the light switch has been pressed the illumination wil be connected and then be cut off autorati cally after the set time of 3 minutes 2 Lights dinme for 5 seconds before being switched off 3 When the switch is pressed again within 5 seconds the illumination wil be on as usual 4 When the switch is pressed and held for more than 5 seconds the illumination will be cut off 5 The illumination wil be automatically connected every day at PM6 30 and be cut off every day at AM6 30 The Program Diagramis shown as follow B0000 g B0004 T e0002 B0003 pm PONS r FA 100 im IL BLNK LE LOSI TOND PONS BOOO1 a I TOND B0007 T B0010 LOzm oN ej CHO 6 2 Automatic Gate Control Requirements Requi renerts 1 Opening and closing of the gate shall be contra led by the guard in the control room 2 Nortrelly the gate shall be open or closed completely but the opening and closing action can be interrupted at any tne 3 The alarmlanp shall begn to flash when the gate acts and shall keep flashing as long as the gate c
34. cription If the pulse wath of the signal at TRG lt T2 this function block wil work as Off delay function block if the pulse wath of the siqnal at TRG gt T2 the high leva output Q is maintained if the reset signal R is high leva the output Q wil belowleva 3 2 18 SLCD Fundion Bloc SLCD Please refer to Chapter 4 for detailed introduction about SLCD 30 21 19 Property Pin Assigyrert An output pin is defined as Property Pin in function blocks such as timer counter analog function blocks etc The output P indicates the output P can be connected to Regster D or to Timea Counter comparison function block After connecting the running values such as timer counter analog parameters etc wil be transmitted to Regster D When PLC is communicated wth HMI the corresponding parameters will be displayed according to the reg ster address 30 Chapter lIl General Description of Function Blocks 30 3 High speed and Analog Function Blocks Table 3 High speed and Analog Function Blocks Frequency Threshold Trigger 0 FTHO Analog Threshold Trigger O0 THRDO A B Counter Analog Amplifier A B 0 AMPT Tow phase Counter Analog Watchdog O 2PCTL AWDT Pulse PTO Output Analog Threshold Trigger 0 PTOD 0 THRDO Analog Multi plexer 0 AMUX Acce erate Decd erate Analog Math Singe phase Pulse 0 MATH Output ACC Analog Comparator O CMPR Chapter lIl General Description of Function Blocks 31 Analog calibration instr
35. ddress Register contains the low order bit Select 5x as Regster address type to read or write double Register the low address Reg ster contains the data low order bit and the high address Register contains the high order bit When reading and witing APB DW Reg sters by MODBUS RTU 5x must be used The DW MODBUS Protocol Address list DW Reg ster D Reg ster MODBUS Address HO 1 Examples for Read Write Operation Exanplel Read Write On dday Block Parameter If block number is B0000 and parameter number is 0 then the address is Ox8000 calculated by the fomula 0 32 0 4 0x8000 Parameter value occupies 2 words Read or delay time parameter 1S 1000MS It is 0000 O3E8 in HEX 78 Chapter VI APB Application OW del ay TOW h m 5 ms Range 00 00 00 010 3939 59 59 990 When read time parameter MODBUS RTU command frare should be Request Message Response Message co w hoedran o renea o Lovovecttesickasies 0 paararaeanens o0 hyedtenaxpmer a oD Paras 0 acne o Write on delay time parareter 3minutes and 20seconds It is 200000ms 0003 0D40 in Hex ON delay TON h T 2 mm a Range 00 00 00 010 9939 59 59 990 When write tine parameter MODBUS RTU command frarre should be Fidd Nave Epe Fidd Nave Example Hex Femo a0 hhean Highbecttebeckakres e Lowtyfedtbeblakatres 00 Lovbjedttheblocattres 0 Hightnfect block p
36. e 85 APB SMS Module 10 Structure of APB SMS Module ARRAY APB SMS D Input of power Supply Inputwringteminal Modeknooswtch Antenna Conmnication interface Redandgemindicator Software download interface Output wiring terminal 20 Installation Dimensions rr eee ae OO 00 00 00 00 00 126 30 The Specifications of APB SMS The type of APB SMS Quad Band APB SMS C Quad Band EGSM 900 DCS 1800 APB SMS E Quad Band GSM 850 EGSM 900 DCS 1800 PCS 1900 AT Work mode The work mode can be switched by the knob in SMS module Mode 0 short message alarming function mode indicator light is offi when GSM network has not 86 APB SMS Module been detected the red indicator flickers quickly and the flicker cycle is 200MS when GSM network has been detected the flicker cycle is 2 4S the green indicator is used to indicate the communication status when it communicates wth APB PLC norrelly the flicker cycle is 2S if no communication between APB SMS and APB PLC the flicker cycle is 200MS Mode 1 Receiving and sending short message by configuring software indicator light is on When APB SMS works in mode 1 the red indicator is normally on 5 Functions of APB SMS APB SMS is used independently OOO QOQOQQQQOOQOQOQQOOQO000000 CCC When SMS works in mode 0 Input signal SI1 has message alarming function When the high level is triggered the message 11ON wil be sent to
37. e displayed Press T key tojump to sef defined interface Note If there is no any operation on APB HMI keys within 10 seconds when the main interface is displayed the main Interface will junpto 1 O Status Display interface autorratically 4 3 Comparison with Conventional Controller LCD The conventional controller LCD normally can only display simple and fixed interface such as time 1 0 Status etc but the information about timer counter and analog etc can not be displayed And all interfaces are pre designed during the design of controller so that the user is unable to modify add and delete interface even though there is function for modifying parameter it is still inconvenient for user because of complicated procedure Based on these disadvantages mentioned above we have adopted a new method during the research and devel oorment of our APB PLC to offer users a simple free and easy to use LCD function block which can implement the folowing function 1 Providing 64 sdf defined Hunen Machine nterfaces When using APB software the Hunen Machine Interface can be added according to your needs while the total number can not exceed 64 All sef defined interfaces can be browsed on LCD or you can press 7 key on the I O interface to junp to the sdf defined interface 60 Chapter IV Instructions of APB HMI Use the up down key to see different interfaces The current value and parameter of various ti
38. e time dday timer starts timing If Input TRG TRG stops triggering during the ting the timer will terminate the timing Input R A signal at input R reset input resets the on dday timer and sets the output Q to be 0 R takes priority over TRG oe trigger signal when time T is up the output Q will BY Outpt Outputs the running value of the block to the Register D Pararreter Setting The unit of tre T can be set as hours minutes seconds milliseconds and the range of val ue is 00 00 00 01 0 999 59 59 990 The timing accuracy can reach 0 5 o Time Sequence Frane Functional Description 1 When the status of TRG changes from 0 to 1 the time delay timer starts timing If TRG hads the status1 for a sufficiently long time the output will be changed to 1 after the tme T has elapsed There is a tire delay between the input turning ON and the output turning ON and that is why the TOND is so called 2 If the status of TRG input changes into O before the fixed time the timer will be reset 3 When the status of TRG input is 0 then the output is reset to 0 4 This function is applicable to overriding vibrations of switches delayed start up of motor delayed turning on of lights etc 5 Retentivity function is optional 30 20 2 OFF Delay Block TOFD Line diagran pi _ Input TRG Turn on the timer of the off delay raay when the input TRG trigger is at the descending edge changing from 1 to 0 Input R Th
39. e tire of the off dd ay rday is reset via R Reset Input and Output Q is set to 0 R takes priority over TRG opea Q Input TRG is activated then the output is turned on Q 1 and opea is kept ON until itis reset when the set time T is up ee f OPEP Outputs the running value of the block to the Reg ster D 16 Chapter lIl General Description of Function Blocks Parameter Setting The unit of tre T can be set as hours minutes seconds milliseconds and the range of val ue is 00 00 00 01 0 999 59 59 990 The timing accuracy can reach 5s Tine Sequence Frane TRG R Q f T S an Functional Description 1 When Input TRG Is Status 1 Output Q is changed at once to Status 1 When Input TRG is changed from 1 to O when the descending edge cores the internal time delay timer of APB is activated and Output Q iS Sull remained in status 1 When the set time T is up Output Q becomes 0 and the ti me Is reset 2 If Input TRG changes from Status 1 to Status 0 again the timer is activated again 3 Before the set tireT is up the timer and output can be reset via R Reset input 4 This function is applicable to the lighting of staircase the control of barriers in a car park the control of the weter throttling valve etc 5 Retentivity function is optional 30 20 3 ON OFF Delay TOFD Line diagran oe A positive edge 0 to 1 transition at input Trg Trigger triggers the or dday time TH A negative edge 1
40. e to SMS rrodule Set delay time SHO delay ON time SHO delay OFF time Set 5O delay OF time password Input password ik eet ea Tee Language L Select mode C Help H Set Center code and phone code E Read Center code and phone code R Set SOO delay ON OFF time TI Read SQ0 delay ON OFF time H Set password PF Set default 0 Input SQO Delay ON time Click Read S amp O delay ON time and download Delay ON time to SMS module Inout SQO Delay OFF time Click Read SQO delay OFF time and input correct password download Delay ON tirre to SMS module APB SMS Module 89 Read delay time SQ0 delay H time MS SR delay OFF time Mg Read SQ0 delay ON time Read SQ0 delay OFF time Cancel password Input password fete Cancel Set Center code and phone code S Read Center code and phone code lR Set SQO delay OH OFF time T Read SQO0 delay ON OFF time Q Set password PF Set default 0 Input SMS center number and SMS mobile number SMS center number is 20bits at most It is the operating agencies message service center number of SIM card in SMS module eg 861380025500 SMS mobile nurrber 20 bits at most If it is not set no any message will be sent when there is the alarm Click Set Center Code input correct password and download the SMS center number to SMS module Click Set Phone Code inp
41. el Clock switch mode Ol indicates year 02 indicates month 03 indicates day 04 indicates the fixed date 05 11 indicates from Monday to Sunday 12 indicates from Monday to Thursday 13 indicates from Monday to Friday 14 indicates from Monday to Saturday 15 indicates fromFniday to Sunday 16 indicates from Saturday to Sunday Exanple2 Modify the data of dock block The block nurber is 2 and the clock switch mode is the fixed mode Modify the time data of nunber 1 to be 2009 7 30 08 08 59 and the state is ON The address is calculated by the fomula block nurrber 256 group number 8 2 256 1 8 520 and the corresponding hexadecimal value is 0x208 time setting Item State Date Time Teek 0 2009 T 16 14 35 32 l 2009 7 30 08 08 59 MODBUS RTU contrand frarre should be Request Message Fidd Nane Request Message Fidd Nave xanple Hex 1 i z High byte of the block address x z High byte of the block address 84 Chapter VI APB Application Low byte of the block address Lowbyteoftheblockaddress 08 High byte of the block parameter value byte of the block params oo vValue Low byte of the block parameter value Low byte of the block parameter Tre rr O Adee CRC check lowbyte If clock switch is in ON state the value CRC check high byte is O1 If clock switch is in OFF state the 8 a 8 value is 00 oaken Cleckswtchdse va Clockswtchdae OB Oakin Minge APB SMS Modul
42. en Fort LA GSHERODULE Desoto eee ee Read or set parameter lI Language L Select mode C Help H Serial port set I yon p Gah vay ee Se a a Ss ul Close port E Serial port set Serial port com Quit Qui t H Input dd password first and then input new password when the password is set the password has Sbits at most If the password is forgotten please use Restore factory settings to clear all parameters Click Set Password to download new password to SMS module fA GSEEODULE Serial port set T PORRAS EEE Language L Select mode C Help H al oa I Set Center code and phone code S Read Center code and phone code R Set password Input Old password jock OE Input new password Set SQO delay ON OFF time T Hew password confirm jel Set password Cancel Read SQO delay ON OFF time Q Set password lF Set default 0 88 APB SMS Module Click Se SQO dday ON OFF time eos ee ebe a Language IL Select mode E Help CH Set Center code and phone code S Read Center code and phone code E Set SO delay ON OFF time T Read SO delay OW OFF time Q Set password FP Set default 0 Input SQO Daday ON time Click Set Delay OH time and download Dday ON timeto SMS module Input SQO Daday OFF time Click Set Delay OFF time and input correct password download Daday ON tim
43. ency exceeds 4H Z 2 1447 ae high ped inputs Each high peed input only can be connected with a function block of high goeed counting in a program 30 30 3 Tow phase Counter 2PC Line diagran os Input R A siqnal at input R resets the internal count value to zero and the output R takes priority over A and B A B phase Input signal for two differential phases A phase and B phase input increases or decreases by multiplication factors 1 2 and 4 _ QOuput Q0utput When count value is reached the Output Q is enabled Yep Outputs the running value of the block to the Register D Tine Sequence Frane 1 Multiplication factor 1 A B 2 Multiplication factor 2 A pf WS UL JS WI Le 34 Chapter lIl General Description of Function Blocks 3 Multiplication factor 4 Af Ef Os EF BF E E oF Fl Functional Description In the differential phase input mode the count value increases or decreases by multiplication factors 1 2 and 4 of the two differential phases signal 2 Retentivity function is optional 3 High speed running function must be selected Notes 1 Differentid sgndshave to be input from 14 15 port of PLC 2 1447 awehigh peed inputs Each high eed input only can be connected with a function block of high gead counting in a program 30 3 4 Puse Output PTOD O Q A series of square waves are output according to the preset pulse cycle and the number of the pulse Oat Outputs the
44. er InputEN a negative edge at input EN triggers frequency threshold trigger Optional counter mode 1 Rising edge counter When rising edge counter mode is choosen The counter just counts the change from status O to stauts 1 and Input CNT doesn t count the change fromstatus 1 to status O 2 Descending edge counter When descending edge counter mode is choosen The counter just counts the change from status 1 to stauts O and doesn t count the change from status 0 to status 1 Input R A siqnal at input R resets the internal count value to zero and the output R takes priority over CNT Q is set or reset depending on the set thresholds BY tp Outputs the running value of the block to the Register D Parameter Setting ont On threshold Range of values O000 99999999 off Off threshold Range of values O000 99999999 Time parameter T Time interval or gate time when the input pulses are measured range of values 00 00 00 010 999 59 59 990 hours minutes seconds milliseconds 32 Chapter lIl General Description of Function Blocks Time Sequence Frang Fre Orr rrr rr fa 9 fg 10 fg 8 fg 4 fg input frequency Functional Description If the On threshold Off threshold then Q if fa gt On Q 0 if fa lt Off If the On threshold lt Off threshold then Q if n lt fa lt Off Notes 1 The counting frequency is rdated to filtering duration If the default filtering duration is 50ms please choo
45. for transition from 0 to 1 or from 1 to 0 is more than 50n The filtering duration can be set flexibly in APBsoft The time range is 20ms 1s Input connection for APB series is shown as the following figures Li Vi ___e 0 eo 0 0 0 o DC OV 24V L 5 LILLI AC 100V 240V DC 12V 24V V 10 Il 12 13 I4 5 16 I7 QODODOBOIOPO A I0 I1 12 13 14 Ib I6 I7 OOO QOO POCGOVDO AC Tyd 000000 OU L DC Type Vi I0 1 I2 I3 I4 Ib I6 I7 2D OOPOG OG ODA DC Type Analog 8 Chapter II Installing and Wiring of APB DC 12V 24V V o AO Al JO 1 I2 I3 14 I5 16 7 I8 19 IA IB IC ID DDO DJJODOJDODDADOODOOODO a L Z I S DC Type analog current input 0 20mA input 2 2 3 Output Connection 1 Reguirerents for the re ay outputi Various loads such as lamp fluorescent lanp motor contactor etc can be connected to the outputs of APB The maximum output current supplied by APB is 10A for the resistance load and 2A for the inductive load The connection is in accordance with the folowing figure Relay Output 2 Requirerents for the transistor outout The load connected to APB must have the following characteristics The meaxinumswitch current cannot exceed 2A When the switch is ON Q 1 the maximum current is 2A There are two types transistor one is the NPN transistor The connection of APB 12MTD and APB 22MTD is in accordance wth the fd lowin
46. g figure A S AZ E ee ee 2D D QQ QQ Terere OoOo 2 D j 2D N 2D w DC Power Supply APB M NPN Transistor Output Chapter II Installing and Wiring of APB 9 Notes 1 The connecting voltage must be 24VDC and the load voltage must be DC type 2 The negdive voltage of the load should be connected to M temina of APB power supply and the load must be connected to the postive voltage of DC power supply The other is equivalent PNP typefor example APB 12MGDCand APB 22MGDC Z ae 2D QZ OO QQ QO Ql Q2 Q3 APB L Power Supply PNP Transistor Output N ote 1 The connecting voltage must be 24VDC and the load voltage must be DC type 2 The postive voltage of the load should be connected to L temina of APB power supply and the load must be connected to the negdive voltage of DC power supply 10 Chapter lIl General Description of Function Blocks Chapter III General Descnption of Function Blocks APB series adopts the function blocks to program There are 10 basic function blocks 18 special function blocks 13 high speed and analog function blocks and 6 input output function blocks Each of then can achieve a specific control function independently such as TOND TOFD TONF UDCT etc If several blocks are linked up in a specific wey a rdativey complicated control function can be realized Programming wth functi
47. h Cycle ae Power protection Short circuit protection cos1 B16 600A Power protection Short circuit protection cos0 5 0 7 B16 600A Output raay protection H O Max 20A ON OFF frequency Mechanical frequency 10Hz Resistor load light load 2 Hz Induct ve load 0 5HZ 72 Chapter V APB Technical Parameters 5 6 APB Seres General Technical Parameter Weather environment Environmental teyperature Horizon installation 0 to 55 C Vertical installation 0 to 55 C l T From 5 to 95 without Relative humidity IEC68 2 30 an IEC68 2 42 SO2 10crrB ms 4 days IEC 68 2 43 H2S1CM2 n 4 days 4 IP20 From 10 to 57Hz constant i bration o length at 0 15nm Vibration IEC6S 2 6 From57 to 150Hz constant accea eration speed 29 Brunt IEC68 2 27 18 times half sine 150 11 Fall IEC68 2 31 Falling high 509m Fr falirgdom ith paag ECEE 2 32 Static dectricity discharge Led 3 8Kv air discharge OVcontact discharge Electroregneiic fiad IEC801 3 Fidd density LOV M Anti interference EN55011 LimtclassB 1 IEC801 4 2KVO power ling Lea 3 2KV signal ling Pdlution Mechanical conditions Protection type Surge Pulse IEC VDE safety nsulation density EC1131 Reach requi renents Chapter VI APB Application 73 Chapter VI Application APB has a very wide application range In order to help the user to further understand the wide potential application of APB and the convenience brought a
48. he time TL has expired 3J 2 4 ProgamONeE SHOT PONS dese ped mamas Pn O O O n Input TRG Input TRG activates the singe pulse time and raay When the ascending edge arrives it will output a pulse with the width of T Reset Singe pulse time raay When R is 1 the Output Q Input R changes to 0 O Q Every tne TRG changes fromO to 1 the Q outputs a pulse with apur the wath of T Yap Outputs the running value of the block to the Register D Pararreter Setting The unit of pulse wath T can be set as hours minutes seconds milliseconds and the range of value is 00 00 00 010 999 59 59 990 The timing accuracy can reach 0 5 o Time Sequence Frane Functional Description 1 When Qis 1 TRG pulse has no effect on Output Q 2 Retentivity function is optional 3 This function is applicable to change the pulse width 18 Chapter lIl General Description of Function Blocks 30 2 5 Singe Pushbutton Latch SPBLI Line diagran Bee Trigger input TRG makes the output ON and OFF in The output Q is reset via R Reset Input Q 0 R takes priority p over TRG O Q Every tne TRG changes fromO to 1 the status of Q will be changed i e from Status O to Status 1 or vice versa Time Sequence Frane TRG Functional Description 1 Every time the trigger input TRG changes from Status O to Status 1 the status of Output Q wil change accordindly The status of Q will be reversed 2 Reset Q to Status 0 v
49. hnica Prareters APB 22ETD Pararreter eo Chapter V APB Technical Parameters 69 rota rates rosa rosa Syiretantod oyna Transistor output Output p ris San ee 2A Response tire from 1to O 85 ms eerie 4 APB 22EGD Technical Prarreters APB 22EGD Parameter Ce Power voltage DC 12V 24V nputs 70 Chapter V APB Technical Parameters Delay time from0 to 1 50s Transistor output Output points 8 Q00 Q07 omy Output voltage DC OV 24V Output current seta see 5 APB 24MRD Technical Prarreters APB 24MRD Power voltage range DC 12V 24V nuts ID DC OV 24V digtal inputs Input voltage range DC OV 10V analog inputs Input signal O DC OV 6 5V Input signal 1 DC 7 5V 24V Sapiro borin Chapter V APB Technical Parameters 71 Current signal input 2 1 IAQ IAI Input current range OmA 20mA Analog outputs 21 QO Qi IAD aO ka Digtal outputs l Q20 Q07 yd AC OV 240V Output voltage DC OV 24V Resistor load 10A Output type Inductive load 2A eerie Response tire from 0 to 1 10Mms Light Load 1000W AQ 230V 240V 25 000 Switch Cycle 500W AQ 115V 120V Fluorescence Light with electronics controlling equipments 1058W AC 230V 240V 25 000 Switch Cycle Fluorescence Tube with conventional compensation DS58W AC 230V 240V 25 000 Switch Cycle Fluorescence Tube without compensation 10x58W AC 230V 240V 25 000 Switc
50. hout express written authority 2 Our company reserves the right to meke improvements modifications or changes to the deson of APB ies amp any time without prior notification 3 Any corrections required are included in the sulbsaquent editions All questions comments and suggestions are both welcomed and encouraged Index Chapter General Introduction to APB ccccsccesseesteeeeeeeeeseeeseeeaneeaneeas 1 1 1 Structure of APB SECS vacirecncinennelgurcetanaceomuaniinncgnieaanaetedhanmmeakenaduaKmmaddaanaiemanamentiea 1 A 2 Naming Rules of APB SECS onetuctvevcauietigsvertratiaronniereiaiabtndesaraatessaevastdwiancannatabsiacasens 2 1 3 Specifications and Type of APB sa canonunowenncecamoaicubieaenncetdonnevatereasannnnaaednsagunenmavendtetdees 2 HA PCS APB eeen r E r E R Eoi 3 Chapter II Installing and Wiring of APB sssssssnonnnnnnnrrrrrrrrrrrssssesseserrrrrrrrre 5 27 eala APE ei E E E reaanectedaemaneate 5 2 AIP inea NaN eee E E A AEE 5 20 I 2 Installation DIMENSIONS 2 2 ccc ccc cccc ccc cece eeeeeeeeaeeeeeeeeceeeecaeeegeeeeueeeeuaneuseneeeaneeas 5 Dil ZN ON APE oe get os en E E EE E TAE E E EE E A 6 2 2 1 Powy Supply Connection ox iset covssecedearvavienaessnccecadenctnedssacesaurserscenseeceieaiomesanessn 6 AJ AJA UE COW O aaae AA R OA A Ra 6 A A 3 UE COI O rinnan air EEr RE A EERE PANRERE 8 Chapter III General Description of Function Blocks cccecee eee eeeeeeeeeeeees 10 3J 1 Loc Funcion Block LF
51. ia Input R 3 After the power is ON or OFF the pulse rday is reset and Output Q changes to 0 4 If the status of TRG is being Status 1 fromthe start it can be regarded as the ascending edge fromthe Start 5 This function is applicable to the lighting of staircase the control of motor startup and stop wth singe push button 3 20 6 Blinker rday BLNKO sms em a When the ascending edge arrives at TRG and keeps the hign Input TRG potential a pulse is output according to the time width between ON and OFF Makeup Obed Re Every tne TRG changes from 0 to 1 and keep 1 status the Output Q is 1 and when Time TH is up the output becorres 0 It becomes 1 again when the Tine TL has expired The cycle Output Q operation is continued in this wey until TRG is O and Output Q iSO After R becares 1 the output Q is 0 And when R changes from 1 to 0 all status will change cyclically depends on the input Status i P Output Outputs the running value of the block to the Reg ster D Chapter lIl General Description of Function Blocks 19 Parameter Setting Time parameter TH indicates the duration of output ON and TL indicates the duration of output OFF The time unit can be set as hours minutes seconds milliseconds and the range of value is 00 00 00 010 9 99 59 59 990 The timing accuracy can reach 0 5 o Time Sequence Frane TRG R _ TH Th Functional Description Input EN enables the clock pulse gene
52. ignal 1 DC 7 5V 24V DC 7 5V 24V Daday time from 1 to 0 50s Daday tire from0 to 1 Transistor outputs paren eam a pom ca mom co 66 Chapter V APB Technical Parameters 5S 5 APB 22ERA APB 22ERD APB 22ETD APB 22EGD Extension Module Technical Parameters L APB 22ERA Technical Prarveters APB 22ERA Parameter a Digital input ra AC OV 240V rors rat Santana rte Relay output Tree O o SnB ResponsetinefromOto 1 10ms Chapter V APB Technical Parameters 67 Light Load 1000W AC 230V 240V 25 000 Switch Cycle 500W AC 115V 120V Fluorescence Light wth electronics controlling equipments 10 58W AC 230V 240V 25 000 Switch Cycle Fluorescence Tube with conventional compensation 1 58W AC 230V 240V 25 000 Switch Cycle Fluorescence Tube without compensation 10 58W AC 230V 240V 25 000 Switch Cycle Ss 2Hz Resistor load light load Inductive load 2 APB 22ERD Technica Prarreters APB 22ERD Parameter 68 Chapter V APB Technical Parameters Light Load 1000W AC 230V 240V 25 000 Switch Cycle 500W AC 115V 120V Fluorescence Light wth electronics controlling equipments 10 58W AC 230V 240V 25 000 Switch Cycle Fluorescence Tube with conventional compensation 1 58W AC 230V 240V 25 000 Switch Cycle Fluorescence Tube without compensation 10 58W AC 230V 240V 25 000 Switch Cycle Sa i ra 3 APB 22ETD Tec
53. igts 3 decimal digts 2 Screen Editor Pressure sensor Value L1 23 Analog comparator Fixed valne Property Numeric Position Format x 62 j Digit E y oe Decimal 2 Data setting Block Parameter Information gt Run value C Gainfa C Dffsetfb oe J FONO C Comparison Value Ka Chapter IV Instructions of APB HMI 55 Choose the corponent H and sdect Function block B0000 universal analog comparator The Running value of the block is chosen as the parameter Displayed digts 3 decimal digts 2 Screen Editor Analog comparator Fixed value _ DA Property Numeric Position Format x a a Dist P Y 46 Decimal 2 Data setting 10 Block Parameter Informatic Curent value C Gainfa C Dffset b ct j j C Comparison Value 4 Create the alarmmessage screen for P1 lt 1V situation If it iS necessary to create a screen for alarmmessage Triggered Screen has to be sdlected fromthe LCD page type then input the displayed message such as The weter level is too lowin weter tank Screen Editor The water level is too low in water Property S creen Screen Description ews Page type Normal Page Connect the analog comparator block B0002 to SLCD When P1 lt 1V the analog comparator will output Signal and the al
54. ion for APB series is shown in the following figures N AC 100V 210V V DC12V 24V V IO IL 12 13 I4 5 I6 I7 DOO DIOLOLDODO IO I1 I2 I3 I4 I5 I6 I7 DZO DDODODODO AC Type DC Type 2 2 2 Input Connection The input to APB can be ather switching input such as switches fluorescent lamp switch etc or analog input such as pressure tavperature humidity flow etc only for IA input port of DC type main machine The specific requirerents are shown as follows Chapter II Installing and Wiring of APB 7 wa e ooon gt 100 omon 8 Note 1 As for APB 12MRD APB 12MTD APB 22MRD and APB 22MTD these can receive analog input the analog inputs IA of these types can receive ather analog input or digital input 2 It is necessary to have analog calibration for PLC input terminals before PLC receives analog signal For details please refer to analog calibration part in High speed and Analog Function Blocks 3 For Anolog input input signal is DCOV 10V voltage signal or 4 20mA current signal In programming all the block parameters related to the analog voltage inputs are based on the minimumincrerent 0 04V 4 When the input voltage is more than 10 0VDC it is only can be used as switching input or a large error wil exist As for APB 24MRD when it receives the current signal as analog input the input current signal can not exceed 50mA or the PLC will damage 5 As for switching input the default time
55. lly the prompt message send SM Successfully Pops Up A GSEEODOLE Serial port set I FETE ese Query SM Language lL Select mode EC Help tH T F Send and receive SMS g J send SM Input Surplus 55 char her new year Start Receiving sm Clear Received SM Received SM Center Code Received Phone Received SM Click Send and receive SM MI sdect Start receiving SM If the short message is received successfully the short message wil be displayed in the table Send M e TE 8613800250500 Send SM stop receive SM Received Fhone 8615195753008 Clear Send SH Clear Received SM Received SM Phone Code Received SM 1 10086 11 01 06 21 14 45 fear Bee AGAZIA ROR 2 10086 11 01 06 21 14 45 ai Alaa ol led C www js 10086 on 92 APB SMS Module Click Query Record sdect Recave or Send toquery history record SESKoduleTool m Eg Serial Fort COMA Open Fort Set Default Ghai t car Set Read Parameter Send Receive SM Query Record Condition Query l Fhone code Receive date f Send Delete SM 1 BB1 5195753008 11 01 06 13 49 01 how are you E 6615199753008 11 01 06 15 49 54 IS 01 OW or OFF 8 SMS module Sent Received Data Format in mode 0 he sent data format when SMS module is used independently Description for SMS control instruction is used
56. mer counter and analog comparator can be displayed on APB HMI There are two data displayed on this HMI Current value and Pararreter value The interface can be modified added and deleted according to your needs 2 Alarmtriggering function When the function block outout high level the linked alarm interface will be activated and display the alarm triggered time The alarm triggered tirre will be displayed reversely if the alarm interface has been checked The triggering method is shown as follows Chapter V APB Technical Parameters 61 Chapter V APB Technical Parameters 5 1 APB 22MRA Technical Parameters Parameter APB 22MRA rok Daina Delay tine from0 to 1 zon oo AC OV 240V Output voltage DC OV 24V Resistor load 10A Output current Inductive load 2A oe eerie 62 Chapter V APB Technical Parameters Light Load 1000W AQ 230V 240V 25 000 Switch Cycle 500W AC 115V 120V Fluorescence Light wth electronics controlling equipments LOx58W AC 230V 240V 25 000 Switch Cycle Fluorescence Tube with conventional compensation D58W AC 230V 240V 25 000 Switch Cycle Fluorescence Tube without compensation 10x58W AC 230V 240V 25 000 Switch Cycle Susan zo indicates it is needed to install Li ion battery 5S 2 APB 12MRD APB 22MRD Technical Parameters APB 12MRD APB 22MRD Power voltage DC 12V 24V DC 12V 24V Clock keeping time at 25 C 1
57. meters include fied valuel and fiad value2 scale factor offset value The parareters numbers are O 1 2 and 3 respectively The address is calculated according to the formula block nuntber 32 parareter nunber 4 0x8000 Responding address for fied value 1 is Ox80A0 Responding address for field value2 is Ox80A4 Responding address for scale factor is Ox80A8 Responding address for offset value is Ox80AC Parameter Gaala F Offset bh o 10000 00 10000 00 20000 00 20000 00 Delta 1 Numerics Oo a Reference O 00 20000 00 Delta 20 9 Humerics a Reference 0 00 20000 00 Range Range VIOD D BUS Fidd Nane Exanple Hex Chapter VI APB Application 81 High byte of the black address 80 Low byte of the block address High byte of the block parameter value 00 Low byte of the block parameter value CRC low byte CRC high bite Thenurrber of retumed bytes nurrber of retumed Thenurrber of retumed bytes Pararreter value of the block Pararreter value of the block EE Parameter value of the block oO Pararreter value of the block CRC low CRC high bite DB The set value 1 in APB softwere wil become 100 times larger than the actual value when it is read through MODBUS protocd Example4 Read the running value of analog monitor block If block number is 5 and parameter number is 0 then the address is OxCOAO calculated by the formula 0 32
58. n 5is the Input Q turns and maintains ON It wil be reset wong rere Functional Description RS Rday is a sinple trigger with two values The output value is decided by the input status and the original Output status The following table can explain the logic rd ationship between them S R Q Revrarks 0 0 The status maintains the orig nal value 0 1 0 Reset 1 0 1 Set 1 1 0 Reset Reset takes priority over Set 3 A 9 Up Down counter UDCTT pen mamae O Input R Internal counter value and the output are reset via R Reset R takes priority over CTN Optional counter mode 1 Rising edge counter When rising edge counter mode is choosen The counter just counts the change from status O to stauts 1 and Input CNT doesn t count the change fromstatus 1 to status O 2 Descending edge counter When descending edge counter mode is choosen The counter just counts the change from status 1 to stauts O and doesn t count the change from status O to status 1 Specifies the direction of the counter with Input DIR Direction DIR 0 Counting up DIR l Counting down When the counting val ue is reached the Output is ON opar Ouapats the runing value the block tothe Register DW Input DIR Chapter IIl General Description of Function Blocks 21 Parameter Setting The range for counter parameter 0 99999999 Time Sequence Frane is shown as follow when PAR 5 Functional Description 1 Every time when a rising
59. n EN 1 output mode 2 is sdected Under this mode the output signal can be preset as 0 or 1 As it is shown in below figure when TRG terminal is triggered first time the preset output status is output and each next TRG pulse wil make the Output status shift one bit to the right The operation works in cycle yf 2a e 3 fifo Io Wa fo i 4 ILo Note Put the mouse on 0 or 1 and double click the right key of the mouse to set 0 or 1 Chapter IIl General Description of Function Blocks 27 30 4 14 HOUR Line diagran be When DEC wes triggered by the rising edge the internal system DEC Input time will decrease automatically such as from 10 50 to 9 20 input inc When INC wes triggered by the rising edge the internal system time will increase autorretically such as from 9 30 to10 30 Note 1 An eror occursif the NOT gate is added amp the inputs of this block 2 Thisblock is mainly usad to automaticdly change APB intend sytem time such a summer time and time for different time zones etc this block does not work for the APB main machine without RTC 3 20 15 T C CMPR Line diagran sae The corrparetor input 1 can be connected to the output of a InputINI timer or a counter The comparator input 2 can be connected to the output of a InputIN2 timer or a counter When the comparing requirements are mg the output Q wil Comparing functions can be selected lt gt Outputs the running value
60. n wil be performed first followed by the Medium M operation and at last the Low L operation wil be performed One operation has to correspond with one priority For the operand values you can refer to other ra evant predefined function The number of operand values is fixed at 4 and the number of operators is fixed at 3 If you need to use fewer operands please use constructions such as 0 or 1 to fill the remaining parameters You are allowed to configure the behavior of the function when the Enable parameter En 0 The function block can ather keep its last value or be set to 0 Chapter lIl General Description of Function Blocks 43 30 4 APB Input amp Output Blocks Six in total Table 4 1 0 Blocks Digtal input Analog Output O INU O AQ AO C Blank Output 1 XQ C Analog Input a Regster D a 0 Alg 0 Do C Input 1 Digtal Input DI Digtal input is identified by I M Q These identifiers correspond to those used for PLC input output and intermediate relays in program 2 AndogInput AIQ Analog input is identified by Al AM AQ The DC type PLC input can be proganmd as Al input Output 1 Digtal Output Digtal output is identified by M Q These identifiers correspond to those used for PLC output and intermediate relays in program 2 Analog Output Analog output is identified by AO 3 Blank Output Connect to the output that is not used Regster D The timer counter and analog values can be out
61. o indicate running or stop status of PLC 1 running O stop Note3 When reading and writing function block parameters the address calculation fomula is block number 32 block parameter number 4 0x8000 The block parameter is numbered from0 They are O 1 2 3 respectively The address calculation fomula for clock switch block is block number 256 group number 8 The group is nurrbered from 0 and 32 groups at most Chapter VI APB Application 77 Note4 When reading the block running value the address calculation formula is block nurrber 32 block parameter number 4 0xC000 Now only one running value for each block and the parameter number is 0 Note5 When reading and writing PLC address the MODBUS address range is from0 to 254 and only low byte of a word is valid Notes When reading PLC status only the bitO at addressO can be read now to indicate running or stop status of PLC 1 running O stop Note7 When reading real time clock at most 4 words can be read and 4 words must be written when witing real time clock Writing format is year month day week hours minutes and seconds Sunday Saturday is written as 0O 06 Example If wite 2009 12 15 Friday 10 40 30 then the request frame should be 01 10 7F F9 00 04 08 20 09 12 1505 10 40 30 E7 2C Note8 Sdect 4x as Regster address type to read or wite double Regster the low address Register contains the data high order bit and the high a
62. of the block to the Register D lt ll gt ll x IMi l r r Functional Description This instruction can conpare the value of timer or counter and the compared tine range is 00 00 00 010 9 99 59 59 990 unit hours minutes seconds millisecionds The range of counting value is 1 999999 The type of the two connected inputs of this function block must be the sare If Input 1 is connected to the timer function block Input 2 must be connected to the timer function block too And if Input 1 is connected to the UDCT function block then Input 2 must be connected to UDCT function block too We wil explain the applications of this function block by following examples Example 1 Comparing the time length of two timers Log relationship is shown as follow Function relationship is sdectedas gt Then when the time of B1 gt the tive of B2 QA1 is 1 othewse it will be 0 28 Chapter lIl General Description of Function Blocks Example 2 Comparing the times of two counters 30 4 16 Staimey Lighting with STLTD Line diagrany Symbol in APB A 1to0 signa transition at input Trg Trigger triggers the ON MEU dinatie T io thease wevlidtinasitch A transition from 1 to 0 at input Trg trigger triggers the ON OutoutQ hddingtineT1 Enables the output again after the duration of T2 and reset the output after the duration of T3 att Outputs the running val ue of the block to the Reg ster D Parameter Setting Configu
63. ompt message Succeed appears Press any key to return Clock parameter setting Clock Move the cursor to Clock and press OK key to confirmPress O key to modify the number at the cursor position and press lt lt gt keytomovethe cursor position Press OK key for confirmation The prompt message Save This appears after modifying the parameter Press OK key to confirm If an ero occurs to the Input data the prompt message Data Err will be displayed on LCD If the input data is correct the prompt message Succeed appears Press any key to return Background light time pararreter setting Light Move the cursor to Light and press OK key to confirm Press O O key tormodify the number at the cursor position and press gt key to movethe cursor position Press OK key for confirmation The prompt message Save This appears after modifying the parameter Press OK key to confirm If an error occurs to the input data the prompt message Error will be displayed on LCD If the input data is correct the prompt message Succeed appears Press any key to return Analog calibra ion Calibo Move the cursor to Calib and press OK key to confirm The password protection interface is displayed and you need to input password of four Arabic numbers Prompt message Matched indicates the passwo
64. on blocks is simpler and better appreciated than the conventional PLC instruction programming Note In APB series the function blocks will be executed in scan round according to the block nunber from small to large order The block with small number wil be executed first In program the total nunber of timers or counters with retentivity function must be no moe than 16 at most The address for retentive regster is DO D12 and the address for retentive relay is MO M63 3 1 General Function Blocks GF 10 in total Table 1 General Function Blocks ANDL With RLO borderline With RLO borderline test test OR with rising edge test OR with falling edge test Chapter IIl General Description of Function Blocks 11 30 10 10 AND In APB the symbol is shown as follow This function block is called as AND because only when all of 11 12 130 144 150 I6 17 and 18 are in status 1 the status of Output Q wil be 1 i e the output is closed If any one of 11 12 134 144 150 16 I7 and 18 is in status O the Output Q A wil beO 30 19 2 AND With RLO bordelinetest In APB the symbol is shown as follow The output status of AND with RLO borderline test is 1 only when all status of the amp He inputsis 1 and at least one input status is 0 in the last period I8 The tine diagamof AND with RLO borderline test is shown as follow 30 17 3 OR In APB the synad is shown as follow 1 This function block is called as O
65. onti nues to move 4 A pressure danpe shall be provided so that the gate can be automat cally open when it touches a person or an article 74 Chapter VI APB Application The Program Diagramis shown as follow O00 O01 Note 100 to the gate open switch 101 to the gate stopped switch 102 to the safety pressure danper 03 to the gate closed switch QAO to the flashing lanp QA 1 to the gate open motor contactor QA2 to the gate closed motor contactor 6 3 Illumination System for Display Windows Reguirerents 1 1 Basic lighting for the display period a Ting Monday to Friday 8 00 22 00 On Saturday 8 00 24 00 On Sunday 9 00 20 00 b Automatic on off the basic lighting can be automatically turned off whilst maintaining minimum illumination and display lighting 1 2 Additional requirements for night lighting a Ting Monday to Friday light sensitive switch Is triggered at 22 00 On Saturday light sensitive switch is triggered at 24 00 On Sunday light sensitive switch is triggered at 20 00 b Light sensitive switch triggering automatic off can automatically tum off the minimumillumnation and the display lamps when it is on and can also automatically tum on the minimumillumi nation and display lignting when it is off 1 3 Minimumillumination and display lighting in non display period The mnimumillumination and the display lighting shall be maintained and shall be automsti cally turned Chap
66. ple Definite day style 8 00 May 01 2002 ON 12 00 May 01 2002 OFF This order is correct 13 00 May 01 2002 ON 17 00 May 01 2002 OFF Every year style 10 00 of each J une 01 ON 11 00 of each J une 01 OFF 8 00 of each J une 01 ON 9 00 of each J une O1 OFF This order is wrong and the output wil becore OFF from 10 00 to 11 00 24 Chapter IIl General Description of Function Blocks Every week style Monday 9 00 ON a a This order is carect Monday 159 00 ON 18 00 OFF Monday 9 00 ON 11 00 OFF This order is wrong and the output Monday 6 30 ON wil be OFF from9 00 to 11 00 8 30 OFF Nota Thisphenomenon is cdled lat instruction priority principle 3 20 12 Time Sequence TSEQ Line diagran _ Input TRG A siqnal at Input TRG triggers the outputs Output O 7 to be ON one by one according to the tire order A signal at Input R resets the outputs Output 1 7 There are 8 outputs available in which Output3 output7 can OutoutQ besdected fredy while Outputs O 2 are not allowed to be modified by users The settings for this function block are shown as follow OO Output Output Qutput Output 1 Qutput 2 aoo Input fao Input faoz Input Time settings 5 m Output 0 N __ Reference ea MOi m lt 1 Reference poma E H ec a oe oita PO gP a SP itere Outpt 5 D e 0 reer E AHI ss leer D n ee cin FS tee Chapter IIl General Description of F
67. put to Regster D wth property pin and in the mant ne the function blocks use the value of Reg ster D as the set parareter for timer counter and analog Note 1 An eror may occur when Regster D is used without a value for it 2 If the function block uses the value of Regster D this value is unable to be modified on the Pararreter Setting interface of APB LCD 44 Chapter IV Instructions of APB HMI Chapter IV Instructions of APB SLCD APB SLCD is used to display time I O status and values of counter timer and analog etc The display interface can be sdf defined HMI only can be used to display information data and modify the parameters but it can not be used for programming A 1 Introduction of SLCD SLCD The display content of APB HMI can be sdf defined wth this function block It is able to monitor set and modify I O status as well as the value of PLC internal register wth characters indicator register and parameters which makes the real time monitoring of PLC running status for the operator very convenient And you can connect the alarm signal to the trigger input of SLCD to display the alarmmessage At most 64 hunen machine interfaces can be edited 4 19 1 Irkroduction of Operation Interface Add the function ie 3 to the edit window and the following operation interface will be popped up after double clicking File F Edit View Object Menu gt ra Tool Index Screen Editor
68. r frequency value and duty cycle under the independent mode while the pulse number is unable to be set under the continuous mode and the square waves will be output continuously at a certain frequency 3 High speed running function must be selected Note PWM output only cen be connected to output Q2 or Q3 3q 3 6 Accderae Decderate Singe phase Pulse Output ACC Output pulse command specifying frequency and pulse number Oa ouptheraring lect teak bite Regs DW 36 Chapter lIl General Description of Function Blocks Parameter Setting Start frequency SF Range of values 1 100000 End frequency EF Range of values 1 100000 Accelerating Decderating tire t Range of values 10 5000s Nurrber of segments n Range of values 1 100 Nurmber of output pulse Range of values 1 99999999 Time of each segrent A tH segrents n Frequency of each segrentA f Start frequency End frequency n 1 Pulse number of each segrent A t0 Li Condition 1 Start frequency End frequency Condition 2 A t 1 Sart frequency Time Sequence Frare Number of segments Functional Description 1 Output pulse wth accdevaion and decdevation depending on assigned parameters 2 High speed running function must be sdected BORAX Analog Input AIX can be selected as the preset analog val ue or P the calculated fromthe analog input IA iPOREALY Analog Input ALY can be selected as the preset analog value or p the calculated value fromthe analog
69. rareervauel 0 Higher thetic preter 0 ciwe Chapter VI APB Application 79 Parameter value of the block 00 CRChigh byte o B Parameter value of the block Parameter value of the block OD Parameter value of the block 40 CRC low byte CRC high byte Exanple2 Read Write the parameter of universal counter block If block number is B0000 and parameter number is 0 then the address is Ox8000 calculated by the fomula 0 32 0 4 0x8000 Parameter value occupies 2 words Read the universal counter parameter 12345678 It is OOBC 614E HEX Par ameter Threshold iC Numerics izsase7e Reference range 0 99999999 When read counter parameter MODBUS RTU command frame should be Request Message Response Message Tenra of Paarse vavechebloxk 0 o Oooo Write the allowed maximum value 9999 9999 to universal counter Itis O5F5 EOFF in HEX Parameter Threshold iC Numerics B Reference range 0 99999999 80 Chapter VI APB Application When write counter parameter MODBUS RTU command frarre should be o1 0 Low byte of the block parameter value 5 F5 m Request Message _fadtre EF Low byte of the block parameter value CRC lowbyte CRC high byte xanp Hex 01 10 o S o Exanple3 Read the parameters of analog monitor The block nurrber is 5 Its para
70. rator to work Output Q of clock pulse generator will be ON time TH and OFF time TL and cycle operation is continued in this way until Input En is 0 The clock pulse generator then stops operation and Output Q is 0 3 2 7 DdayMadrtainONg MTOD Symbol in APB Description Input TRG Time for ON time dday is started via Input TRG Trigger Input R Input R resets the imer for ON tire delay and makes Output Q be 0 R takes priority over TRG After tine delay T elapses the output is ON utp ct Outputs the running value of the block to the Register D Parameter Setting The unit of tre T can be set as hours minutes seconds milliseconds and the range of value is 00 00 00 01 0 999 59 59 990 The timing accuracy can reach 0 5 o Time Sequence Frane TRG Functional Description 1 If the status of Inout TRG changes from0 to 1 the internal timer will be activated When time T is up Output Q becorres 1 and then the Input TRG coming again has no effect on output Q Output Q and Timer T wil be reset to 0 only when Input R becomes 1 again 20 Chapter lIl General Description of Function Blocks 2 This function is applicable to the occasions where the On delay and hdd ON status are required 3 Retentivity function is optional 30 4 8 RSRday RS Make the Output Q in status 1 with Input S Sef Input R The Output Q is reset to 0 wth R Reset Input If Sand R are both in status 1 Output Q is O R takes priority Whe
71. rd is correct Press and OK synchronously key to enter analog calibration interface If the prompt message Minimunt appears after pressing OK key set the external power supply connected to the analog that needs to be calibrated as OV and then press OK key to confirm If the prompt message Maxi mun appears after pressing OK key set the external power supply connected to the analog that needs to be Chapter IV Instructions of APB HMI 59 calibrated as 10V and then press OK key to confirm address setting PLC Move the cursor to PLC and press OK key to confirm Press O O key tormodify the number at the cursor position and press gt key to moethe cursor position Press OK key for confirmation The prompt message Save This appears after modifying the parameter Press OK key to confirm If an eror occurs to the input data the prompt message Too Large wil be displayed on LCD If the input data is correct the prompt message Succeed appears Press any key to reum Check the version number of system program Ver Move the cursor to Ver and press OK keytoconfim 4 O Status Display Move the main interface icon L to ijp and press OK key to enter the fd lowing interface On this interface it is able to observe PLC I O status and in the meantime the current systemtine and PLC running status ar
72. re APB SLCD wil display Engish after APB program has been downloaded from PC When using APB HMI users can easily add SLCD function block no more than 64 according to actual needs On the LCD it wil display the following data such as time status of input amp output counter timer analog and so on information Moreover it is allowed to modify add or delete the interface during the operation 2 Wdl featured and corpact design If you are thinking of making your equipment more compact APB would be your best choice 7InmK90nNNK58 5IM 12 point machine 126nmnX90nnX58 5Snm 22 point machine 3 Adopting the function blocks for prograntring with large program storage capadity The control functions of APB can be implemented only with function blocks incorporated into a function block diagram The sarre leva of control inplenented by a conventional PLC would require a much larger 4 Chapter General Introduction to APB and more detailed program When several function blocks are linked together in a specific way then relative complicated control functions can be implemented APB s program storage capacity is up to 320 function blocks There is a large application resource to satisfy the requirerents for complicated contral Once a programis downloaded into APB it wil be retained for ever 4 External extendable input output APB series main machine can be connected wth the rdevant APB 22E extension module thus it can be extended to 22 paints
73. re the pulse wath T1 represents the OFF delay time T2 represents the time period when the output is off T3 represents the ON holding time after output is on again Range of values 00 00 00 OLO 999 59 59 990 hours minutes seconds milliseconds Time Sequence Frang Q lt _ gt lt gt T1 1 T3 Functional Description A Oto 1 signal transition at input Trg sets output Q The next 1 to 0 transition at input Trg triggers the ON hd ding time T1 Set output Q again after the expiration of T2 and it will be resset after the duration of ON hdding time T3 Chapter lIl General Description of Function Blocks 29 3 2 17 Mutiple Fundion Switch MULTO a ynbad in APB A siqnal at input Trg Trigger sets output Q permanent light or resets Q with an off dday A signal at input R resets the output Q A siqnal at Trg enables output Q The output Q ON tine depends on the length of the input signal at Trg The output can be switched to off delay mode or be switched on permanently or be reset with a reset siqnal at Trg att Outputs the running value of the block to the Register D Parameter Setting Configure the pulse width T1 represents the off dday time T2 represents the tine period when the high level output is maintained Range of values 00 00 00 010 999 59 59 990 hours minutes seconds milliseconds Tine Sequence Frang TRG R lt lt T1 T2 Inout TRG Functional Des
74. rrrerrrnne 19 A Al S RS lay RII eieeeeirori aneian a EA E Erei 20 309 20 9 Universal Counted UDCTI wassisiesastiasietnduceradbocetasduksesetnnedeavareaheransiedeuexanaets 20 39 2 10 Up Donn Threshdd Counte UDCF ssssossossossessrsssnnnrrrrrrrrrrssnrerrrrrrrrrrene 21 F A LL COK Ne OCHO oreren erer E eea aaiae retai 22 30 20 12 Tine Sequencq TEQ navn ces sic traienveaastue cone ve gus cemiuetawandatonnmeacdanescubew san anc 24 S70 13 Step sed oO cascctesovereryeaednaeevenetioncsavssenaveucdetixotedeterecctenveacerenes 25 ATA ON asirans inde E E gens trae emir eee nas E A ERER 27 A deo CII CIMIPIA Tarres oine rE E A EEE E AEE 27 39 2 16 Stairwey Lighting Switch STULTI ssnnsnnnnrrrrrrrrrrrrrrrrrrrrrrrrerrerrerreseeseen 28 39 20 17 Multiple Function Switch MULT iene denntanpinlenceinactwmuatavedantabuacinieatewsuies 29 31 Al 16 ECD en SLC ees acritien Wa case sal enter sss nian E R 29 3J 2 19 Propety Pin Description sxccstiatoasssetesnsia vara ew ere nectere reais enetieelimciatsadeaas 29 3 3 Higt speed and Analog Function Blocks 13 in total cccccce ccc eeeeeeeseeeeeeeeeeeeeseeaeeaes 30 3J 309 1 Frequency Threshdd Trigge PIA sisesscuetonees sosnccurvorcueoyscaaeumsiomeamaancedees 31 39 3 2 A B Counte A sesssssosososnnrrrrrresererrrerrrrrrrsrererrrrrrrnrnserrerrrrrrrerrenns 32 30 30 3 Tuwo phase Counte 2PC sncetenivndvaverieatwtae Setrses one sduvivenssdecieeentievesdseaninwen 33 3 314 Puse
75. s an off line testing function for the user which overcomes much of the possible inconveniences normally experienced during or line testing Chapter II Installing and Wiring of APB Chapter II Installing and Wiring of APB 2 1 Installing of APB 2 10 1 InstalingMethod As APB is very shill itis suitable to be installed inside The installation of APB is quite sinple Use a standard DIN rail for installation of APB as it is shown in Fig DIN Slideway Use standard DIN rail for installation of APB 20 19 2 Installation Dirrensions JJO PDIOO OOOOOOA 2O OD D Installation Dimension of APB 12 Series nm 6 Chapter II Installing and Wiring of APB 2O DO DO DO DO DO OA Installaton Dimension of APB 22 Series nm 20 2 Wiring of APB Use a screwdriver with a spade tip of 3nm width for the wring of APB The size for wre cross section D2 5mMmr 2xL Snr 2 2 1 Power Supply Connection 1 APB 22M E RAC is AC type The rated power supply for it is 110 220VAC 50 60Hz The range of the grid voltage is between LOOVAC and 240VAC The consumption power for APB 22M E RA is 5W 2 APB 12MRD APB 12MTD APB 22M E RD and APB 22M E TD are DC types The supply DC voltage is 12VDC and 24VDC The range of the voltage is between 12VDC and 24VDC The consumption power for APB 12MRD and APB 22M E RD is 3W and 5W respectively and the consumption power for APB 12MTD and APB 22M E TD both are 2W The power connect
76. se high peed running mode when input frequency exceeds 4H Z 2 1447 ae high ped inputs Each high peed input only can be connected with a function block of high goeed counting in a program 30 3 2 A B Canter A B Line diagran ae co So count value to zero and Prapa ienee iani aee eal takes priority over CW and CWWV The counter is counting up when there is a signal at input CW counter The counter is counting down when there is a signal at input CWW counter The function counts the 0 to 1 transitions at input while 1 to O transitions are not counted Output Output When count vaueis reached the Output Q isenabied count value is reached When court value is reached the Outpt Qiserebied is enabled att Outputs the running value of the block to the Register D Parameter Setting Range of values 0 99999999 Chapter lIl General Description of Function Blocks 33 Tine Sequence Frane CW input ON CCW input OFF v v v 1 2 counting 3 2 1 ee a up down 1 000 Nms gt F Functional Description 1 The counter is counting up when there is a signal at input CW counter 2 The counter is counting down when there is a signal at input CWW counter 3 Retentivity function and high speed running function are optional Notes 1 The counting frequency is rdated to filtering duration If the default filtering duration is 50ms please choose high peed running mode when input frequ
77. switch funciton and it has 5 switch modes for sdection Every year Every month Every week Every day Definite day Every year means one cycle per year Every month means one cycle per month Every week means one cycle per week Every day means one cycle per day Definite day means execute this function on this definite day without cycle Chapter lIl General Description of Function Blocks 23 Sone key pants about SCH DI 1 The set time of clock switch should be according to the tine order such as Every day syld ON time 8 00 May 01 2002 OFF time 17 00 May 01 2002 Q1 ON time 9 00 Oct 01 2002 OFF time 19 00 Oct 01 2002 The above tine order is correct while the following one is not correct ON tin 8 00 May 02 2002 OFF time 6 00 May 01 2002 ON Time 19 00 Oct 01 2002 OFF time 15 00 Oct 01 2002 Q1 2 In the SCHD instruction if you set ON time and OFF time then the output will be ON in this period from ON time to OFF time The output will keep the previous status before the ON time and will become OFF after the OFF tire 3 As for weekly style and every day style you can only set ON time or OFF tire Its output will change as follow oa Before the ON tine Keep the previous status Only set ON tine Before the OFF time Keep the previous status Only set OFF trre 4 Whichever function you selected for the Clock switch the tie intervals of the sarre day should be listed according to tire order For exar
78. ta setting po 2 Type I z Address P z re 2 On Message ON Rev Font A Cal Propety The type and address correspond to the input output points of PLC and the type address of internal raay A Messa Display Display the corresponding message when the cail is ON OFF Raste Choose Register option in Object menuor click the icon 122 in the tod bar And then a dashed rectangular frame fa lowing the mouse appears Move the mouse to the proper position of the edit section and click the left button of the mouse to confirm Screen Editor Property Numeric Position Format Data setting X 28 ai Digit 5 Type fD T5 Decimal 0 Address 0 Style Data type fe DEC Double t Si d Reverse zons Chapter IV Instructions of APB HMI 49 A Fanet Set the digits and decimal digits of the reg ster data If it displays analog voltage value please set two decimal digts A Regster Set the type and address of PLC reg ster Ifthe Set check box is sdected the Password option will be displayed When the Password option is selected if user wants to set value through keys on PLC front pand it is necessary to press ENTER key to enter into the password interface and then input the correct password Block Info Choose Block Info option in Object menu or click the icon B in the tod bar And then a dashed rectangular frame following the mouse appears Move the mouse to the
79. ter VI APB Application 75 on when the display period ends and the basic lighting and night lighting are turned off 1 4 Test switch All lanp groups can be tested when the test switch is pressed e0001 100 ooo TF B0006 E S Bel D E B0002 101 D r 21 alr R B0003 A B0000 Hm SCHD B0004 E 1 D Note 10 to the test switch 1 to the light sensitive switch Q00 to the basic lignting in non display period QO1 to the night additional lighting within display period Q02 to the basic lighting during display period 76 Chapter VI APB Application APPENDIX AQ APB MODBUS RTU Introduction APB MODBUS Protocol Address Type and Function Code List Note1 cco as fonan n oa som a sos ewe a owe Mena Clock switch Read and wite the RAW 0x41 0x42 parameters of clock calculated switch block Note4 independently 4x 5x Read and wite PLC 0x 0x10 hess Not PLCs PLCs OxOL OxOL 01l o gwd wd Rea PLC status Note6 PLC ti anin moth day hour 7FF9 7FFE R W 0x03 0x10 a ra erie m minute Second ClOC e7 Notel Except for clock function block all read and write operations of APB MODBUS RTU contrunication protocdl are standard MODBUS RTU commands which can communicate wth devices that support MODBUS RTU Comrunication parameters 9600bps 8 data bits 1 stop bit and no parity The time interval between frames is 501s Note2 When reading PLC status only the bitO at addressO can be read now t
80. the target nunbe to alarn The input and output state can be inquired and SQ1 can be set by sending the mobile phone instruction Input signal SIO controls the output SQ0 directly The SQO delay ON OFF time can be set by GSMMODULE softwere When SMS works in mode 1 the short message can be sent and received by GSMMODULE softwere APB SMS connecting wth APB PLC OOO OQOQOQOQO0O0O0O O OOO OOQOQOQOQOQOQOQOQOQOQQOQQOQQ0Q sy When SMS works in mode 0 APB PLC input state can be inquired and output state time and count parameter analog parameter can be inquired and set by sending the mobile phone instruction The alarm message can be sent to user mobile phone by programming SMS function block in APB software When SMS works in mode 1 the short message can be sent and received by GSMMODULE software APB SMS Module 87 6 Technical Parameters Operation powe DC12 24V Operation frequency Operation terperature 10 455 C Operation humidity 0 90 Interface rate 9600Bps Interface standard RS232 Overall dimensions 126nmn 90nn 47 5nm Wadt 4509 70 Parameter Settings Knob in SMS rotates to mode0 SMS work under the mode of short message alarming Open the SMS parameter configuring softwere GSMMODULE exe and configure the pararrete Doubleclick to open SMS setting tod Select mode f Set GSM parameter mode i Send or receive SM mode OF Choose the proper COM port and dick Op
81. to 0 transition at input Trg Trigger triggers the dff dday tne TL Inout TRG Inout R A signal at input R reset input resets the on off dday tiner p and sets the output Q to O R takes priority over TRG Qis sif Trgis sull s amp as 1 when thereis a0 tol signal transition at input Trg and the configured tine TH has expired Output Q It is reset on expiration of the time TL if thereis a1 to 0 signal transition at input Trg Trigger tt Outputs the running value of the block to the Register D Parameter Setting The unit of tre T can be set as hours minutes seconds milliseconds and the range of val ue is 00 00 00 01 0 999 59 59 990 The timing accuracy can reach 0 5 o Chapter IIl General Description of Function Blocks 17 Tine Sequence Frane Functional Description 1 ThetimeTH is triggered wth a O to 1 transition at input Trg 2 If the status at input Trgis 1 at least for the duration of the time TH the output is set to 1 after the time TH has expired the output follows the input after onr delay time 3 Thetimeis reset when the signal at input Trg is reset to 0 before the tre TH has expired 4 A 1 toOtransition at input Trg triggers the time TL 5 If the status at input Trg is O at least for the duration of the signal TL the output is set to O after the me TL has expired the output follows the input after off delay tire 6 Thetimeis reset when the signal at input Trg changes to 1 again before t
82. to reum to the man interface The dam triggered time will be digolayed reversdy if the dam interface has been checked 30 Parameter Setting Operation Move the main interface icon LI to 34 andpress OK key to enter the following interface 58 Chapter IV Instructions of APB HMI SETUP Block On this interface move the cursor position with lt gt T keys Sdect the block parameter Block clock parameter Clock PLC address PLC and version nunber Ver and press OK key to confirm Then press ESC to return the main interface Block parareter setting Block Move the cursor to Block and press OK key to confirm The password protection interface is displayed and you need to input password of four Arabic numbers When inputting password press O key to modify the nurrber at the cursor position and press lt gt key to mwe the cursor position Prompt message Matched indicates the password is correct Press any key to enter function block window Press O key to modify the function block number at the cursor position Press gt key to move the cursor position and press OK key to enter into block parameter modification Press OK key to confirmif a prompt message Save This appears after modifying the parameter If an error occurs to the input data the prompt message Fail will be displayed on LCD If the input data is correct the pr
83. uction It is necessary to have analog calibrated first to get areference value for input analog when using the rel evant analog function block Please follow the steps g ven bel ow to calibrate anal og 1 First please power on the APB then sdect itemfromAPB LCD and choose Calibration item to enterinto Calibration screen by pressing ok and synchronously Each channd has to be cal i lbratedseparatel y Input the channa number that needs to be calibrated and press OK key to confirm 2 Next When minimum is prompted input voltage valueto this channel Press OK key to confirm then success message will beprompted and the input value will be identified by Vinin When axinum iSprompted input maximum voltage val ue to this channel Press OK key to confirmthen success message will be prompted and the input value will be identifiedby Vmax The input range for Vinin and Vimex is between OV to 10V 3 After the analog has been calibrated succesfully APB need to be cut off the power supply and then itis power on 4 It s sarre forother channels f the analog has been calibrated successfully when usingrel evant analog function blocks the analog input value OV 10V is not theactual input voltage value but the calculation result of the mathforrrula V input Vin Vmax Viriny 10 3 3J 1 Frequency Threshold Trigger FTHO Line diagran A positive edge at input EN triggers frequency threshold trigg
84. ump 1 B1 wil contral the punp B2 wil contra the alarm The logic control programof APB 12MRDC is shown as follow In this case the following messages need to be displayed on the APB HMI 1 The running value of the pressure sensor P1 and the set value of the analog corrparator 2 If P1 lt 1V the alarm message wil be displayed 3 The set value and running value of the time delay rday Operation procedures 1 Set a function block merani Chapter IV Instructions of APB HMI 53 The function block LO displays the set value and the running value of time dday raay The function block L1 displays the running value of the pressure sensor P1 and the set value of the analog comparator The function block L2 displays the alammmessage if P1 lt 1V 2 Create a screen page for Set value and current value of time delay rday Choose conmponent A toinput text messag current value of time delay raay Choose corponent A toinput text message Set value of tine delay relay Screen Editor currentvalue of time delay relay Setvalueof time delay relay Property Text Position Input String x ji T fas time delay relay Font Style Reverse Choose the component F andsdect Function block B0003 ON dday The current value is chosen as the pararreter Displayed digts 2 decimal digts O Screen Editor Running value of gt time delay relay
85. unction Blocks 25 When you select a TSEQ instruction in the program and double click it it will display the above figure Then you can select the output points If you sdect Output 4 output 3 will be sdected automatically and the sarre wey for output 5 output 6 output 7 It means if you select one output then all the previous outputs wil be selected automatically And you can set the output ON time and the time units can be selected as millisecionds seconds minutes and hours Or you can click Reference key to refer to the value of a Register DWX In above figure when the Trg becores 1 7 outputs will becore 1 one by one It means Output QO becomes 1 when the first set time is reached and Output Q1 becomes 1 when the second set time is reached and so on tll the 8th set time is reched and Output Q7 becorres 1 The output loop will start again when there is a reset signal 1 wes received at Input R 30 4 13 Step Sequen SEQ ee Mout EN When EN 0 output model will be chosen p When EN 2 output nroded will be chosen Input TRG 8 input points in total for SSEQ block njpoutO4 nput 7 A signal at Input R resets the outputs 0 7 of SSEQ block There are 8 outputs for SSEQ block in which output3 output7 can be selected fredy while outout0 outut2 are fixed and you are nat allowed to modify The settings for this function block are shown as follow Property Step sequence block Trigger Reset x Horma
86. ut Correct password and download mobile number to SMS module Set code Center code a613800250500 Fhone code 13851768688 Set Center code Set Fhone code Cancel password Input password o Cancel 90 APB SMS Module Click Read center code and phone code PS GSEEODULE Serial port set Tl PORE EAO Langiaze IL Set Center code and phone code S Select mode CJ Help H Read Center code and phone code R Set SAO delay ON OFF time T Read SQ0 delay OW OFF time Q Set password F Set default 0 Click Read Center Code input correct password to read SMS center number fromSMS module Click Read Phone Code nput correct password to read mobile number from SMS module Kead code Center code Fhone code Read Center code Read phone code Password Input password Knob in SMS rotates to model SMS work under the mode of receiving and sending short message Open the SMS parameter confi quri ng software and configure the parameter grreesesessesessssesesssesssessesessssesesseseesesessessssey dbclick SSIMODULE Mi sxes open SMS configure tod select mode Or Click sdect mode meu APB SMS Module 91 A GSHEODULE Serial port set T Read or set parameter lI Language L FARETE celect mode 5 Click Send and receive SM M input the receiver mobile phone number click Send SM if the short message is sent successfu
87. ution bar Distribution bar displaying instruction A Status bar Status bar displaying instruction Object This menu mainly includes Static text Lamp Message display Function block parameter and Picture Static text including Chinese characters Engish characters and other character system Lanp displaying input output of PLC and the on off status of internal raays Message display the corresponding message will be displayed when Message display PLC objects become ON OFF Redder placing the data monitoring or data setting components the operated J object is the data register in PLC Displaying the function block parameters in program or the running Function block parameter elect incign ATA Picture Graphics file the Max size 108 64 pixels 4 10 2 Operdion Interface Edt Static Tet Chapter IV Instructions of APB HMI 47 Choose Static Tet optioninthe Object menu click theicon A the too bar And then a dashed rectangular fran following the mouse appears Move the mouse to the proper position of the edit section and click the left button of the mouse to confirm Screen Editor Property Text Position Input String Xie lt Y 12 Text Font Style Reverse A Pasition Property X Position specifying the horizontal position of the conponent Y Position specifying the vertical position of the component Note The grid origin is on the top left comer of the screen A Input String Input
88. ving sending terminal when it is connected wth APB main module Note Please make sure A B connection is correct when RS485 interface is used Mounting Dimensions 7 aie ce Uy 5 za EE CI E d 4 HMI 3 Indicators APB EXPMC has 2 indicators Consistent ON indicates it is in power on state Flashing indicates DTU stays in normal communication state APB M Indicates APB is communicating wth main machine APB E Indicates APB is communicating wth expansion module
89. will jumpto 1 O Status display interface automatically Chapter IV Instructions of APB HMI 57 1 Start Stop Operation Move the main intefaceicon O to and press OK key to enter the following interface RUN STOP hun On this interface change the cursor position by moving lt gt key Sdect Run or Stoo and press OK key toconfirm Press ESC to reum to the main interface Prompt Message Run PLC Indicates Is it needed to run PLC Running Indicates PLC is running Stoo PLC Indicates Is it needed to stop PLC Stopped Indicates PLC has stopped 2 Interface J unp Operation Move the main interface icon tof and press OK key to enter the following interface WINDOWS On this interface press OK key to modify the target number that needs to be jumped to Press 0 0 keys tomodify the number at the position of the cursor and press lt gt keys to move cursor position Press OK key after modifying the target number If there is no saf defined interface the prompt message Error will be displayed Press ESC to reum to main interface If the interface has been sdf defined in the program it will jump to the corresponding interface And at this time you can use T key to switch to another sdf defined interface Press ESC to return to juno interface Note If the dam interface is popped up please press ESC key

Download Pdf Manuals

image

Related Search

Preface preface definition preface synonym prefaced meaning preface pronunciation preface of a book preface vs introduction preface vs prologue preface to lyrical ballads preface for project preface vs foreword preface geely preface adalah preface hall preface meaning in urdu prefaces crossword preface to leaves of grass preface to the picture of dorian gray preface to oregon revised statutes preface ohio state

Related Contents

  Lutron CA-1PS-WH Installation Guide  Epson EB-85H/825H/826WH.indd  Impression 7 Quick Start Guide  Bedienungsanleitung  SM33-2 - Northern Airborne Technology  電動丸 3000XH 取扱説明書 - SHIMANO  CCH - Besançon  OCZ Storage Solutions Vector 150  Honeywell 16200 Air Cleaner User Manual  

Copyright © All rights reserved.
Failed to retrieve file