Mettler Toledo DataPac-M AM, DataPac-M PM, DataPac-M SM Operating Instructions Manual

Operating instructions
Bidirectional Data Interface AM-/PM-/SM Balances and Scales
METTLER TOLEDO DataPac-M
0.0
g
0.0
152.0 9
Leer
Contents Bidirectional Data Interface of the AM/PM/SM Balances and Scales – DataPac-M
1. Overview
1.1 What are the interface capabilities? 2
1.2 Dialog computer/weigh. station with the aid of DataPac-M 3
2. Preparation
2.1 Connector sockets of the balances 4
2.2 Matching the interface to the unit to be attached 6
2.3 Attaching units with current loop interface 7
2.4 Attaching units with RS232C interface 8
3. Interface
3.1 How does the interface function? 9
3.2 Hardware handshake RS232C 10
3.3 General information regarding CL interface 11
3.4 General information regarding RS232C interface 12
4. Data output
4.1 Initiating the data output 13
4.2 Data output using auxiliary switch 14
4.3 Data format 15
5. Commands to control the balance
5.1 General information regarding command setMnemonic 17
5.2 Send stable weighing result S 18
5.3 Send current weighing result SI 18
5.4 Send a dynamic and a stable weighing result continuously SR 19
5.5 Send stable weighing results continuously SNR 20
5.6 Send all weighing results continuously SIR 20
5.7 Taring T 21
Mnemonic
5.8 Immediate taring TI 21
5.9 Subtracting a fixed value (tare preset) B 22
5.10Change weight unit U 22 Definition of a weight unit with self-selected divisor U 23
5.11Setting the vibration adapter
5.12Setting the weighing process adapter
5.13Setting the stability detection AsdMS 25
5.14Off/on switching of Auto Zero AZ MZ 26
5.15Off/on switching of weighing-in aid dd MA 26
5.16Resetting to default setting M 27
5.17Send identification ID 27
5.18Calibrate CA 28
5.19Display text D 28
5.20Entering limits for checkweighing/dispensing weigh. DY 30
5.21Controlling DeltaTrac DX 31
5.22Controlling peripherals from the balance W 32
6. DataPac-M
6.1 DataPac-M terminal 33
6.2 Defining the dialog computer – DataPac-M D 34
7. Programs to get started
7.1 Communication with the balance 38
7.2 Evaluation of the weighing data 38
7.3 Use of commands to control the balance 39
8. Malfunctions
8.1 What happens if …? 40
_MI 24
;ML 24
1
A A

1. Overview

DATA
200 - 240 V : T 63 m
I/O
100 - 120 V : T 125 m
GM
Rear of balance with interface sockets
2

1.1 What are the interface capabilities?

The interface allows the balance to communicate with other devices, e.g. computers or terminals. In addition, remote operation of the balance is possible. Virtually all commands which can be entered using the Menu key can also be entered via the interface. Control is not only via the balance display but also through acknowledgements at the interface.
The METTLER TOLEDO AM/PM/SM balances are fitted with a bidirectional data interface (DATA I/O) and an interface for peripherals (GM) as standard. They can transmit weighing results to a peripheral device at the DATA I/O socket via 20 mA current loop or RS232C, and at the same time also receive commands to control the balance (full duplex operation). It is thus possible to integrate AM/PM/SM balances in a controlled weighing system.
The interface can also be used for: – automatic transfer of weighing results – selecting the balance operating mode (mat-
– taring and presetting of tare ching to weighing sample, surroundings, etc.) – changing the weight unit – controlling the display (dialog text, DeltaTrac) – calibration – controlling peripherals – entering limits for checkweighings – identifying the balance
and dispensing weighings – defining the dialog with DataPac-M terminal
Software version
The present operating instructions describe the interface inserted software STANDARD V10.50.00. This number can be checked on the inserted software cassette or on the balance/ scale display after switching on the balance or scale.
Applications, Technical Data, Accessories METTLER TOLEDO AM/PM/SM Balances and Scales
This is the name of the brochure that is enclosed with every AM/PM/SM balance or scale. Here you will find a complete overview of all peripherals and connection cables.
Weighing station terminal

1.2 Dialog between computer and weighing station with the aid of DataPac-M

