60 lines
1.6 KiB
Markdown
60 lines
1.6 KiB
Markdown
# mettler-toledo
|
|
|
|
Test bench for communication with Mettler Toledo scale.
|
|
specific model ICS 425
|
|
|
|
## Modes
|
|
Mettler Toledo scales have several ways to provide weight data. For our purpose the __Server__ or __Client__ options are the best match.
|
|
Check manual section 3.6 Communication menu block (page 40)
|
|
|
|
### Server mode
|
|
The scale act as a server, on which is listening at specific IP address and port waiting for a comand.
|
|
To request weight data the following command must be send to the scale controller
|
|
````
|
|
S\r\n
|
|
````
|
|
*\r\n means CR LF*
|
|
|
|
|
|
#### Server mode configuration
|
|
buttons
|
|
(c) (⤺⤻) (→0←) (→T←) (i) (⇰)
|
|
|
|
1. keep pressed (⇰)
|
|
2. Will ask "Enter code" press (⇰)
|
|
3. Will show menu options, select Communication → Com2
|
|
````
|
|
Mode → Continuos
|
|
Param. Ethernet → According network settings
|
|
TCP mode → TCP mode → Server
|
|
→ Port → <Server port, for good luck use 3333>
|
|
→ Disc timeout → 0
|
|
````
|
|
|
|
### Client mode
|
|
The scale act as a client pushing continuos data to the server, configured as specific IP address and port
|
|
|
|
Scale is contious sending data:
|
|
````
|
|
S S 0.000 kg
|
|
|
|
S S 0.000 kg
|
|
````
|
|
|
|
#### Client mode configuration
|
|
buttons
|
|
(c) (⤺⤻) (→0←) (→T←) (i) (⇰)
|
|
|
|
1. keep pressed (⇰)
|
|
2. Will ask "Enter code" press (⇰)
|
|
3. Will show menu options, select Communication → Com2
|
|
````
|
|
Mode → Continuos
|
|
Param. Ethernet → According network settings
|
|
TCP mode → TCP mode → Client
|
|
→ Remote IP → <Client IP address>
|
|
→ Remote port → <Client remote port>
|
|
→ Connect timeout → 0
|
|
→ Disc timeout → 0
|
|
````
|