D3648 Rev G Programing EZIII Visualc
D3648 Rev G Programing EZIII Visualc
Introduction:
Information can easily be transferred between a Digi-Star indicator and a computer using several different
devices. These devices include the Digi-Star Datakey, the Digi-Star Data Down Loader (DDL), Digi-Star
Datalink Radio Frequency(RF) Modem and direct connections to computers.
This document provides the necessary information to allow developers to directly transfer information
between their computer and a Digi-Star indicator using the "EZII Escape Computer Command Set" . This
Command Set is found on indicators with Serial Ports having a PROG ID of "EZ2 2.0" and higher.
The command set is powerful and allows the external computer to control most of the scale functions.
Commands are included to allow recipe batch and feeding information to be sent from the computer to the
EZ 3500, EZ 3600, EZ 4300 & EZ 4600 indicator and there are also commands that allow the data to be
collected after the feeding has been completed. Commands for transferring EID tag numbers and weight data
from the SW 550EID, SW 2600EID and SW 4600EID are also included.
Please note: Not all commands are available on all indicator models.
Please note: References to commands for the EZ 3500 also apply to the EZ3600, EZ4300 & EZ4600
indicator models. References to the SW550 EID also apply to the SW2600 EID indicator model. Some of
these references may also apply to the SW4600 EID indicator model.
Command Format:
In general terms, most of the new "EZII Escape Computer Command Set have the following format. Each
command starts with the Escape (<ESC> = hex value 1B) ASCII control code. This is followed by a
Digi-Star Command Character. Command characters will normally be UPPER case letters and will have
additional sub-command characters following them. The Digi-Star sub-command characters may be either
lower or "UPPER" case letters and may also have additional sub-command characters or numerical values
behind them. Most commands will end with the End Of Transmission (<EOT> = hex value 04) ASCII
control code. Examples of the "EZII Escape Computer Command Set" follow. Most of the original EZ
Computer Interface Commands have been included in the new format. To use the original EZ computer
commands, change the selection in the Long Form setting "Computer In Mode" (COM IN) from
"EZ2CMD" to "EZ CMD".
The indicator receives commands from a computer and stores them in a "command buffer" until it has time
to perform the commands. Once, the commands are performed, they are removed from the command buffer
to make room for more commands. If too many commands are sent to the indicator, the command buffer
may overflow. The "command buffer" can store over 200 serial characters at one time, but special care must
be taken to not overflow the buffer. Command responses will indicate when a command is complete.
Most of the new computer interface commands will indicate completion by sending a single byte response
out the Computer Port. The "Success Acknowledgment" is the "ACK" character (Hex value 0x06). The
"Fail Acknowledgment" is the "NAK" character (Hex value 0x15).
Communication Parameters:
Data is transmitted and received in the asynchronous ASCII format. This communication format is
compatible with other Digi-Star indicators, printers, terminals and computers. "Handshake lines" are not
used and XON/XOFF is not supported.
These parameters are not adjustable in the scale. Equipment interfacing to the scale must match this
configuration.
Pin J904 Connector Signals Pin J905 Connector Signals Pin Computer Signals
EZ 2000, EZ 3200, EZ 3500, EZ4300, SW550, SW600, SW2600
EZ2400 & EZ3400 EZ3600 & EZ4600 & SW4600
1 20ma Current Loop(+) 1 20ma Current Loop(+) 1 Jumpered to 4 & 6
2 Printer&Computer Data(Tx) 2 Com #1 Out (Tx)-DDL & Computer 2 Com #1 Out (Tx)-Computer
3 Computer Data (Rx) 3 Com #1 In (Rx) - DDL & Computer 3 Com #1 In (Rx) - Computer
4 Scoreboard Data (Tx) 4 Com #2 Out (Tx) - Printer 4 Jumpered to 1 & 6
5 Computer Gnd 5 +12 VDC 5 Gnd
6 Printer Gnd 6 Gnd - Available for any Com device 6 Jumpered to 1 & 4
7 Scoreboard Gnd 7 Com #2 In (Rx) 7 Jumpered to 8
8 20ma Current Loop(-) 8 20ma Current Loop(-) is GND 8 Jumpered to 7
9 No connection
Examples of the data formats printed by the indicator 'C' - Control Mode Sub-Commands (Pg. 40):
can be found on page 10 with the Gs - Status Command. C c - Enter Control Mode(E-enable,D-disable).1
C m - Displays messages during Control Mode.1
'M' - Memory Function Sub-Commands: C r - Change DataLink channel (1-7) and retry value
M C - Perform CM (Clear Memory). (0-9) in EZ.1
M M - Perform M+ (Memory Plus).
M R - Perform RM (Recall Memory). 'O' - Cab Control (CC) Sub-Commands (Pg. 42):
M A - Provide Average weight. O m - Display numbers and text on CC. 1
Oa - Display annunciators on CC.1
Ou - Activates alarms on CC. 1
<SUB> - Send Keys from CC.1
1
- More detailed information follows in document.
Format Example:
Zero/Balance command. (GB)
<ESC>GB<EOT>
<ESC>Sg2000<EOT>
The command string sent includes this information:
Start new command: <ESC>
Command identifier: Sg
Data to send: 2000
End of command: <EOT>
If the command is performed successfully, then the <ACK> (Hex value 0x06) character will be returned.
If the command fails, the <NAK> (Hex value 0x15) character will be returned.
When the weight displayed has moved more than "2 display counts" in less than "2 seconds".
The standard motion detection is selected whenever the indicator is first turned ON or the "Motion Weight
Adjustment Computer Command" sends a motion weight value of "0". Use this command to change the
motion weight value.
When the weight measured has moved more than the "Motion Weight Value" in less than "2
seconds".
This command includes the following information:
<ESC>Gc100<EOT>
would cause the indicator to use 100 as the "Motion Weight Value".
<ESC>Gc0<EOT>
would cause the indicator to use the standard motion detection.
GI & Gi - ID Commands:
This command allows up to a six character alpha-numeric ID Number to be uploaded over the Computer
Interface (Gi) or can simply cause the ID Number to be displayed on the indicator (GI). Please note that if
this command is used while a recipe is loaded, the ID Number is displayed as the ingredient or pen
information instead of the information stored in the feedline. The ID# will also appear on the printouts from
the indicator.
The "ID# Command" is used to display(GI) or change(Gi) the current ID Number. These commands include
the following information:
<ESC>GI<EOT>
would cause the current ID Number to appear on the indicators display.
Note: The character "$" will show up as a "l" (small character L ) on the
indicator display since the "$" character is a special used for Lock-On weigh
mode.
Note: Lower case characters will be printed as lower case characters however
they appear as UPPER case characters on the scale's display.
End of command: <EOT>
<ESC>GiCORN<EOT>
would appear as " CORN" on the indicators display.
The command string <ESC>Gi2H-31A<EOT> would appear as "2H-31A".
To clear the ID Number value, send the command string <ESC>Gi0<EOT>. Empty ID Numbers appear
as "------" on the indicators display.
The Message command can be used with the Keyboard Lock command to instruct the operator to "PRESS
THE PRINT KEY WHEN FINISHED". All keys will perform there proper function except the ON key.
Pressing the key will simply return the unit to weighing.
Start of Message: <STX> = start of the text = hex value 2 in the ASCII character set
Message: Must be 1 to 60 characters long. If the message is less than six characters the
value will appear on the right side of the display. Valid characters may not
be less than the Space " " (hex value 20) character and may not be greater
than the "z" (hex value 7A) character of the ASCII character set. Valid
characters are from 20 hexi-decimal to 7A hexi-decimal.
Note: The character "$" will show up as a "l" (small character L ) on the
indicator display since the "$" character is a special character used for
Lock-On weigh mode.
Note: Lower case characters will be printed as lower case characters however
they appear as UPPER case characters on the scale's display.
End of command: <EOT>
Message Command Response:
If the command is completed successfully, then the <ACK> (Hex value 0x06) character will be returned
after receiving the command AND AGAIN AFTER THE MESSAGE HAS FINISHED SCROLLING OR THE DISPLAY
TIME HAS ELAPSED . If the command fails, the <NAK> (Hex value 0x15) character will be returned.
The command string <ESC>Gm00<STX>LOAD CORN<EOT> will scroll the message "LOAD CORN"
until the operator pressed a key on the indicator.
The command string <ESC>Gm15<STX>LOAD WHEAT FROM BUNKER #1<EOT> scroll the
message "LOAD WHEAT FROM BUNKER #1" 15 times or until the operator pressed a key on the indicator.
The command string <ESC>Gu<STX>SERVICE LOANER<EOT> will scroll the message "SERVICE
LOANER" after HELLO is displayed on the indicator when the unit is first turned on.
This command is used to switch the indicator to display scale A, B, or C. This command includes the
following information:
<ESC>GAc<EOT>
the indicator will display the weight on Scale C and the <ACK> (Hex value 0x06) character will be returned.
If the command fails, the <NAK> (Hex value 0x15) character will be returned.
<ESC>GkL<EOT>
<ESC>Gk23<EOT>
Up to 20 keys can be enabled after the Lock command has been sent.
The Message command can be used with the Keyboard Lock command to instruct the operator to "PRESS
THE PRINT KEY WHEN FINISHED". All keys will perform there proper function except the ON key.
Pressing the key will simply return the unit to weighing.
Gs - Status Command:
This computer interface command works like the current Print Command (P), except this command does
not advance to the next ingredient if the scale is processing a recipe.
The "Status Command" is used to determine the current status of the scale. The Status Command can be
used to follow serial commands which do not have a command response. This identifies when the previous
command has been processed by the scale. There are certain circumstances when the scale cannot process
serial commands. Reviewing recipes, operating the timer, displaying messages, and while using the Short
or Long Form Setup & Calibration functions are some of the operations when the scale cannot process
Computer Interface Commands until that operation is completed.
The serial input buffer on the indicator can become full and an error #14 or #17 "Input Buffer Overflow
Error" can occur if too many serial commands are sent during these operations.
<ESC>Gs02<EOT>
Output Examples: Date & Time formats selected in the Long Form may change these examples.
No Name Description
01 " AUTO " Uses whatever print format (D.A.N. 216) is selected in the Long Form.
02 "WTONLY" Simple weight value. Must be selected for AGCO (Hesston, Hay & Forage).
- Includes weight, display unit, $' if unit is "locked-on", weight tag (GR, M+, etc...).
- Ends with a <CR>,<LF>, <CR>,<LF>.
Print example:
10
123456789012
" 0LB GR"
03 "DOWNLD" This format is compatible with the original Downloader. It duplicates the standard EZ
210 / EZ 150 print output. The print data is the same even while batching on an EZ3200.
It is not the same as the EZ 320 and therefore does not provide the exact same
information while batching. Use this selection when connected to a Downloader.
- Includes weight, display unit, $' if unit is "locked-on", weight tag (GR, M+, etc...)
date and time.
- Ends with a <CR>,<LF>.
Print example:
10 20 30
123456789012345678901234567890
" 0,LB, ,GR,13MR02,11:08"
05 "ID+TM " This comma delimted format includes ID, time but not date.
- Includes ID, weight, display unit, $' if unit is "locked-on", weight tag (GR, M+,
etc...) and time.
- Ends with a <CR>,<LF>.
Print example:
10 20 30
123456789012345678901234567890
" , 0,LB, ,GR,11:08"
06 "IDWTTM" This comma delimted format includes ID, time and date.
- Includes ID, weight, display unit, $' if unit is "locked-on", weight tag (GR, M+,
etc...), date and time.
- Ends with a <CR>,<LF>.
Print example:
10 20 30 40
1234567890123456789012345678901234567890
"FARM-1, 16090,LB, ,GR,27JA00,10:37P"
07 "ANIMAL" This comma delimted format includes information for animal weighing.
- Includes $' if unit is "locked-on",weight, weight tag (GR, M+, etc...), display unit,
Memory Weight (RM), Average Count (Number of times M+ key was pressed),
Average Weight, Gross weight on scale, ID, date and time.
- Ends with a <CR>,<LF>.
Print example:
10 20 30 40 50 60
12345678901234567890123456789012345678901234567890123456789012345
" , 1400,GR,LB, 2180, 4, 545, 1400, ,11:09,13MR02"
08 "3200-A" This comma delimted format includes information for batching weighing.
- Includes Preset, Weight, Gross Weight, ID, Ingred/Pen Name, Recipe#, Batch#, Total Rotation Count, time and date.
- Ends with a <CR>,<LF>.
Print example:
10 20 30 40 50 60 70
1234567890123456789012345678901234567890123456789012345678901234567890
" 1000, 0, 16100, ,CORN-1, 2, 2, , 9:35P,27JA00"
09 "3200-B" This comma delimted format includes more information for batching weighing.
- Includes Manual Advance indicator, Scale ID, Preset, Weight, weight tag (GR, M+, etc...), Gross Weight, display unit,
$' if unit is "locked-on", ID, Ingred/Pen Name, Recipe#, Batch#, Total Rotation Count, Time, Date and User ID.
- Ends with a <CR>,<LF>.
Print example:
10 20 30 40 50 60 70 80 90
123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123
"*,NEW EZ, 1000, 0,NE, 16090,LB, , ,CORN-1, 2, 3, , 9:36P,27JA00, "
10 "32-TMR" This print format is similar to the record format of the EZ 3500. (See "Feedline with Control codes & Check Sum:" for more
details)
- Starts with specific control codes for TMR Tracker.
- Includes Scale ID, Line Status, Line Type, Batch#, ID# or Ingred/Pen name, Recipe#, Preset, Weight, User ID, Time and
TMR Style Date.
- Ends with specific control codes for TMR Tracker.
11 "BATCH1" This comma delimted format includes more information for batching weighing.
- Includes Preset, Net Weight, Gross Weight, Ingred/Pen Name, Recipe, Batch#, Total Rotation Count, Time & Date.
- Ends with a <CR>,<LF>.
Print example:
1 2 3 4 5 6 7
1234567890123456789012345678901234567890123456789012345678901234567890
" 1500, 0, 280,ING001,REC626,2222, 187, 3:54P,03JL03"
12 "FDINFO" This comma delimted format includes batching feedline status information.
- Includes Feedlines Done, Feedlines Undone, Total Feedlines Loaded, Number of Additional Feedlines that can be Loaded
and the Maximum Number of Feedlines that can be loaded into this EZ3500.
- Ends with a <CR>,<LF>.
Print example:
1 2 3 4
1234567890123456789012345678901234567890
" 0, 5, 5, 763, 768"
Print example:
1 2 3 4
1234567890123456789012345678901234567890
" 280,LB,GR, 187,03JL03,12:41:03"
No Name Description
14 "EIDINF" This comma delimted format includes EID memory status information.
- Includes number Used EID lines, number of Un-used EID lines, and Maximum EID line capacity.
- Ends with a <CR>,<LF>.
Note: Currently only the StockWeigh indicators ( SW550 EID, SW2600 EID, and SW4600 EID ) support EID memory storage.
15 " EID " This comma delimited format includes EID information for animal weighing.
- Includes EID tag information, weight, display unit, '$' if weight is "locked-on", Net/Gross, date, time & checksum.
- Ends with a <CR>,<LF>.
- For more details on data field format see Send All EID Records Command response SW550 / SW2600 format.
Print example:
1 2 3 4 5 6 7
12345678901234567890123456789012345678901234567890123456789012345678901234
" EID Data (right justified), 1400,LB,$,GR,08/12/03,14:09,C"
^CheckSum
16 "EIDVID" This comma delimited format includes EIDVID information for animal weighing.
- Includes EID tag information, VID tag, group ID, Premise ID, weight, display unit, '$' if weight is "locked-on", Net/Gross,
Date, Time, Code, Average Daily Weight Gain, Note field (Quick Data) & checksum.
- Ends with a <CR>,<LF>.
- For more details on data field format see Send All EID Records Command response SW4600 format.
Print example:
10 20 30 40 50 60 70 80 90 100 110 120
1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234
A 00000 0 982 000014722726,VIDOOO1,GROUP01,PIN0001, 238,LB,$,GR,03/11/08,09:50,COD, 0.00,NOTE FIELD ,C
Checksum^
Print example:
10 20 30 40
123456789012345678901234567890123456789012
"FIELD1, 4856,GR, 274575,PA,05FE08, 1:44P"
18 PRTAC2" This comma delimited format includes Print Accumulation information, but prints two lines.
- Includes Scale ID, date and time on line 1.
- Includes weight, weight tag (GR, M+, etc...), Print Accumulated weight and Print Accumulator tag (PA).
- Each line ends with a <CR>,<LF>.
Print example:
10 20
1234567890123456789012
"FIELD2,05FE08, 1:44P
4856,GR, 274575,PA"
Print example:
10 20 30 40
123456789012345678901234567890123456789012345678
"FIELD3, 5977,LB, ,GR, 309719,PA,05FE08, 4:42P"
20 "FEED-1" This three line format prints on a 40 column printer and includes batching information.
- Includes User ID, Time, Date, Feeding Number, Feed Zone, Recipe, Mix Counter / Timer, Ingredient / Pen, Preset Amount,
Actual Loaded/Fed Amount (Absolute value) & weight tag. The Time & Date formats can be selected in Menu 2 of the
Long Form.
- Each line ends with a <CR>,<LF>.
Print example:
10 20 30 40
1234567890123456789012345678901234567890
ID: 1 4:59P 3/10/2008
FD:1 ZN:0 REC:COWS CTR:006
ING:CORNSL PRE: 1600 ACT: 1610 NE
Print example:
10 20 30 40 50 60 70
12345678901234567890123456789012345678901234567890123456789012345678901
"TRUCK1, 4856,GR, 274575,PA,05FE08, 1:44P,NOTE FIELD "
22 PRTAC5" This comma delimited format includes Print Accumulation information in a three line format.
- Includes ID, date and time on line 1.
- Includes weight, weight tag (GR, M+, etc...), Print Accumulated weight and Print Accumulator tag (PA).
- Field information.
- Each line ends with a <CR>,<LF>.
Print example:
10 20 30
1234567890123456789012345678901
"TRUCK1,05FE08, 1:44P
4856,GR, 274575,PA"
NOTE FIELD "
Print example:
10 20 30 40 50 60 70
123456789012345678901234567890123456789012345678901234567890123456789012345
"FIELD3, 5977,LB, ,GR, 309719,PA,05FE08, 4:42P,NOTE FIELD "
24 "BUFINF" This comma delimted format includes Print Buffer memory status information.
- Includes number Bytes Stored, number of Available Bytes and Total Storage capacity.
- Ends with a <CR>,<LF>.
25 "NUTRNT" This format includes Nutrient and GPS information in a six line format.
- Includes Spread Width, Set Spread Rate, Latitude, Latitude Hemisphere, Unload Time, Longitude, Longitude Hemisphere,
ID, date, time, Weight amount unloaded, Total amount unloaded on that Field & Field description.
- Each line ends with a <CR>,<LF>.
26 "SCLABC" This comma delimited format provides weight information for indicators with multiple scale (A, B, or C) platforms.
- Includes Selected Scale(>), weight displayed, display unit & weight tag (GR, M+, etc...) for each scale.
- Ends with a <CR>,<LF>.
The weight tag changes from (NE,GR, or LU) to (NC,GC,or LC) when the indicator is performing internal temperature
26 "SCLABC" (Continued)
calibrations ( which can take up to three seconds ). The weight sent at this time is the same weight prior to internal temperature
calibrations. This occurs every 20 minutes but is done several times during the first 20 minutes after power up.
Print example: Scales A & B with scale B selected at the indicator. Both scales are being calibrated.
1 2 3
123456789012345678901234567890
" 280LB GC,> 11300LB NC"
The weight will appear as " 999999" with the ES weight tag when the operator is in the Short or Long Form Menus.
Print example: Scales A & B with scale B selected at the indicator. The B scale is in setup.
1 2 3
123456789012345678901234567890
" 280LB GR,> 999999LB ES"
The weight will appear as " 999999" with the ER weight tag when weighing errors (+/- RANGE,CHK AD,OVERCAP etc..)
are detected by the scale.
Print example: Scales A & B with scale A selected at the indicator. The B scale has an error.
1 2 3
123456789012345678901234567890
"> 280LB GR, 999999LB ER"
Recipe Commands:
Recipes for the EZ 3500, EZ 3600, EZ 4300 & EZ 4600 PC Batching Indicators:
Recipe batch and feeding information can easily be transferred between the Digi-Star EZ 3500 PC Batching
indicators and a computer. The following commands provide the necessary information to allow developers
to interface their software directly to the Computer port on the EZ 3500/V. Thereby creating recipe batch
and feeding information for the operator and also collecting the data after the feeding has been completed.
These are the steps necessary to send recipe information to the EZ 3500:
2. Send the "Data Field Format " command to insure that the EZ 3500 will recognize the data fields
correctly. This only needs to be done one time. This information is stored permanently in the scale
and should not need to be sent again.
3. Use the "Upload Feedline" command to send feedline information to the EZ 3500.
4. The EZ 3500 will automatically return the completed feedline information to the computer when the
operator presses the Ingredient or Print key to advance through the recipe.
The "Media Storage" {MSTORE -#447} selection must be set to "AUTO" in the Long Form Setup to
automatically send out the completed data. If "Media Storage" is set to "Manual" or "QStart", the "Dump
All Recipes" command must be used to retrieve the completed feedline information.
The EZ 3500 can store 768 feedlines lines. The #12 Status Command (Gs12) can be used to determine how
many lines have been used.
This Data Field Format command tells the EZ 3500 the column location and length of each data field. This is done by placing a "single letter data
field identifier" (ex. U- identifies the "Done/Undone" field) at the same column location as the data it represents. If the field uses more than one
location, place a one OR two digit "field length" value immediately after the "single letter data field identifier"(ex. N6 - represents a Truck Number
that is 6 digits long).
Below is the "Data Field Format" text string (the "quotes" are not part of the string). For clarity, the leading & trailing "Control Codes" are not
shown. Complete Feedline with Control codes & Check Sum information follows.
"N6 U G T B4 L6 R6 P6 A6 I8 C5 F D8 H6 E6 Z M6 W6 m3 t3 "
The complete "Data Field Format" command is shown again with the control codes added to help indicate the data field column and length details.
0 10 20 30 40 50 60 70 80 90 100 110
1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678
*Rf^N6 U G T B4 L6 R6 P6 A6 I8 C5 F D8 H6 E6 Z M6 W6 m3 t3 *@C*
| | ||||
| | |||<EOT>
| <STX> ||Ck Sum
<ESC> |<ETX>
<CR>
Each Data Field Format "Identifier" and "length" value is explained below.
Data Field Format "Identifier" and "Length" value Details:
Below is an example feedline (the "quotes" are not part of the string). The leading and trailing "Control Codes" are shown as '*'. See "Feedline
with Control codes & Check Sum:" for more details.
"*Rd*000001,U,I,T,1001,CORN ,HICOW , 2500, , 7350 , , , , 250, , , , , 0, 0**CK*"
The complete Upload Feedline command is shown again with the control codes added to help indicate the data field column and length details.
0 10 20 30 40 50 60 70 80 90 100 110
1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678
*Rd^000001,U,I,T,1001,CORN ,HICOW , 2500, , 7350 , ,0, , 250, ,1, 5, , 0, 0*@C*
| | ||||
| | |||<EOT>
| <STX> |||CkSum
<ESC> ||<ETX>
|<CR>
The auto-advance circuitry of the recipe function activates the "delay time" counter while the weight is in the
"tolerance window". The alarms sound continuous at this time and the preset is considered active. This allows
the operator to slightly "under or over shoot" an ingredient / pen amount and still automatically advance to the
next ingredient / pen. The auto-advance circuitry resets the "delay time" counter every time the weight moves
out of the tolerance window. If enabled, "motion detection" also resets the "delay time" counter.
If the tolerance for that ingredient is exceeded, the message " OVER " is displayed alternately with the weight
value. During this time the scale WILL NOT auto-advance IF "Tolerance Auto-Advance Lock{OVERLK}"
is ON. This allows the operator the opportunity to remove the excess weight. If the additional weight for the
ingredient is acceptable, press either [PRINT] or [INGR.#] to advance to the next ingredient.
Changing "Tolerance Auto-Advance Lock{OVERLK}" to OFF or setting tolerance to " OFF" allows the scale
to always auto-advance after the ingredient amount has been loaded regardless of additional weight.
The tolerance selected in the Long Form Setup is used whenever the feedline tolerance value is set to 0. The
"Tolerance Weight Value" has a range from 000(OFF) to 999 lbs/kgs.The weight value is either lb or kg
depending on setting for Display Units in Long Form Setup.
This is different than the standard motion detection which activates when the weight displayed has moved more
than "2 display counts" in less than "2 seconds". The standard motion detection is selected whenever the
indicator is first turned ON or the "Motion Weight" value is set to "0". The "Motion Weight Value" has a range
from 000(OFF) to 999. The weight value is either lb or kg depending on setting for Display Units in Long Form
Setup.
The motion detection is a feature that can be turned ON or OFF in the Long Form Setup.
Example #1. Sample Data Fields of unused feedlines for the EZ 3500:
(Control codes not shown-see "Feedline with Control codes & Check Sum:" for more details)
000001,U,I,T,1001,CORN ,HICOW , 2500, , 7350 , , , , 250, ,1, , , 0, 0
000001,U,I,T,1001,MILLMX,HICOW , 1200, , 7350 , , , , 250, ,1, , , 0, 0
000001,U,I,T,1001,GHAY ,HICOW , 2000, , 7350 , , , , 250, ,1, , , 0, 0
000001,U,I,T,1001,HIMIN ,HICOW , 200, , 7350 , , , , 250, ,1, , , 0, 0
000001,U,P, ,1001,101 ,HICOW , 3000, , 7350 , , , , 127, ,1, , , 0, 0
000001,U,P, ,1001,103 ,HICOW , 2900, , 7350 , , , , 123, ,1, , , 0, 0
Several areas are left blank. These fields will be filled in by the EZ 3500 as the operator loads or unloads the mixer (see example #2).
When the "Erase All Recipes / Batches Command" string is sent to the indicator
<ESC>Re-99999<EOT>
and the "Erase All Recipe / Batches Command" is completed successfully, then the <ACK> (Hex value 0x06)
character will be returned. If the command fails, the <NAK> (Hex value 0x15) character will be returned.
When the "Send All Recipes Command" string is sent to the indicator
<ESC>Rp-99999<EOT>
and the "Send All Recipe Command" is completed successfully, then the <ACK> (Hex value 0x06) character
will be returned. If the command fails, the <NAK> (Hex value 0x15) character will be returned.
Note: Only D.A.N. #213 and 103 are supported at this time.
<ESC>D213, 002,07<EOT>
would cause the indicator to start sending the "Continuous Computer Status Data Output" shown in the next
section.
<ESC>D213, 002,00<EOT>
would cause the indicator to STOP sending the "Continuous Computer Status Data Output".
Data format examples are found in the section titled Continuous Computer Status Data Output.
This feature causes the indicator to continuously send data . The data format and the frequency it is sent is
determined by the Scoreboard Mode (SCOREM D.A.N. 213) setting. No data is transmitted when SCOREM is
set to 0'. Settings 1-6 transmit data out both the Scoreboard RS-232 and 20mA ports on the J904 connector.
Other settings (7, 8, 10 - 13, 21 - 26, etc...) may only transmit data out the computer port (pin 2 of both J904
& J905). The Check Sum calculation used for some of these data strings is found at the end of this section.
SCOREM No Description
0 No data is transmitted .
1, 21 Transmit weight displayed 1 time per second.
& 31* - Starts with < STX> (Start of TeXt - Dec. 2).
- Six digit displayed weight value (may include a decimal). Some digits may provide
additional information as follows:
<STX>ABBBCD<CR>
A = either a minus sign, SPACE, number, or a dollar($). The dollar($) appears when
the "Lock On" weigh method and has "locked onto" a weight value.
B = a number or a SPACE.
C = a number, SPACE, or a ' -' minus sign indicating a TR command is active.
D = a number or a ' -' minus sign indicating that motion is active.
- Ends with a <CR> (Carriage Return- Dec. 13).
Output examples: (Note: Data sent will start with a <STX> and end with <CR>).
123456 <- Number of characters.
" 1530" - Normal weight value.
"- 1530" - Negative weight value.
"$ 1530" - Locked On animal weight value.
" 15-0" - Normal weight value also showing that the TR is being used.
" 153-" - Normal weight value also showing motion is active.
" 142.5" - Normal decimal weight value.
"- 142.5" - Negative decimal weight value.
"$ 142.5" - Locked On animal decimal weight value.
" 14-.5" - Normal weight decimal value also showing that the TR is being used.
" 142-5" - Normal weight decimal value also showing motion is active.
* 31-36 use the same data format as setting 1 except they support data for each scale platform,
start "left to right" with Scale A, Scale B & Scale C.
Output example: (Note: Data sent will start with a <STX> and end with <CR>).
1530, 1140, 2000" - Normal weight values for Scales A, B & C.
2, 22 Transmit weight displayed 2 times per second.
& 32 - Same data format as setting 1.
4, 24 Transmit weight displayed 10 times per second (must use 9600 BAUD rate).
& 34 - Same data format as setting 1.
5, 25 Transmit weight displayed using the Display Rate setting (D RATE D.A.N. 102).
& 35 - Same data format as setting 1.
7 Transmit comma delimited data which includes the basic weighing information 1 time per second.
- Includes Gross Weight, display unit, weight tag (GR, M+, etc...), Total Rotation Count, Date
& Time with seconds.
- Ends with a <CR>,<LF>. (Carriage Return- Dec. 13, Line Feed-Dec. 10).
Output example:
1 2 3 4
1234567890123456789012345678901234567890
" 280,LB,GR, 187,03JL03, 3:41:21"
8 Transmit comma delimited data which includes the basic weighing information once every 5
seconds.
- Same data format as setting 7.
9 Selection #9 is reserved.
10 Transmit comma delimited data which includes the EID Tag Reader information once every 2
seconds.
- Includes Gross Weight, display unit, weight tag (GR, M+, etc...), Date & Time.
- Ends with a <CR>,<LF>. (Carriage Return- Dec. 13, Line Feed-Dec. 10).
- For more details on data field format see Send All EID Records Command response
sw550/sw2600 format.
Output example:
1 2 3 4 5 6
123456789012345678901234567890123456789012345678901234567890123456789
" EID Data (right justified), 1400,LB,$,GR,08/12/03,14:09,C"
Checksum^
The Check Sum calculation is found at the end of this section.
11 Transmit comma delimited data which includes the "serial gross weight" 2 times per second.
See service Bulletin #31 for additional information about the Serial Gross Weight.
The serial gross weight data will be sent at 9600 Baud, 1 start bit, 7 data bits, 1 EVEN parity
bit and 1 stop bit on pin 2 (COM #1 Tx line) of a J904 or J905 Serial / Printer connector.
Please Note: This setting may not be available if a radio is installed in the indicator for
communications to a Cab Control or Datalink system.
- Starts with < STX> (Start of TeXt - Dec. 2).
- Six digit Serial Gross Weight whole number value (ie.1000 not 100.0).
- "LB" or "KG" unit of measure.
- Space character.
- "SG" to identify Serial Gross weight.
- The <ETX> (End of TeXt - Dec. 3) control character.
- Checksum Character (C) value that includes all bytes starting after the <STX> up through,
but not including the <ETX>. The Check Sum calculation is found at the end of this
section.
- Ends with a <CR> (Carriage Return- Dec. 13).
12 Transmit comma delimited data which includes the "displayed gross weight" 10 times per
second.
- Same data format as setting 11.
13 Transmit comma delimited data which includes the EID and VID Tag information once every
2 seconds.
- Includes EID tag information, vid tag, group id, premise id, weight, display unit, '$' if
weight is "locked-on", Net/Gross, date, time, code, average daily weight gain, note, &
checksum.
- Ends with a <CR>,<LF>.
- For more details on data field format see send all eid records command SW4600 format.
Single line output example is shown split into two lines:
1 2 3 4 5 6
12345678901234567890123456789012345678901234567890123456789012
A 00000 0 982 000014722726,VIDOOO1,GROUP01,PIN0001, 238,
7 8 9 10 11 12
345678901234567890123456789012345678901234567890123456789012345678
LB,$,GR, 03/11/08,09:50,COD, 0.00,NOTE FIELD ,C
Checksum^
37 Transmit comma delimited data 1 time every 5 seconds which includes the basic weighing
information for each scale platform, starting "left-to-right" with Scale A, Scale B & Scale C.
- Starts with < STX> (Start of TeXt - Dec. 2).
- Includes Weight displayed, display unit & weight tag (GR, M+, etc...) for each scale.
- The <ETX> (End of TeXt - Dec. 3) control character.
- Checksum Character (C) value that includes all bytes starting after the <STX> up through,
but not including the <ETX> .
- Ends with a <CR> (Carriage Return- Dec. 13).
The Check Sum calculation is found at the end of this section.
Output example: Scales A, B & C with scale A selected at the indicator.
^ = STX. @ = ETX. C = Checksum. ~ = CR
1 2 3 4 5
12345678901234567890123456789012345678901234567890
"^> 280LB GR, 11300LB NE, 32.40LB LU@C~"
37 (Continued)
Output example: Scales A & B with scale B selected at the indicator.
1 2 3 4 5
12345678901234567890123456789012345678901234567890
"^ 280LB GR,> 11300LB NE@C~"
The weight tag changes from (NE,GR, or LU) to (NC,GC,or LC) when the indicator is
performing internal temperature calibrations ( which can take up to three seconds ). The weight
sent at this time is the same weight prior to internal temperature calibrations. This occurs every
20 minutes but is done several times during the first 20 minutes after power up.
Output example: Scales A & B with scale B selected at the indicator. Both scales are being
calibrated.
1 2 3 4 5
12345678901234567890123456789012345678901234567890
"^ 280LB GC,> 11300LB NC@C~"
The weight will appear as " 999999" with the ES weight tag when the operator is in the Short
or Long Form Menus.
Output example: Scales A & B with scale B selected at the indicator. The B scale is in setup.
1 2 3 4 5
12345678901234567890123456789012345678901234567890
"^ 280LB GR,> 999999LB ES@C~"
The weight will appear as " 999999" with the ER weight tag when weighing errors (+/-
RANGE,CHK AD,OVERCAP etc..) are detected by the scale.
Output example: Scales A & B with scale B selected at the indicator. The B scale has an error.
1 2 3 4 5
12345678901234567890123456789012345678901234567890
"^ 280LB GR,> 999999LB ER@C~"
38 Transmit comma delimited data which includes the basic weighing information for each scale
platform one time per second.
- Same data format as setting 37.
39 Transmit comma delimited data which includes the basic weighing information for each scale
platform ten times per second.
- Same data format as setting 37.
CheckSum Calculation
1. XOR the bits of each character in the data string.
2. AND the result with decimal 63 (Hex 3F) to keep the lower 6 bits.
3. OR the results with 64 (Hex 40) to make it a printable character.
The response from the SW4600 EID indicator will be as follows for each EID record line:
(The single line output is shown on two lines).
<RS>EEEEEEEEEEEEEEEEEEEEEEEEEEEEE,vvvvvvv,rrrrrrr,ppppppp,wwwwwww,kk,$,gg,
mm/dd/yy,hh:mm,ccc,aaaaaaa,nnnnnnnnnnnnnnnnnnnnnnnnnn,C<CR><LF>
<RS> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . = 'Right Shift' [1E] hex or [30] decimal
EEEEEEEEEEEEEEEEEEEEEEEEEEEEE . . . = EID tag (29 alphanumeric characters)
vvvvvvv . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . = VID tag (7 alphanumeric characters)
rrrrrrr . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . = Group ID (7 alphanumeric characters)
ppppppp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . = Premises ID (7 alphanumeric characters)
wwwwwww . . . . . . . . . . . . . . . . . . . . . . . . . . . . = Weight (7 numeric characters)
kk . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . = 'LB' for pounds 'KG' for kilograms
$ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . = $ character or a space character. The $ character
indicates the indicator is setup for the "Lock
On" weigh method and has "locked onto" a
weight value.
gg . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . = 'GR' for Gross or 'NT' for Net
mm/dd/yy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . = Date
hh:mm . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . = Time 24 hour format
ccc . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . = Code (3 alphanumeric characters)
aaaaaa . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . = Average Daily Weight Gain (6 numeric
characters. Example: 123.45, -12.34, 2.45)
nnnnnnnnnnnnnnnnnnnnnnnnnn . . . . . . . . . . . . = Note (26 alphanumeric characters)
C . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . = CheckSum character (See Checksum calculation
description located below)
<CR> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . = 'Carriage Return' [0D] hex or [13] decimal
<LF> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . = 'Line Feed' [0A] hex or [10] decimal
After the last EID record line is sent from the indicator, it will be followed by an <ACK> character,
('Acknowledge' [06] hex or [06] decimal).
CheckSum Calculation
1. XOR bits of each character in the message starting with the <RS> character and ending with the
comma after the Note field.
2. AND the result with decimal 63 (Hex 3F) to keep the lower 6 bits.
3. OR the results with 64 (Hex 40) to make it a printable character.
Command Response:
If the command is completed successfully, then the <ACK> (Hex value 0x06) character will be returned
after receiving the command. If the command fails, the <NAK> (Hex value 0x15) character will be returned.
Command Examples:
The following command string:
<ESC>Ea10<STX>LOADS THIS DATA INTO SCALE<ETX>checksum<EOT>
would load the text data "LOADS THIS DATA INTO SCALE" into the "DATA10" field on the
"DATA" screen of the SW4600 eid indicator.
The response from the indicator will be as follows for EACH of the twenty data fields:
DDDDDDDDDDDDDDDDDDDDDDDDDD,C<CR><LF>
DDD = EID "DATA" field information (26 characters)
C = CheckSum character (See Checksum calculation description located below)
<CR> = 'Carriage Return' . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Dec 13 Hex 0D
<LF> = 'Line Feed' . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Dec 10 Hex 0A
After the last EID Data Field is sent from the indicator, it will be followed by an <ACK> character,
('Acknowledge' [06] hex or [06] decimal).
CheckSum Calculation
1. XOR bits of each character in the Data Field ( DDDDDDDDDDDDDDDDDDDDDDDDDD ) 26
characters only not the comma
2. AND the result with decimal 63 (Hex 3F) to keep the lower 6 bits.
3. OR the results with 64 (Hex 40) to make it a printable character.
Motion
^ TEST ^ CAL ^
111111 222222 333333 444444 555555 666666 > Print
1 1 2 2 3 3 4 4 5 5 6 6
111111 222222 : 333333 444444 : 555555 666666 > ID
1 1 2 2 3 3 4 4 5 5 6 6
111111 222222 333333 . 444444 . 555555 . 666666 >
v v v lb kg v
To turn on an annunciator, such as lb below digit 5, first find the Annunciator code for lb (Hex value
0x002000) from the table below, then "logically" AND this with Hex value 0x404040 to make Hex value
0x406040. This converts it into a three byte ASCII value "@`@" that can be sent to the Cab Control. To have
the lb annunciator stay on continuously, send "<ESC>Oa@`@@`@<EOT>". To have lb oscillate, send
"<ESC>Oa@`@@@@<EOT>".
Three (3) Byte Data Format for Remote annunciators (Codes are shown as Hex values):
Remote Annunciator Command Response: No response is sent from the Cab Control.
Remote Annunciator Command Example:
The following command string <ESC>Oa@`@@`@<EOT> would cause the Cab Controls lb
annunciator to be displayed continuously.
Remote Alarm Command Response: No response is sent from the Cab Control.
Remote Alarm Command Example:
The following command string <ESC>OuE6<EOT> would cause all of the Cab Controls alarms (Relay-
not installed, Lamp and Horn) to activate continuously.
The following command string <ESC>Ou06<EOT> would cause all of the Cab Controls alarms (Relay-
not installed, Lamp and Horn) to turn off.