The DataPac-M includes a keypad that operates together with the display of the balance as a weighing station terminal. This makes communication between a computer and the weighing station possible.
Thus, for example, weighing instructions to the operator can be transmitted from the computer. Or the operator can call up certain weighing programs from the computer, select partial programs with yes/no, or enter article and lot numbers.
Hardware of the DataPac-M
The DataPac-M comprises a keypad attachable to the GM socket of the balance as input device and the DataPac software, which is already included in the standard software of the AM/PM/SM balances. For dialog text the display of the balance is used. The computer is attached to the I/ O interface of the balance. The DataPac-M can be used after software version STANDARD V10.20.
DATA I/O GM
Connection DataPac-M
200 - 240 V : T 63 mA 100 - 120 V : T 125 mA
User software of the computer
The form of the dialog between a computer and the weighing station is defined using the computer. The operator response can be limited to a few alternatives, e.g. yes/no. This allows the programming effort to be considerably reduced.
DataPac-M description
Since the interface of the balance is used for the dialog, the present interface description also describes the operation of the DataPac-M (section 6).
3

2. Preparation

A A
DATA I/O GM
200 - 240 V : T 63 m 100 - 120 V : T 125 m
4

2.1 Connector sockets of the balances/scales

2.1.1 AM and PM balances
The balances have the following connector sockets: DATA I/O: Devices with RS232C or CL interface, e.g. a computer (bidirectional operation),
printer, GA50 Peripheral Controller, adapter cable for data output using hand or foot switch (unidirectional operation)
Rear of AM/PM balances
DATA I/O GM
Rear of high-capacity PM scales
GM: DataPac-M keypad, GM instruments with adapter plug, e.g. GM303 Control Unit,
secondary display, LV10 Automatic Feeder, adapter cable for taring using hand or foot switch.
The coding pins at the sockets prevent improper insertion.
Rear of SM scales
SM terminal connector or
system connector
at base of scale

2.1.2 SM scales

In addition to the DATA I/O and GM sockets mentioned, the SM scales have a third socket on the underside of the weighing platform for the detachable SM terminal (scale display with keys).
Connection socket for the SM terminal Different terminals
The SM scales can be operated with different terminals or, if in integrated in a network, also without terminal. As a rule, a base terminal is attached to the scale that has either a fluorescent display (VFD) or a liquid crystal display (LCD) (terminal model SM-F or SM-L). For special cases, so-called application terminals with integrated DataPac-M keypad are available (terminal model SM-AF with VFD or SM-AL with LCD).
Computer-controlled multistation weighing system with SM scales without terminal
If one or more weighing platforms of the SM scales are attached directly, i.e. without terminal, with the aid of the serial interface to a computer, each weighing platform must be fitted with an 34490 system connector. The SM scales do not recognize any standby operation and could not be switched on even via the interface after a power outage. The system connector allows standby operation and is inserted in the same place where the absent terminal would be attached. It keeps the weighing platform permanently switched on.
5
6

2.2 Matching the interface to the unit to be attached (configuration)

The configuration is described in detail in the operating instructions and is thus repeated here only in brief. To select the interface parameters, first the configuration register has to be entered as follows:
– Switch of balance/scale standby no display. – press control bar and
keep pressed until appears, then release bar so that appears.
When in the configuration register, briefly pressing the control bar allows switching from the sector “rESET” to the sectors “SCALE”, “Unit” or “I-FACE”.
In an individual sector, the desired parameter is selected by pressing and holding the control bar and then its value is determined by pressing the control bar briefly (default value = black).

2.2.1 Sector "I-FACE"

Data transmission mode (see section 4):
S. Stb
S. ALL
S.Auto
S.Cont
stable single values current single values (stable or not) stable single value after each weight change all values, continuous
Transmission rate (baud rate):
b 110
b 2400
b 9600
110 baud 2400 baud 9600 baud
------
-ConF-
rESEt
Parity:
P E
P -0-
P -S-
P -N-
Even Odd Space (use for 8-bit code) Mark (use for “no parity”)
Pause between data lines and handshake:
PAUSE .0
PAUSE H
PAUSE 1
PAUSE 2
for rapid peripherals (computer etc.) utilize handshake line for slow peripherals (printer etc.),
1.0 or 2.0 sec. pause between the data lines
Auxiliary (suppression of auxiliary symbols)
Au oFF
Au on
Result with certification symbol <…> or * in animal wgh. Suppression of these auxiliary symbols

2.2.2 Sector "Unit" Start data output

With the AM/PM balances, which have only a control bar, this can also be used as an alternative method of initiating the data output.
Art oFF
Art on
Control bar normal Control bar + print/data output/start function

2.2.3 Sector "rESEt" Resetting to default parameters (black):

