CAS X320 Bedienungsanleitung

IP69K Washdown Indicator
Communications Manual
(800) 223-4227
www.cas-usa.com
U51024290

Communications Manual Rev 3.21 Software Versions 3.xx
003R-618-321 Page 1
Table of Contents
1. INTRODUCTION ......................................................................................................................3
1.1. Intended Audience ........................................................................................................3
1.2. Scope ............................................................................................................................3
1.3. The Manuals Set ...........................................................................................................4
1.4. Document Conventions.................................................................................................4
2. CONNECTING TO THE INSTRUMENT ...................................................................................5
2.1. opto-LINK ......................................................................................................................5
2.1.1. opto-LINK Activation .....................................................................................5
2.1.2. opto-LINK Communications Settings ............................................................5
2.2. RS-232 Connection.......................................................................................................6
2.2.1. RS-232 Communications Settings ................................................................6
2.3. opto-LINK vs RS-232 ....................................................................................................9
3. GETTING STARTED..............................................................................................................10
3.1. Using Viewer ...............................................................................................................10
3.2. COMM Protocol Summary ..........................................................................................10
3.3. Reading Gross Weight as Literal Value ......................................................................11
3.4. Read Gross Weight as Final Value .............................................................................11
3.5. Setting Values .............................................................................................................11
3.6. Remote Key Press ......................................................................................................11
3.7. RS-232 Ring Network Enhancement ..........................................................................11
3.7.1. RS-232 Ring Network Example .................................................................12
4. PROTOCOL OVERVIEW .......................................................................................................13
4.1. COMM Message Structure..........................................................................................13
4.1.1. Address Field..............................................................................................14
4.1.2. Command Field...........................................................................................14
4.1.3. Register Id Field..........................................................................................14
4.1.4. Optional Parameters ...................................................................................15
4.1.5. Return Value ...............................................................................................15
4.1.6. RS-232 Ring Network Enhancement ..........................................................15
4.2. Error Handling .............................................................................................................16
4.3. Register Types ............................................................................................................17
4.4. Permissions.................................................................................................................18
4.4.1. Register Access ..........................................................................................18
4.4.2. Calibration and Configuration Counters......................................................19
5. REGISTER OPERATIONS AND PROPERTIES....................................................................20
5.1. Register Operations ....................................................................................................20
5.2. Common Properties ....................................................................................................20
5.2.1. Type ............................................................................................................20
5.2.2. Menu Text ...................................................................................................20
5.2.3. Permission ..................................................................................................21
5.3. Type Specific Properties .............................................................................................21
5.3.1. RangeMin, RangeMax ................................................................................21
5.3.2. Final Value..................................................................................................22
5.3.3. Literal Value................................................................................................22
5.3.4. Default Value ..............................................................................................22
5.3.5. Execute .......................................................................................................22
5.3.6. Read Items..................................................................................................23
6. READING STATUS AND ERROR CODES ...........................................................................24
6.1. REG_SYSTEM_STATUS ...........................................................................................24
6.2. REG_SYSTEM_ERROR.............................................................................................25
7. REMOTE KEY INTERFACE ..................................................................................................26
7.1. Operation ....................................................................................................................26
7.2. Key-Codes ..................................................................................................................26
7.2.1. Physical Codes ...........................................................................................26
7.2.2. Example ......................................................................................................27
7.2.3. Logical Keys................................................................................................27

Communications Manual Rev 3.21 Software Versions 3.xx
Page 2 003R-618-321
8. EXECUTE FUNCTIONS.........................................................................................................28
8.1. Calibration ...................................................................................................................28
8.1.1. Span............................................................................................................29
8.1.2. Linearisation (K302 and K305 only)............................................................30
8.2. Save Settings to EEPROM .........................................................................................30
9. STREAMING ..........................................................................................................................31
9.1. Basic Operation...........................................................................................................31
9.2. Registers Available to Stream.....................................................................................31
9.3. Example ......................................................................................................................32
10. PRINTING...............................................................................................................................33
10.1. Basic Operation...........................................................................................................33
10.2. Tokens Available for Printing ......................................................................................33
10.3. Examples of Operation................................................................................................34
11. ADVANCED TYPE HANDLING (TYPE_MENU)....................................................................35
12. APPENDIX – PROGRAM CONSTANTS ...............................................................................36
12.1. Register Types ............................................................................................................36
12.2. Commands..................................................................................................................36
12.3. Error Codes.................................................................................................................37
12.4. Register Identifiers ......................................................................................................37
12.5. Key Codes...................................................................................................................40
12.6. Decimal, Binary and Hexadecimal Conversion ...........................................................41
12.7. Setup and Calibration Errors.......................................................................................42
12.8. Glossary Terms...........................................................................................................43
12.9. List of Figures..............................................................................................................43
12.10. List of Tables...............................................................................................................44
13. INDEX.....................................................................................................................................45

