background image

Application-oriented manual

Control of alphanumeric HMIs (LCD) and printers

We automate your success.

60887613_00

Summary of Contents for JC-3 Series

Page 1: ...Application oriented manual Control of alphanumeric HMIs LCD and printers We automate your success 60887613_00...

Page 2: ...liable for any errors either in form or content or for any missing updates as well as for any damage or detriment resulting from such failure Jetter AG Graeterstrasse 2 71642 Ludwigsburg Germany Phone...

Page 3: ...rol of alphanumeric HMIs 17 3 1 Registers 17 3 2 Configuring the screen size 18 3 2 1 Register description 18 3 3 Device numbers 19 3 3 1 Register description 20 3 4 Cursor position 21 3 4 1 Register...

Page 4: ...aying and changing variables 40 3 12 4 Register description 42 4 Controlling printer and serial interfaces 44 4 1 Registers 45 4 2 Device numbers 45 4 2 1 Register description 46 4 3 Interface module...

Page 5: ...pport you in finding and classifying information Below there is an example of a step by step in struction This symbol indicates requirements which have to be met before exe cuting the following action...

Page 6: ...ex pandable with keyboard mod ule NUM25 Cable assembly no 192 xM LCD 23 2 lines 24 chars each Cursor left Cursor right ENTER Cable assembly no 192 xM LCD 25 2 lines 24 chars each 5 function keys with...

Page 7: ...D Numeric key pad KAY 0386 xxxx LCD 110 4 lines 20 chars each 8 function keys with LED Numeric key pad Cable assembly no 192 xM Tab 1 Summery of HMIs INFO LCD 110 connection Connecting an LCD 110 to a...

Page 8: ...ed cable assem blies listed in the above table be used Interface Connect the HMI to the X11 socket via serial interface using RS 422 interface standard connections Fig 1 Connecting HMI and controller...

Page 9: ...up to display identical or different text strings and or variable content Interface Connect the HMI to the X11 socket via serial interface using RS 422 interface standard connections Fig 2 Connecting...

Page 10: ...cables for connecting several HMIs to a controller Assemble the cables for multi display mode according to the following block dia gram SDB RDB RDB RDB RDB Signal Signal Signal Signal Signal 5 Pin SD...

Page 11: ...sets Parameter Description Core cross sectional area 0 14 mm 2 Maximum cable length 100 m Shield Complete not paired 2 4 Interface cable assembly no 192 xM The interface cable assembly 192 xM connects...

Page 12: ...onnect to the connector enclosures on both ends of the ca ble with the greatest possible surface area Place the shield as follows Bundle the shielding Clamp it under a strain relief Wrap it with coppe...

Page 13: ...MI 15 pin Sub D length 15 m 60872884 2 5 Interface cable KAY_0386 xxxx The interface cable assembly KAY_0386 xxxx connects the LCD 60 HMI model to the controller Male connector specification controlle...

Page 14: ...gram The interface cable KAY_0386 xxxx is wired as follows Controller Shield LCD 60 SER X11 2 1 5 4 3 6 7 8 COM 2 1 8 9 15 Connect shield with the greatest possi ble surface area A metallized housing...

Page 15: ...0 128 mm 2 Female connector specification HMI end Parameter Description Type 15 pin female Sub D connector in metallized hous ing quality grade 3 Manufacturer Various manufacturers Recommended core c...

Page 16: ...R X11 2 1 5 4 3 6 7 8 1 8 9 15 Connect shield with the greatest possi ble surface area A metallized housing is required Pin Signal Pin 6 DC 24 V 4 2 GND 7 5 SDB RDB 10 7 SDA RDA 11 3 RDB SDB 12 1 RDA...

Page 17: ...of the STX commands mentioned in this chapter see the JetSym Help at JetSym ST STX projects JetSym STX programming language Display commands and user input 3 1 Registers INFO Limitations The settings...

Page 18: ...ete to End of Line when displaying text strings DisplayText commands Configuring the screen size manually To configure the screen size manually proceed as follows 1 Enter the number of characters per...

Page 19: ...1 HMI 1 Multi display mode 2 HMI 2 Single Multi display mode 3 HMI 3 Multi display mode 4 HMI 4 Multi display mode 5 7 Reserved Do not use 8 Printer module Output to a printer module on the JX2 syste...

Page 20: ...play mode Property Description Values 1 4 Value after reset 1 Tab 6 Device number of HMI 1 in multi display mode MR 2826 Device number of HMI 2 in multi display mode This module register contains the...

Page 21: ...ds the content of MR 2814 If then MR 2814 is greater than 0 the value is used as cursor position MR 2814 equals 0 the message is displayed from the current cursor position onwards Tab 10 Cursor positi...

Page 22: ...tring Parameter Parameter Value Description Dev 0 11 Number of the HMI where the text string is to be output Pos 1 maximum num ber of characters shown on the screen Cursor position defining the starti...

Page 23: ...25 Fehler Error Operating principle Calling up the STX command makes the text strings Fehler or Error appear on the default device Dev 0 from cursor position 25 onwards MR 2806 controls which text str...

Page 24: ...as regular characters you must change the corresponding control character Define the control charac ters in module registers MR 2839 and MR 2840 3 5 4 Register description MR 2806 Text selection for D...

Page 25: ...erical values use the following STX command DisplayValue Screen settings The format of numerical values can be adjusted to individual needs To do so use the following parameters Display field length N...

Page 26: ...se this command Command line syntax for displaying a value DisplayValue 8 0 12 345 DisplayValue 8 0 Axis2 Position Operating principle The first STX command outputs the value 12 345 from cursor positi...