o
YES
-End-
8.88 g
appears.
– Press key and
keep pressed until

2.3 Attaching units with current loop interface

You will find a complete list of all cables in the brochure “Applications, Technical Data,
DATA I/O GM
200 - 240 V : T 63 mA 100 - 120 V : T 125 mA
Accessories METTLER TOLEDO AM/PM/SM Balances and Scales”. The METTLER TOLEDO GA44 Printer can be attached directly. The cable is enclosed with the
printer (for additional cables: Order number 47926). The balance should be configured with the default values.
15 10
9 7
6
View of cable side 47936
15 10
9 7
6
33930 (Solder side)
+
4
5
1
2
cable must be ordered. The illustration shows the wiring.
+
A non-METTLER TOLEDO unit can be attached to the BB balance as shown in the illustration. The non-METTLER TOLEDO unit must take over the power supply of the CL interface and here it is essential that the limiting data described in section 3.3 are observed. The I/O balance connector (“MiniMETTLER”) can be ordered as an accessory: 33930.
7
For the attachment of other METTLER TOLEDO units with CL interface (solder side) the 47936
8

2.4 Attaching units with RS232C interface

You will find a complete list of all cables in the brochure “Applications, Technical Data, Accessories METTLER TOLEDO AM/PM/SM Balances and Scales”.
Prepared cables are available for the following units: Printer EPSON P-40 Order No. 33688
Computer EPSON PX-4 33982
HX-20 33955
33640
33783
33995
For other units with an RS232C interface, cables with freely attachable contacts can be ordered. One end of the cable carries the permanently attached I/O balance connector, the other end the connector with the freely attachable contacts.
Order No. Cable set with 25-pin connector (male), e.g. for printer 33640 Cable set with 25-pin coupling (female), e.g. for IBM-PC, IBM-XT 33995 Cable set with 9-pin coupling (female), e.g. for IBM-AT, Toshiba T1000 33783
Depending on whether the unit to be attached is a data terminal unit (DTE see also 3.4) or a data communications unit (DCE), the cable must be wired as follows:
11 6 1
Connector, view from cable end
1
14
13
25
1 69
5
Balance Description of the function DTE DCE DTE DCE
2,green data (commands) for balance 2 3 32 12,brown data from balance 3 2 2 3 13,white signal ground 7 7 5 5
3,yellow handshake for balance 4/20 5/6 4/7 6/8
short-circuiting link 20/4 6/5 7/4 8/6 (optional) 5 4 8 7
6206 4 81

3. Interface

3.1 How does the interface function?

Serial data transmission
TTTT
High
Low
Start Bit Bit 1 Bit 2 Bit 7 Parity Stop Bit
The data are transmitted serially, i.e. character by character one character after the other. Each character is represented by a 7-bit binary code. The individual bits of the character are also transmitted serially. A wire pair thus suffices for the data transmission in one direction.
In the idle state (no data transmission), the relevant data line is active (20 mA quiescent current with current loop, potential “high” with RS232C).
The transmission of a 7-bit character is initiated with a start bit (transition from 20 to 0 mA or “high” to “low”) followed by the 7 data bits. The order of the data bits starts with the least significant bit (LSB) and ends with the most significant bit (MSB).
A subsequent parity bit allows the correctness of the data transmission to be checked. It is added to the number of “1’s” of the data bits of a character to make an even or odd number (even or odd parity).
The 10th bit (stop bit) is again “high” and shows the end of the transmission for this character. A chain of characters transmitted successively is called a data string.
The AM/PM/SM interface
The balance has an RS232C voltage-controlled data interface and a passive 20 mA current loop interface (CL), both led out to the DATA I/O socket. These interfaces can be used both unidirectionally and in bidirectional full duplex operation. The data outputs of both interfaces operate in parallel. Both outputs can be used at the same time, but only one input either CL or RS232C.
The data inputs are ready to receive as soon as the display has been switched on. The data outputs remain blocked until the start routine is complete.
Transmission principle: serial by bit, asynchronous (1 start bit), 7-bit
code ASCII ISO646 + parity bit, 1 stop bit (receive), 2 stop bits (send)
In bidirectional operation, switching off the other device or a break in the interface cable (BREAK) resets the balance/scale to the configured status. In other words, all functions that have been triggered by commands via the interface (transmission mode, tare preset, text display, etc.) are reset.
Configuration of the interface parameters is described in section 2.2.
9
10

3.2 Hardware handshake RS232C

