Comandos Sics
Comandos Sics
Comandos Sics
METTLER TOLEDO Standard Interface Command Set MT-SICS 0 version 2.3x MT-SICS 1 version 2.2x MT-SICS 2 version 2.3x for Basic-S (as from Software V 1.20) and for AL/PL/PL-S balances MT-SICS 3 version 2.2x for Basic-S (as from Software V 1.20) and for AL/PL/PL-S balances
off
On
O/T C
F Cal/M enu
METT
LER
TOLE
DO
off
On
O/ T C
F Cal /Me nu
METTL
ER TOLED O
MT-SICS
Leerseite
Contents
Overview of all commands 1. 2. 2.1 2.2 3. 3.1 3.2 3.3 3.4 4. 5. 6. Introduction Basic information on data interchange with the balance Command formats Response formats Commands and responses Commands and responses MT-SICS level 0 Commands and responses MT-SICS level 1 Commands and responses MT-SICS level 2 for Basic-S and for AL/PL/PL-S Commands and responses MT-SICS level 3 for Basic-S and for AL/PL/PL-S Special features An example What if...?
Page
4 6 8 8 9 12 12 23 32 54 60 61 63
Commands MT-SICS level 1 D DW K SR T TA TAC TI Overview MT-SICS level 1 Balance display Weight display (Display show Weight) Key control Send weight value on weight change (Send and Repeat) Tare Inquiry/setting of tare weight value Clear tare value Tare Immediately
Commands MT-SICS level 2 for Basic-S and for AL/PL/PL-S C0 C1 C2 C3 I11 PWR SNR SNRU ST SU SIU SIRU SRU TST0 TST1 TST2 TST3 M01 M02 M03 M21 M25 M26 M29 Overview MT-SICS level 2 Inquiry/setting of calibration setting Initiate calibration according to current setting Initiate calibration with external weight Initiate calibration with internal weight Balance type Power on/off Send stable weight value and repeat after each deflection Send stable weight value with currently displayed unit and repeat after each deflection Send stable weight value after pressing (transfer) key Send stable weight value with currently displayed unit Send weight value with currently displayed unit immediately Send weight value with currently displayed unit immediately and repeat Send stable weight value with currently displayed unit after deflection Inquiry/setting of the test function Initiate test function in the current setting Initiate test function with external weight Initiate test function with internal weight Inquiry/setting of weighing mode Inquiry/setting of environment Inquiry/setting of AutoZero Inquiry/setting of unit Inquiry/setting of application selection Inquiry/setting of current application Inquiry/setting of value release
Page 32 33 35 36 37 38 38 39 40 41 42 42 43 43 44 45 46 47 48 48 49 50 52 52 53 Page 54 55 56 57 58
Commands MT-SICS level 3 for Basic-S and for AL/PL/PL-S SM0 SM1 SM2 SM3 Overview MT-SICS level 3 Cancel commands SM2 and SM3 Start dynamic weighing immediately and transfer a result Start dynamic weighing and transfer a result Start dynamic weighing, transfer result and repeat
1.
Introduction
In weight measurements the demands on the readability and maximum capacity of balances and scales range from less than one microgram up to several hundred tonnes. To meet these and other requirements, METTLER TOLEDO offers an extensive range of balances and scales. Many of the balances and scales used have to be capable of integration in a complex computer or data acquisition system. To enable you to integrate balances in your system in a simple manner and utilize their capabilities to the full, most balance functions are also available as appropriate commands via the data interface. Standardization of the commands All new METTLER TOLEDO balances launched on the market support the standardized command set "METTLER TOLEDO Standard Interface Command Set" (MT-SICS), which is divided into 4 levels, depending on the functionality of the balance: MT-SICS level 0 MT-SICS level 1 MT-SICS level 2 Command set for the simplest balance, e.g. weighing cell. Extension of the command set for standard balances, i.e. balances without integrated applications. Extension of the command set by the commands specific for a balance family, e.g. MT-SICS level 2 for the Basic-S and for AL/PL/PL-S balance line. Application-specific commands as an extension of the command set, e.g. MT-SICS level 3 standard for dynamic weighing or as independent command set, e.g. MT-SICS for dryers.
MT-SICS level 3
A particular distinguishing feature of this concept is that the commands combined in MT-SICS level 0 and 1 are identical for all balances. Both the simplest weighing balance and a fully expanded weighing work station recognize the commands of MT-SICS level 0 and 1. Investigations of various applications have shown that the vast majority of all system solutions can be handled with the commands of MT-SICS level 0 and 1. This means for you: if you restrict yourself to the commands of MT-SICS level 0 and 1, you can expand your system with additional balances from METTLER TOLEDO without having to change your application programs.
What do the commands of MT-SICS level 0 and 1 offer? You can use the commands of MT-SICS level 0 and 1 to perform the following operations via the interface: request weighing results, tare the balance and preset the tare weight, zero the balance, identify MT-SICS implementation, identify the balance, reset the balance, control the display, control the keys for operation of the balance. The commands of MT-SICS level 2 You can naturally use the data interface to exploit all functions available with your current balance or application. These additional functions are collected in the commands of MT-SICS level 2. When creating your software application, please note that whereas the commands of MT-SICS level 2 have been specially tailored to your balance family. Additional documentation on data interface Settings of the interface such as baud rate, number of data bits, parity, handshake protocols and connector pin assignment are described in the operating instructions of the peripheral instrument or cable in question. Version number of the MT-SICS Each level of the MT-SICS has its own version number which can be requested with the command I1 from level 0. This manual describes MT-SICS level 0, version 2.3x MT-SICS level 1, version 2.2x MT-SICS level 2 for Basic-S balances version 2.3x MT-SICS level 3 for Basic-S balances version 2.2x You can use the command I1 via the interface to request the MT-SICS level and MT-SICS versions implemented on your balance. Please make sure that the versions implemented on your balance agree with those listed above.
2.
Each command received by the balance via the data interface is acknowledged by a response of the balance to the transmitter. Commands and responses are data strings with a fixed format, and will be described in detail in chapter 3.
2.2.1 Format of the response with weight value A general description of the response with weight value is the following.
ID
Status
WeightValue
10 characters
Unit C R L F
1 - X characters
Response identification. Space (ASCII 32 dec.). Status of the balance, see description of the commands and responses. Weighing result; shown as number with 10 digits, incl. decimal point and sign directly in front of the first digit if value negative. The weight value appears right-aligned. Preceding zeros are not shown with the exception of the zero to the left of the decimal point. With METTLER TOLEDO DeltaRange balances, outside the fine range the last decimal place is shown as a space. Weight unit actually set under unit 1. Carriage Return (ASCII 13 dec.). Line Feed (ASCII 10 dec.).
/
Status WeightValue
Unit CR LF
Comment CRLF will not be shown in this description. Examples Response with stable weight value of 0.256 g: S/S//////0.256/g Response with stable weight value outside the fine range: S/S////4875.2//g
9
2.2.2 Format of the response without weight value A general description of the response without weight value is the following.
ID
Status
Parameters C R L F
/
Status Parameters CR LF
Comment CRLF will not be shown in this description. Example Response to D/"Hallo" when Hallo appears unabridged in the display: D/A.
10
{ID||}
There are three different error messages. The identification always comprises two characters. ID Error identification Possible error messages are ES ET Syntax error The balance has not recognized the received command. Transmission error The balance has received a "faulty" command, e.g. owing to a parity error or interface break. EL CR LF Logical error The balance can not execute the received command. Carriage Return (ASCII 13 dec.). Line Feed (ASCII 10 dec.).
2.2.4 Tips for the programmer Command and response You can improve the dependability of your application software by having your program evaluate the response of the balance to a command. The response is the acknowledgement that the balance has received the command. Reset To be able to start from a determined state, when establishing the communication between balance and system, you should send a reset command to the balance. When the balance or system is switched on or off, faulty characters can be received or sent. Quotation marks " " Quotation marks included in the command must always be entered.
11
3.
The balance receives commands from the system computer and acknowledges the command with an appropriate response. The following sections contain a detailed description of all commands of the command set in alphabetical order with the associated responses. Commands and responses are closed with CRLF. These termination characters are not shown in the following description, but they must always be entered with commands or sent with responses.
Inquiry of all implemented MT-SICS commands Inquiry of MT-SICS level and MT-SICS versions Inquiry of balance data Inquiry of balance SW version and type definition number Inquiry of serial number SW-Identification number Send stable weight value Send weight value immediately Send weight value immediately and repeat Zero Zero immediately Reset
12
// /
:
// /
I0 A x1 "last Command" Last command implemented I0 I Example Command I0 Response I0/B 0 "I0" I0/B 0 "I1" : : : I0/B 0 "S" : : I0/B 0 "Z" I0/B 0 "@" I0/B 1 "D" I0/B 1 "DW" : : I0/A 3 I12 Send list of commands
// /
// // // / / / / / / / /
//
Level 0 command "I0" implemented Level 0 command "I1" implemented : : : Level 0 command "S" implemented : : Level 0 command "Z" implemented Level 0 command "@" (reset) implemented Level 1 command "D" implemented Level 1 command "DW" implemented : : (last command)
Comments The I0 command lists all commands implemented in the present software. Thus, there is no need of the supplement sheet delivered with the previous versions of this manual. All level 0 commands are listed in alphabetical order before all commands of level 1 etc. This order corresponds to the order how the commands are described in this manual. 13
I1/A/"x1"/"x2"/"x3"/"x4"/"x5" x1 = 0 x1 = 01 Balance with MT-SICS level 0 (simplest balance) Balance with MT-SICS level 0 and 1 (standard balance) x1= 012 Balance with MT-SICS level 0, 1 and 2 (standard balance with extensions) x1 = 03 Balance with MT-SICS level 0 and 3 (simplest balance with a special application) x1 = 013 Balance with MT-SICS level 0, 1 and 3 (standard balance with a special application) x1 = 0123 Balance with MT-SICS level 0, 1, 2, and 3 (standard balance with extensions and a special application) x1 = 3 Application device with MT-SICS level 3 (not necessarily a balance) X2 Version of the implemented MT-SICS0 commands X3 Version of the implemented MT-SICS1 commands X4 Version of the implemented MT-SICS2 commands X5 Version of the implemented MT-SICS3 commands I1/I Command understood, not executable at present.
Example Command I1 Response Inquiry of MT-SICS level and versions. 01 2.00 2.00 Level 0/1 implemented Level 0, version V2.00 Level 1, version V2.00 I1/A/"01"/"2.00"/"2.00"/""/""
Comments In the case of the MT-SICS level, only fully implemented levels are listed. In other words, if it is not possible to implement all commands from a certain level, the level is not specified. In the case of the MT-SICS version, all levels are specified even those only partially implemented.
14
I2/A/"PB8001-S/Standard/8109.0/g" I2/A/"AB204-S/Standard/210.0090/g"
Comments With DeltaRange balances, the last decimal place is available only in the fine range. The number of characters of "text" depends on the balance type.
I4/A/"0123456789"
Comments The serial number agrees with that on the model plate and is different for every balance. The serial number can be used, for example, as a device address in a network solution. The response to I4 appears unsolicited after switching on and after the reset command (@).
I5 SW-Identification number
Command I5 Responses I5/A/"x" I5/I Example Command I5 Response Comments The SW-Identification number is unique for every Software. 16 Inquiry of SW-Identification number. Inquiry of SW-Identification number. SW-Identification number as Text. x: SW-Identification number. Command understood, not executable at present.
S/S/WeightValue/Unit Current stable weight value in unit actually set under unit 1. S/I S/ + S/ Command not executable (balance is currently executing another command, e.g. taring, or timeout as stability was not reached). Balance in overload range. Balance in underload range.
Example Command S Response Send a stable weight value. S/S/////100.00/g The current, stable weight value is 100.00 g.
Comments The duration of the timeout depends on the balance type. To send the stable weight value in actually displayed unit, see 'SU' command in level 2
17
S/S/WeightValue/Unit Stable weight value in unit actually set under unit 1. S/D/WeightValue/Unit Nonstable (dynamic) weight value in unit actually set under unit 1. S/I S/ + S/ Command not executable (balance is currently executing another command, e.g. taring). Balance in overload range. Balance in underload range.
Example Send current weight value. Command SI Response S/D/////129.07/g The current weight value is unstable (dynamic) and is 129.07 g. Comments The response to the command SI is the last internal weight value (stable or dynamic) before receipt of the command SI. To send weight value immediately in actually displayed unit, see 'SIU' command in level 2
18
S/D/////129.08/g S/S/////129.09/g S/S/////129.09/g S/D/////114.87/g The balance sends stable or nonstable weight values at intervals.
Comments SIR is overwritten by the commands S, SI, SR, @ and hardware break and hence cancelled. The number of weight values per second depends on the balance type. To send weight value in actually displayed unit, see 'SIRU' command in level 2
19
Z Zero
Command Z Response Z/A Zero the balance. The following then holds: gross = net + tare = 0. Zero setting performed, i.e. stability criterion and zero setting range complied with. Z/ I Z/ + Z/ Example Command Z Response Z/ A Zero. Zero setting performed. Zero setting not performed (balance is currently executing another command, e.g. taring, or timeout as stability was not reached). Upper limit of zero setting range exceeded. Lower limit of zero setting range exceeded.
Comments The tare memory is cleared during zero setting. The zero point determined during switching on is not influenced by this command, i.e. the measurement ranges remain unchanged. The duration of the timeout depends on the balance type.
20
ZI Zero immediately
Command ZI Response ZI/D Zero the balance immediately regardless the stability of the balance. Re-zero performed under non-stable (dynamic) conditions. Re-zero performed under stable conditions. Zero setting not performed (balance is currently executing another command, e.g. taring). Upper limit of zero setting range exceeded. Lower limit of zero setting range exceeded.
ZI/S ZI/I ZI/+ ZI/ Example 1 Command ZI Response Example 2 Command ZI Response ZI/D ZI/S
Zero immediately. Zero setting performed, weight value was dynamic (nonstable).
Comments The tare memory is cleared after zero setting. The zero point determined during switching on is not influenced by this command, i.e. the measurement ranges remain unchanged.
21
@ Reset
Command @ Response I4/A/"text" Resets the balance to the condition found after switching on, but without a zero setting being performed. Serial number of the balance, the balance is ready for operation.
Example Command @ Response I4/A/"1114350697" Balance is reset, its serial number is 1114350697.
Comments All commands awaiting responses are cancelled. Key control is set to the default setting K/1. The tare memory is reset to zero. The "reset" command is always executed. If the balance is on standby, it is switched on.
22
Balance display Weight display (Display show Weight) Key control Send weight value on weight change (Send and Repeat) Tare Inquiry/setting of tare weight value Clear tare value Tare Immediately
23
D Balance display
Write into balance display Command D/"text" Response D/ A D/ R D/ I D/ L Example Write text into balance display. text appears unabridged left-aligned in the balance display marked by a symbol, e.g. *. The end of the text appears in the balance display, the start is cut off. text is marked by a symbol, e.g. *. Command not executable. Command understood, parameter wrong or balance with no display.
Command D/"HALLO" Write "HALLO" into the balance display. The full text "HALLO" appears in the balance display. Response D/A Clear balance display Command D/"" Response D/A D/ I Clear balance display. Balance display cleared, marked by a symbol, e. g. *. Command not executable.
Comments A symbol in the display, e.g. * indicates that the balance is displaying an invalid weight value. The maximum number of characters of "text" visible in the display depends on the balance type.
24
K Key control
Commands K/1 K/ 2 K/ 3 K/ 4 When a key is pressed, execute the corresponding function, but do not send. When a key is pressed, do not execute the corresponding function and send nothing. When a key is pressed, do not execute the key function, but send the corresponding key code. When a key is pressed, execute the corresponding function and send its function code. If the corresponding function can not be executed immediately, the function code K/B/y for the start of the function and K/A/y or K/I/y for the end of the function are sent. This behavior applies to taring, zeroing, calibrating, testing, printing, etc. If a function may not be executed, the function code K/I/y is sent. Response K/ A K/ I K/ L Key control command understood and successfully executed. Key control command understood but not executable at present, e.g. balance actually in menu or input mode. Key control command understood, but command parameter wrong.
Response when K/3 is active K/C/x K/R/x Key x was pressed briefly or key x was released after more than 2 seconds. Key x was pressed and held for around 2 seconds. This response repeats every 2 seconds as long as key x remains pressed. The keys are coded as follows: /F -> 0/T <- and On/Off: and Menu: 1/10d Example with an activated K 3 command: K/R/4 Key 4 was pressed and held around 2 seconds. K/C/4 Key 4 was released. 25 x=1 x=3 x=4 x=2
Response when K/4 is active K/A/y Function y was released by pressing the correspondent key and successfully executed. Function y was released by pressing the correspondent key, but it could not be successfully executed, e.g. calibration was aborted by user. Function y was released and started, the execution needs time to complete. These functions are marked with an asterix (*). After this response, either K/A/y or K/I/y follows. The balance functions are coded as follows: Calibration* tare/re-zero* Data transfer to printing device* Enter menu Quit menu and save parameters Quit menu without saving Standby (instrument can be switched on with reset command) Switch weight unit Set factory setting Command K/4 Responses K/A K/B/1 K/A/1 K/B/1 K/I/1 Comments K/1 is the factory setting (default value). K/1 active after balance switched on and after the reset command Only one K command is active at any one time. A distinction must be made between key code K/3 and function code K/4. The key code is specific to the balance type, the function code corresponds to the above table. y=0 y=2 y=3 y=4 y=5 y=6 y=9 y = 10 y = 12
K/I/y K/B/y
When a key is pressed, execute the corresponding function and send the function code as an acknowledgement. Each time a key is pressed, immediate acknowledgement with the corresponding function code will be sent. The taring function has been started -> taring active. Taring completed successfully. The taring function has been started -> taring active. Taring not completed successfully, taring aborted.
26
Comments SR is overwritten by the commands S, SI, SIR, @ and hardware break and hence cancelled. If, following a nonstable (dynamic) weight value, stability has not been reached within the timeout interval, the response "S/I" is sent and then a nonstable weight value. Timeout then starts again from the beginning. The preset value must be entered in unit actually set under until 1. 27
T Tare
Command T Response Tare, i.e. store the next stable weight value as a new tare weight value. T/S/WeightValue/Unit Taring performed, i.e. stability criterion and taring range complied with. The tare weight value returned corresponds to the weight change on the balance in the unit actually set under unit 1 since the last zero setting. T/I T/ + T/ Example Command T Response The balance is tared and has a value of 100.00 g in the tare memory. Taring not performed (balance is currently executing another command, e.g. zero setting, or timeout as stability was not reached). Upper limit of taring range exceeded. Lower limit of taring range exceeded.
T/S/////100.00/g
Comments The tare memory is overwritten by the new tare weight value. The duration of the timeout depends on the balance type. The function of the combined tare and zero setting key corresponds to the zero setting (Z) command of the interface. Clearing tare memory: see command TAC. Unit 1 is the weight unit displayed after the balance has been switched on.
28
TA/A/TareWeightValue/Unit Current tare weight value in unit actually set under until 1. TA/I Current tare weight value can not be transfered at present as another operation is taking place.
Setting of tare preset value Command TA/TarePresetValue/Unit Entry of a tare preset value in unit actually set under unit 1. Response TA/A/WeightValue/Unit Entry accepted, returned value rounded to actual readability. The balance display shows the net value referred to the inputted tare value. TA/I TA/L Example Command TA/100.00/g Response Tare. The balance has 100.00 g in the tare memory. TA/A/////100.00/g Taring not performed (balance is currently executing another command, e.g. zero setting, or timeout as stability was not reached). Command understood, parameter wrong.
Comments The tare memory will be overwritten by the preset tare weight value. The inputted tare value will be automatically rounded by the balance to the current readability. The preset value must be entered in the unit actually set under unit 1. The taring range is specified to the balance type.
29
30
TI Tare Immediately
Command TI Response Tare immediately, i.e. store the current weight value, which can be stable or non stable (dynamic), as tare weight value.
TI/S/WeightValue/Unit Taring performed, stable tare value. The new tare value corresponds to the weight change on the balance since the last zero setting. TI/D/WeightValue/Unit Taring performed, non-stable (dynamic) tare value. TI/I Taring not performed (balance is currently executing another TI/L TI/+ TI/command, e.g. zero setting). The command is not executable, e.g. certified version of balance. Upper limit of taring range exceeded. Lower limit of taring range exceeded.
Example Tare immediately. Command TI Response TI/D/////117.57/g The tare memory holds a non-stable (dynamic) weight value. Comments The tare memory will be overwritten by the new tare weight value. After a non-stable (dynamic) stored tare weight value, a stable weight value can be determined. However, the absolute value of the stable weight value determined in this manner is not accurate. The stored tare weight value is sent in the unit actually set under unit 1. The taring range is specified to the balance type.
31
3.3 Commands and responses MT-SICS level 2 for Basic-S and for AL/PL/PL-S
The commands of MT-SICS level 2 are supported by all Basic-S and for AL/PL/PL-S balances. Command C0 C1 C2 C3 I11 PWR SNR SNRU ST SU SIU SIRU SRU TST0 TST1 TST2 TST3 M01 M02 M03 M21 M25 M26 M29 Page 33 35 36 37 38 38 39 40 41 42 42 43 43 44 45 46 47 48 48 49 50 52 52 53
Inquiry/setting of calibration setting Initiate calibration according to current setting Initiate calibration with external weight Initiate calibration with internal weight Balance type Power on/off Send stable weight value and repeat after each deflection Send stable weight value with currently displayed unit and repeat after each deflection Send stable weight value after pressing (transfer) key Send stable weight value with currently displayed unit Send weight value with currently displayed unit immediately Send weight value with currently displayed unit immediately and repeat Send stable weight value with currently displayed unit after deflection Inquiry/setting of the test function Initiate test function in the current setting Initiate test function with external weight Initiate test function with internal weight Inquiry/setting of weighing mode Inquiry/setting of environment Inquiry/setting of AutoZero Inquiry/setting of unit Inquiry/setting of application selection Inquiry/setting of current application Inquiry/setting of value release
32
C0/I
33
Example Command C0 Response Inquiry of status and setting of the calibration. Current setting of mode is "Auto". The ambient conditions of the balance have changed so much that the balance requests a calibration (x1=2) with the external weight (x2=1). For a calibration initiated with the command C2, a weight of 100.000 g is needed. Setting the calibration setting Command C0/x1/x2 Set calibration setting. x1 Calibration mode x1=0 Mode = Manual A change in the ambient conditions has no influence on the initiation of the calibration procedure. x1=1 Mode = Auto, the sensors built into the balance monitor the ambient conditions. When a considerable change in the ambient conditions is determined, the status display AutoCal or Cal will be activated; this means the balance will ask for calibration. x2 Calibration weight x2=0 Use internal weight (factory setting) x2=1 Use external weight The current value of the external weight can be seen in the menu of the balance under "Calibration" (see Operating instructions. Calibration setting set. Calibration setting can not be set, e.g. parameter wrong or certified version of the balance or no internal calibration weight. Commend not executable as the balance is, e.g. being tared. C0/A/2/1/"///100.000/g"
Response
Example Command C0/0/1 Response C0/A Set calibration setting to manual and external. Calibration setting set.
Comments Setting x1=1 and x2=0 corresponds to the menu setting "FACT" under "Calibration". For balances without internal calibration weight, only x1=0 and x2=1 is possible. 34
C1/"text" Weight request with external calibration. C1/A Calibration has been completed successfully. C1/I
The calibration procedure was aborted as, e.g. stability not attained or wrong weights loaded.
Example Command C1 Response C1/"//////0.00/g" C1/"///2000.00/g" C1/"//////0.00/g" C1/A C1/B Start calibration. Calibration operation started. Prompt to unload the balance. Prompt to load calibration weight 2000.00 g. Prompt to unload the balance. Calibration completed successfully.
Comment Commands sent to the balance during the calibration operation are not processed and responded to in the appropriate manner until the calibration is at an end.
35
C2/I C2/L
Further responses
C2/"text" Prompt to unload or load the balance. C2/A Calibration has been completed successfully. C2/I
The calibration procedure was aborted as, e.g. stability not attained or wrong weight loaded.
Example Command C2 Response C2/"//////0.00/g" C2/"///2000.00/g" C2/"//////0.00/g" C2/A C2/B Start calibration. Calibration operation started. Prompt to unload the balance. Prompt to load calibration weight 2000.00 g. Prompt to unload the balance. Calibration completed successfully.
Comment Commands sent to the balance during the calibration operation are not processed and responded to in the appropriate manner until the calibration is at an end.
36
Example Command C3 Response C3/B C3/A Initiate internal calibration. Calibration operation started. Calibration completed successfully.
Comment Commands sent to the balance during the calibration operation are not processed and responded to in the appropriate manner until the calibration is at an end.
37
PWR/I PWR/L
Comment If balance is powered by battery, a PWR/0 will switch off the balance completely (not only standby), so it is not possible to communicate with the balance until it is switched on by key again.
38
SNR Send stable weight value and repeat after each deflection
Command SNR/PresetValue/Unit Send current stable weight value in Unit 1 and repeat after each deflection greater or equal to the preset value (see Comment). Response S/S/WeightValue/Unit Current stable weight value (1. value) S/S/WeightValue/Unit : Next stable weight value after preset deflection (2 value) etc. : S/ I S/ L S/ + S/ Example Command SNR/50/g Response S/S//////12.34/g S/S//////67.89/g Command not executable (balance is currently executing another command, e.g. taring, or timeout as stability was not reached). Command understood, parameter wrong Balance in overload range. Balance in underload range.
Comment The preset value is optional. If no value is defined, the deflection limit depends on balance readability as follows: readability 0.01 mg 0.1 mg 0.001 g 0.01 g 0.1 g 1g min. deflection 0.01 g 0.1 g 1g 1g 1g 5g
39
SNRU Send stable weight value with currently displayed unit and repeat after each deflection
Command SNRU/PresetValue/Unit As the SNR command, but with currently displayed unit. Response S/S/WeightValue/Unit Current stable weight value (1. value) S/S/WeightValue/Unit : Next stable weight value after preset deflection (2 value) etc. : S/I S/ L S/ + S/ Example Command SNRU/50/g Response S/S//////12.34/g S/S//////67.89/g Command not executable (balance is currently executing another command, e.g. taring, or timeout as stability was not reached). Command understood, parameter wrong Balance in overload range. Balance in underload range.
Comment The preset value is optional. If no value is defined, the deflection limit depends on balance readability as follows: readability 0.01 mg 0.1 mg 0.001 g 0.01 g 0.1 g 1g min. deflection 0.01 g 0.1 g 1g 1g 1g 5g
40
Set ST function Command ST/1 ST/0 ST/A ST/I ST/L Example Command ST/1 Responces ST/A Activate ST function Command executed When (transfer key) is pressed: Send the current stable net weight value each time when (transfer key) is pressed (see "S" command with MT-SICS level 0). Stop sending weight value when transfer key is pressed. Command understood and successfully executed. Command understood, but not executable at present, e.g. balance is currently executing another function. Command understood, parameter wrong.
Responces
S/S////123.456/g Current net weight is 123.456g. Comment ST/0 is the factory setting (default value). ST function is not active after switching on and after the reset command.
41
S/S/WeightValue/Unit Command executed. S/ + S/ S/ I Balance in overload range. Balance in underload range. Command not executable as balance is, e.g. being tared.
S/S/WeightValue/Unit Command executed, stable. S/D/WeightValue/Unit Command executed, dynamic. S/ + S/ S/ I Balance in overload range. Balance in underload range. Command not executable as balance is, e.g. being tared.
42
SIRU Send weight value with currently displayed unit immediately and repeat
Command SIRU Response As the "SIR" command, but with currently displayed unit. S/S/WeightValue/Unit Command executed. S/D/WeightValue/Unit Command executed. S/ + Balance in overload range. S/ S/ I Example Command SIU Response S/D//////12.34/lb Balance in underload range. Command not executable as balance is, e.g. being tared.
SRU Send stable weight value with currently displayed unit after deflection
Command SRU Response As the "SR" command, but with currently displayed unit. SRU/WeightValue/Unit
S/S/WeightValue/Unit Command executed. S/D/WeightValue/Unit Deflection. S/ + Balance in overload range. S/ S/ I Balance in underload range. Command not executable as balance is, e.g. being tared
TST0/I
Value of the external weight currently set that is requested in the test from the balance user via the display. The current setting of the test function can not be transferred at present as another operation is taking place.
Set test configuration Command TST0/x Set test configuration of the balance. x = 0 Test with internal weight. x = 1 Test with external weight. Responses TST0/A TST0/L TST0/I Example Command TST0 Response Inquiry of current setting for the test and the value of the external test weight. Test configuration set. Wrong parameter or no internal calibration weight. Command not executable as the balance is, e.g. being tared.
TST0/A/1/"" The current setting corresponds to the test with an external weight. For a test initiated with the TST2 command (see below), an external weight of 2000.00 g is needed.
Comments There is no possibility to set the test weight, therefore the weight value is empty. With an internal test, no weight value appears.
44
TST1/"text" Further Prompt to unload and load the balance. responses TST1/A/"WeightValue/Unit" Test procedure completed successfully. Value with unit corresponds to the measured test weight. No unit is specified if the test has been performed with the internal weight. TST1/I The test procedure has been aborted as, e.g. stability was not attained or wrong weights were loaded.
Comment Commands sent to the balance during the test procedure are not processed and responded to in the appropriate manner until the test procedure is at an end.
45
TST2/"text" Prompt to unload and load the balance. TST2/A/"WeightValue/Unit" Test procedure completed successfully. Weight value with unit corresponds to the measured test weight. The test procedure has been aborted as, e.g. stability was not attained or wrong weights were loaded.
Example Command TST2/I Response TST2/B Initiate test with external weight. The test procedure could be started.
TST2/"//////0.00/g" Prompt to unload the balance. TST2/"Load" Prompt to load the test weight. TST2/"//////0.00/g" Prompt to unload the balance. TST2/A/"//////100.01/g" External test completed successfully. Comment Commands sent to the balance during the test procedure are not processed and responded to in the appropriate manner until the test procedure is at an end.
46
TST3/A/"WeightValue"
The test procedure could be started. TST3/A/"//////0.01" The difference to the specified value is 0.01.
Comment The commands received immediately after the first response are not processed and responded to in the appropriate manner until after the second response.
47
M01/L M01/I
Parameters are missing, the command can thus not be executed. Command not executable. Setting of weighing mode. See Inquiry. Command executed. Parameters wrong (value range, ). Command not executable. M01 A Setting of weighing mode to normal.
M02/L Command Response M02/I M02/x M02/A M02/L Example M02/I M02 1 M02 A
Parameters are missing, the command can thus not be executed. Command not executable. Setting of environment. See Inquiry. Command executed. Parameters wrong (value range, ). Command not executable. Switching on environment. 48
Parameters are missing, the command can thus not be executed. Command not executable. Setting of AutoZero. See Inquiry. Command executed. Parameters wrong (value range, ). Command not executable. M03 A Switching on AutoZero function.
49
M21/L M21/I
Parameters are missing, the command can thus not be executed. Command not executable.
50
Setting of unit(s). See Inquiry. Command executed. Parameters wrong (value range, ). Command not executable. M21 A Setting of unit 1 to kg. M21 B 0 1 Inquiry of unit, unit 1 = kg. M21 A 1 5 Inquiry of unit, unit 2 = ct.
Comments All S commands are given in Unit 1 according to the definition of the MT-SICS. You can only select units that can be changed in the menu.
51
Name: Name of application Parameters are missing, the command can thus not be executed. Command not executable.
Command M26/x
Command executed. Parameters wrong (value range, ). Command not executable. Application 3 is activated.
Comment Application number: Number of the application according to the application list (command M25). 52
M29/L M29/I
Parameters are missing, the command can thus not be executed. Command not executable. Setting of value release. See inquiry. Command executed. Parameter wrong (value range, ). Command not executable. M29 A Setting of value release to "reliable".
Response
53
3.4 Commands and responses MT-SICS level 3 for Basic-S and for AL/PL/PL-S
The commands of MT-SICS level 3 Basic-S standard are supported by the standard version of all Basic-S and for AL/PL/PL-S balances, see also response to the I2 command from MT-SICS level 0. Command SM0 SM1 SM2 SM3 Page 55 56 57 58
Cancel SM2 and SM3 commands Start dynamic weighing immediately and transfer a result Start dynamic weighing and transfer a result Start dynamic weighing, transfer result and repeat
54
SM0/I SM0/L
55
First response
The application "Dyn A" or "Dyn M" is not set, the command can thus not be executed. No second response follows. SM/*/WeightValue/Unit Weight value corresponds to the mean value of all measured values determined by the balance during the weighing time. The unit corresponds to the current weight unit in the display.
SM/I
The dynamic weighing has been aborted, e.g. with the "C" key. Abort, overload during the integration. Abort, underload during the integration.
Command understood, result follows. SM/*/ / / / / /23.76/g Result of the dynamic weighing is 23.76 g.
Comments The balance does not perform stability or plausibility checks for the start. Initiation of start via the weight change can be implemented by first activating an SR or SIR command and evaluating the weighing results. With the TI and SM1 commands, the balance can be used in unstable surroundings in which stable results are no longer achieved (e.g. in fume cupboards with powerful ventilation).
56
First response
SM/*/WeightValue/Unit Weight value corresponds to the mean value of all measured values determined by the balance during the weighing time. The unit corresponds to the current weight unit in the display. SM/I SM/+ SM/ The dynamic weighing has been aborted, e.g. with the "C" key. Abort, overload during the integration. Abort, underload during the integration.
Example Command SM2 Response SM2/A Start a dynamic weighing after minimum load "MinWeight" exceeded and transfer the result. Command understood, result follows.
SM/*/ / / / / /24.30/g Result of the dynamic weighing is 24.30 g. Comments The SM2 command can be active at the same time as the other send commands (SI, SIR). The single start standby is cancelled by the SM0 and @ commands before start of the weighing.
57
First response
Second response
The application "Dyn A" or "Dyn M" is not set, the command can thus not be executed. No second response follows. SM/*/WeightValue/Unit Weight value corresponds to the mean value of all measured values determined by the balance during the weighing time. Unit corresponds to the current weight unit in the display. Further results follow when the start condition is again met.
SM/+ SM/
SM3/I
The dynamic weighing has been aborted, e.g. with the "C" key. Abort, overload during the integration. Abort, underload during the integration.
58
Example Command SM3 Start a dynamic weighing when weight drops below the minimum load "MinWeight", transfer the result and repeat the process.
Response
SM3/A Command understood, results follows. SM/*/ / / / / /25.83/g Result of the first dynamic weighing is 25.83 g. SM/*/ / / / / /22.91/g Result of the second dynamic weighing is 22.91 g. . . SM/*/ / / / / /24.05/g etc.
Comments The SM3 command can be active at the same time as the other send commands. The recurring establishment of the start standby is cancelled by the SM0, SM1, SM2 and @ commands.
59
4.
Special features
Parameter values after switching balance off/on The commands of the standard command are seved on the permanent memory of the balance. This means that all values changed via the interface are saved when the balance is switched off. Several commands in succession If several commands are sent in succession without waiting for the corresponding responses, it is possible that the balance confuses the sequence of command processing or ignores entire commands. Weight unit of weight value In response strings with a weight value, unit always signifies the unit actually set under unit 1 in the menu of the balance (exeptions see SU, SIU, SIRU and SRU commands (MT-SICS level 2)). METTLER TOLEDO DeltaRange balances If the fine range of DeltaRange balances has been exceeded at the time of transmission, the balance sends a weight value as response in which the tenth character is a space. Repeat rate and timeout The repeat rate with repeat commands and the duration of the timeout (time-limit function) depend on the balance type, see technical data of the balance in question.
60
5.
An example
The following simple formula weighing application shows the data interchange between the computer with the formula weighing program and the balance. A substance (S = 55 g) comprising components K1 = 100 g and K2 = 21 g needs to be weighed into a beaker. If too much or too little of the first component is weighed in, the target weight of the second component should be adjusted so that the ratio of the two components remains the same. The user is guided by the balance display and acknowledges his actions with the tare key.
Command
off
On
Response
O/T C
F Cal/M enu
MET
TLER TOLE DO
@ Reset balance. I2/A/"PB3002-S/R/Standard/3100.00/g" K/3 K/ A D/"BEAKER" Prompt "(load) BEAKER" appears in the display. D/ A K/C/5 Response to the prompted text. Acknowledges pressing of the tare key. Disable key function and report each keystroke.
T Tare weight on the balance. T/S/ / / / /70.00/g Beaker weighs 70.00 g. D/"C1 100g" Prompt, add component 1 = 100 g. 61
Command
off
On
O/T
MET
TLER TOLE DO
Response
C
F Cal/M enu
D/ A K/ C/ 5
Send target weight of component 1. S S/S/ / / / /105.00/g Target weight of component 1 missed by 5 g. T Tare weight on the balance. T/S/ / / / /55.00/g Contents of the tare memory, now corresponds to gross weight. D/"C2/21/g" Prompt, add component 2 = 21 g. Response to the prompted text. D/ A Acknowledges pressing of the tare key. K/ C/ 5 D/"Sub/76/g" Display "76 g substance weighed in". Response to the "Display" command. D/ A
62
6.
What if...?
Tips from actual practice when the communication between the system (computer) and the balance does not function. Establishing the communication Switch the balance off with the corresponding "off" key and then on again with the "on" key. The balance must now send identification string I4, e.g. I4/A/"0123456789". If this is not the case, check the following points. Connection For bidirectional communication, at least three connecting lines are needed: Data line from the balance (TxD signal with RS232 interface). Data line to the balance (RxD signal with RS232 interface). Signal ground line (SG with RS232 interface). Make sure that all these connections are in order. Check the connector pin assignment of the connection cables. Interface parameters For the transmission to function properly, the settings of the following parameters must match at both the computer and the balance: Baud rate (send/receive rate) Number of data bits Parity bit Check the settings at both devices. Handshake For control of the transmission, in part separate connection lines are used (CTS/DTR). If these lines are missing or wrongly connected, the computer or balance can not send or receive data. Check whether the balance is prevented from transmitting by handshake lines (CTS or DTR). Set the parameter "protocol" for the balance and the peripheral device to "No Handshake" or "none". The handshake lines now have no influence on the communication.
63
To protect your METTLER TOLEDO product's future: METTLER TOLEDO service assures the quality, measuring accuracy and preservation of value of all METTLER TOLEDO products for years to come. Please send for full details about our attractive terms of service. Thank you.
P11780447
Subject to technical changes. Printed on 100 % chlorine-free paper. For the sake of our environment.
Mettler-Toledo GmbH, Laboratory & Weighing Technologies, CH-8606 Greifensee, Switzerland Phone +41-1- 944 22 11, Fax +41-1-944 30 60, Internet: http://www.mt.com