beautypg.com

Nexweigh serial commands and definitions – Fairbanks NexWeigh User Manual

Page 47

background image

Section 5: Serial I/O

04/14

47

51216 -- Rev. 6

5.4.8. NexWeigh Serial Commands and Definitions

Commands are received and handled on either the RS232 (COM 1) port or RS485
(COM 2) port.

All commands are in a format terminated by a , carriage return
i.e. "stu l \r"

Commands are allowed or disallowed based on security level settings.
Commands with correct syntax/security level have no response;
Incorrect commands echo the command, with Fail (‘F’), and a failure code.

a)

Set Units

Definition: Used to change the Active Units. The Active Units are the units that the
scale displays weight in. Only currently enabled units are allowed.

Command:

‘stu’ ‘units’

Options:

l=lb, k=kg, g=g, o=oz, z=lboz, c=custom

Sample Command: "stu l \r"

b)

Change Units

Definition: Used to change to the next enabled unit. Simulates pressing of the units key.

Command:

‘U’

Options:

none

Sample Command: "U \r"

c)

Zero Weight

Definition: Used to zero the gross weight on the display. Simulates the pressing of
the zero key and is only performed if motion criteria and zero limits are met.

Command:

‘Z’

Options:

none

Sample Command: "Z \r"

d)

Get Weight

Definition: Used to get weight from scale configured as a “polled” output. GTN, TDI,
etc returned as configured.

Command:

‘W’

Options:

none

Sample Command: "W \r" or just plain "\r".

e)

Net mode

Definition: Used to switch scale to net mode

Command:

‘N’

Options:

none

Sample Command: "N \r"