Operating modes: Free Mode
Handshake Mode
Software handshake according to “Tech­nical Information Bulletin” TIB: “The METTLER TOLEDO CL Interface”. Order No. in section 3.3 “General information regarding METTLER TOLEDO CL interface”.
These operating modes can also be used for the RS232C interface.
Matching of data supply and demand between balance and unit to be attached
Data losses can selectively be prevented as follows without the need for handshake lines:
1. With the handshake mode (software handshake)
2. With an adjustable pause time between the data strings of up to 2 seconds.
3. By selective request of the weighing result with the command
CRL
SI
F . If the balance can not provide a valid result, it sends “SI”
immediately. The controlling computer is thus informed at all times that it must once again request a measured value.
The hardware handshake described in what follows also offers a possibility to control the data flow.
With the aid of a separate signal line (DATA I/O socket pin 3, connection cable yellow litz wire), the transmission of data via the RS232C interface of the AM/PM/SM balances can be “curbed”, i.e. the balance sends data only if the attached device reports operational readiness. The attached device must have handshake functions and be wired in accordance with section 2.4.
The signal is evaluated when “PAUSE H” has been set in the configu­ration and when the line is actually wired up.
If a positive voltage is applied to the handshake line or if it is open, the balance sends. In the case of a negative voltage it does not send. If the level changes from positive to negative during a transmission, maxi­mum 2 additional characters are transmitted.
If this handshake function is used, the data output may not be triggered with an auxiliary switch as described in section 4.2.

3.3 General information regarding CL interface

W
The CL interface of the balance is primarily suitable for transmissions over relatively long distances (> 15 m) or for operation of the balance in the case of severe power line disturbances. It is completely separated galvanically from the balance by an optocoupler and thus prevents the intrusion of disturbances in the electronics.
The CL interface has two passive transmission loops independent of each other.
passive active
passiv aktiv
PeripheralBalance
The passive current loops of the balance must thus be supplied by external current sources. To avoid damage to the CL interface by these external current sources, it is essential to observe the following limiting data:
I
(mA )
I max 30 mA
The U/I characteristic
P max 800 m
of the source must lie within the hatched area.
U max 40V
U
( V )
40
The interfaces of the METTLER TOLEDO units require the following specifications: – voltage excursion of source 15 V (+10%/–0%) – current (high) between 18 mA and 24 mA – rate of change 2...20mA/µs – cable: shielded, twisted pairs,
0,14 mm2, 125 ohm + 130nF/km max. length: 1000 m/300 baud, 500 m/2400 baud
For further information see also “The METTLER TOLEDO CL Inter­face”, 720106 (German), 720107 (English), 720108 (French), 720109 (Spanish).
11
E

3.4 General information regarding RS232C interface

12
Voltage-controlled interface in accordance with the standards EIA RS232C, DIN 66020. These standards conform to the CCITT recom­mendations V.24 and V.28.
A distinction is made between two types of equipment: – Data Terminal Equipment (DTE), e.g. teleprinter, printer, IBM-PC – Data Communications Equipment (DCE), e.g. modem, transmitter
RS232C RS232C
DTE DCE DCE DTE
The RS232C interface was originally conceived to link such data terminal equipment with data communications equipment. The lines and signals have been designed for this original configuration, which is still in use today.
DTE
1 2 3
E
4 5 6 7 8
23 24 25
E
DCE
Modem
S
Example:
S
Computer
– A DTE unit sends its data via connection 2
(data direction DTE DCE).
– A DCE unit sends its data via connection 3
(data direction DCE DTE)
For short distances (< 15 m) where data highways are not practical, the RS232C interface is also used for any two units, i.e. the combinations DTE – DTE and DCE – DCE are entirely possible. Certain signals and lines can be omitted in such cases. A minimum configuration can be implemented with two (unidirectional operation) or three lines (bidirec­tional operation).
2 3 7
DTE DCE
2 3 7
DTE DTE
2 3 7
2 3 7
2 3 7
DCE DCE
2 3 7
In addition to the above-mentioned interface lines the most common handshake lines are shown below:
1 Protective Ground 1 2 Transmit Data TxD 2 3 Receive Data RxD 3 4 Request to Send RTS 4 5 Clear to Send CTS 5
DT
6 Data Set Ready DSR 6 7 Signal Ground GND 7 8 Data Carrier Detect DCD 8
20 Data Terminal Ready DTR 20
The definition of the above terms is from the angle of the DTE.
DCE
Loading...
+ 30 hidden pages