Home

Mercury 2e Terminal User Manual

image

Contents

1. Press F5 F6 Extra function keys added to register Read register 2 gt 0x0037 Register not cleared by read operation Read register 2 gt 0x0037 Turn on coil 111 Clear latched register Read register 2 0x0000 4 Registers For Writing Data To The Screen There will be several ways of achieving this aim as any one method may be simpler for some users than other methods 4 1 Blanket coverage of the screen Registers 10 to 169 The Mercury 2e screen supports 8 rows of 40 characters 320 character positions in total Each pair of character positions will be assigned a single Modbus register 160 registers in total Of the Modbus register DO D7 will represent the right hand character ASCII value and D8 D15 will represent the left hand character of the pair 4 2 Cursor Positioning Register 170 A single Modbus register will be allocated to the cursor positioning function D8 D15 will be the X co ordinate and DO D7 will be the Y co ordinate 4 3 16 bit unsigned integer Register 200 A single Modbus register will be allocated which when written to will display at the current cursor position the value written as an unsigned number in the range 0 to 65535 210305 61 62 4 4 16 bit signed integer Register 201 A single Modbus register will be allocated which when written to will display at the current cursor position the value written as a signed number in the range 32768 to 32767
2. Non IS Mercury 2e IS Mercury 2e text only Non IS Mercury 2e text only IS Interface Module Wiegand Card Reader Bar Code Interface Kit excl wand Bar Code Wand Part No R004 e IS R004 e GP R004 e TO IS R004 e TO GP R007 IS R005 CR R008 WO R008 WAND 210305
3. ENBLANO RS DRAWN INFORMATION CHECKED FINAL AS BUILT MERC TITLE URY 2 FULL DURLEX MUL TI DROP RS422 MASTER SLAVE WIRING APPROVED PROTOTYPE BOARD REVISION LEVEL Sur 1 1 ORG No 053 127 0 MOD ABCDEFGH 6 7 8 1 9 58 210305 Appendix G Modbus Option The Mercury 2e Modbus interface is a factory fitted option which is specified on order Features and operation are Operation detailed below 1 The Mercury 2e Modbus Terminal MMT The Mercury 2e Modbus interface will work in the following manner 1 1 The Mercury 2e terminal will be the Modbus slave device 1 2 The Mercury 2e terminal will respond in Modbus mode only 1 3 The MMT will respond only to a fairy basic set of commands such as those that a PLC operating as a Modbus master may produce 1 4 Complex commands such as graphics etc will be pre loaded into the Mercury 2e Terminal whilst in ANSI VT100 mode and stored as messages in the Non Volatile memory and simply recalled when in Modbus mode 1 5 After a time interval equal to 3 characters Modbus would normally time out and clear any input buffers However due to processor limitations this time out interval will be fixed at 0 8 seconds which is just longer than the normal 3 character time out int
4. Note that positive numbers will have no leading plus sign whereas negative numbers will have a preceding minus sign 4 5 96 bit Packed Data Floating Point number Registers 202 to 207 6 registers will be allocated which when written to will display at the current cursor position the value written as a Packed Data FP The lowest numbered Modbus address field of the pair will contain the bits lt 95 80 gt and the highest numbered register will hold the bits lt 15 0 gt The conversion occurs when the higher numbered Modbus register is written to The format of the number displayed will be as follows X XXXXXXE XX i e optional minus compulsory 1 digit optional decimal point up to 6 optional digits and an optional 2 digit exponent part with optional minus sign e g 0 05 appears as 5 000000E 2 145 667 appears as 1 456670E2 1 000 appears as 1 000000 0 0 appears as 0 0 Note positive overrange if number gt 9 999999E99 overrange displayed positive under range if number 1 000000E 99 runderrange displayed negative overrange if number gt 9 999999E99 overrange displayed negative under range if number 1 000000E 99 underrange displayed The FP format is as follows Word 5 Word 4 Words 3 0 Operand 15 14 13 12 11 0 15 0 Type SM SE 3 Digit Exp 1 Digit Integer 16 Digit Fraction ZERO 0 1 0 1 000 999 xxx0 00 00 INRANGE 0 0 1 000
5. The user should also be aware that although under the control of the text mode cursor the larger characters are generated using graphics tiles and can therefore only be used if the graphics option is available Pr and Pc define the tile to which the cursor should move being respectively row and column numerals in ASCI code Tile row 1 is the top of the screen and tile row 64 is the bottom so Pr refers to the row location of the tile to where the virtual graphics cursor will move Tile column 1 is at the left side of the screen and tile column 40 at the right so pc refers to the column location of the tile The remaining Control character strings listed in Table 6 on page 26 for Character Display Mode apply equally in Graphics Mode 210305 Draw Line Draw a Solid Box Downloading a Graphic Bitmap Image to Screen 210305 The facility to draw a line or box is not available in the text only version of Mercury 2e The fully enhanced Mercury 2e is capable of handling downloaded bitmap images generated off line as well as these simple line and box drawings Note that all coordinates start at zero 1 e the top left pixel is located at 0 0 A line can be drawn at any angle using the following sequence lt ESC gt 18 4 x1 y1 x2 y2z where x1 pixel number and y1 row number give the pixel coordinates of the start of the line and x2 y2 give the pixel coordinates of the end of the line To draw a solid box use
6. Using the format of a block we can examine how it is composed lt STX gt ADDR FUNC DATA DMY CSUM lt ETX gt lt STX gt character always starts a block and is sometimes known as the Control B character The terminal needs to receive the character Hex value 021 ADDR Before any transmission is made determine the destination terminal address This address is set manually in the Set up mode on the terminal and is a number between 1 and 15 The ADDR field is a two byte field So if the destination terminal address is 1 then the field must contain 01 FUNC The FUNC byte is a D 44 for messages transmitted from the Mercury 2e terminal and 521 for messages received by the Mercury 2e terminal In this example this byte must be A field of variable length this contains the message to be transmitted whether it is text or a control character string In this example the word T EST is being transmitted 210305 45 46 CSUM Read the Block Buffer To calculate the CSUM for the above example Take the Hex value of the Characters and add them all together The codes are listed on page 23 lt STX gt 02 ADDR 01 30 314 FUNC R 524 DATA TEST 54 45 53 54 DMY lt NUL gt 004 Sum of above codes 02 30 31 52 54 45 53 54 00 01 5 01 5 in Hex 111110101 in Binary the above with 7 1110101 Negate the above two s complement by inverting all bits and ad
7. V3 1 and above Use the A and V keys to move the cursor to the required parameter and the keys gt to select an option On the terminal automation keyboard the A V lt P keys are not indicated The user must use H T M O instead Continue selecting parameters and options until the configuration of the terminal is complete Press Enter and the selected options are entered into NVRAM Parameters and options available are listed in Table 1 and described below Default settings on cold start appear in bold Performing a cold start will restore all default settings and erase any stored messages A Cold Start can be performed in one of three ways 1 Power on with link 4 on PCB set to left hand position i e 1 gt 2 Power on holding down the two leftmost and two rightmost keys on the bottom row 3 In Setup mode press the bottom left key i e O STOP VIEW ALARM This will display the message Cold Start NO Pressing the same key will toggle between Cold Start NO and Cold Start YES If YES is shown pressing Enter will cause the machine to pause and then perform a cold start To return to setup mode press Enter when NO is displayed 210305 Table 1 Set Up Mode Menu Parameters amp Options Explained 210305 Parameter Options Baud rate 50 150 300 600 1200 2400 4800 9600 Word Length 7 8 Stop Bits 1 2 Parity None Odd Even Mark Space Rx Xon Xoff Enabled Disabled Tx Xon
8. are 18 _ 0 SON c3 55 311 17 Bt 3 4 910 16 _ TX cee 90 9 9 ise 2le COM 3e 58 14e 20 RX 022 4 01 130 190 S INTERFACE MODULE 4 CORE OR PAIR CABLE 24Vdc SUPPLY TYPE R007 a BY OLECTRASTEK SWINTON GRANGE MALTON NORTH YORKSHIRE YD17 008 ENBLANO DRAWN INFORMATION CHECKED FINAL AS BUILT TITLE MERCURY 2 TYPICAL WIRING APPROVED PROTOTYPE BOARD REVISION LEVEL Sur 1 ABCDEF 086 No 52 1200 6 2 8 9 MERCURY 2 INSTALLATION NOTES 212 INSTALLATION SHOULD BE IN ACCORDANCE WITH ANSI ISIA RP12 6 INSTALLATION OF INTRINSICALLY SAFE SYSTEMS FOR HAZARDOUS CLASSIFIED LOCATIONS AND THE NATIONAL ELECTRICAL CODE FOR CLASS AND APPLICATIONS USE LISTED DUST TIGHT CABLE ENTRY DEVICES 2 5 ENSURE UNUSED CABLE ENTRY HOLES ARE DUST TIGHT 4 UPON INSTALLATION VERIFY CONTINUITY OF GROUND 5 THE R007 INTERFACE MODULE MUST BE INSTALLED IN AN ENCLOSURE WHICH MEETS THE REQUIREMENTS OF ANSI ISA 582 01 CLASS L LL bits DIVISION 2 SAFE AREA GROUP A B C D E F 6 HAZARDOUS AREA gt NOTE THE 002 INTERFACE MODULE MUST BE LOCATED IN A SAFE AREA THE MERCURY 2 TERMINAL MAY BE MOUNTED IN A HAZARDOUS AREA THE SAFETY DESCRIPTION OF PL
9. 11 suods y Z MIISJA BARTS uorssnusuer Z AMIIN APIS Amaryl 6 uorssnusuel ISOH IL Y 9 m ow D2 gt S sn B A287 AS AO PATAS TVNOIS V TVNOIS 9 55 210305 56 210305 Appendix F Wiring diagrams for various configurations are given overleaf 210305 57 DATE CUSTOMER APPROVAL ECN REF MANUFACTURING REPRODUCED WITHOUT THE CONSENT OF SPECTRA TEK SPECTRA TEK 1994 1 E e 4 6 7 8 9 27 GALVAN LLY 8004 MERCURY 2 THE INCOMING 24Udc AND ROM THE 4 I S CORES TO TERMINAL THE MERCURY 2 TERMINAL 0 T S EARTH REQUIRED HE RS232 AND_RS422 PORTS RE MUTUALLY EXCLUSIVE THE RS422 TX PORT IS TRI STATE CONTROLLED OR RS485 USE CONNECT THE R3422 TX PORT 10 SAFE ARER IHE 85422 RX PORT AND HAZARD A O THE R5485 BUS THE TERMINALS MARKED SCN Ji 95 AY BE USED FOR SCEENING feel Mara 2 7 TERMINALS 2 5 AND_11_ARE avr ATIT INTERNALLY COMMONED TO E FLOATING LOGIC DV sil IGITAL 4 4 E NPUTS 1 1 1 1 RS422 FMA TX DATA SC DUT Bt Ro 96
10. 18 17 16 15 14 13 11 10 9 8 6 5 3 2 TT e ER ORTA ISSUED FOR prod 2 EH SPECTRA RS DRAWN INFORMATION TITLE MERC RY 2 MM mE BOARD REVISION LEVEL 5 1 1 0 ABCDEFG 065 1280 2 5 4 5 6 2 T 8 1 9 ai e 4 5 6 7 8 9 MASTER COMPUTER RS422 TX RX NOTE BA IHE RS485 422 222 PORTS BRE Fo P GALVANICALLY ISOLATED FROM THE LNCOMING 24Udc AND FROM THE 4 1 5 CORES THE MERCURY TERMINALS NO EARTH IS REQUIRED Tx 26 312 18 1571 RX 951 12 24 310 16 15 2 TO MERCURY SLAUE 93 09 15 2 21 45 5 TERMINAL No1 ge 98 14 20 97 15 212 15 4 ta 5 INTERFACE MODULE TX RX EULL DUPLEX TYPE ROO RS422 MULTI DROP COMMUNICATIONS BUS TX H 3e 18 15 1 RX 954 17 34 510 16 35 2 TO MERCURY H SLAVE 3s 99 ise 21 J5 3 TERMINAL No2 e 8 14 20 9 130 19 15 4 t 5 INTERFACE MODULE TYPE R007 RS 422 BUSSES TO OTHER MERCURTES IN MULTI DROP SYSTEM 20 19 18 12 16 15 14 13 11 10 9 2 6 5 3 2 1 Um ERAT ISSUED FOR poo 57 SPE C TRA Er TEK ORIG ECN REF MANUFACTURING SPECTRA TEK 1994 SWINTON GRANGE MALTON NORTH YORKSHIRE YD17 008
11. 999 xxx0 xxx9 00 01 99 99 INRANGE 1 0 1 000 999 0 9 00 01 99 99 SM Mantissa Sign SE Exponent Sign 210305 210305 4 6 4 7 4 8 4 9 4 10 16 bit unsigned integer in 10mm high characters Register 208 As paragraph 3 but 10mm high text characters displayed on the graphics screen will be used 16 Bit signed integer in 10mm high characters Register 209 As paragraph 4 but 10mm high text characters displayed on the graphics screen will be used 96 bit Packed Data Floating Point number in 10mm high characters Registers 210 to 215 As paragraph 5 but 10mm high text characters displayed on the graphics screen will be used Note for paragraphs 9 12 the characters sent will overwrite the current screen data all control characters will be ignored and after a control character all subsequent data in the Modbus registers will also be ignored This applies to all characters and thus any string may be shortened by putting for example a null character after the last character to be displayed The screen will wrap if the character string exceeds column 40 of the display Valid character data will be sent to the display when data is written to bits DO D7 of the highest relevant Modbus register A two character string without auto increment Register 171 A single Modbus register will be used which when written to will put two characters on the screen
12. Buffers Incoming buffer 2048 characters long Xon Xoff control selected in Setup Xoff sent to host computer when buffer is within 10 bytes of being full Xon sent when Terminal buffer is within 5 characters of being empty In multi drop mode Xon Xoff control is disabled User Memory 8K NVRAM for rapid recall of user graphics or characters Digital Inputs Data is the binary value of the 5 readable inputs biased by 204 D7 Always a zero D6 Always a zero DS Always a one D4 Card presence indicator Bit is a 1 if card in slot D3 Digital input 4 This bitisa if a contact is closed D2 Digital input 3 This bit is a if a contact is closed DI Digital input 2 This bitisa if a contact is closed DO Digital input 1 This bit is a 1 if a contact is closed Inputs identified by ID A 41 Operator key press B 424 Security Card C 434 Bar Code reader D 444 Function key E 451 Digital Input Multi Drop Mode Maximum of 15 terminals may be multidropped via IS interface modules Multi Drop Protocol Proprietary based on ANSI X3 Environmental Conditions Operating Temperature 20 to 50 C Storage 20 to 60 Protection IP65 Standard Ingress protection 6 dust 5 water jet Certification EEx ia TA Sira Safety Services Ltd SIRA 02ATEX2297X Quality Assurance 1509000 2000 210305 Non I S Mercury Part No R004 e GP 2e Terminal The non IS terminal has similar specificatio
13. at the current cursor position The cursor position will not however be moved Of the Modbus register the high order D8 D15 will represent the left hand character ASCII value and low order DO D7 will represent the right hand character of the pair An 8 character string without auto increment Registers 172 to 175 A quad set of Modbus registers will put 8 characters on the screen at the current cursor position when the last of the 4 register quads is written The cursor position will not be moved Of the Modbus register the high order D8 D15 will represent the left hand character ASCII value and the low order DO D7 will represent the right hand character of the pair The next Modbus register will represent the next pair of character positions 63 64 4 11 4 12 A 40 character string without auto increment Registers 176 to 195 This is similar to paragraph 12 but by reserving 20 registers allows a complete line of 40 characters to be written in one go A two character string with auto increment Register 196 A single Modbus register will be used which when written to will put two characters on the screen at the current cursor position and then move the cursor position along two character positions Of the Modbus register the high order D8 D15 will represent the left hand character ASCII value and the low order DO D7 will represent the right hand character of the pair 5 Registers For Receiving Da
14. back of the terminal Place the Terminal against the surface on which it is to be mounted at the correct position and height for operator use and mark the position of the four mounting holes using the dimensions given see Fig 2 Drill and plug if necessary the mounting holes on the mounting surface Place the Terminal against the mounting surface and secure the Terminal using 4 off M5 cap head screws 26 mm shank or similar To avoid electro chemical corrosion of the aluminium case the fixing bolts and nuts should be thoroughly greased Check that the Terminal is securely fastened to the mounting surface and re insert the plastic protective plugs into the four corner holes 210305 Connections ing Power and communication connections to the Mercury 2e Intrinsically Safe Terminal are made the R007 intrinsically safe interface Connections module The IS interface module should be installed in a safe area The cable screen should be connected to J5 pin 5 within the Mercury 2e A WARNING Power must be disconnected before connecting or inspecting the IS interface module Connecting the IS No intrinsically safe earth is required as the unit is alvanically isolated Interface Module 3 Mount the IS interface module on to a DIN standard DIN 46277 35mm transverse symmetrical rail Alternatively secure the IS module by 2 offx 4 mm screws through the red latches in the base the latches must be sprung out to their extend
15. defined in Table 6 on page 26 Examples of typical sequences and how they are composed are given in Appendix C 210305 Graphics Display Mode Graphics Display Table 7 Graphics Mode Pixel Data 210305 To select Graphics with Text or Graphics alone see page 27 Note that on Mercury terminals with text only the enhanced software described below is not available In Graphics mode the display is made up of 64 rows of 40 columns Each column position is a tile made up of 6 pixels across by 1 pixel in height No cursor is visible in graphics mode As a tile is written a virtual cursor is incremented The virtual cursor has its own set of coordinates allowing access to graphics without corrupting text currently displayed Coordinates are defined by the byte number and row number calculated from the top left corner of the display With one byte equating to 6 pixels simple or bitmap images are positioned horizontally from the 6 pixel boundaries Graphics may be downloaded as a bit map image from off line Graphics Converter Software available from Mercury IMC Ltd or designed directly on the display Each tile is individually accessible and each pixel pattern is uniquely mapped to an ASCII character defined in Table 7 below In the table a o represents a clear OFF state pixel and a e represents a pixel in the energised ON state The pixel pattern is read left to right 000000 000006 000060 000006 00060
16. gt character to Clear Screen Select text page number where num is 0 or 1 Character String lt ESC gt 1 Pa Pb z lt ESC gt 11 lt ESC gt Ih lt ESC gt 42 lt ESC gt 7 Pn z DATA lt EM gt lt ESC gt 8 Pn z lt ESC gt 29 12 lt ESC gt 29 2 z lt ESC gt 10 z lt ESC gt 11 z lt ESC gt lt lt gt lt lt gt lt ESC 15 1 z lt ESC gt 15 2 z lt ESC gt 15 3 z lt gt 15 4 z lt BSC gt 15 5 z lt BSC gt 15 6 z lt ESC gt 14 z DATA lt EM gt lt ESC gt 16 1 z p lt EM gt lt ESC gt 16 2 z p lt EM gt lt ESC gt 17 1 z lt ESC gt 2 17 2z lt ESC gt 21 0 z lt ESC gt 21 1 z lt ESC gt 1 num 210305 Specifying Screen 210305 Mode Disabling Keyboard or Keyboard Mode Selection Pin Number Up to three separate screen pages can be controlled at a time from the host computer to display two text pages and a graphics image The screen pages can be individually controlled to display text only graphics only or a combination of text with graphics The following specify screen mode Text and graphics off ESC 20 0z Text on graphics off lt ESC gt 20 1 2 Graphics on text off lt ESC gt 20 2z Text and graphics on with lt ESC gt 20 3 2 the screens logic
17. is covered in the IS3000 Laser Scanner Manual Dust Hazards The user shall take account of the fact that the equipment has been assessed assuming a low risk of impact in service The bar code wand has not been assessed for use in flammable dusts 210305 7 Locating the For your safety remember to implement all relevant precautions and procedures In the United Kingdom Mercury Terminal installations must comply with BS5345 part 4 The Mercury terminal is weather proof to IP65 so it can be installed outside as well as under shelter or indoors Mount the terminal in a vertical position on an even surface strong enough to support its weight of 5 5 kg Position the unit so that the LCD and Keypad are convenient for the operator usually at eye level Note that in strong direct sunlight display clarity and service life may be reduced 210305 Fig 2 Mounting the Mercury 2e Terminal Mounting Site 326 8 0 3 210305 9 10 Mounting Procedure Check that the connection panel cover or security card reader is secured to the face of the Terminal this prevents any dust or water from entering the unit Unplug the bar code wand and make sure the protective cap is fitted on to the bar code reader input socket on the underside of the unit Remove the plastic protective plugs covering the four corner mounting holes by pushing the plugs from behind Retain the plugs in a safe place It is not necessary to remove the
18. layout is illustrated in Figure 4 showing numeric command symbols in larger type and alphabet keys in smaller type Fig 4 7 Standard Keypad F1 E B 14 a Layout 7 H 8 9 K 5 m 4456 1 2 F3 1 ls 0 x F 5 22 There three keyboard modes Upper case characters U Lower case characters L and Numeric Command N The current keyboard mode U L or N is shown in the bottom right corner ofthe LCD Press Shift to display the next keyboard mode Press Shift again for the next keyboard mode A third Shift key press returns the display to the original keyboard mode The capability to change keyboard mode using the Shift key can be disabled enabled from the master device see page 27 210305 21 A full list of standard characters for each keyboard Table 2 Keystroke Characters 22 mode together with their hexadecimal values is shown in Table 2 Alpha KEY Upper Case m A 411 m 424 g C 43 m D 444 15 451 ER 461 47 8 48 n 9 I 494 4 A 4B 1 a 4 4 M 4D y 5 N 4E
19. one of the following sequences Solid black box lt ESC gt 18 2 x1 y1 x2 y2z Solid white box lt ESC gt 18 3 x1 y1 x2 y2z where 1 pixel number and 1 row number give the pixel coordinates of the top left corner and x2 y2 give the pixel coordinates of the bottom right corner of the box When downloading a graphics bitmap image enter the position and size of the image in the following sequence lt ESC gt 18 1 x1 yl hgt z data where x1 byte number and y1 row number are the coordinates of the top left corner and wdth and hgt give the width in bytes and height in rows of the image 35 36 Optional Equipment Card Reader Operated by passing a customer card through the reader a successful read is indicated by a beep In point to point mode transmission to the host computer is immediate In multi drop mode the data is stored in the output buffer The message format is determined by the byte structure setting selected during set up and comprises an escape prefix function code data and return For sequences controlling the card reader see page 26 Bar Code Wand Reader The bar code reader is operated by wiping the head of the wand over the item bar code The tip should be in contact with the bar code surface and the wand may be wiped in either direction A successful read of the bar code is indicated by a beep For escape sequences controlling the bar code reader see page 26 Laser Scan
20. respectively row and column numerals in ASCII code With Row 1 as the top of the screen and row 8 at the bottom the number is interpreted as modulo 8 thus if Pr equals 16 then the cursor moves to row 8 Similarly with Column 1 as the left side of the screen and Column 40 on the right the number is interpreted at modulo 40 Thus if Pc equals 84 then the cursor moves to column 4 210305 25 26 Table 6 Command Escape Sequences Action Set Security Code where Pa Pb Pc are two digit ASCII coded numerals to create 6 digit security code see page 20 Select 7 bit ASCII mode Select 8 bit ASCII mode Sample Digital Inputs Set Up Message For Later Recall where Pn is a two digit ASCII numeral defining message identifier value 1 to 99 Recall Message Send Next Queued Block Re Send Last Sent Block Delete all stored Messages Store Set Keypad To Numeric Mode Set Keypad To Upper Case Mode Set Keypad to Lower Case Mode Enable bar code in one shot mode Disable bar code Enable bar code Enable card reader in one shot mode Disable card reader Enable card reader To configure bar code reader Redefine lt STX gt character where p is a single character to be defined Redefine lt ETX gt character where p is a single character to be defined Restrict keyboard to U and N modes Allow keyboard U N and L modes Revert function of lt FF gt character to line feed Change function of lt FF
21. used to hold the Wiegand card reading Up to 5 Wiegand card readings may be buffered waiting to be read If further Wiegand card readings are made without the buffer being read the subsequent data is lost The Modbus input registers are used together to hold the 32 bit value read from the Wiegand card The lower Modbus register of the pair will contain the bits lt 31 16 gt and the higher order register will hold the bits lt 15 0 gt Composed Text Modbus input registers Registers 21 to 35 A set of 15 Modbus registers are used to hold the Composed Text readings Up to 5 Composed Text readings may be buffered waiting to be read If further text is entered without the buffer being read the subsequent data 15 lost For each Modbus register the high order D8 D15 will hold the left hand character ASCII value and the low order DO D7 will hold the left hand character ASCII value If the Composed Text is less than 30 characters long then the Modbus register half following the last valid character will have the value 00 Hex as will all the other Modbus registers in the rest of the register set Modbus Inputs single bit reads Coils 1 to 5 5 off single bit Modbus inputs that reflect the digital input status of the Mercury 2e 65 Mercury 2e Example Modbus Messages The following examples are given as a guide in helping set up the Modbus option of Mercury 2e To recap The Mercury terminal will be the Modbus sl
22. y 6 0 4 a 50x 4 51 BS 08 y 1 52 72 S 534 3 T 544 U65 V 564 ser SHIFT 0 W657 X 58 1 Y 59 y Z SAn gt SP 20 1 Lower Case 61 y b 624 63 d 64 y 65 f 66 g 67 1 h 68 u 1 69 y 6B u 1 6C u m 6D y n 6E y o 6F y 704 q 7149 BS 08 72 5 73 t 74 u 75 y 76 SHIFT w 77 x 78 y 79 y 2 7A SP 20 y if selected in Setup menu Numeric 1 4 50 F2 1B 4F 51 1B 4F 52 F4 1B 4F 53 F5 1B 5B 31 37 7E F6 1B 5B 31 38 7E 1 7 371 8 384 9 394 t 2 20 y F7 1 5 31 39 7 4 344 5 354 6 36 1 2A GF y F8 1B 5B 32 30 7E or BS 08 n 1814 2 324 3 334 A 1B 5B 41 3 SHIFT 0 304 or QC 4 1B 5B 44 Y 1B 5B 42 gt 1B 5B 43 Eure ENTER 0 ENTER 0D ENTER 0D F keys in numeric mode and Enter in all modes can be programmed to send user defined strings 210305 Receiving Data Character Display Mode Table 3 Standard ASCII Names of Control Codes The Mercury 2e can ope
23. 0 00006060 000660 000000 006000 0060000 0060060 000000 0060600 000000 000000 000000 060000 000000 000060 0000060 000600 000000 000000 000000 oeeooo 00600060 000060 000000 006000 000000 000000 000000 JD to Acton eooooe eoooeo eoooee 000000 eooeeo 000000 eoeooo eoeooe eoeoeo 000000 000000 000000 000000 000000 OZzgzCmWN 7 mom m ocou g eeoooo eeoooe eeooeo 000000 000000 000000 000000 000000 000000 000000 000000 000000 000000 000000 000000 000000 gt lt 33 Cursor and Screen Control Codes Table 8 Cursor Screen Control in Graphics Mode Control Codes 34 In Graphics Mode Cursor Screen Control codes differ slightly from those in Character Display Mode Table 8 lists the escape sequences and actions that result in when Graphics Mode Action Character String Clear Display lt ESC gt 2 J Set Graphic Display Mode lt ESC gt 2 z Set Character Display Mode lt ESC gt 3z Move Virtual Cursor lt ESC gt Pr Pc H Virtual Cursor Down and to Start of Line lt gt E Virtual Cursor Up lt ESC gt D Virtual Cursor Down lt ESC gt M Select standard character size lt ESC gt 3z Select larger character size lt ESC gt 3 Z Graphics mode only Note Selecting either standard or larger character size automatically places the Mercury into character display mode
24. 0305 Appendix E Communications RS422 485 and RS232 ports share a common rail which is floating with the R007 O Interfac e M dul e RS422 Tx drivers are tri state devices which remain in a state of high impedance until data transmission when they are asserted this allows multi drop operation In point to point mode RS422 drivers are constantly active 1 e never in Hi Z state Multi drop communications are provided via RS422 or RS485 To connect RS485 to the Interface Module the Tx and the Tx terminals should be paralleled with the Rx and Rx terminals respectively See Appendix E The IS Interface Module R007 IS is used as the tri state communication port See Appendix E for the wiring schedule The transmitters require a high impedance state and a protocol to ensure that only one transmitter is allowed to drive the bus at any one time To avoid contention the transmitter is enabled in the marking state see Fig 5 Once a message has been completely transmitted there is a period of time before the transmitter 15 tri stated high impedance state This period depends on the baud rate see the table below The master device must wait for this period before enabling its transmitter once more Tri state disable times at various baud rates Baud Rate Time in milliseconds 50 300 150 120 300 60 600 35 1200 25 2400 20 4800 20 9600 20 210305 53 54 RS485 Signal Levels Fig 5 illustrates
25. 1 CA Reply Message 01 04 02 00 00 B9 30 Example 3 Clear The Screen uses Function 5 Clear the screen i e force output coil 100 on slave device number 1 Query Message 01 05 00 63 FF 00 7C 24 Reply Message 01 05 00 63 00 7 24 Example 4 Display 16bit Unsigned Integer In 10mm Font uses Function 6 Display the 16 bit value 12345 in 10mm high characters output register 208 on slave device number 1 Query Message 01 06 00 CF 30 39 6D Reply Message 01 06 00 30 39 6 7 7 E Ed Example 5 Read Pending Barcode Reading uses Function 4 Read the result of the buffered barcode swipe input registers 3 to 18 on slave device number 1 Query Message 01 04 00 02 00 10 50 06 Reply Message 01 04 20 35 31 31 31 31 31 32 35 31 33 37 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 CF 8F Note the barcode swiped was 51111125137 Example 6 Loopback Test uses Function 8 Diagnostic Code 0 Perform a simple loopback test with data on slave device number 1 Query Message 01 08 00 00 FA CE 23 3F Reply Message 01 08 00 00 FA CE 23 3F Example 7 Preset Multiple Registers Place the message HELLO at the top left corner of the display output registers 10 to 12 of slave device number 1 Query Message 01 10 00 09 00 03 06 48 45 4C 4 4F 00 17 Reply Message 01 10 00 09 00 03 50 0 67 68 Parts Ordering Codes IS Mercury 2e Terminal
26. 4 IS FOR GROUPS A THROUGH D La 800mH GROUP Ca R004 MERCURY 2 TERMINAL NOTE THE SAFE AREA EQUIPMENT MUST NOT CONNECTED TO A SOURCE OF VOLTAGE GREATER THAN 250Vac RS422 c3 SCN c3 OUT B RS422 ca 6 SON 911 B E D4 1 0 rsezac E 28 2 24Ude Pes SUPPLY Co NO I S A B 12 5 c 98 5 D 313 5uF Uoc 5 B8U Isc 6 2m de de 4 45 4 I S DIGITAL STATUS INPUTS THESE OPTIONAL STATUS INPUTS MUST BE INSULATED BY 5000 FROM GROUND THEY 4 CORE OR 2 PAIR CABLE HAVE THE FOLLOWING SAFETY DESCRIPTION POLARTSED MAXIMUM CABLE PARAMETERS Uoc 29 4U GP YB La A SOCKET Cmax 284nF Isc 06 4 La 30rH AND PLUG LZRmax 33uH Ohm Ca 0 11uF Gp D La Rmax 18 Ohms core R002 BARCODE WAND I S INTERFACE MODULE TYPE ROO EARTH REQUIRED NOTE IF A QUAD CABLE IS USED IT REDUCES THE TELEMETRY CROSS TALK IF DIAGONALLY OPPOSITE CORES ARE USED AS PAIRS Chess s owe M 1994 1995 1995 1995 2000 1993 1 RS Eee one s ses sm p se see Dens MET DRAWN THISDRAWINGMAYNOTBE A REPRODUCEDWITHOUTTHE DIMENSIONS a Y CONSENTOFDANIELEUROPE DANIELEUROPELTD2000 MILLIMETERS A THisprawinG L CUSTOMERAPPROVAL F
27. Access Memory SRAM A message may be recalled as often as required but it is lost 1f the power is removed from the Mercury 2e Terminal Ifthe command Store to 15 sent after the message then the contents of the SRAM are copied to the Non Volatile RAM NVRAM to ensure preservation in case of power failure If the Mercury 2e Terminal is turned off and subsequently turned on it copies the contents of NVRAM into SRAM restoring any messages down loaded up to the time the last Store to command was sent If the set up mode is entered and left the contents of SRAM are copied to NVRAM automatically Blocks Blocks are strings of data in a fixed format which cannot be interrupted obtained from a read of digital inputs or from a bar code read or a card swipe The format distinguishes the data string from keypad entered data 210305 29 30 Point to Point Transmission Transmission of messages in point to point configuration is immediate 1 e at every key stroke or promptly after a card read or bar code swipe The control codes and escape sequences described in this section are available with the exceptions noted Transmitted messages follow the format lt STX gt ADDR FUNC ID DATA DMY CSUM lt ETX gt lt STX gt ADDR FUNC ID DATA DMY CSUM lt ETX gt Start Transmission 021 A two byte address field set up in Telemetry Address with value 1 to 15 For multi drop mode see pag
28. E on 3 12 to 3 15 Each latching function has two coils one to enable disable the latching mode and the other to clear any latched values By default the relevant function operates exactly as before i e the register s is automatically cleared when read If the latching mode is enabled by turning on coil 110 or 112 the register s is not cleared automatically To clear the register you must turn on coil 111 or 113 which both clears the register and resets coil 111 or 113 back to the OFF state For example the latching function keys performs as follows Coil 110 OFF Latching mode disabled ON Latching mode enabled Coil 111 ON Clear latched register set coil 111 to OFF 210305 e g Example with latching mode disabled Action Comment Power on Coil 110 OFF gt Latching mode disabled Read register 2 gt 0x0000 No function keys pressed Press Fl F2 F3 Read register 2 gt 0x0007 Register automatically cleared Read register 2 gt 0x0000 Press F5 F6 Read register 2 0x0030 Register automatically cleared Read register 2 0x0000 Example with latching mode enabled Action Comment Power on Turn on coil 110 Latching mode enabled Read register 2 0x0000 No function keys pressed Press F1 F2 F3 Read register 2 0x0007 Register not cleared by read operation Read register 2 0x0007
29. INAL ASBUILT ASBEENISSUED MANUFACTURING INFORMATION Eee 1 was ve ume mme e __ oro ve ns Dm woe om re MATERIAL TITLE MERCURY2CONTROLDRAWING oun POSTATE Filename ICADECARED dacs A3_HBDR odr 1 2 5 4 5 6 7 8 9 MASTER COMPUTER RS485 NOTE BA THE RS485 4227232 PORTS ARE ERR he ISOLATED EROM Coop NG G THE MERCURY TERMINALS NO EARTH IS REQUIRED TX 26 512 18 2574 RX 95L 17 4 310 16 15 2 ID MERCURY 93 99 150 eie J5 3 TERMINAL Nol def 98 1 204 i 97 130 19 gt 574 yes 5 INTERFACE MODULE TX RX HALE DUPLEX E R007 RS485 MULTI DROP COMMUNICATIONS BUS TX 26 512 18 15 1 RX SL 17 34 310 16 35 2 DEN 95 99 15 7 2 45 3 TERMINAL No2 9e 98 14 2 9 15 7 1 e gt 15 4 pates 5 INTERFACE MODULE ae R007 RS485 BUS TO OTHER MERCURIES IN MULTI DROP SYSTEM 20 19
30. Input 4 Digital Input 5 2 Card reader Wiegand coil 12 1 Coil red Card Reader J2 2 Coil black Card Reader J2 3 Screen Card Reader J2 4 P amp F Card Reader J2 5 amp Card Reader J3 Non l S RS232 interface 13 1 OV Non LS Comms J3 2 Rx in Non LS Comms J3 3 Tx out Non LS Comms J3 4 OV Non LS Comms J4 Non LS External Power J4 1 12V Non LS Power J4 2 OV Non 1 S Comms J5 1 S interface module J5 1 Txl LS Comms amp Power 15 2 2 IS Comms amp Power JS 3 Rxl LS Comms amp Power J5 4 Rx2 LS Comms amp Power JS 5 Screen Cable screen earth to Mercury 2e body 49 50 210305 Appendix D LS Interface Pin Number Description Module Wiring 1 RS 232 Rx Input 2 RS 232 Com Schedule 3 RS 232 Tx Output 4 RS422 Rx 5 RS422 485 Com 6 RS422 Rx 7 0 V Nom Supply 8 Not Used 9 24 V Nom Supply 10 RS422 Tx 11 RS422 485 Com 12 RS422 Tx Field connections to Mercury 2e 13 Tx2 14 Not Used 15 1 16 17 Not Used 18 19 Rx2 20 Not Used 21 Rxl Notes when using RS485 If 4 wire full duplex RS485 bus is used connect the R007 barrier using exactly the same connections as for RS422 If 2 wire half duplex RS485 bus is being used then Connect the RS485 Signal aka and RxTx to both terminals 4 amp 10 on the R007 Connect the RS485 A Signal aka and RxTx to both terminals 6 8 12 on the R007 20091215 51 52 21
31. Mercury 2e Mercury 2e Terminal User Manual Contact Mercury IMC Ltd George House Derwent Road York Road Business Park Malton North Yorkshire YO17 6YB Tel 44 0 1653 697200 Fax 44 0 8700 667325 Email sales mimce co uk All trademarks are acknowledged as the property of their respective owners This document shall not form part of any contract Specifications are subject to change without notice and Mercury IMC accepts no liability of any kind for errors or omissions Change History Appendix D Page 51 Changed 20091215 Introduction eek 5 Nomenclature and Conventions a er 6 InstallatiOfu eon eod sinne 7 Locating the Mercury Terminal sse 8 Mounting Procedure lia 10 COMME CHONG Eee 11 Intrinsically Safe 11 Connecting a Terminal in a Safe 14 Connecting the Card 14 Connecting the Bar Code 14 Cleaning the Mercury Terminal 15 Dee 17 Seo oiu one 18 Op ration A ete va pe ides Nd e Madero AR 2 A tec 23 Character Display ae ne 23 User Definable Characters and 28 Messages amp Blocks unsichere 29 Point to Point 15510 30 Multi Drop 1 nee 31 Gra
32. T lt 5 gt K k i FF lt 5 gt lt L 1 1 D CR GS M m i y E SO lt 5 gt gt A lt sp US O lt DEL gt 210305 In 8 bit mode Hexadecimal 0 to FF are available for users to download as customised characters 23 24 Table 4 Control Character Actions Escape Sequence The effect of each standard ASCII character is given in Table 4 Character String lt NUL gt lt SOH gt lt EOT gt lt ENQ gt lt ACK gt lt HT gt lt SO gt lt SI gt lt DLE gt lt DC2 gt lt DC4 gt lt NAK gt lt SYN gt lt ETB gt lt EM gt lt SUB gt lt FS gt lt GS gt lt RS gt lt US gt lt STX gt lt ETX gt lt BEL gt lt BS gt lt LF gt lt VT gt lt FF gt lt CR gt lt DC1 gt lt DC3 gt lt CAN gt lt ESC gt lt EM gt lt IND gt DEL Action These characters terminate escape sequences and are not displayed Codes to start and stop blocks Sounds Beeper Back Space Line feed Carriage Return Xon Causes Terminal to continue transmitting Xoff Causes Terminal to stop transmitting Cancels Escape Sequence Introduces Escape Sequence Special Terminator for messages Processed as down arrow key Terminates any escape sequence which is in progress Each character can act as a standalone control code as above or can be combined in strings to create es
33. Xoff Enabled Disabled BEL Length 0 05s 0 15 0 25 0 45 0 85 1 05 Beep Loudness 1 to 3 Stars to Key Click Off 70ms Full Stop Key Transmit Full Stop Comma F8 BS Key Transmit lt BS gt F8 Rubout Key Transmit lt BS gt lt DEL gt Keyboard Modes NUL NU Security Code Enabled Disabled Telemetry Address 1 to 15 Telemetry Mode Point to Point Multi drop Modbus Enabled Disabled Enabled Disabled Indicates Version Number Block Structure Multi drop acknowledge Software Version Word Length For communication and operation Mercury 2e can be set to use 7 or 8 bit ASCII codes When communicating in 8 bit format with operating mode set to 7 bit the receiving Mercury ignores the top bit D7 When the Mercury is transmitting the top bit is set to zero Note that the enhanced character set of 256 codes is only available when communication and operation are both set to use 8 bit mode Rx Xon Xoff When enabled the Mercury 2e sends an Xoff and Xon to prevent the receive buffer being over filled If disabled over running the terminal s receive buffer may result in characters being lost This option is automatically disabled in multi drop mode Tx Xon Xoff When enabled the Mercury 2e stops or restarts sending data from its transmit buffer in response to Xoffs and Xons If disabled then the host computer may over run its input This option is automatically disabled in multi drop mode Block Structure Wh
34. able Keys There are 96 ASCII two digit codes available for users to assign to escape sequences that are frequently required These are hexadecimal AOH to FFH see Table 3 and available in 8 bit mode only The sequence to define a character 15 as follows lt ESC gt 19 num z data num is ASCII number of the character being defined between 160 and 255 data gives 8 bytes of data which must be supplied as ASCII characters For Pixel to ASCII character conversion table see page 33 Redefine a Function key or Enter with up to 8 ASCII characters placed in the following sequence at data lt ESC gt 23 Pn z data lt EM gt Pn is the number of the key being redefined Numbers 1 to 8 redefine F1 to F8 respectively and 9 redefines Enter 210305 Messages Messages in the form of characters or escape sequences that are sent to the Mercury can be recalled for display many times see Table 6 A total 7 000 characters may be stored as messages in RAM Each message is assigned an identifying value between l and 99 A message should not be allocated to an identifier already in use The codes in the message can be any visible or control character except lt STX gt lt ETX gt and lt EM gt or the escape sequence for Set Up Message for Later Recall It is possible to create a message string to recall other messages Storing Messages On transmission to the Mercury messages are stored temporarily in Static Random
35. al keypad Plug in the 5 pin plug to J2 Fit and screw the card reader into place ensuring that the O ring is correctly seated The Bar code wand plugs into the small socket on the underside of the Mercury 2e Terminal The bar code laser scanner requires wiring in For connection details see the separate Laser Scanner manual 210305 Cleaning the Mercury Terminal 210305 The body of the terminal is finished in epoxy paint The display window is polycarbonate and the keypad surface is polyester These may be cleaned with soapy water Difficult grease deposits may be treated with most solvents In a hazardous area avoid rubbing dry plastic surfaces with cleaning cloths as there is a small spark hazard by triboelectric charge generation This risk can be overcome by using moist cleaning processes The keypad carries a reminder of this risk 15 16 210305 Powering Up With no local switch the Mercury terminal receives power when the IS interface module in the safe area is connected On connection a beep sounds and the initialisation routine starts Model number and software version are detailed on the LCD then the cursor appears and the keyboard mode is indicated in the bottom right corner Automatic Message Recall A feature of the Mercury 2e terminal is the automatic Message Recall Immediately after powering up and the version message has been displayed the Terminal automatically recalls Message No 1 For exampl
36. ally ORed Text and graphics on with lt ESC gt 20 42 the screens logically XORed Text and graphics on with SESC 720552 the screens logically ANDed Keyboard entry is disabled re enabled from the host computer by transmitting the escape sequence Disable Keyboard lt ESC gt 2h Enable Keyboard lt ESC gt 2 1 Using Shift key to change the keyboard mode can be disabled re enabled from the host computer by transmitting the escape sequence Disable Shift Key lt gt 13 z Enable Shift Key ESC A 12 z Set up menu however can be entered as before by pressing Shift four times then Enter NOTE When Shift is disabled the ULN mode indicator is not displayed on the screen Version 3v2e and above have two further escape sequences to enable and disable the PIN Mode When enabled any text entered in the Composed Text Input will be shown as a dot character but will be transmitted to the host as the actual text that was entered Enabling PIN Mode has no effect in point to point mode PIN Mode disabled lt ESC gt 24 0z i e text visible PIN Mode enabled i e text shown as dot characters lt ESC gt 24 1z e g PIN Mode status Text entered Text shown Text sent via keyboard on display To host Disabled 1234567890 1234567890 1234567890 Enabled 1234567890 1234567890 27 28 User Definable Characters User Defin
37. ave device Only standard Modicon RTU Modbus is supported The default serial port settings are 9600 8 N 1 Complex commands such as graphics images and backdrops should be preloaded into the Mercury and stored as messages These can be recalled when in Modbus mode Due to processor limitations the Modbus timeout interval has been fixed at 0 8 seconds The Mercury 2e will respond to the following Modbus functions 3 A Un 15 READ OUTPUT STATUS 1 READ INPUT STATUS READ OUTPUT REGISTERS 1 READ INPUT REGISTERS FORCE SINGLE COIL PRESET SINGLE REGISTER READ EXCEPTION STATUS LOOPBACK TEST 2 FORCE MULTIPLE COILS 1 109 09 10 196 200 215 5 0 Lm A 5 5 4 3 109 4 10 196 200 215 16 PRESET MULTIPLE REGISTERS 1 4 10 196 200 215 Notes 1 Since there is way of reading back any of the output registers or output coils functions codes 1 and 3 always return zeros Function code 8 currently only supports Diagnostic Code 0 Return Query Data Example 1 Read Digital Inputs uses Function 2 Read the status of digital inputs 1 to 5 i e input coils 1 to 5 from slave device number 1 Query Message 01 02 00 00 00 05 B8 09 Reply Message 01 02 01 10 AO 44 210305 210305 Example 2 Read Data Pending Input Registers uses Function 4 Read the Data Pending input register input register 1 from slave device number 1 Query Message 01 04 00 00 00 01 3
38. cape sequences that offer further control and data transmission opportunities To combine characters into strings the lt ESC gt control code must begin all sequences The lt ESC gt 1 code indicates to the unit receiving data that the following string should be considered together 210305 Sequences transmitted by Mercury 2e cannot be interrupted and other blocks or keyboard inputs will be buffered until the first sequence is transmitted in its entirety Mercury is configured to respond to defined escape sequences transmitted by the host computer and these are listed below with their actions Table 5 lists escape sequences that control the cursor and screen Table 6 gives escape sequences that create commands Table 5 Cursor Screen Action Character String Control Strings in Clear Display lt ESC gt 2J on enabled screens Clear To End Of Line lt ESC gt K Text Mode Set Graphic Display Mode ESC gt 722 Set Character Display Mode lt ESC gt 3 z Make Cursor Visible Make Cursor Invisible Move Cursor lt ESC gt 225h Text mode only lt ESC gt RRS AF Text mode only lt ESC gt Pr Pc H New Line lt ESC gt E Cursor Down lt ESC gt D Cursor Up lt ESC gt M Save Cursor Position lt ESC gt 7 Text mode only Restore Cursor Position lt ESC gt 8 Text mode only Home Cursor 1 1 Top Left lt ESC gt 61 Pr and Pc define the location to which the cursor moves being
39. d 1 0001011 OBy This value is less than 20x which is a control code and so the process needs to be repeated with DMY 204 This results in a new checksum having the value 6B which translates to the character k lt ETX gt The lt ETX gt character always ends a block and is sometimes known as the Control C character The terminal needs to receive the lt gt character that has the value 034 To transmit the word TEST to the terminal at address 01 the following string needs to be sent lt STX gt 0 1 R T E S T lt SP gt k lt ETX gt Using the format described above the Master sends a block to read the output buffer on a Mercury 2e terminal with Multi drop address 01 as follows lt STX gt 024 ADDR 01 30 314 FUNC R 524 DATA lt ESC gt 9 1z 1B 5B 3F 39 3B 31 7Ay DMY lt NUL gt 00 The checksum can be calculated to be 77H which is the ASCII code for the letter w The block to be sent to the terminal takes the form lt STX gt 0 1 R lt ESC gt 9 1 z lt NUL gt w lt ETX gt The Re send Last Block command see page 26 allows the buffer to be read repeatedly 210305 Read Digital Inputs The Control Character String to read the Digital Inputs in Multi drop mode is lt gt 47 Using the method demonstrated above the block to be sent in multi drop mode becomes lt STX gt 0 1 R lt ESC gt 4 z lt NUL gt h lt ETX gt This action caus
40. e this may be a string of text or an escape sequence to set keyboard mode Point to Point Mode The single Terminal dumb mode is the default mode of operation with simple transmission of characters to the host computer on keypress and display of received characters Multi drop Mode Up to fifteen Mercury terminals can be installed on a single multi drop operation The multi drop system uses the IS Interface Module as the tri state controlled communication port Communications Configurable in set up mode selected communication options are held in non volatile RAM Set up mode may be password protected 210305 17 Set up Setting options Cold Start In Set up mode the Mercury 2e is configurable for system operation and communication with the host computer Setup is selected from the keypad only and while in setup mode no characters are transmitted by the terminal Parameters and options are listed on the Setup menu Access Setup by pressing Shift four times then Enter On the S500 keyboard the Shift key is invisible and is located below the F4 key and to the left of 4 key The first parameter and variable of the Setup menu is displayed on the bottom line of LCD If no security code has been enabled options can be selected and set If the Security Code has been enabled the prompt on the LCD asks for a six figure security code If no code is entered the options menu can be viewed but not configured
41. e 32 This is always 01 in point to point mode Determines type of information being transmitted with a single byte character For messages transmitted from the Mercury 2e terminal this is always D 444 and 52 for messages received by the Mercury 2e terminal Identifies source of data from a single byte B 424 data from Security Card swipe C 434 data from Bar Code Reader E 45x data from digital input read Other ID codes are available in Multi drop mode see page 32 Information being sent from the identified source data from Security Card swipe as 32 bits encoded into 8 bytes of ASCII hexadecimal data from Bar Code Reader printable as it stands data for Digital input reader as a single byte Single character usually 004 but if this would result in the following CSUM byte being a control character the DMY is set to 201 A single byte checksum character which is the 7 bit negated algebraic sum of all the characters in the string from lt STX gt to DMY inclusive End Transmission character 03 see Table 4 Examples of messages are given in Appendix C 210305 Multi Drop In multi drop mode the master device polls the slave Mercury 2e Terminals Up to 15 Terminal systems can transmit to a Telemetry single host computer via a single twisted pair cable utilising RS485 levels two pairs if RS422 is used The Multi drop master initiates all communications and the slaves can only reply w
42. ed by Mercury 2e a character is represented by two digits each in the range hexadecimal 0 to F For example lt SP gt the space character is defined 20H 210305 Installation Mercurv 2e Svstem Mercury 2e Terminals are approved for operation within a E hazardous area when connected to a R007 intrinsically safe interface module They may also be used within a safe area using an RS232 interface The Intrinsically Safe Interface Module provides mutual galvanic isolation between 24 V power the I S hazard area connection and the host communication ports These connections to the Mercury 2e Terminal allow a cable length of up to 1 kilometre The communication ports provide for RS232 and differential transmit and receive terminals for RS422 485 with tri state control Card Reader The security card reader is factory fitted in place of the removable front panel and is secured by four socket head bolts A 32 bit binary number contained on the customer card is read when the card is passed through the card reader and the information is made available to the host computer for a system response Bar Code System The bar code wand connects to the Mercury 2e Terminal via a single weather proof input socket located on the bottom of the unit A weather proof blanking plug connected to the input socket protects the socket when the wand is removed The bar code laser scanner is a separate unit wired to the Terminal Installation
43. ed positions For the complete inter connection diagram see Appendix G The inter connection cable between the safe area IS Interface Module and the hazard area Mercury 2e Terminal requires four cores which may be either two twisted pairs or a quad Where a quad is used diagonally opposite cores should be paired to reduce any communications cross talk Each pair is restricted to the following maximum parameters Loop Resistance 400 Capacitance 114 nF max L R Ratio 33 uH Q Inductance 0 6 mH For example a Imm quad cable has approximately the following parameters Resistance 38 Q km loop Capacitance 55 nF km L R Ratio 12 5 uH Q Inductance 0 48 mH km For a cable length of 1km this would satisfy safety and operating requirements The wiring schedule for the IS interface module is listed in Appendix E 210305 11 Fig 3 1 5 Interface Module 23 lt 5 LATCH 210305 12 Connecting the Mercury Terminal Connecting to the Terminal Blocks 210305 After installing the intrinsically safe interface module you can proceed to connect power and communication wiring to the Mercury Terminal For the cable entry into the Mercury Terminal fit a suitable insulated cable gland M20 on the four core or twin twisted pair cable The terminal connection blocks are protected by a cover or the card reader if fitted Remove the cover by unscrewing the four retaining screws Power and commun
44. eing composed may be overwritten on the screen although it will still be composed correctly into a block 210305 31 Block Format Sending Block The block format for messages in multi drop are similar to that for Point to Point mode and are received as well as transmitted lt STX gt ADDR FUNC ID DATA DMY CSUM lt ETX gt These fields are described on page 30 The following fields have additional options in multi drop mode as follows ADDR Mercury 2e Terminal can be set to respond to any address in range 1 to 15 in the Setup menu Address 00 is reserved for broadcast to all slave terminals ID In addition to the codes B C and E described in Point to Point Mode a single byte defines the block source as follows A 411 block from operator keyboard entry D 44n block from keyboard function key Fl to F8 DATA Format differs slightly for sending or receiving data blocks Block data received by the Mercury 2e can be up to 128 bytes long containing visible characters and escape sequences Block data transmitted by the Mercury 2e includes one of the above ID bytes or the Multi drop Acknowledge block see Setup menu on page 19 No acknowledgement is sent if the received block was a broadcast A key or series of keys pressed on the terminal are stored into an output buffer on the key press Enter The master unit reads the output buffer on a FIRST IN FIRST OUT basis The escape sequence to send the next buffer is
45. en The characters are displayed in current screen mode and at current cursor coordinates so the screen display should be set to the appropriate mode before Local Echo is set Local Echo toggles on and off by pressing F1 or START BATCH 1 on the terminal automation keyboard when in Setup In Local Echo mode the terminal continues to communicate with the host Press Enter to return to normal set up mode Pressing F6 or START BATCH 6 on the terminal automation Keyboard while in the set up mode gives a single line display showing the state of the digital inputs in real time Press Enter to return to normal set up mode Pressing F3 or START BATCH 3 on the terminal automation Keyboard while in setup mode performs a display test The screen will go black then white and the terminal will automatically exit setup mode and return to normal operation 210305 Liquid Crvstal In character display or text mode the LCD offers a display of q 1 eight lines high by 40 characters long Using standard size Display characters line wrap is automatic and operates in page format So after a character has been placed at the end of line eight in the bottom right corner of the LCD the cursor goes to the top of the screen again overwriting line 1 Graphics mode display is detailed on page 33 Keyp ad The keypad is programmed for standard or customised key set A click is audible each time a key is pressed and confirms operation Standard keypad
46. en disabled data normally sent in Blocks see page 29 is sent as raw data i e with no lt STX gt Addr Func ID DMY CSUM or lt ETX gt characters as shown on page 30 19 Local Echo Digital Inputs Display Test 20 Security Code The default security code is 000000 The six digit security code is programmed into the Mercury terminal from the host computer Ifthe security code option is enabled the operator has to enter a matching code at the keypad to access Set up configuration Multi drop Modbus Modes In multi drop mode the host computer the master device transmits strings and commands to its population of Mercury 2e Terminals slave devices with an address data and message terminator structure The Modbus option only appears if a Modbus upgrade code has been purchased Telemetry Address When Multi drop Mode is enabled a unique Telemetry Address must be set for each Mercury 2e Terminal Fifteen Unique addresses 1 to 15 are available Address 0 is reserved for broadcast operation when the same message 15 sent to all slave devices simultaneously Multi drop Acknowledge When Enabled an acknowledgement reply is sent in response to every valid received message of matching address except a broadcast Local Echo mode is a facility to help in checking that the keyboard barcode or card reader is functioning correctly When set all key presses readings or swipes echo the transmitted characters to the scre
47. erval at 50 baud 2 Screen Control Registers 2 1 Display Mode Register 1 A single Modbus register will be allocated to set the character and graphics screen modes and interactions 0 Neither screen visible 1 Text on Graphics off Same coding as in ANSI Mode 2 Graphics on Text off 3 Text and Graphics on screens logically ORed 4 Text and Graphics on screens logically ANDed 5 Text and Graphics on screens logically XORed 210305 59 60 2 2 Set Keyboard Mode Register 2 1 Uppercase 2 Lowercase 3 Numerical 2 3 Set Bar Code Mode Register 3 1 One shot mode 2 Disabled 3 Enabled 2 4 Set Weigand Card Reader Mode Register 4 1 One shot mode 2 Disabled 3 Enabled 3 Screen Control Coils 3 1 99 coils to be allocated each one of which will recall the stored message associated with it Coils 1 to 99 3 2 Clear Screen Coil 100 3 3 Cursor On Off Coil 101 3 4 Cursor Up Coil 102 3 5 Cursor Down Coil 103 3 6 Cursor Left Coil 104 3 7 Cursor Right Coil 105 3 8 Home Cursor Coil 106 3 9 Clear Bar Code register input buffers Coil 107 3 10 Clear Wiegand register input buffers Coil 108 3 11 Clear Composed Text register input buffers Coil 109 3 12 Enable Disable Latching Function keys Coil 110 3 13 Clear Latched Function key register Coil 111 3 14 Enable Disable Latching Buffers Coil 112 3 15 Clear Latched Buffers registers Coil 113 NOT
48. es the status of the external contacts to be copied into the output buffer It is possible to incorporate a Block Read instruction into a single block command by putting into the DATA field both the Control String to read the digital inputs and the Control String to read the block buffer Multi Dro If the destination terminal is set up with Multi drop Acknowledge Enabled then the Mercury 2e terminal sends an Acknowledge Acknowledge Block back to the master It does this on receipt Mode of a valid Block of matching address 1 e the Multi drop Protocol is correct and takes the form lt STX gt 0 1 D lt NUL gt Y lt ETX gt This string acknowledges that a message with the correct protocol ie FUNC CSUM etc has been received not that the message data is recognised So if a message is constructed with a non existent Escape sequence in DATA yet with the correct protocol then a Multi drop Acknowledge is transmitted but the Mercury 2e ignores the instruction When the Digital Inputs are read to the block no information is relayed back to the Master If Multi drop Acknowledge is enabled however then the acknowledge would confirm that the message was received correctly 210305 47 48 210305 Appendix C Mercury 2e Terminal Wiring 210305 Schedule Terminal Pin No Description Application J1 Simple equipment I S interface 1 Input 1 Digital Input 2 Input 2 Digital Input 3 Input 3 Digital Input 4
49. hen requested Multi drop operation is supported over the RS485 and tri state controlled RS422 communications link between 1 S Interface Modules So these must be installed even if operation is in non hazardous areas Multi Drop Mode The Mercury 2e LCD screen in multi drop mode operates in the standard page format with the exception that the eighth Screen line is used as the editing area for composing blocks To avoid deletion of data being composed on Line 8 host operators should use lines 1 to 7 In the case of the host computer transmitting a Clear Screen escape sequence in Multi drop mode lines 1 to 7 of the Screen are cleared Line 8 is not affected On Line 8 an alpha numeric key press causes the character to appear on the bottom line of the screen at column 6 Up to 30 characters can be composed into a message To edit use the back space key lt BS gt F8 in N mode When complete press Enter to queue the message for transmission Ifa function key is activated while a message is being composed the function code is added to the block buffer ahead of the message without affecting the composition of the message Messages are block based and therefore indivisible So the software handshaking facility Xon Xoff is automatically disabled if Multi drop Operation is selected in the Setup menu see Table 1 The Mercury terminal does not inhibit received characters being displayed on the 8th line of the screen So a message b
50. ication connections are made to terminal block 15 pins 1 to 4 The cable screen is connected to pin 5 Simple Equipment Interface Digital Inputs connections are located at J1 pins 1 to 5 When the host computer queries the digital input status a short duration 5V 1 KQ source whetting signal senses whether an external contact is open or closed The Simple Equipment Interface digital inputs are intrinsically safe and have the following safety description Vout 29 4V Iout 66 4mA Wout 0 262W Cext 011 Lext 8 4mH L Rext 135uH Q Ceq 0 Leg 0 The common connection J1 pin 5 is at a logic 0 V Only volt free contacts are permitted for use with these digital inputs 13 Connecting a Terminal in a Safe Area Connecting the Card Reader Connecting the Bar 14 Code System For non intrinsically safe connections specify the Mercury 2e General Purpose RS232 option to be fitted on the terminal Operation in Multi drop mode is not possible on RS232 levels External 12V power connections on the Mercury terminal are located at terminal block J4 pins 1 and 2 The current is typically 45mA Note that no connections should be made to the J5 terminal block Communication to the Mercury Terminal is made via an RS232C interface on terminal block J3 pins 1 to 4 The RS232 interface connections to the Mercury Terminal are listed in Appendix E Unscrew the caphead socket screws retaining the cover below the Termin
51. ner Installation and operation of the Bar code laser scanner is covered in a separate manual Operation results in the same action as described for the Bar Code Wand 210305 Specification 210305 Mercury 2e Terminal Part No R004 e IS Physical Data Overall Dimensions Height Width Depth Weight Colour Paint type Performance Data DISPLAY Type Colour Character Mode Graphics Mode Keypad Keyboard modes Digital Inputs Protocol Communication Communications speed 370 mm 227 mm with card reader without card reader 5 5Kg Cobalt Blue Epoxy 97 mm 67 mm Supertwist Liquid Crystal Reflective filters Black on silver 40 characters 8 lines 6 x 8 dot character cell 128 pre defined and 96 downloadable ASCII characters in 8 bit mode 96 ASCII character set in 7 bit mode Character height 4 2 mm 240 x 64 graphic pixels forming 2560 tiles Character cell height 4 2 mm or 12 7 mm Sealed membrane switches Polyester outer layer with tactile response Damp wipeable for clean sterile environments 30 keys including 8 functions Option for Audible sounder via membrane selected in Setup Upper Case U Lower case L Numeric Command N 4 whetted inputs for external contacts or I S simple apparatus Based on VT 100 To and from the host computer in full or half duplex using standard asynchronous 7 bit or 8 bit ASCII characters 50 9600 baud 37 38
52. ns to IS Terminal Unit may be used as a stand alone safe area Terminal powered by a 12 V 1 Watt supply with an RS232 port Not intrinsically safe because of the voltages used with the RS232 port Security Card Part No R005 CR Reader Performance Data Principle of Operation Wiegand Effect Comprises permanent magnets and sensing coil Card Code 32 bit binary plus start and stop bits 16 bit customer location plus 16 bit card number Intrinsic Safety Card reader is certified for use with Mercury 2e Terminal see Appendix A Environmental Conditions Operating Temperature 20 to 50 C Storage 20 to 60 Protection IP65 Standard Ingress protection 6 dust 5 water jet Bar Code Interface Part No R008 WO Installed with Mercury 2e Readable Codes Code 39 3 of 9 automatic Extended code 39 Code 128 UPC EAN JAN Interleaved 2 of 5 Codabar NW7 Decode Direction Interface interprets codes read in either direction 210305 39 40 Bar Code Wand No ROO8 WAND Performance Data Cable Optical Resolution Tip Material Intrinsic Safety Scan Speed 1m coiled cable with waterproof connection 0 19 mm Replaceable Sapphire The bar code wand is certified for use with the Mercury 2e Terminal as an associated apparatus EEx ia TIC T4 SIRA 02ATEX2297X see Appendix A 10 to 120 cm per second Environmental Conditions Operating Temperature Storage Protection 20 to 50 C 40
53. phics Display Node naar 33 Line and Box u 35 Optional Bguiprtenit sec cene eene eade Y edo ce inte dese 36 Technical 5 37 Mercury 2e Terminal ui ios 37 Non LS Mercury 2e Terminal ale 39 Security Card Reader heine 39 Bar Code mier a o a oda 39 Bar Code Wand anne sen en 40 LS Intertace Module 41 Appendix A References nen ee 43 Appendix B Using Mercury 2e in Multi drop Mode 45 Appendix C Terminal Wiring Schedule 49 Appendix D IS Interface Module Wiring Schedule 51 Appendix E Communications with Interface Module 53 Appendix F Wiring 57 Appendix Modbus Option 59 Parts Orderms Codes iii ls id 68 210305 3 Mercury 2e Terminal With Security card Reader and Bar code wand 210305 Introduction The Mercury 2e is a robust operator interface for use within a remote computer or microcomputer system The terminal is ideal for use in Petrochemical Pharmaceutical Paint and other industries where low cost high performance Intrinsically Safe operation is mandatory The Mercury 2e is simple to install and incorporates a set up facility for system configuration Weather proof to IP65 standard the Mercury 2e i
54. rate in text or graphics display mode or a combination of text and graphics screens Receiving data in text or Character Display Mode is described below Graphics mode is described on page 33 The Mercury 2e receives and transmits commands in 7 or 8 bit ASCII characters see page 19 The enhanced character set is only available when both communication and operation of Mercury 2e are set to 8 bit mode Note that in 7 bit transmission only codes 004 to 7 are used In 8 bit mode Mercury can receive 256 unique data codes The first 32 codes control the operation of the terminal and so are not displayed The next 128 codes are displayable on the LCD except for lt DEL gt 7 The codes used in 8 bit transmission 00 to 9Fy with their respective Hexadecimal values and standard ASCH names are given in Table 3 Lower Upper nibble nibble x Hex 0 lG u 2 3608 4 5 70 8 9 0 lt NUL gt lt DLE gt lt gt 0 C 1 lt SOH gt lt DCI gt 1 A Q a q e 2 lt STX gt lt DC2 gt 2 B R b r 3 lt gt lt DC3 gt 3 5 S 0 4 lt EOT gt lt DC4 gt 4 D T d t 5 lt ENQ gt lt NAK gt 5 E U e u 6 lt ACK gt lt SYN gt amp 6 F V f V 7 BEL lt ETB gt lt 7 G W g Ww 8 BS CAN 8 H X h x y 9 lt HT gt lt EM gt 9 I Y i y amp A lt LF gt lt SUB gt Z j 7 B V
55. s approved for intrinsically safe operation for group gases within a zone 0 hazardous area Power and communication are connected via an intrinsically safe interface module mounted in a safe area The interface module provides RS232 422 485 communications for point to point or multi drop systems The Mercury 2e comprises a high contrast liquid crystal display a tactile alphanumeric keypad dedicated socket for an optional reader and external contact status inputs Communications use standard 7 or 8 bit ASCII characters and transmit inputs from the keypad or data from a barcode wand bar code laser scanner or security card reader The Mercury 2e terminal and IS interface module may also be used in any non hazardous industrial location where the advantages of galvanic isolation or multidrop communication features are required An optional non intrinsically safe version of Mercury 2e which does not require an IS interface module may be used in a safe area This version provides RS232 communications only and is powered by an external 12 V supply 210305 5 Nomenclature and Conventions In this manual ASCII single characters which are either control or non visible codes Hexadecimal 00 1F 20 and 7F are indicated by enclosure in lt gt for example lt ESC gt Character strings which are indivisible sequences are shown between quotation marks for example lt ESC gt 2 J In the 7 and 8 bit code sets us
56. signal levels on Multi drop RS 485 lines At time A the Host computer has determined that the RS485 link is not being used previous polled message has been received and enables its transmitter The signal then moves from its Hi Z state to the marking level a high level At the same time the A signal moves from its Hi Z state to the marking level a low level The Host then sends out its message This occupies the time interval 1 At time B the Host has sent the stop bit for the final character lt ETX gt The Host can now disable its transmitter and at time C the line returns to its Hi Z state The interval T2 is determined by the Host but it should be short enough to ensure that the bus is tri stated before the slave replies The interval T3 is the response time of slave Mercury 2e which has a typical time of 20ms an absolute maximum time of 50ms and a minimum time of 10ms At time D the slave Mercury 2e has enabled its transmitter and started to transmit the message requested by the Host Interval T4 depends upon the message length and baud rate At time E the slave Mercury 2e has transmitted the stop bit of the final character lt ETX gt At time F the slave disables its transmitter to the Hi Z state The interval 5 is determined by the Mercury 2e system and its maximum time is shown in the table on page 53 210305 1 PABU e qesi
57. ta from the Mercury 2e 5 1 5 2 5 3 Data Pending input register Register 1 A single resister can be read to determine if there is any valid data in the Bar Code Card Reader or Text input registers This single register contains 3 separate numbers each corresponding to the number of relevant readings that are currently buffered in the Mercury 2e waiting to be read D0 D3 number of buffered text messages D4 D7 number of buffered Wiegand card readings D8 D11 number of buffered Bar Code readings Function Key register Register 2 D0 D7 1 means Function Keys Fl to F8 have been pressed Note there will be no time stamping Bar Code input registers Registers 3 to 18 A set of 16 Modbus registers are used to hold the bar code reading Up to 5 bar code readings may be buffered waiting to be read If further bar code readings are made without the buffer being read the subsequent data is lost For each Modbus register the high order D8 D15 will represent the left hand character ASCH value and the low order 00 07 will represent the right hand character of the pair If the bar code is less than 32 characters long then the Modbus register half following the last valid character will have the value 00 Hex as will all the other Modbus registers in the rest of the register set 210305 210305 5 4 5 5 5 6 Wiegand Security card input registers Registers 19 and 20 A pair of Modbus registers is
58. to 75 IP64 Standard 210305 210305 1 5 Interface Module Part No R007 IS Installed in Safe Area Physical Data Overall Dimensions Height Width Depth Weight Material Colour IS Terminals IS Cabling Mounting Power IS Earth Isolation Communications Intrinsic Safety 110mm 85 mm 40 mm 250 grams approx Plastic Green 20V 1000 nominal galvanically isolated See page 11 35mm transverse rail DIN 46277 or by screws on 90 mm centres 20 32 V d c 2W maximum Nominal 80mA at 24V Not Required 3 mutually galvanically isolated ports RS232 RS422 and RS485 see Appendix F Mounted in safe area SIRA 03ATEX2450 Environmental Conditions Operating Temperature Storage Humidity Protection Location 0 to 40 20 to 60 C 95 non condensing 20 Safe Area 41 42 210305 Appendix A References 1 Hand Book of Reliability Data 4 British Telecom 2 BS5501 Equipment for potentially explosive atmospheres 210305 43 44 210305 Appendix B Using Mercury De Examples of how to use the Mercury 2e escape codes to complete actions are given below Take a few minutes to In Multi drop Mode familiarise yourself with the method for designing blocks and messages or graphic images Text Transmission This example runs through the method to send a text message to a Mercury s display The text used in this example is the word TEST

Download Pdf Manuals

image

Related Search

Related Contents

Princeton W1901PD User's Manual  ZTE MF28G user manual - 4G  Micro Speaker  Zonet ZUB8300 car kit  Samsung 32" D5500  Manhattan 404983 mobile phone case    Badu Jet Super-Sport/Classic    住警器 - 川越地区消防組合  

Copyright © All rights reserved.
Failed to retrieve file