Communications Manual Rev 3.21 Software Versions 3.xx
003R-618-321 Page 3
1. Introduction
This manual details the communications protocol (COMM) of the indicator.
This protocol is used by the Viewer program to calibrate and configure the instrument.
The Viewer TEST tab can be used as a convenient terminal to test the instrument
communications.
The indicator is fitted with opto-LINK communications as standard. This allows a
temporary isolated communications link to be established with a PC permitting the
instrument software to be upgraded. It also allows the use of computerised setup and
calibration via the Viewer software. The instrument also has an RS-232 port, which may
be used for printing, connection to a remote display or control using COMM. The
instrument can utilise the protocol to fully control the indicator.
Figure 1: Weight Indicator
1.1. Intended Audience
This manual is aimed at the designer or installer who is familiar with the operation
and setup of the instrument.
1.2. Scope
This manual lists the commands and registers for the protocol. In practice, only a
small subset of these commands would be used to control operational parameters.

Communications Manual Rev 3.21 Software Versions 3.xx
Page 4 003R-618-321
1.3. The Manuals Set
This manual is part of a set of manuals covering the setup and operation of the
instrument. The set includes the following:
•Reference Manual - Contains detailed information on calibration and setup.
This manual is intended for use by Scale Technicians who are installing the
instrument.
•Operator Manual - Aimed at the operation of the instrument, and covers the
day-to-day operation of the instrument.
•Quick Start Manual - Intended for Scale Technicians who are familiar with the
instrument and simply need a quick reference to menu options and connection
diagrams, etc.
•Communications Manual - Contains details on the extended networking
capabilities (communications protocol).
1.4. Document Conventions
The following document conventions (typographical) are used throughout this
Communications Manual.
Bold Text Bold text denotes words and phrases to note.
^ This symbol denotes one space (used in Commands)
… Ellipses indicate an incomplete listing. For space considerations in this
Manual complete listings of returned Command responses may not be
shown.
1234 H The subscript H indicates numerical values expressed in hexadecimal
(radix 16).
1010 b The subscript b indicates a numerical value expressed in binary (radix
2). Also, typically, spaces are used every 4 bits to break the string up
visually, e.g., 1100 1101 b.
[…] Items enclosed in square brackets are optional.
<char> <char> denotes a special character value. eg. <CR> is carriage return.
This symbol indicates a <CR><LF> pair of characters.
1234 This font indicates message sent to an indicator.
1234 This font indicates a response from an indicator.
“string” String values are enclosed in double quotes “”
⊗Items marked with ⊗indicate that the setting is available only in Full
Setup and is trade critical. When trade critical settings are changed the
calibration counter will be incremented.
REG_... Register name. Refer to Register Identifiers page 37

Communications Manual Rev 3.21 Software Versions 3.xx
003R-618-321 Page 5
2. Connecting to the Instrument
2.1. opto-LINK
A temporary infrared com-
munications link can be
established between any
instrument and a PC using
an optional opto-LINK cable.
The opto-LINK cable can be
used to transfer setup
information from a PC and
download software upgrades
to the instrument. This setup
information can be stored for
later use and/or transferred
to other instruments.
The PC end of the opto-LINK cable is a standard COM port (female DB9) or USB
connector. The instrument end of the cable consists of an infrared transceiver,
which attaches to the left side of the instrument display. To facilitate a quick and
simple connection, the infrared transceiver is secured in place by a permanent
magnet located within the head of the opto-LINK.
WARNING
The opto-LINK head contains a strong magnet and care should be taken with
its proximity to electronic media (eg. credit cards, floppy disks, etc.) and/or
other electronic instrumentation.
Note: The serial connection for the opto-LINK is standard to this instrument.
2.1.1. opto-LINK Activation
This feature is used to temporarily connect a PC to the instrument for calibration and
setup purposes.
A long press of the GROSS/NET key will toggle the opto-LINK infrared
communications On/Off.
When the opto-LINK has been enabled the following will occur:
•The instrument briefly displays the prompt opto-L.
•The editing annunciators (ie. GRP, ITM, etc.) will flash while the instrument
searches for activity. During this period, the instrument also disables the RS-
232 communications.
•Activity Located: If the instrument is successful in locating activity, the editing
annunciators will continue to flash during the entire period of communications.
•No Activity Located: If the instrument fails to locate activity in five minutes, the
opto-LINK will be disabled and the editing annunciators will stop flashing. The
instrument will also revert back to the normal RS-232 communications (ie. the
SERIAL:TYPE setting will be re-activated).
2.1.2. opto-LINK Communications Settings
The communications settings for opto-LINK are 9600 baud, no parity, 8 data bits
and 1 stop bit. This is often referred to as 9600 N81.

