Jetter JC-3 Series Manual

Application-oriented

Advertisement

Quick Links

Application-oriented manual
Control of alphanumeric HMIs (LCD) and printers
60887613_00
We automate your success.

Advertisement

Table of Contents
loading

Summary of Contents for Jetter JC-3 Series

  • Page 1 Application-oriented manual Control of alphanumeric HMIs (LCD) and printers 60887613_00 We automate your success.
  • Page 2 Any revisions and technical advancements of our products are not automatically made available in a revised document. Jetter AG shall not be 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.
  • Page 3: Table Of Contents

    Jetter AG Table of contents Table of contents Introduction ............................Typographical conventions ...................... Connecting alphanumeric HMIs......................Summery of HMIs ........................Connecting an HMI ........................Connecting several HMIs: Multi-display mode................. 2.3.1 Multi-display mode wiring .................... 10 Interface cable assembly no. 192 xM ..................11 Interface cable KAY_0386-xxxx....................
  • Page 4 Jetter AG Table of contents Assigning keys......................... 34 3.9.1 Register description ..................... 36 3.10 Enabling and disabling LEDs....................37 3.11 Assigning LEDs ........................37 3.11.1 Register description ..................... 38 3.12 Monitor function ........................38 3.12.1 HMIs supporting the monitor function ................39 3.12.2 Description of the keys ....................
  • Page 5: Introduction

    Jetter AG Introduction | 1 1 Introduction This application-oriented manual describes how to control HMIs with text display, and printing and serial interfaces from within the application pro- gram of a JC-3xx or JC-4xx control system. 1.1 Typographical conventions This manual uses different typographical effects to support you in finding and classifying information.
  • Page 6: Connecting Alphanumeric Hmis

    Jetter AG Connecting alphanumeric HMIs | 2 2 Connecting alphanumeric HMIs This chapter describes how to connect a Jetter AG alphanumeric HMI to a JC-3xx or JC-4xx controller. 2.1 Summery of HMIs The following table gives a summary of the Jetter AG range of alphanumeric HMIs designed to connect to the controller.
  • Page 7 Jetter AG Connecting alphanumeric HMIs | 2 Designation Display Keys Interface cable LCD 60 2 lines ■ 8 function keys KAY-0386-xxxx 40 chars each with LED ■ Numeric key- LCD 110 4 lines ■ 8 function keys Cable assembly 20 chars each with LED no.
  • Page 8: Connecting An Hmi

    Connecting alphanumeric HMIs | 2 2.2 Connecting an HMI Prefabricated cable assemblies are available to connect a Jetter AG alphanu- meric HMI to a controller. We recommend that the prefabricated cable assem- blies listed in the above table be used.
  • Page 9: Connecting Several Hmis: Multi-Display Mode

    Jetter AG Connecting alphanumeric HMIs | 2 2.3 Connecting several HMIs: Multi-display mode Multi-display mode allows for up to 4 alphanumeric HMIs to connect to a con- troller through one serial interface. The connected HMIs can be set up to display identical or different text strings and/or variable content.
  • Page 10: Multi-Display Mode Wiring

    Jetter AG Connecting alphanumeric HMIs | 2 2.3.1 Multi-display mode wiring There are no prefabricated cables for connecting several HMIs to a controller. Assemble the cables for multi-display mode according to the following block dia- gram: Signal Signal 24 V DC...
  • Page 11: Interface Cable Assembly No. 192 Xm

    Jetter AG Connecting alphanumeric HMIs | 2 Number Part Description Terminal  X11 Serial interface of the controller Shield Use shielded cables both ends of which are connected to the metallized housing of the connector. Power supply In a multi-display setup, each HMIs requires individual power supply.
  • Page 12 Jetter AG Connecting alphanumeric HMIs | 2 Specification Parameter Description Connecting cable Number of cores Recommended core 0.14 mm cross section Maximum cable length 400 m Cable shielding ■ Complete, not paired ■ The shield must connect to the connector enclosures on both ends of the ca- ble with the greatest possible surface area.
  • Page 13: Interface Cable Kay_0386-Xxxx

    Jetter AG Connecting alphanumeric HMIs | 2 Available lengths Available cable length options of prefabricated interface cable assembly no. 192 xM: Component Description Item number Cable assy no. 192 2.5M Controller to HMI 60860011 15-pin Sub-D, length 2.5 m Cable assy no. 193 5M...
  • Page 14 Jetter AG Connecting alphanumeric HMIs | 2 Cable shielding ■ Complete, not paired ■ The shield must connect to the connector enclosures on both ends of the cable with the greatest possible surface area. Place the shield as follows: – Bundle the shielding.
  • Page 15: Interface Cable Kay_0533-0025

    Jetter AG Connecting alphanumeric HMIs | 2 2.6 Interface cable KAY_0533-0025 Interface cable assembly KAY_0533-0025 connects HMI models LCD 52, LCD 54 and LCD-54Z to the controller. Male connector Parameter Description specification Type 8-pin male MiniDIN connector (controller end) Manufacturer KYCON Item...
  • Page 16 Jetter AG Connecting alphanumeric HMIs | 2 Wiring diagram The interface cable KAY_0533-0025 is wired as follows: Controller Shield LCD 52/54/54Z SER/X11 Connect shield with the greatest possi- ble surface area! A metallized housing is required! Signal DC +24 V Available lengths...
  • Page 17: Control Of Alphanumeric Hmis

    Control of alphanumeric HMIs | 3 3 Control of alphanumeric HMIs This chapter describes how to control Jetter AG HMIs with text display from within the application program of a JC-3xx or JC-4xx control system. It also de- scribes the registers used to parameterize the display functions. The controller provides the following display options: ■...
  • Page 18: Configuring The Screen Size

    Jetter AG Control of alphanumeric HMIs | 3 3.2 Configuring the screen size During the boot process the HMI logs in to the controller and transmits its display size. This way, the controller can configure the size automatically. Therefore, there is no need configure the display size manually. But in some cases, this fea- ture might make sense.
  • Page 19: Device Numbers

    Jetter AG Control of alphanumeric HMIs | 3 3.3 Device numbers The device number defines the output device. The device number is used as the <DeviceNo> parameter with the DisplayText(), DisplayText2(), DisplayValue() and UserInput() commands (see JetSym Help). Overview You may enter the following values for the parameter device number:...
  • Page 20: Register Description

    Jetter AG Control of alphanumeric HMIs | 3 3.3.1 Register description MR 2824 Device number of the default device This module register contains the device number of the default device. If you al- ways specify the default device in the application program (device number = 0), you can select during runtime which device is to be used.
  • Page 21: Cursor Position

    Jetter AG Control of alphanumeric HMIs | 3 3.4 Cursor position This parameter defines the position on the screen of the first character of a text string or variable to be displayed. INFO Limitations There is no cursor position evaluation for devices 8 through Cursor position 0 Cursor position 0 has a special meaning.
  • Page 22: Register Description

    Jetter AG Control of alphanumeric HMIs | 3 3.4.1 Register description MR 2814 Indirect cursor position If 0 was programmed as command parameter this module register specifies the cursor position. Property Description Values 0 ... number of characters on the screen Value after reset Tab. 11: Indirect cursor position...
  • Page 23: Displaytext2() Stx Command

    Jetter AG Control of alphanumeric HMIs | 3 3.5.2 DisplayText2() STX command Function DisplayText2(Dev:Int, Declaration                 Pos:Int,                 Const Ref Text1:String)                 Const Ref Text2:String); Parameter Parameter Value Description 0 ... 4 Number of the HMI where the text string is to be output 1 ... number of char-...
  • Page 24: Register Description

    Jetter AG Control of alphanumeric HMIs | 3 Delete text to the end The default character for deleting text up to the end of line is the dollar character of the line ‘$’. Using this character deletes the rest of the line from the present cursor position onwards.
  • Page 25: Displaying Numerical Values

    Jetter AG Control of alphanumeric HMIs | 3 MR 2840 Control character for deleting a text string up to the end of a line This module register contains the ASCII code of the control character deleting a text string up to the end of a line.
  • Page 26: Displayvalue() Stx Command

    Jetter AG Control of alphanumeric HMIs | 3 3.6.1 DisplayValue() STX command Function DisplayValue(Dev:Int, Declaration                 Pos:Int,                 Value:Double); Parameter Parameter Value Description 0 ... 4 Number of the device where to output the value 1 ... maximum num- Cursor position starting from where the ber of characters...
  • Page 27: Register Description

    Jetter AG Control of alphanumeric HMIs | 3 Setting the sign option MR 2816 defines whether or not the sign is displayed. To set the display field length in MR 2812 correctly, include the sign's place into the calculation, even if no sign is to be displayed.
  • Page 28: Entering Numerical Values

    Jetter AG Control of alphanumeric HMIs | 3 MR 2816 Sign option for DisplayValue The value in this module register specifies which one of two text strings is to be output. Property Description Values Sign will be displayed Sign will not be displayed...
  • Page 29: Userinput() Stx Command

    Jetter AG Control of alphanumeric HMIs | 3 Keys used for Description entering numericals [0] ... [9] Enters a numerical value [.] or [,] Enters a decimal point or decimal comma Enters a negative/positive numerical value; you can press the key any time during input.
  • Page 30 Jetter AG Control of alphanumeric HMIs | 3 How to use this Command-line syntax for assigning the return value to a variable: command AutoSet[Index].Destination := UserInput(0, 10); Operating principle The controller processes command as follows: Step Description Addressing device 0, the controller displays the suggested value from cursor position 10 onwards, prepares an input field and acti- vates the cursor.
  • Page 31: Configuring The Input

    Jetter AG Control of alphanumeric HMIs | 3 Aborting the command To abort an active STX UserInput() command, enter the value 0 in MR 2817. Operating principle The controller performs the following steps to abort an active STX UserInput() command: Step Description The controller disables the blinking cursor on the HMI.
  • Page 32: Register Description

    Jetter AG Control of alphanumeric HMIs | 3 Setting the suggested value MR 2815 defines the suggested value for the STX UserInput() command. The controller displays the suggested value for the STX UserInput() com- mand using the same format settings as for displaying numerical values.
  • Page 33: Querying The Keys

    Jetter AG Control of alphanumeric HMIs | 3 MR 2817 UserInput state This module register contains the state of the UserInput() command. To abort an active STX UserInput() command, enter the value 0 in MR 2817. Property Description Reading values No UserInput active...
  • Page 34: Assigning Keys

    Jetter AG Control of alphanumeric HMIs | 3 3.9 Assigning keys HMI keys are assigned to an array of special flags and registers overlaying the flags. Flag numbers Key flags are addressed relative to a basic flag number. In multi-display you can set the basic flag number via registers.
  • Page 35 Jetter AG Control of alphanumeric HMIs | 3 Flag Register bit (16-bit Register bit (32-bit overlaying) overlaying) [SHIFT]+[8] 2178 203140.2 203128.2 [SHIFT]+[9] 2179 203140.3 203128.3 Tab. 37: Numerical keys Function keys Flag Register bit (16-bit Register bit (32-bit overlaying) overlaying) [F1] 2201 203141.9...
  • Page 36: Register Description

    Jetter AG Control of alphanumeric HMIs | 3 Special keys (does Flag Register bit (16-bit Register bit (32-bit not apply to LCD 27) overlaying) overlaying) [SHIFT]+[←] 2193 203141.1 203128.17 [SHIFT]+[→] 2194 203141.2 203128.18 [SHIFT]+[R] 2195 203141.3 203128.19 [SHIFT]+[I/O] 2196 203141.4 203128.20...
  • Page 37: Enabling And Disabling Leds

    Jetter AG Control of alphanumeric HMIs | 3 3.10 Enabling and disabling LEDs Mapping of LEDs The controller reads the state of LEDs located in HMI keys from the least signifi- cant 12 bits of the corresponding register: Register bit 3.11 Assigning LEDs By default, LEDs located in HMI keys are assigned to a register that is overlaid by special flags.
  • Page 38: Register Description

    Jetter AG Control of alphanumeric HMIs | 3 3.11.1 Register description MR 2833 … 2836 LED register number for device 1 ... 4 This module register contains the LED register number of HMI 1 ... 4. Property Description Values 100000 ... 1059999 Value after reset 203143 Tab. 44: LED register number for device 1 ... 4 3.12 Monitor function...
  • Page 39: Hmis Supporting The Monitor Function

    Jetter AG Control of alphanumeric HMIs | 3 3.12.1 HMIs supporting the monitor function The following table lists the range of Jetter AG alphanumeric HMIs supporting the monitor function: Designation Keys Variables LCD 16 + NUM 25 [R] and [I/O] ■ Registers ■...
  • Page 40: Displaying And Changing Variables

    Jetter AG Control of alphanumeric HMIs | 3 Description ■ Clears current entry ■ Aborts the monitor function ENTER ([↵]) ■ Confirms the input; displays the variable or accepts the value ■ Switches between monitor function screen and default screen Tab. 45: Monitor function –...
  • Page 41 Jetter AG Control of alphanumeric HMIs | 3 ð The screen shows the output state for the period set in MR 2819 Monitor functions - Display duration . After expiry of the set period, the HMI returns to the default screen.
  • Page 42: Register Description

    Jetter AG Control of alphanumeric HMIs | 3 3.12.4 Register description MR 2818 Disabling/enabling the monitor function This module register is bit-coded. These bits can be used to disable/enable indi- vidual monitor functions. Keys are also mapped to flags with the monitor function being disabled.
  • Page 43 Jetter AG Control of alphanumeric HMIs | 3 Property Description Bit 7 Displaying the input state permanently [=] key without monitor function [=] key with monitor function Tab. 46: Disabling/enabling monitor functions MR 2819 Display time for monitor functions This module register contains the display time in multiples of 100 ms.
  • Page 44: Controlling Printer And Serial Interfaces

    Jetter AG Controlling printer and serial interfaces | 4 4 Controlling printer and serial interfaces This chapter describes how to control printer and serial interfaces from within the application program of a controller. Controlling the Printer and serial interfaces can be controlled in 2 ways: interfaces ■...
  • Page 45: Registers

    Jetter AG Controlling printer and serial interfaces | 4 INFO Further information For a detailed description 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 .
  • Page 46: Register Description

    Jetter AG Controlling printer and serial interfaces | 4 Number Part Description 9, 10 Serial interface Output to the user-programmable serial interface of the controller Serial interface mod- Output to a serial interface module on theJX2 or JX3 system bus Tab. 50: Device number summary...
  • Page 47: Interface Module Numbers

    Jetter AG Controlling printer and serial interfaces | 4 4.3 Interface module numbers Redirecting display commands to a printer or serial interface module connected to the JX2 or JX3 system bus requires configuration of the module number. Redirection to an internal user-programmable serial interface is unambiguously defined by the device number.
  • Page 48: Outputting Text Strings

    Jetter AG Controlling printer and serial interfaces | 4 4.4 Outputting text strings STX commands To output text strings, use the following STX commands (STX functions): ■ DisplayText() ■ DisplayText2() 4.4.1 DisplayText() STX command Function DisplayText(Dev:Int, Declaration                 Pos:Int,                 Const Ref Text:String);...
  • Page 49: Register Description

    Jetter AG Controlling printer and serial interfaces | 4 How to use this Command-line syntax for outputting one out of two text strings to a serial inter- command face module: DisplayText2(11, 0, 'Fehler:', 'Error:'); Operating principle The STX command outputs the text string 'Fehler:', or 'Error:' to a serial interface module.
  • Page 50: Displayvalue() Stx Command

    Jetter AG Controlling printer and serial interfaces | 4 4.5.1 DisplayValue() STX command Function DisplayValue(Dev:Int, Declaration                 Pos:Int,                 Value:Double); Parameter Parameter Value Description 8 ... 11 Number of the device where to output the value Not relevant Is not evaluated Value Value to be output...
  • Page 51: Register Description

    Jetter AG Controlling printer and serial interfaces | 4 Setting the sign option MR 2816 defines whether or not the sign is displayed. To set the display field length in MR 2812 correctly, include the sign's place into the calculation, even if no sign is to be displayed.
  • Page 52 Jetter AG Controlling printer and serial interfaces | 4 MR 2816 Sign option for DisplayValue The value in this module register specifies which one of two text strings is to be output. Property Description Values Sign will be displayed Sign will not be displayed...
  • Page 53: Register Overview

    Jetter AG Register overview | 5 5 Register overview Description 2834 Register number for LEDs on HMI 2 The following table provides a summary of existing (multi-display mode) module registers. 2835 Register number for LEDs on HMI 3 (multi-display mode)
  • Page 54: Service

    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 technical hotline: hotline@jetter.de...
  • Page 55 Jetter AG Graeterstrasse 2 71642 Ludwigsburg www.jetter.de E-mail info@jetter.de Phone +49 7141 2550-0 We automate your success.

This manual is also suitable for:

Jc-4 series

Table of Contents