Home
2 Connection
Contents
1. Freely selectable data block with data word definition DL DR HT s7 s5 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Bitnumber PLC L d L d L l Aja i d Ll l l dl l A DBWO DWO Status 2 A 2 HT active Edit line S Edit mode So 2T Ta 2 5 DBW2 DW1 Internal ASCII Code Key code 26 On So DBW4 DW2 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 Ox Key status o DBW6 DW3 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 Vv DBW8 DW4 A DBW10 DW5 reserved DBW30 DW15 DBW32 DW16 1st character 2nd character DB ID DBW34 DW17 3rd character 4th character DB ID DBW36 DW18 Control word Activat d interface Check RUN counters PR Beep Keyclick depress Keyclick release Disable Menu Text output text number DBW38 DW19 RUN counter of PLC Handshake bits 11 execute command s start command PLC 00 execution of command s without errors HT 01 an error occured while the command s was were executed HT DBW40 DW20 Number of commands Totaly number of words DBW42 DW21 DB Command interface DBW44 DW22 DW DBW46 DW23 16 15114 13 12 111 10 918 7 615 41 31 21 1 DBW48 DW24 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 LEDs on off DBW50 DW25 34 33 DBW52 DW26 16115 14 13 12 11 1019 s 7 e 5 4 3 2 4 DBW54 DW27 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 gt LEDs flashing mode 2 DBW56 DW28 34 33 5 ob S
2. DW2 DW3 Key Status These data words contain the bit coded map of all keys pressed on the Ke Top T40 at the moment The 32 keys are represented by two data words One data bit is assigned to each key User s Manual version 1 2 material no 61871 25 KEBA 2005 KEB Definition of Data Block KeTop T40 PLC gt KeTop T40 DW16 DW17 ID DB ID 26 To make sure that a handheld terminal does not write to a data block that is not destined for communication an ID must be defined in the handheld terminal as well as in the DB The ID for the handheld terminal is entered in the programming software af ter selecting the protocol Then the ID is loaded together with the entire program from the PC to the handheld terminal where it is stored in the flash memory In the data block the ID must be entered into the data bytes DL16 to DR17 Then the handheld terminal cyclically reads this data range and checks if the ID corresponds to the ID in the flash memory The user must enter the ID into the corresponding data words of the PLC If the two entries do not correspond to one another the error message Er ror Wrong DB ID will be displayed on the KeTop T40 DL DR DW 16 1 character 2 character DW 17 3 character 4 character Example ID KEBA DL DR DW 16 K 4BH E 45H DW17 B 42H A 41H User s Manual version 1 2 material no 61871 KE BA KEBA 2005 Siemens S5 Coupling
3. Configuration of KeTop Example Programming software Edit text lines Data block DB x No Text V Display op DW 34 cs Line 1 PUMP 1 Data type UINT8 Line DW 0 PUMP 1 50 2 Format DEC o 1 26 1 3 UO type OUT i A e 2 4 2 3 28 e 3 4 29 gt 50 34 35 36 1999 37 Handheld Terminal Example of a text display with an output variable Siemens Simatic S5 Output variables are cyclically updated Input variables are sent to the PLC after confirmation by Enter User s Manual version 1 2 material no 61871 17 KEBA 2005 KE BA KeTop Power Up Phase after Turning On KeTop T40 4 KeTop Power Up Phase after Turning On 18 The handheld terminal carries out a power on self test For details on the test steps refer to the User s Manual KeTop T40 Handheld Terminal General Information gt The first part of the test is identical for each KeTop T40 coupling and thus described in the User s Manual KeTop T40 Handheld Terminal General Information gt Then the Siemens S5 configuration data are loaded The following message is displayed S5 VXXX Toe ale E In case of an error the handheld terminal remains in this condition After successfully loading the Siemens S5 configuration data different messages are displayed depending on the coupling used User s Manual version 1 2 material no 61871 KE BA KEBA
4. 3 Edit line If the edit mode is active bit 4 1 these 4 bits contain the current input line The value ranges from KH xxx0 line 0 to KH xxx7 line 7 Example DW9 KH xxx1 Line i index 0 Length _ _ _ i 1 Width i 2 i I 3 Surface i The cursor stands in the second line line index 1 Bit 4 Edit mode This bit signalizes if the edit mode is activated in the handheld terminal Bit 4 1 In this case the current line in which the cursor is located is contained in the bits 0 3 Bit 4 0 Edit mode not active The bits 0 3 are 0 Bit 5 HT active bit The PLC can use the active bit as sign of life from the KeTop 40 When the bit changes from 0 to 1 the PLC can recognize a write access of the HT to DWO DW15 Following that the PLC can reset the bit DL1 Internal ASCII Code To each key an internal ASCII code is assigned This assignment is fixed While a key is pressed on the KeTop T40 the corresponding ASCII code is entered into DLO If several keys are pressed simultaneously the ASCII code of the key pressed at last will be entered If no key is pressed 0 will be entered DR1 Key Code While a key is pressed on the KeTop T40 the corresponding USER code is entered into DRO This user specific key code can be defined during con figuration If no key is pressed 0 will be entered 24 User s Manual version 1 2 material no 61871 KE B IA KEBA 2005 Siemens S5 Coupling Definition of Data Block
5. DBW58 DW29 O n Line 0 E E peg d S 2 DBW72 DW36 Own Line7 Ss S S 9 6 A DBW74 DW37 on d 8 DBW76 DW38 O n DBW78 DW39 O n 2 DBW80 DW40 O n E DBW82 DW41 Dn RE S DBW84 DW42 gn alee gt 2 DBW86 DW43 O n DBW88 DW44 O n DBW90 DW45 O n gt Y V_DBW92 DW46 Dn Vv E2 DBW94 DW47 Dn Variable aE A o 2a zg DBW96 DW48 on Variable S PE Le SS sav DBWxxx DWxxx Dn Variable V User s Manual version 1 2 material no 61871 KE BA KEBA 2005 Siemens S5 Coupling Definition of Data Block Note on use of SIEMENS S7 Simatic control lf a SIEMENS Simatic S7 control is connected the data word addresses must be doubled In STEP 7 the data operands and data blocks are addressed byte by byte compared to STEP 5 where the addressing is done word by word There fore the addresses of the data operands must be converted accordingly DW n DL n DR n LO D 15114113 12111 10019 8 7161514 3 121 1 10 op DBW 2n DBB 2n DBB 2n 1 Lelelslslelslolrlelelsleleli le STEP 7 Compared to STEP 5 the address of a data word will be doubled in STEP 7 In STEP 7 the division into right and left data byte does not exist any more The numbering of the bits is from 0 to 7 in both cases User s Manual version 1 2 material no 61871 23 KEBA 2005 KE BA Definition of Data Block KeTop T40 KeTop T40 gt PLC DWO Status Bit 0
6. Example of connection Current Loop to Siemens S5 programmer port via COM2 RS 422 A User s Manual version 1 2 material no 61871 9 KEBA 2005 JC EG Connection KeTop T40 Connection via Connection Box KeTop CB211 The S5 programmer port can be connected to the X3 of the connection box KeTop CB211 via the interface converter The following drawings show the two connection variants RS 232 C RS 422 A of the Siemens S5 to the connection box KeTop CB211 ice eg Connection box KeTop CB211 SUB D 15 pin Twisted pairs female connector of wires Interface converter X3 Li RXD Q et 4 F 20mACL ID RxD 2 RXD 2 mt Ss s 7 RXD 3 TD 7 mm GC T ND TxD 4 RS 232 TXD 6 MEA 5 GND 6 Current direction CR Example of connection CL to Siemens S5 programmer port via connection box RS 232 C Connection box KeTop CB211 S5 PG SI1 SI2 20 mA CL SUB D 15 pin Twisted pairs X3 female Connector of wires Interface converter A RXD o Wm A TXD A RXD 2 A Vache D 2 SS B TxD B RXD 3 r S DD em BS A RxD A TX 4 Reno i TXD 6 Z RS 422 A B RxD B TXD 15 Li 6 Current direction Example of connection CL to Siemens S5 programmer port via connection box RS 422 A 10 User s Manual version 1 2 material no 61871 KEBA KEBA 2005 Siemens S5 Coupling Connection Multiplex Mode It is possible to operate the KeTop T40 and the Si
7. Definition of Data Block DW18 Control Word Bit 0 Bit 0 0 Bit 0 1 Bit 1 Bit 1 0 Bit 1 1 Bit 2 Bit 2 0 Bit 2 1 Bit 3 Bit 3 0 Bit 3 1 Bit 4 Bit 4 0 Bit 4 1 Bit 5 Bit 5 0 Bit 5 1 Bit 6 Bit 6 0 Bit 6 1 Test output This diagnostic function can be activated to control the text numbers en tered in DW29 DW36 The message texts specified in DW29 to DW36 will be displayed on the KeTop T40 The text numbers entered in DW29 to DW36 will be displayed on the Ke Top T40 as decimal numbers Disable Menu This diagnostic function can be activated to control the text numbers en tered in DW29 DW36 The call of the main menu by pressing the keys 1 and 2 is enabled The call of the main menu by pressing the keys 1 and 2 is disabled Keyclick release When a key is released on the KeTop T40 a beep is output for 20 ms No keyclick when key is released Keyclick when key is released Keyclick depress When a key is pressed on the KeTop T40 a beep is output for 20 ms No keyclick when key is pressed Keyclick when key is pressed Beep For direct activation of the buzzer installed in the KeTop T40 Buzzer off Buzzer on Check RUN counter of PLC Used to enable the checking of the RUN counter of the PLC Checking of RUN counter of PLC disabled Checking of RUN counter of PLC enabled Command interface Used to activate the
8. Entry of data block type DB or DX data block number and ID The ID max of 4 characters must correspond to the ID in the data block also refer to DW16 DW17 ID DB ID User s Manual version 1 2 material no 61871 15 KEBA 2005 KEBA Configuration of KeTop KeTop T40 Creating Texts with Variables 16 At the Siemens coupling the number of the variable corresponds to the data word of the data block The data word contains the corresponding PLC variable Each data word from DW 34 on can be used A write access of the handheld terminal to variables located in the range from DWO to DW33 may lead to undefined statuses in the KeTop T40 and should be avoided therefore Text memory programming software No Text 0 DR DW DD Data type Format VO type DR right side data byte DW data word DD double data word The Siemens format of a data word is defined in the programming software using the parameters data type and format according to the following table Handheld terminal Format Data type Format UINT8 DEC SINT16 DEC UINT16 HEX The I O type of the variable determines whether the variable is an input IN an output OUT or an input output variable IN OUT for details and exam ples please refer to the User s Manual KeTop T40 Handheld Terminal General Information User s Manual version 1 2 material no 61871 KE BA KEBA 2005 Siemens S5 Coupling
9. PLC For each variable out of this range an additional read access is required For example a text combination that displays at the same time 4 variables from 4 different positions in the DB needs 5 times the time needed for a text combination of which all variables are in the range from DW37 to DW46 User s Manual version 1 2 material no 61871 31 KEBA 2005 KE BA Definition of Data Block KeTop T40 Graphic Functions The graphic functions are activated from the control The functions enable displaying a text and drawing graphical elements line circle rectangle and ellipse at any position of the KeTop T40 display pixel oriented x position 012345 y position SO O1 B D Letter A in standard size at x y position 0 0 of HT display The graphic functions on the KeTop T40 are activated via the command in terface see chapter DW20 DW21 and DW22 Command Interface Graphical Elements The elements circle rectangle and ellipse can also be represented as filled areas To delete a graphical element draw the same element of the same size at the same position and in inverse color If you position graphical elements over existing texts or bitmaps these texts and bitmaps will be overwritten 32 User s Manual version 1 2 material no 61871 KEBA KEBA 2005 Siemens S5 Coupling Definition of Data Block Pixel BOH This command enables representing a
10. S 1 SI2 20mACL SUB D 25 pin Twisted pairs female connector of wires RXD 13 Reg RXD 14 EE TXD 19 Eh TXD 10 e A Current direction Example of connection Current Loop to Siemens CP525 524 via COM2 RS 422 A User s Manual version 1 2 material no 61871 KeTop T40 COM2 RJ45 nterface converter Ss Es 20mACL XD SC WI 4 3 E CH 232 C WI GND 5 6 ml 7 ml WI KeTop T40 COM2 RJ45 Interface converter A ancl 4 Es B 2 ce A RS 422 A f 5 B ls d Ze wd H 13 KEBA 2005 KE BA Connection KeTop T40 Connection via Connection Box KeTop CB211 The S5 communication processor can be connected to the X3 of the con nection box KeTop CB211 via the interface converter The following drawings show the two connection variants RS 232 C RS 422 A of the Siemens S5 to the connection box CB211 RS 232 C CP525 524 SH SI2 Connection box KeTop CB211 20 mA CL SUB D 25 pin Twisted pairs female connector o wires Interface converter z RXD 13 E r g 20 mA CL 3 TxD RxD DD 2 RXD 14 RR Ja TXD 19 d n 4 SS RS 232 C TXD 10 RR Is GND 6 Current direction pi Example of connection CL to Siemens CP525 524 via connection box CB211 RS 232 C RS 422 A Connection box KeTop CB211 CP525 524 SI1 SI2 20mACL SUB D 25 pin Twisted pairs x3 female connector of wires Interface convert
11. available on floppy disks as STEP5 pro gram and must be loaded into the AG In this case the function blocks are not part of the operating system and must therefore be ordered separately at SIEMENS The definitions of the procedure 3964R and of the interpreter RK512 are taken from the manual SIEMENS SIMATIC S5 COM 525 for CP 525 and CP 524 At the latest CPUs of the S5 945 928B series the protocol RK512 can be operated via a plug in interface module The programming differs to that of the CP525 and is described in the corresponding Siemens manual For transmitting data the procedure 3964R is used In this case transmis sion errors are recognized by a vertical parity check and block check char acters For controlling the protocol and interpreting the transmitted data the inter preter RK 512 is used In this case the KeTop T40 has the higher priority the CP module the lower priority Direct Connection to the KeTop T40 The following two drawings show both connection variants RS 232 C RS 422 A of the Siemens S5 to the COM2 interface of the KeTop T40 12 User s Manual version 1 2 material no 61871 KE B IA KEBA 2005 Siemens S5 Coupling Connection RS 232 C CP525 524 S 1 SI2 20mACL SUB D 25 pin Twisted pairs female connector of wires l RXD 13 oh TXD 19 Rn Oneni direction Example of connection Current Loop to Siemens CP525 524 via COM2 RS 232 C RS 422 A CP525 524
12. command interface Command interface inactive Command interface active DW19 RUN Counter of PLC This 16 bit value must be incremented continuously by the PLC program This enables the HT to check the RUN state of the PLC program If this value does not change for longer than 1 second an error message will be displayed on the HT This check function is activated via the bit Check RUN counter of PLC DW18 bit 5 DW20 DW21 and DW22 Command Interface Via the command interface one or more commands can be issued to the KeTop T40 as kind of a batch job User s Manual version 1 2 material no 61871 27 KEBA 2005 KE BA Definition of Data Block KeTop T40 The command interface is enabled and disabled via the bit 6 contained in the control word DW 18 Bit6 0 command interface inactive Bit 6 1 command interface inactive The command interface is divided into two data areas One area DW20 DW21 and DW22 the HT cylically reads and one area that will only be read if one or more commands are issued to the HT DW18 1 x x x x x x Control word Handshake bits Activate command interface DW20 Number of commands Total number of words lt DW21 DB DW22 DW gt DB DW 1st command Number of words lt 18 5 Parameter 2nd command Number of words Parameter 8 3nd command Number of words _ 2 Param
13. single pixel at the specified x y posi tion of the HT display Command interface Alt Command BOH 2 x Parameter lt y Line B1H This command enables representing a line on the HT display according to the specified x y coordinates Command interface AH B1H 4 x0 yO Parameter x1 xi y1 y1 User s Manual version 1 2 material no 61871 33 KE BA KEBA 2005 Definition of Data Block KeTop T40 Rectangle B2H This command enables representing a rectangle on the HT display accord ing to the specified x y coordinates Command interface LX0 W0 Command B2H 5 x0 y0 Parameter x1 Bal y1 y1 fill fill OH graphic not filled 1H graphic filled Circle B3H This command enables representing a circle on the HT display at the speci fied x y position with the radius r Command interface SE Command B3H 4 d x xy r Parameter y r fill fill OH graphic not filled 1H graphic filled 34 User s Manual version 1 2 material no 61871 KEB KEBA 2005 Siemens S5 Coupling Definition of Data Block Ellipse B4H This command enables representing an ellipse on the HT display at the specified x y position with the radiuses rx and ry Command interface Command B4H 5 rx Parameter fill fill OH graphic not filled 1H graphic f
14. 2005 Siemens S5 Coupling KeTop Power Up Phase after Turning On Coupling to Siemens CP525 524 SS Ce ECO Vx X DBXXXID T sasao CHANNEL COMn mmmmm 00000 Er 8y L X X Program version XXX DB or DX number Plaats g ID 4 bytes e g KEBA n Number of interface port 00000 Baudrate 9600 19200 38400 57600 115200 Baud E Parity always set to even mmmmm Type of interface RS232 or RSxx2 for RS232 RS422 gt The next display depends on the following conditions Connection to PLC OK gt No Yes IDin PLC corresponds Ne No to ID in KeTop T40 va v v Display of texts text numbers Error Wrong DEE Communication activated by the PLC Timeout after approx 12 sec For the description of the errors please refer to the chapter Error Messages User s Manual version 1 2 material no 61871 19 KEBA 2005 KEBA KeTop Power Up Phase after Turning On KeTop T40 Coupling to Siemens S5 Programmer Port gt Depending on whether the handheld terminal is operated in the multiplex mode or not the following message appears on the display Without multiplex function With multiplex function So PG Asoll VX X S5 PG MUX AS511 Vx x Ee N DBI DEA TETE CHANNEL COMn mmmmm oder CHANNEL COMn mmmmm COCCO Bic nL COOOO MECHEL X X Program version XXX DB or DX number sri 7 ID 4 bytes e g KEBA n Number of interface po
15. 24 DW21 100 DB DW22 0 DW gt DB100 Command Number of words DWO B2H 5 19 x0 Rectangle 12 y0 filled 68 x1 24 44 y1 1 fill B3H 4 103 x Circle 31 y 21 r 0 BiH 4 122 x0 Line 9 y0 84 x1 54 y1 B5H q 10 x 54 y Text 0 Size of charcter 0 Text attribut Length of text 5 in example 68H OH 61H a 6CH OI 6CH OI 6FH Co User s Manual version 1 2 material no 61871 41 KEBA 2005 KE BA Error Messages KeTop T40 6 Error Messages In case of an error caused by the user e g communication interrupt wrong data in DB a short warning tone is triggered on the HT Then the contents of the display will be overwritten by an error mask In this condition inputs and outputs are not possible any more The device remains inactive until the error is eliminated Then the error message automatically disappears from the display and the previous contents will be restored Possible errors Communication interrupt Communication Timeout If this error message appears immediately after turning on the HT check e the set protocol parameters of the PLC and if the connection cable is correctly plugged in see chapter Connection If this error message appears during operation check e the mechanical connection to the PLC and e ifthe PLC still responds to the HT Wrong ID in S5 data block Error Wrong DB ID XXXXXXXXXXXXXXXX XX ID read out from the con
16. 24 PLG gt KeTOp TAO EE 26 Graphic FUNCHONS 3 ic 25e AA nn d en e rt Rann Meet en taie tides 32 G Error Messages 31 22 nn Re ni EEN 42 User s Manual version 1 2 material no 61871 5 KEBA 2005 KEBA Siemens S5 Coupling Introduction 1 Introduction This document is a supplement to the User s Manual KeTop T40 Hand held Terminal General Information and exclusively refers to Siemens S5 couplings The following chapters describe the usage of the KeTop on the Siemens S5 programmer port and on the Siemens communication processors CP525 524 The data are exchanged between the KeTop T40 and the PLC by reading and writing a freely selectable data block DB with a minimum length of 40 data words DW This data block must be defined and provided in the PLC For a detailed description of the configuration of the KeTop the basic func tions and the key labelling of the KeTop please refer to the User s Manual KeTop T40 Handheld Terminal General Information User s Manual version 1 2 material no 61871 7 KEBA 2005 KE BA Connection KeTop T40 2 Connection The KeTop T40 can be connected serially to the Siemens control via a pro grammer port protocol AS511 of a S5 central processor or via a commu nication processor CP525 524 protocol RK512 In case the KeTop T40 is connected to the programmer port and the Sie mens programmer is used as well the KeTop T40 must be adapted for the progr
17. KeTop T40 Handheld Terminal Siemens S5 Coupling User s Manual V 1 2 KEBA Automation by innovation Notes on This Manual At various points in this manual you will see notes and precautionary warn ings regarding possible hazards The meaning of the symbols used is ex plained below A DANGER e DANGER indicates an imminently hazardous situation which if not avoided will result in death or serious injury e WARNING indicates a potentially hazardous situation which if not avoided could result in death or serious injury e CAUTION indicates a potentially hazardous situation which if not avoided may result in minor or moderate injury e CAUTION used without the safety alert symbol indicates a potentially hazardous situation which if not avoided may result in property injury This symbol reminds you of the possible consequences of touching electrostatically sensitive components Note Notes on use of equipment and useful practical tips are identified by the Notice symbol Notices do not contain any information that draws atten tion to potentially dangerous or harmful functions KEBA 2005 Specifications are subject to change due to further technical developments Details presented may be subject to correction All rights reserved Document version 1 2 material no 61871 Filename t40_s5_en doc last saving on 10 12 2004 KEBA AG Postfach 111 G
18. ammer multiplex mode The KeTop is connected to the S5 via the interface COM2 of the KeTop T40 which can be configured as RS 232 C or RS 422 A by means of DIP switches Also refer to the User s Manual KeTop T40 Handheld Terminal General Information chapter Connection Since the S5 programmer port is a 20mA CL interface and the KeTop T40 only features a RS 232 C or RS 422 A interface COM2 an interface con verter must be used 8 User s Manual version 1 2 material no 61871 JC EG KEBA 2005 Siemens S5 Coupling Connection Connection to Siemens Programmer Port For the communication via the data block no function blocks are required Direct Connection to KeTop T40 The following two drawings show the two connection variants RS 232 C RS 422 A of the Siemens S5 to the COM2 interface of the KeTop T40 S5 PG SI1 SI2 KeTop T40 COM2 RJ45 20 mA CL SUB D 15 pin 4 Twisted pairs female connector es j Interface converter Ss RD 9E E EL Al 20mACL RXD 2 mt S WI DO 7 E 3 F A RS 232 C TXD 6 _ a R 5 Current direction WI 7 e 8 Example of connection Current Loop to Siemens S5 programmer port via COM2 RS 232 C RS 422 A S5 PG SI1 SI2 KeTop T40 COM2 RJ45 20 mA CL SUB D 15 pin female connector Twisted pairs of wires Interface converter s6 E SE 20mACL S z RS 422 A SE RXD 9 fl Current direction
19. arameter contains the font attribute and specifies if the transmitted text should be displayed normally in inverse characters normally flashing or inverse flashing OOH normal 01H inverse 02H normally flashing O3H inverse flashing Length of text Number of characters of text User s Manual version 1 2 material no 61871 39 KEBA 2005 KE B 1A Definition of Data Block KeTop T40 Font sizes possible on the HT display 6 pixels 8 pixels lt font_size 0 Character 5x7 pixels 6 pixels e 16 pixels N font_size 1 Character 5x14 pixels 40 12 pixels 8 pixels font_size 2 Character 10x7 pixels 12 pixels 16 pixels font_size 3 Character 10x14 pixels User s Manual version 1 2 material no 61871 KE BA KEBA 2005 Siemens S5 Coupling Definition of Data Block Example of graphic commands via command interface The following graphical elements should be displayed on the HT 39 59 68 79 84 119499127 Handshake bits Number of commands Total number of words DW20 111 4
20. emens programmer si multaneously on the S5 programmer port In this case one interface COM2 of the KeTop T40 is connected to the Siemens control and the other interface COM1 to the Siemens program mer The interfaces are assigned during configuration All commands of the programmer are transmitted to the Siemens control via the handheld terminal KeTo Siemens Simatic S5 AG S5 programmer Programmer port S5 programmer to programmer port via the KeTop T40 through multiplex mode User s Manual version 1 2 material no 61871 11 KEBA 2005 KEBI Connection KeTop T40 Connection to a Siemens CP525 524 Module For the communication between the CPU and the CP module 3 function blocks are required Function block Function S5 115U S5135U S5 150U S5 155U us ie and CPU SEND ALL transmits data from the CPU to FB120 Gs FB128 RECEIVE ALL transmits data from the CP to the FB245 FB121 FB181 FB122 CPU FB127 FB127 In this case the function blocks SEND ALL and RECEIVE ALL must be called cyclically by the PLC program At the AG 115U CPU 943 these function blocks are part of the operating system and therefore do not need any space in the user memory At the AG 135U CPU 922 R processor the block headers are stored on floppy disks and must be loaded into the AG At the AG 150U and the AG 155U the function blocks are
21. er DN RXD 13 WR n o Ga UE Qi 2 B TxD B RXD 3 RXD 14 Rn ES _ SC A RxD A TXD TXD 19 Rn E GU In RS 422 A B RxD B TXD 5 XD 10 m SE 3 k le Current direction Example of connection CL to Siemens CP525 524 via connection box CB211 RS 422 A 14 User s Manual version 1 2 material no 61871 KE B IA KEBA 2005 Siemens S5 Coupling Configuration of KeTop 3 Configuration of KeTop Configuration Software For setting the device configuration and generating the texts KEBA sup plies a configuration software which is executable under Windows The configuration is described in detail in the User s Manual KeTop T40 Handheld Terminal General Information e g functions for editing the keypad assignment and for loading the configuration and in general can also be used for the Siemens S5 coupling Therefore the following chapters only describe the specific details of the Siemens S5 coupling Configuration Menu items Protocol selection First select whether the KeTop T40 is connected to the programmer port Serial S5 PG AS511 or to a communication processor Serial S5 CP RK512 Serial S5 CP RK512 or Serial S5 Selection of requested Siemens coupling and PG AS511 configuration of interface PLC interface Selection of requested interface and baudrate AS511 fixed 9600 baud RK512 9600 19200 38400 57600 115200 baud Data block
22. eter Ce The number of words per command can be higher than the associated number of parameter words actually needed Therefore memory within a string of commands can be reserved for the en try of commands with different lengths Example 1 command constant circle number of words 4 2 command variable a ellipse number of words 5 b line number of words 4 c period number of words 2 3 command constant rectangle number of words 5 or 28 User s Manual version 1 2 material no 61871 KEBA KEBA 2005 Siemens S5 Coupling Definition of Data Block 1 command constant circle number of words 4 2 command text with different length number of words 9 e g alarm or warning 3 command constant rectangle number of words 5 The commands are issued to the KeTop T40 through the setting of both handshake bits Setting the handshake bits from the PLC user program 11 execute command s start command Setting the handshake bits from the handheld terminal 00 execution of command s without errors 01 an error occurred while the command s was were executed User s Manual version 1 2 material no 61871 29 KEBA 2005 KE BA Definition of Data Block KeTop T40 DW23 DW25 Turn On Off the LEDs Setting data bits in this data word turns on the corresponding LEDs on the KeTop T40 0 LED off 1 LED on Notice The LEDs used in the handhe
23. ewerbepark Urfahr A 4041 Linz Tel 43 732 70 90 0 Fax 43 732 73 09 10 E Mail keba keba com www keba com KEBA GmbH Ulmer Stra e 123 D 73037 G ppingen Tel 49 7161 97 41 0 Fax 49 7161 97 41 40 KEBA Corp 100 West Big Beaver Road Troy MI 48084 Tel 1 248 526 0561 Fax 1 248 526 0562 E Mail schr us keba com Siemens S5 Coupling Contents History Modification Date Modified Description Author from to pages V1 0 Aug 02 3 sam V1 0 V1 1 Oct 03 10 14 In all drawings example of connection CB111 has been sam changed to KeTop CB211 Pe Se V1 1 V1 2 12 2004 all New Layout sam User s Manual version 1 2 material no 61871 3 KEBA 2005 KEB Contents KeTop T40 4 User s Manual version 1 2 material no 61871 KE B IA KEBA 2005 Siemens S5 Coupling Contents Contents 1 de e oie sc vise E E E E 7 Ce E EE 8 Connection to Siemens Programmer Port su 9 Connection to a Siemens CP525 524 Module 12 3 Configuration Of KeTOP 1 aaa aiaa A aaa ia a aaa deniad daadaa 15 Configuration Software iii 15 Configuration EE 15 Creating Texts with Variables si 16 4 KeTop Power Up Phase after Turning On iisnissnnnnennnnsnnenennenss 18 Coupling to Siemens CPDbOZBIDZA iii 19 Coupling to Siemens S5 Programmer Port us 20 5 Definition of Data Block isssnnrrnennnnnnnennnnnnnnnnnnnnnnnnnnenneennnennnennnes 22 CH Reie WE E TEE
24. field An existing graphic or bit map representation will be deleted at this position Notice A Programmed texts stored in the HT can only be displayed in lines or col umns These texts cannot be displayed at any pixel position or with a larger size B For graphical texts that are directly sent from the PLC to the handheld terminal display no editor function is available That means the HT will not correctly interpret symbols ___ for the input and output of variables User s Manual version 1 2 material no 61871 KE BA KEBA 2005 Siemens S5 Coupling Definition of Data Block Text B5H This command enables representing a maximum of 40 text characters at the specified x y position of the HT display provided the characters are not displayed with a double width and begin at the pixel column 0 The text is displayed up to the end of the line no line folding and no con tinuation in the next line t 4 length of text 1 2 Command interface Command B5H 11 lt S y Size of charcter Text attribut Length of text 13 in example D T u T K E S Au ge E T e KN Position of text on HT display Font size This parameter defines the size of the characters on the HT display The following settings are possible OOH normal 01H double height 02H double width 03H double height double width Text attribute This p
25. ical bitmaps one after the other If you choose an unsuitable bitmap the line might get ir regular Display bitmap BBH User s Manual version 1 2 material no 61871 KEBI KEBA 2005 Siemens S5 Coupling Definition of Data Block This command enables displaying the contents of a Windows bitmap file from the bitmap memory of the KeTop according to the specified x y coor dinates The maximum size of the bitmaps is limited by the size of KeTop T40 dis play 128x64 pixels Command interface x y Command BBH 4 A Bitmap no H Parameter Bitmap no L x y During configuration identification numbers are assigned to the bitmaps User s Manual version 1 2 material no 61871 37 KEBA 2005 KEBA Definition of Data Block KeTop T40 Graphical Text 38 These texts must be prepared in the PLC and can then be displayed on the handheld terminal with the command B5H The text can be placed freely on the display The text characters may be represented in double height or double width As standard the characters are displayed in the format 5 x 7 pixels incl space 6 x 8 pixels So charac ters with a double height have a format of 5 x 14 pixels incl space 6 x 16 pixels and characters with a double width 10 x 7 pixels incl space 12 x 8 pixels Displaying a character means that the area for the character is cleared and then the character is written into the empty
26. illed Clear window B8H This command enables clearing a rectangular area on the HT display ac cording to the specified x y coordinates Command interface Command B8H 4 x0 yo x1 yl Parameter lt This command corresponds to the drawing of a filled rectangle with the set background color User s Manual version 1 2 material no 61871 35 KEBA 2005 KEBA Definition of Data Block KeTop T40 36 Set colors B9H This command enables setting the foreground and background color at present only black or white for all following graphical elements and graphi cal texts The color remains active until another color is set Command interface Command B9H 1 Parameter fg bg fg foreground OH white FFH black bg background OH white FFH black Set line type BAH This command is used to set a line type on which all other graphical ele ments are based This setting remains valid until a new line type is defined Command interface Command BAH 1 Parameter Bitmap of line Examples of line types Bitmap of line 1111111111111111 Pixels on display Line type Bitmap of line 1111100011111000 Pixels on display Line type Bitmap of line 1 111011011110110 Pixels on display Line type mm Notice When defining a line type take care to arrange several ident
27. ld terminal can be switched to a flashing mode flashmap or a lighting mode bitmap LED bitmap LED flashmap LED state on KeTop T40 LED is off LED is flashing LED is flashing LED is on 0 1 1 0 DW26 DW 28 Switch LEDs to the flashing mode 30 Setting data bits in these data words switches the corresponding LEDs on the KeTop T40 to the flashing mode The flashing frequency is 2 Hz 0 LED is not flashing 1 LED is flashing User s Manual version 1 2 material no 61871 KE BA KEBA 2005 Siemens S5 Coupling Definition of Data Block DW29 DW36 DW37 DW46 Text Number Line 0 7 In the flash memory of the KeTop T40 text lines consisting of 40 ASCII characters each can be stored The text lines are numbered from 0 to n They are called by the PLC with the number entered in the programming software The maximum number of texts can be defined in the programming soft ware A data word of the data block is assigned to each display line When a text number is entered into the corresponding data word the text assigned to this number in the programming software will be displayed If a message text not defined is called either a blank line or the message Invalid text xxxx will be displayed Variables The handheld terminal cyclically reads the data words DW16 to DW46 Variables frequently used should be contained in this range of data words to avoid additional read accesses to the
28. rt 00000 Baudrate 9600 19200 38400 57600 115200 Baud E Parity always set to even mmmmm Type of interface RS232 or RSxx2 for RS232 RS422 After approx 3 seconds the system parameters are requested from the PLC The following message is displayed Like before WS o SS Wait for S5 Systemparameter 20 KE BA User s Manual version 1 2 material no 61871 KEBA 2005 Siemens S5 Coupling KeTop Power Up Phase after Turning On gt The next display depends on the following conditions Connection to PLC OK x SR Yes IDin PLC corresponds No to ID in KeTop T40 4 Yes Display of texts text numbers Error Wrong DB TD Communication activated by the PLC Timeout For the description of the errors please refer to the chapter Error Messages User s Manual version 1 2 material no 61871 21 KEBA 2005 KE B IA Definition of Data Block KeTop T40 5 Definition of Data Block 22 The data words DWO to DW3 of this data block are cyclically written by the KeTop T40 the data words DW16 to DW46 are cyclically read The range from DW37 on can be used for write read accesses of variables if neces sary see chapter DW37 DW46 Variables
29. trol in HEX notation two x for one character 8 characters in total If the ID KeTopT40 is read out from the control the HEX code 4B45544F 50543430 will be displayed on the KeTop The ID in the flash memory of the handheld terminal does not correspond to the ID in the data block Compare the settings of the protocol parameters ID with the settings in the data block see page 26 42 User s Manual version 1 2 material no 61871 KE B IA KEBA 2005 Siemens S5 Coupling Error Messages AS 511 Data block does not exist in the PLC AS5TI Error DBxxx does not exist XXX set number of DB RK 512 Output of error code sent by the PLC for the signifi cance refer to the RK512 error table in the Siemens manual RROME GEOR xxx yyH XXX error code decimal yy error code hexadecimal PLC program in STOP state only when the checking of the RUN counter of the PLC is enabled PLC Program stopped User s Manual version 1 2 material no 61871 43 KEB KEBA 2005 Error Messages KeTop T40 44 User s Manual version 1 2 material no 61871 KE B 1 KEBA 2005
Download Pdf Manuals
Related Search
Related Contents
Sennheiser HD 205 med-pc® version iv user`s manual e Instructions f Mode d` emploi S Instrucciones User Manual - Direct Healthcare "取扱説明書" HCS S/FTP Cat7 500m Copyright © All rights reserved.
Failed to retrieve file