Communications Manual Rev 3.21 Software Versions 3.xx
Page 6 003R-618-321
2.2. RS-232 Connection
2.2.1. RS-232 Communications Settings
The communications settings for RS-232 are configured using the SERIAL:BAUD
and SERIAL:BITS items in the instrument setup menus.
Network: One Instrument to PC (RXD, TXD, GND)
Figure 2: RS-232 -– One Instrument to PC using COM Port (DB9)
Figure 3: RS-232 – One Instrument to PC using COM Port (DB25)

Communications Manual Rev 3.21 Software Versions 3.xx
003R-618-321 Page 7
Ring Networks: Multiple Instruments to PC (RXD, TXD, GND)
Instruments with K302 software revision V3.82+ can be configured in a Ring
Network. This also requires an enhancement in the PC’s software.
The Short Ring Network layout can be used in situations up to a total cable run
length of about 150 m (500 ft) at 9600 baud in a clean EMC environment. If
there are communications errors, or for longer cable runs, lower the baud rate
to 4800 or 2400, and/or use the Long Ring Network in Figure 5 below, which
uses a separate return path from the ‘Last Instrument’ to the PC.
For DB25 connections at the PC connector, refer to Figure 3 above.
When operating in a Ring Network, the Instruments must have:
•same serial port options, i.e., baud, parity, data bits, stop bits;
•unique addresses.
Short Ring Network: Multiple Instruments to PC (RXD, TXD, GND)
Figure 4: RS-232 Short Cable Runs: Ring Network using COM Port (DB9)

Communications Manual Rev 3.21 Software Versions 3.xx
Page 8 003R-618-321
Long Ring Network: Multiple Instruments to PC (RXD, TXD, GND)
The Long Ring Network layout can be used in situations where each leg of the
cable run can be up to about 150 m (500 ft) at 9600 baud. If there are
communications errors, lower the baud rate to 4800 or 2400.
Figure 5: RS-232 Long Cable Runs: Ring Network using COM Port (DB9)

Communications Manual Rev 3.21 Software Versions 3.xx
003R-618-321 Page 9
2.3. opto-LINK vs RS-232
Table 1 provides a summary of the differences between the two communications
links:
opto-LINK RS-232
Supports COMM protocol Yes Yes
Supported indicators All R300 Series R320, R323 Only
Permanent connection No Yes
Communications settings 9600, N, 8, 1 Configurable via
SERIAL:BAUD,
SERIAL:BITS
Timeout with no use 5 minutes None
Software upgrade using FLASH Yes Yes
Remote display (Master) No Yes
Printing (Print) No Yes
Auto outputs (Auto.1, Auto.2) No Yes
NET mode (Network) When activated
as described in
Opto-Link
Activation
page 5.
SERIAL:TYPE
Auto switch to
NET when
command
received
Supports Ring Network enhancement No Yes: set
SERIAL:TYPE to
NET
Table 1: opto-LINK vs RS-232 port
Andere Handbücher für X320
1
Inhaltsverzeichnis
Andere CAS Touchscreen Handbücher
Beliebte Touchscreen Handbücher anderer Marken

IBASE Technology
IBASE Technology ASTUT-152-RE1S Bedienungsanleitung

YASKAWA
YASKAWA TP 610C Bedienungsanleitung

B&R
B&R Power Panel C Series Bedienungsanleitung

Beijer Electronics
Beijer Electronics X2 control Bedienungsanleitung

AXIOMTEK
AXIOMTEK GOT321W-521 Bedienungsanleitung

TRIDONIC.ATCO
TRIDONIC.ATCO x-touchBOX Bedienungsanleitung