Page 27: ...tment of the display field length in MR 2812 The reason The decimal point uses one place in the display field Setting the numerical value format Numericals can be displayed in either decimal or hexade...

Page 28: ...cimal 1 Hexadecimal Takes effect Upon next execution of STX DisplayValue com mand Tab 23 Numerical value format for DisplayValue 3 7 Entering numerical values STX command To enter register and variabl...

Page 29: ...al values 2 If then You press the ENTER key the controller accepts the sug gested value and completes ex ecuting the command you press another key usable for data input the controller clears the sug g...

Page 30: ...cursor 2 The task stops on the STX UserInput command until being aborted or completed by the user pressing the ENTER key 3 If then You press the ENTER key the controller assigns the en tered value to...

Page 31: ...4 Result The variable where function result was addressed to will not be changed Tab 28 Operating principle of aborting the UserInput command How to use this command Try Value UserInput 0 25 Catch US...

Page 32: ...the maximum permissible number of decimal places for inputting numericals Property Description Values 1 12 Value after reset 11 Takes effect Upon next execution of STX UserInput command Tab 31 Number...

Page 33: ...Is to the following variables Special flags Bits in registers that overlay special flags Flags and register bits can have the following states Key Special flag register bit Pressed TRUE 1 Not pressed...

Page 34: ...nment of keys special flags and overlaid registers are listed The given assignments apply in case of single display mode and when using the de fault settings in multi display mode Numerical keys Key F...

Page 35: ...41 12 203128 28 F5 2205 203141 13 203128 29 F6 2206 203141 14 203128 30 F7 2207 203141 15 203128 31 F8 2208 203142 0 203129 0 F9 2209 203142 1 203129 1 F10 2210 203142 2 203129 2 F11 2211 203142 3 203...

Page 36: ...7 203129 7 I O 2216 203142 8 203129 8 2217 203142 9 203129 9 C 2218 203142 10 203129 10 ENTER 2219 203142 11 203129 11 2220 203142 12 203129 12 SHIFT 2221 203142 13 203129 13 2222 203142 14 203129 14...

Page 37: ...o read the LED state via registers HMI Registers Default LED regis ter number Flag numbers Single display 203143 2224 2235 1 MR 2833 203143 2224 2235 2 MR 2834 203143 2224 2235 3 MR 2835 203143 2224 2...

Page 38: ...Requirements Using the monitor functions requires the following An HMI with numeric keypad is connected to the controller The monitor functions are not blocked in the configuration registers The STX U...

Page 39: ...and I O Registers Flag Inputs Outputs LCD 54 Z R and I O Registers Flag Inputs Outputs LCD 60 R and I O Registers Flag Inputs Outputs LCD 110 R and I O Registers Flag Inputs Outputs 3 12 2 Descriptio...

Page 40: ...laying register content To display content of a register proceed as follows 1 Press the R key The HMI switches to the monitor function screen 2 Enter the register number 3 Press the ENTER key The scre...

Page 41: ...reen Modifying a variable value To modify a variable value proceed as follows 1 Have the value of the variable displayed see above 2 Press the key The system prompts you to enter a new value for this...

Page 42: ...monitor function Dis play flag state 1 R and I O keys with monitor function Display flag state Bit 2 Displaying the output state 0 I O key without monitor function Display out put state 1 I O key wit...

Page 43: ...akes effect Upon next switch over to the monitor function screen Tab 47 Display time for monitor functions MR 2820 Switch over to monitor function screen This module register configures the function o...

Page 44: ...ace Device number JX2 PRN1 Centronics printer mod ule 8 User programmable se rial interface Serial interface of the CPU 9 JX2 SER1 Serial interface module 11 JX3 MIX2 Serial interface on the module 11...

Page 45: ...ck Register numbers Basic register number Register numbers 220000 222806 222838 In this chapter only the last 4 digits of a register number are specified e g MR 2838 This is the module register Add th...

Page 46: ...Output to a serial interface module on theJX2 or JX3 system bus Tab 50 Device number summary 4 2 1 Register description MR 2824 Device number of the default device This module register contains the de...

Page 47: ...of the module system bus constant System bus System bus constant JX3 100 JX2 200 Tab 52 System bus constant 4 3 1 Register description MR 2837 Printer module number This module register contains the...

Page 48: ...mand line syntax for outputting text strings to a printer module DisplayText 8 0 Hello World DisplayText 8 0 StringVar Operating principle The first command outputs text string Hello World the printer...

Page 49: ...r DisplayText2 4 5 Outputting numerical values STX command To display numerical values use the following STX command DisplayValue Format of the output value The format of numerical values to be output...

Page 50: ...xt 8 0 t DisplayValue 8 0 Axis2 Position DisplayText 8 0 n Operating principle The first STX command outputs the value 12 345 The second STX command inserts a tab t The third STX command outputs the c...

Page 51: ...e adjustment of the display field length in MR 2812 The reason The decimal point uses one place in the display field Setting the numerical value format Numericals can be displayed in either decimal or...

Page 52: ...is to be output Property Description Values 0 Sign will be displayed 1 Sign will not be displayed Takes effect Upon next execution of STX DisplayValue command Tab 63 Sign option for DisplayValue Flag...

Page 53: ...r function screen 2821 Dialog language of the monitor function 2824 Indirect device number default device 2825 Device number of HMI 1 multi display mode 2826 Device number of HMI 2 multi display mode...

Page 54: ...tatives To contact them please call our technical hotline or use the contact form on our homepage Technical hotline Jetter We automate your success You are also welcome to send an e mail to our techni...

Page 55: ...We automate your success Jetter AG Graeterstrasse 2 71642 Ludwigsburg www jetter de E mail info jetter de Phone 49 7141 2550 0...

Reviews: