1640 in 025 A 05
1640 in 025 A 05
1640 in 025 A 05
InstructionProtocol
Manual
Table of Contents
Contents
1. Introduction ............................................................................................... 3
1.1 Multi-Chassis Addressing .............................................................. 3
2. MACO Serial Communication Setup ......................................................... 3
2.1 COMM Setpoints ........................................................................... 4
2.2 Baud Rate Setpoints ..................................................................... 4
2.3 Port Control Relay Status ............................................................. 5
3. RS-232 Host Communications .................................................................. 5
3.1 Hardware Requirements ............................................................... 5
3.2 Control Relays ............................................................................... 5
3.2.1 Inhibit Remote Access (CR 649) ........................................... 5
3.2.2 Enable Remote Setpoint Change (CR 650) ........................... 5
3.2.3 Enable Remote CR Change (CR 651) ................................... 5
3.3 Wiring ............................................................................................ 5
3.4 Establishing Data Acquisition ........................................................ 7
3.5 Request Data Commands ............................................................. 7
3.6 Error Reply to Request Data Command ....................................... 8
3.7 Reply to Valid Request Data Command ....................................... 9
3.8 Send Data Commands ................................................................ 11
3.9 MACO Error Reply to Send Data Command ............................... 13
3.10 Reply to Valid Send Data Command .......................................... 13
3.11 Changing to the File Transfer Mode ........................................... 14
3.12 Insertion of <DLE> ...................................................................... 14
3.13 Determining Error Code Definitions ............................................ 14
3.13.1 Error Code Definitions ......................................................... 15
4. RS-485 Host Communications ................................................................ 25
4.1 Hardware Requirements ............................................................. 25
4.1.1 Editor Requirements ............................................................ 25
4.1.2 Switch Definitions ................................................................ 26
4.1.2.1 Switches 1 - 6 Node Address (UID) ................................ 26
4.1.2.2 Switch 7 Save Configuration ........................................... 26
4.1.2.3 Switch 8 Data Update ..................................................... 27
4.1.3 Communication Board Location ........................................... 27
4.2 General Setup Procedure ........................................................... 27
4.2.1 Control Relays ..................................................................... 27
4.3 Wiring .......................................................................................... 28
4.4 Module Setpoints ............................................................................. 28
4.4.1 Baud Rate Setpoint .............................................................. 28
4.4.2 COMMODE Setpoint ........................................................... 28
4.4.3 Clear Data Valid Timer ........................................................ 28
4.5 Module Values ............................................................................ 28
4.5.1 Block Value 1 - Block Value 10 ............................................ 28
4.5.2 Number of Setpoints ............................................................ 28
4.5.3 Number of Values ................................................................ 29
4.5.4 Switch Value ........................................................................ 29
4.6 Module Control Relays ................................................................ 29
4.6.1 Trigger Control Relay (CR 3753) ........................................ 29
4.6.2 HOST Control Relay (CR 3754) .......................................... 29
4.6.3 Data valid Control Relay (CR 3765) .................................... 29
Figures
Figure 1. Serial Communications Setup Screen .......................................... 4
Figure 2. RS-232 Host Communication Module ........................................... 5
Figure 3. Standard Serial Cables ................................................................ 6
Figure 4. RS-485 Host Communication Module ......................................... 25
Figure 5. Wire Multiple MACO's ................................................................. 27
Tables
Table 1. File Types .................................................................................... 45
Table 2. Host System Commands ............................................................ 53
Table 3. ASCII to Hex to Decimal Conversions ........................................ 56
Almost all control relays repeat in a multi-chassis system. The few exceptions
relate to recipes, some SPC items (data handler modfile), print CRs, switch LED
CRs (sequence modfile), status CRs from the display processor, data handler, RS-
232 host communications, and RS-485 host communications modfiles. Refer to
the control relay tables for a complete list of control relays.
Note: When counting boards in multi-chassis systems (for switch settings, RLD/
screen programming) count each control rack separately. For example, if a multi-
chassis system consists of two control racks, each with two temperature boards,
EACH controller would have a Temperature Board #1 and a Temperature Board
#2. The same numbering scheme holds true for all types of boards (including Input
and Output boards).
Note: Currently the host communications can only communicate with Controller
#1 (the primary chassis).
Examine the communications motherboard and determine the type and location
Note: Only ONE of EACH DEVICE is allowed (i.e., two RS-232 printers or two RS-
232 PCs, etc. are not allowed).
0 = 9600 3 = 1200
1 = 4800 4 = 19200
2 = 2400
If the baud rate setpoint is not programmed on a screen it defaults to 9600 baud.
3.3 Wiring
The standard cables shown in Figure 3 are available in 10 to 50 foot lengths.
U10 T1
9 Pin Male
Connector
RS-232 COMMUNICATIONS
<DLE><ENQ>
<DLE><SOH><DLE><STX>
<BC><ST><PB><AD><FN><TYU><TYL><CK>
where:
<BC> Byte Count (from <BC> thru <TYL>) (always 07H for a Request Data)
<AD> Function Address - Each controller of a multi-chassis system has its own
set of system addresses, where 1, 2, 3, and 4 identify the Controller
chassis in which the function board is located.
The "X" indicates the board number of a function (i.e., the first tempera-
ture board of a primary system would be 11H; the second board would
be 12H; the first board in the Controller #2 would be 21H).
Note: Currently the RS-232 can only communicate with the Controller #1
chassis (primary).
01H Sequence
02H Temperature
03H Hydraulic
04H Parison
05H Accel/Decel
30H RS-232 Communications
38H RS-485 SPI Communications
3AH RS-485 Host Communications
40H Data Handler
0XH is a Value
1XH is a Setpoint
2XH is a Control Relay
4XH is an ASCII String
5XH is a Module Alterable Setpoint
6XH Is a System Command
The Type Upper Byte corresponds to the two left-most digits of "ty"
and is in hexadecimal. <TYU> together with <TYL> form the entry.
<TYL> Type, Lower - The Type Lower Byte completes the identification of
specific Values, Setpoints, CRs or ASCII Strings (corresponds to the
two right-most digits of "ty"). This entry is in hexadecimal. <TYU>
together with <TYL> form the entry.
<CK> Checksum Byte - The bytes from <BC> through <TYL> are added
together and their 2's complement is taken. The sum of all the data plus
the checksum should be zero.
<UID><BC><ST><PB><01><EC><CK>
where:
<UID> Unit ID - Unit address of MACO system (always 01H for RS-232
communications).
<BC> Byte Count (from <BC> through <EC>) (always 05H for an error reply
to Request Data).
<ST> Status Byte (always XXH (don't care) for error reply).
<CK> Checksum Byte - The bytes from <UID> through <EC> are added
together and their 2's complement is taken. The sum of all the data plus
the checksum should be zero.
<UID><BC><ST><PB><DAT1><DAT2>...<DATX><CK>
where:
<UID> Unit ID - Unit address of MACO system (always 01H for RS-232
communications).
<ST> Status Byte (always XXH (don't care) for a reply to Request Data).
<PB> Primary Control Byte (dependent on byte count - see 3.15 Primary
Control Byte definition.
The contents of the data bytes depend on whether the data requested is a setpoint,
value, control relay or ASCII string:
Note: In some setpoints and values the number of decimal places can be changed
using the OptiGrafix Screen Editor Program. The proper decimal place (dec) must
be verified from the screens installed in the control system.
Setpoints
<DAT1> is the Least Significant Byte
<DAT2> is the Most Significant Byte
Values
<DAT1> is the Least Significant Byte.
<DAT2> is the Most Significant Byte.
<DAT1> Each of the 8 bits of <DAT1> represents the status of a single CR.
<DAT2> Each of the 8 bits of <DAT2> represents the status of a single CR.
The group of 8 CRs represented in <DAT1> is determined by <TYL> of the Request
Data Command.
The "X" digit of <TYU> completes the determination of a single CR. "X" can be any
number from zero to seven and corresponds to the bit number in <DAT1>.
For example, suppose the operator wishes to read the Retune Zone 2 CR (of
Temperature). <TYU> and <TYL> of the request would be used to identify that
particular control relay (2100H).
The MACO responds with the status of eight control relays (from 2000 to 2700)
in <DAT1>.
<DAT2> will contain the status of eight more control relays (from 2001 to 2701).
<DAT2> is determined by <TYL> plus 1. (If <DAT1> represents the last eight
control relays of a function, then <DAT2> will be set to zero.
Selector Switches are a special case of control relays. Each nibble of the two data
bytes represents the status of a selector switch.
If the entire nibble is set to zero (all 4 bits), the selector switch is in Position Zero
(turned OFF).
<BC><ST><PB><AD><FN><TYU><TYL><DAT1><DAT2><CK>
where:
<BC> Byte Count. The number of bytes sent from the Host (from <BC>
through <DAT2> inclusive).
The "X" indicates the board number of a function (i.e., the first tempera-
ture board of a primary system would be 11H; the second board would
be 12H; the first board in the Controller #2 would be 21H).
Note: Currently the RS-232 can only communicate with the Controller #1
chassis (Primary).
01H Sequence
02H Temperature
03H Hydraulic
04H Parison
05H Accel/Decel
30H RS-232 Communications
38H RS-485 SPI Communications
3AH RS-485 Host Communications
40H Data Handler
<TYU> Type, Upper - The Type Upper Byte identification of specific Values,
Setpoints, Control Relays or ASCII Strings (corresponds to the two
right-most digits of "ty"), found in the tables under the corresponding
tabs of this manual. The first number of the MACO types is defined as
follows:
1XH is a Setpoint
2XH is a Control Relay
<TYL> Type, Lower - The Type Lower Byte completes the identification of
specific Setpoints, Control Relays or System Commands (corresponds
to the two right-most digits of "ty"). This entry is in hexadecimal format
for host communications. <TYU> together with <TYL> form "ty."
The contents of the data bytes depend on whether the data sent is a setpoint or
control relay.
Ninety-nine point nine would be translated as "999" (03E7H) and sent as (E7H)(03H).
Note: In some setpoints and values the number of decimal places can be changed
using the OptiGrafix Screen Editor Program. The proper decimal place (dec) must
be verified from the screens installed in the control system.
Setpoints
<DAT1> is the Least Significant Byte
<DAT2> is the Most Significant Byte
Control Relays
Note that it is STRONGLY recommended NOT to use digital communications to
change the state of any Control Relay which may effect machine performance.
Use extreme caution when changing ANY control relay from a Host computer. In
may applications, it is desirable to only enable the write CR's when the machine
is in the idle state.
CR Send Data Commands are sent from the Host using a single data byte.
Only Operator control relays, Setup control relays, and Selector Switches can be
changed through digital communications.
Operator Control Relays (1657 - 1752) can be turned off (by sending a zero); can
be turned on (by sending a one); or can be toggled (by sending a two).
Setup CRs (1785-1848) can be turned off (by sending a zero); can be turned on
(by sending a one); or can be toggled (by sending a two).
System Commands
System Commands are sent from the Host without the use of a data byte. All that
is necessary in order to invoke a system command is to send the proper
<TYU><TYL> bytes. See System Commands.
<CK> Checksum Byte - The bytes from <BC> through <DAT1 or 2> (<TYL>
in the case of system commands) are added together and their 2's
complement is taken. The sum of all the data plus the checksum should
be zero.
<UID><BC><ST><PB><01><EC><CK>
where:
<UID> Unit ID - Unit address of MACO system (always 01H for RS-232
communications).
<BC> Byte Count (from <BC> through <EC>) (always 05H for an error reply
to Send Data Command).
<ST> Status Byte (always XXH (don't care) for error reply).
<CK> Checksum Byte - The bytes from <UID> through <EC> are added
together and their 2's complement is taken. The sum of all the data plus
the checksum should be zero.
<UID><BC><ST><01><CK>
where:
<UID> Unit ID - Unit address of MACO system (always 01H for RS-232
communications).
<BC> Byte Count (from <BC> through <01>) (always 03H for a valid reply to
Send Data.
<ST> Status Byte (always XXH (don't care) for a valid reply to a Send Data
Command).
To change from the File Transfer Mode to the Data Acquisition Mode, follow the
procedure for establishing the command mode.
If a Checksum Error (81H) occurs, retry at least three times before resetting or
aborting communications.
Any other error codes relate to problems within the MACO. To determine the
meaning of whatever error code appears, convert the two bytes following <PB>
(83H) to decimal and locate the resulting number in the printout of the Message
File. For example, if a checksum error occurred, the MACO would respond with:
<UID><BC><ST><PB><01><EC><CK>
or:
<01H><05H><00H><83H><01H><81H><CK>
The two bytes following <PB> are <01H><81H>. 181hex equals 385 decimal.
Message Number 385 is "File Checksum Error."
ty ty
dec hex description
B B B5 B B B B B
7 6 4 3 2 1 0
PRIMARY
HOST COMPUTER BYTE STATUS CONTROL FUNCTION FUNCTION TYPE, TYPE,
COUNT BYTE BYTE ADDRESS NUMBER UPPER LOWER CHECKSUM
07H 00H 45H 11H 01H 00H 18H 8AH
0001 1000
0000 0000
0000 0001
0001 0001
0100 0101
0000 0000
0000 0111
TOTAL 0111 0110
1's COMPLEMENT 1000 1001
2's COMPLEMENT 1000 1010 = 8AH
PRIMARY
HOST BYTE STATUS CONTROL FUNCTION FUNCTION TYPE, TYPE,
COUNT BYTE BYTE ADDRESS NUMBER UPPER LOWER CHECKSUM
07H 00H 45H 11H 02H 12H 15H 7AH
0001 0101
0001 0010
0000 0010
0001 0001
0100 0101
0000 0000
0000 0111
TOTAL 1000 0110
1's COMPLEMENT 0111 1001
2's COMPLEMENT 0111 1010 = 7AH
(-100.0)
PRIMARY (LSB) (MSB)
MACO UNIT BYTE STATUS CONTROL DATA DATA
ID COUNT BYTE BYTE 1 2 CHECKSUM
01H 05H 00H 43H 18H FCH A3H
1111 1100
0001 1000
0100 0011
0000 0000
0000 0101
0000 0001
TOTAL 0101 1101
1's COMPLEMENT 1010 0010
2's COMPLEMENT 1010 0011 =A3 H
3.18 Example, Request Data, Operator Control Relay 1703 (Data Handler)
PRIMARY
HOST BYTE STATUS CONTROL FUNCTION FUNCTION TYPE, TYPE,
COUNT BYTE BYTE ADDRESS NUMBER UPPER LOWER CHECKSUM
07H 00H 45H 11H 40H 26H 85H B8H
1000 0101
0010 0110
0100 0000
0001 0001
0100 0101
0000 0000
0000 0111
TOTAL 0100 1000
1's COMPLEMENT 1011 0111
2's COMPLEMENT 1011 1000 = B8H
PRIMARY
HOST COMPUTER BYTE STATUS CONTROL FUNCTION FUNCTION TYPE, TYPE,
COUNT BYTE BYTE ADDRESS NUMBER UPPER LOWER CHECKSUM
07H 00H 45H 11H 40H 20H 98H ABH
1001 1000
0010 0000
0100 0000
0001 0001
0100 0101
0000 0000
0000 0111
TOTAL 0101 0101
1's COMPLEMENT 1010 1010
2's COMPLEMENT 1010 1011 = ABH
3.20 Example, Send Data, Setup Selector Switch 1, Position 2 (Data Handler)
PRIMARY
HOST COMPUTER BYTE STATUS CONTROL FUNCTION FUNCTION TYPE, TYPE, DAT1
COUNT BYTE BYTE ADDRESS NUMBER UPPER LOWER 1 CHECKSUM
08H 00H 06H 11H 40H 21H 98H 02H E6H
0000 0010
1001 1000
0010 0001
0100 0000
0001 0001
0000 0110
0000 0000
0000 1000
TOTAL 000 1 1010
1's COMPLEMENT 1110 0101
2's COMPLEMENT 1110 0110 = E6H
0000 0001
0000 0000
0000 0011
0000 0001
TOTAL 0000 0101
1's COMPLEMENT 1111 1010
2's COMPLEMENT 1111 1011 = FBH
1000 1010
1010 1100
1000 0011
0001 0000
0000 0011
0001 0001
0000 0111
0000 0000
0000 1001
TOTAL 1110 1101
1's COMPLEMENT 0001 0010
2's COMPLEMENT 0001 0011 = 13H
0000 0001
0000 0000
0000 0011
0000 0001
TOTAL 0000 0101
1's COMPLEMENT 1111 1010
2's COMPLEMENT 1111 1011 = FBH
0000 0001
1000 1001
0010 0000
0100 0000
0001 0001
0000 0110
0000 0000
0000 1000
TOTAL 0000 1001
1's COMPLEMENT 1111 0110
2's COMPLEMENT 1111 0111 = F7H
0000 0001
0000 0000
0000 0011
0000 0001
TOTAL 0000 0101
1's COMPLEMENT 1111 1010
2's COMPLEMENT 1111 1011 = FBH
The buffer holds up to five blocks of data. The BUFFER MODE setpoint
determines the number of blocks to be gathered on a zero to 1 transition of the
TRIGGER CR. If the BUFFER MODE setpoint = 0, the module collects data
continuously. If the BUFFER MODE setpoint = 1, 2, 3, 4 or 5, data collection starts
when the TRIGGER CR goes high. The trigger does not have to be held high for
the entire gathering cycle. The DATA VALID CR (3765) is set when the specified
number of blocks has been collected and transferred to the output buffer.
(Additional blocks, if requested, are gathered continuously).
Jumpers J1 and J2 are used to terminate the RS-485 data lines of your network.
If you have three machines equipped with MACO's, the node located farthest from
host would have the jumpers in the "IN" position and the other nodes would have
the jumpers in the "OUT" position.
The first 6 (1 - 6) switches of S1 are used to establish a node address for the card.
Switches 7 and 8 determine some data transfer parameters (see next page).
The RS-485 host communication module can be used with Data Handler V20.76
or newer and Sequence V03.46 or newer.
U10 T1
J2
IN OUT
J1
IN OUT
8
7 4 SHIELD
6
5 3 ISOCOM
4
3
2 DATA
2 1 DATA
1
ON OFF
RS-485 COMMUNICATIONS S1
Switches
1 2 3 4 5 6 7 8
Node
1 0 1 1 1 1 1 x x
2 1 0 1 1 1 1 x x
3 0 0 1 1 1 1 x x
4 1 1 0 1 1 1 x x
5 0 1 0 1 1 1 x x
6 1 0 0 1 1 1 x x
7 0 0 0 1 1 1 x x
8 1 1 1 0 1 1 x x
9 0 1 1 0 1 1 x x
10 1 0 1 0 1 1 x x
11 0 0 1 0 1 1 x x
12 1 1 0 0 1 1 x x
13 0 1 0 0 1 1 x x
14 1 0 0 0 1 1 x x
15 0 0 0 0 1 1 x x
16 1 1 1 1 0 1 x x
17 0 1 1 1 0 1 x x
18 1 0 1 1 0 1 x x
19 0 0 1 1 0 1 x x
20 1 1 0 1 0 1 x x
21 0 1 0 1 0 1 x x
22 1 0 0 1 0 1 x x
23 0 0 0 1 0 1 x x
24 1 1 1 0 0 1 x x
25 0 1 1 0 0 1 x x
26 1 0 1 0 0 1 x x
27 0 0 1 0 0 1 x x
28 1 1 0 0 0 1 x x
29 0 1 0 0 0 1 x x
30 1 0 0 0 0 1 x x
31 0 0 0 0 0 1 x x
32 1 1 1 1 1 0 x x
Note: If all the switches (1-6) are in the ON position or a node address is greater
than 32, the host communications module address will default to "0" and commu-
nications will be disabled.
Switch 7 OFF: With switch 7 in the "OFF" position, the table of parameters is not
Switch 8 ON: With switch 8 in the "ON" position, after the first update, values and
setpoints are updated at a ratio of 8 to 1 (values to setpoints, respectively).
Switch 8 OFF: With switch 8 in the "OFF" position, all setpoints and then all values
are continuously updated.
RS-232/RS-485
Converter A-12356-3 1 1 1 DATA (+)
Host E
2 2 2 DATA (-)
RS-232 F
Port 3 3 3 ISOCOM
H 4 SHIELD
4 4
or
4.3 Wiring
The RS-485 module uses a four pin connector to communicate with the host.
Connector E23-1134-004 is provided with screw terminals for field wiring.
The RS-485 cabling must run on the low voltage side of the MACO controller's
cable tray located at the bottom of each chassis.
0 = 9600 3 = 1200
1 = 4800 4 = 19200
2 = 2400
If the baud rate setpoint is not programmed on a screen, it defaults to 9600 baud.
Note: Only value parameters are triggered. Setpoints are monitored continuously.
The HOST CONTROL relay should be set high in the RLD if the host will be used
to clear the DATA VALID CR. After the host has read the last block, the DATA
VALID control relay will be cleared when the host sends the COMMAND #7
"CLEAR DATA VALID COMMAND". If the HOST CONTROL relay is not set high,
the DATA VALID control relay will be cleared by the module 3 to 20 seconds after
it is set.
If energized (logic 1), DATA VALID is cleared by the host using command #7.
When the COMMODE setpoint is 1-5 (the triggered mode), CR 3765 is set high
when all data has been collected. It is cleared according to status of the HOST
CONTROL relay.
The RS-485 host communication module removes the first byte of the two byte
code and transmits messages using the last byte (00H to FFH).
Mnemonic Definition
The "X" identifies the board number of a function (i.e., the first
temperature board of a primary system would be 11H; the
second board would be 12H).
<CC><CC> = <30H><31H> = 01
or command #5:
<CC><CC>=<30H><35H>= 05
<CMD> Data Handler host command (see Cmd #15, Section 5.13)
01H Sequence
02H Temperature
03H Hydraulic
04H Parison
05H Accel/Decel
30H RS-232 Communications
38H RS-485 SPI Communications
3AH RS-485 Host Communications
40H Data Handler
<RCMD> Write code for operator control relays, setup control relays and
selector switch control relays:
Selector Switches:
0XH is a Value
1XH is a Setpoint
2XH is a Control Relay
4XH is an ASCII String
5XH is a Module Alterable Setpoint
6XH is a System Command
<TYL> Type, Lower - The Type Lower Byte completes the identification
of specific Values, Setpoints, Control Relays or ASCII Strings
(corresponds to the two right-most digits of parser entry). This
entry is shown in decimal and in hexadecimal (as used with
host communications). <TYU> together with <TYL> form "ty."
or machine #21:
<UID><UID> = <32H><31H> = 21
Note: If data includes <EOT> (04H), then a second <EOT> (04H) should be sent,
and only one <EOT> (04H) should be counted in the LRC.
Command Description
1 Download menu parameters
2 Request upload of block data
3 Setpoint change (standard and module alterable)
6 Request data valid status
7 Clear data valid
8 Individual setpoint/value request
9 Control Relay Read
10 Request ASCII String
11 Change Operator Control Relay (Write)
12 File Access - Read File
13 File Access - Write File
14 Request Host Monitor Error Table
15 Data Handler Host Command
<EOT><UID><UID><CC><CC><BB><NN><NN><ETX><LRC>
where:
<ACK><0>
<06H><30H> if successful, or
<ACK> <0>
<06H> <30H>
<EOT><UID><UID><CC><CC><BB><SP><EP><ETX><LRC>
where:
<STX><UID><UID><BB><LSB><MSB> . . . <ETX><LRC>
where:
<LSB><MSB> = are two bytes of data per variable configured in the block.
<EOT><UID><UID><CC><CC><AD><FN><TYU><TYL><LSB><MSB><ETX><LRC>
where:
<ACK> <0>
<06H> <30H>
<NAK><ETX>
<15H><03H>
Because the setpoint is equal to 4 (an EOT), two 4's are transmitted. Response
format from module, setpoint change accepted:
<ACK> <0>
<06H> <30H>
<EOT><UID><UID><CC><CC><ETX><LRC>
BYTE1 and BYTE 2 are dummy bytes and should be zero (0). Byte 3 contains all
of the module's MTS control relays (8).
Because the LRC is an EOT <04H>, change the LRC to a backspace (BS) <08H>.
<ETX> <LRC>
<03H> <0H>
The first two (2) data bytes are dummy bytes and will always be zero (0). Data valid
is bit 4 of the third data byte.
<ETX> <LRC>
<03H> <10H>
The first two (2) data bytes are dummy bytes and will always be zero (0).
<EOT><UID><UID><CC><CC><ETX><LRC>
<ACK><30H> if successful, or
<NAK><ERROR CODE> if not successful.
<ACK> <3>
<06H> <30H>
<EOT><UID><UID><CC><CC><AD><FN><TYU><TYL> <ETX><LRC>
<STX><UID><UID><LSB><MSB><ETX><LCR> if successful, or
<NAK><ERROR CODE> if not successful.
<ETX> <LRC>
<03H> <0AH>
<EOT><UID><UID><CC><CC><AD><FN><TYU><TYL> <ETX><LRC>
<ETX> <LRC>
<03H> <3BH>
<EOT><UID><UID><CC><CC><AD><FN><TYU><TYL> <ETX><LRC>
If Type Upper = 4xH, the reply is a 29 character ASCII string. If the Type Upper =
3xH, the reply is a sytem message number followed by 27 ASCII spaces. The
system messa number is converted within the Barber-Colman RS-485 DDE
Server to return an ASCII string.
Note that if the ASCII string is less than 29 characters it will be padded with ASCII
spaces (20H).
5.8.1 Example Command #10 ASCII String Request (Type Upper = 4XH)
<EOT><30H><31H><31H><30H><11H><40H><45H><83H><ETX><94H>
VALID REPLY:
The requested sac string reply is:
<STX><30H><31H><M><4><5><0><0>< ><S><T><A><N><D<A><R><D>
< ><S><Y><S><T><E><M>< >< >< ><V><3><.><0>< ><ETX><29H>
5.8.2 Example Command #10 ASCII String Request (Type Upper = 3XH)
<EOT><30H><31H><31H><30H><11H><40H><34H><00H><ETX><0BH>
VALID REPLY:
<STX><30H><31H><29H><02H><20H><20H><ETX><0BH>
NOTE: 27 bytes of ascii spaces (20H)
<EOT><UID><UID><CC><CC><AD><FN><TYU><TYL><RCMD><ETX><LRC>
where:
The first block of each file (Block 0) contains only 96 bytes of data and is padded
with nulls (00H) to make a full block of 256 bytes. The first 64 bytes are ASCII
characters and the next 32 bytes contain the file information, followed by 144 bytes
of nulls (00H), then ETX and the LRC.
20 Insta-Set File .INS Read/Write Not available - cannot access the active recipe
The first block of each file (Block 0) contains only 96 bytes of data and is padded
with nulls (00H) to make a full block of 256 bytes. The first 64 bytes are ASCII
characters and the next 32 bytes contain the file information.
where:
followed by 144 bytes of nulls (00H), then ETX and the LRC. For this example the
LRC = D3H. Note that < > is an ASCII space (20H).
where:
Each file block will be a 256 byte block consisting of a 16 byte header followed by
240 bytes of data, an <ETX> and an <LRC> for a total of 258 bytes.
The first block of each file (Block 0) contains only 96 bytes of data and is padded
with nulls (00H) to make a full block of 256 bytes. The first 64 bytes are ASCII
characters and the next 32 bytes contain the file information.
followed by 144 bytes of nulls (00H), then ETX and the LRC. For this example the
LRC = D2H. Note that < > is an ASCII space (20H).
where:
Data format:
Each error consists of 8 bytes:
<Block number byte><Parameter number byte>< ID (4 bytes)>
<Error code (2 bytes)>
The Block number is the number of the block (0-9, downloaded from the host) that
where:
02H Reset