MX08 Multichannel Weighing System, Technical Manual, Rev. 2.5 Page 33 of 144
W
Set/Reset digital outputs
Command :
[ADR][W][Outputs]
Response :
[ADR][W][A]
Example
:
Command
: 12W4296
Response
: 12WA
(Outputs 15,10,8,5,3,2 are activated)
12WN
(Outputs could not be activated)
Comments :
Data length change according to number of digital outputs.
Outputs are implemented to ASCII char of 4-bit. ‘1111’ outputs are implemented to char
‘F’.
Z
Zero
Command :
[ADR][Z]
Response :
[ADR][Z][A] (Zeroed)
[ADR][Z][N] (Zeroing could not be operated)
[ADR][Z][X] (Zeroing is disabled)
Comments :
Zero command can not work in net weighing.
Weight or Count must be in zeroing range for all operating modes.
Status must be stable in 2 seconds time out delay. If so, Ack is send.
If it can not be stable in time out delay, Nack is send.
CHK is transmitted as two ASCII characters calculated with the Checksum formulation.
Checksum = 0 – (SUM of all response data before CHK)
Example:
Read stable current weight data.
BSI Examples: (CHK is enabled and instrument address is 01)
Command: 12P[CHK][CR][LF]
C
hecksum = 0 − (0x31 + 0x32 + 0x50) = 0 − 0xB3 = 0x4D
CHK = Char ‘4’ and ‘D’
Response: 12PS+000123.4[CHK][CR][LF]
Checksum = 0 − (0x31 + 0x32 + 0x50 + 0x53 + 0x2B + 0x30 + 0x30 + 0x30 + 0x31+ 0x32
+ 0x33 + 0x2E + 0x34) = 0 − 0xB9 = 0x47.
CHK = Char ‘4’ and Char ‘7’
OUTPUTS
O
UT
-16
O
UT
-15
O
UT
-14
O
UT
-13
O
UT
-12
O
UT
-11
O
UT
-10
O
UT
-9
O
UT
-8
O
UT
-7
O
UT
-6
O
UT
-5
O
UT
-4
O
UT
-3
O
UT
-2
O
UT
-1
Bit wise
0
1
0
0
0
0
1
0
1
0
0
1
0
1
1
0
ASCII
4
2
9
6