3Data Communications and the Series 945
3Hardware Interfaces Protocols
3Communications Wiring
4RS-422A Interface Pinouts
5RS-423A Interface Pinouts
(RS-232C Compatible)
6EIA-485 Interface Pinouts
6Connecting the Control and Computer
7Setting Hardware Protocol Switches
7Network Connections
7Series 945 Communication Parameters
8Communications Setup Parameters
10ASCII and Series 945 Information
11Series 945 General Message Syntax
11Message Syntax
11Data Rules
12Command List
12Example Format
13XON/XOFF Protocol for RS-423A
13Start and Stop Communicating with the
Series 945 and XON/XOFF
14XON/XOFF "=" Command Example
15XON/XOFF "?" Command Example
16ANSI X3.28 Protocol for RS-422 & EIA-485
16Device Address
16Starting Communications in ANSI X3.28
17Stopping Communications in ANSI X3.28
17ANSI X3.28 "=" Command Example
18ANSI X3.28 "?" Command Example
19"?" Command
20"=" Command
22Data Logging
23Table Printout
23Statistical Process Control - SPC
24The Difference Between Control and
Specification Limits
25Chart and SPC Printout
26NAKs and Error Codes
26User Responsibility
27Index
FiguresItem
1RS-422 Interface Wiring
2RS-423 Interface Wiring
3EIA-485 Interface Wiring
4RS-422/RS-423 Switch Selection
5General Message Syntax Example
6XON/XOFF "=" Command Example
7XON/XOFF "?" Command Example
8ANSI X3.28 "=" Command Example
9ANSI X3.28 "?" Command Example
10Data Logging Interface Wiring
11Table Printout Example
12Chart & SPC Printout Example
TablesItem
1Setup Menu Prompts and Descriptions
2ASCII Character Set
3ASCII Control Characters (Partial Set)
4Address to ASCII Conversion
5"?" Command Data and Responses,
Partial Set
6"=" Command and "?" Command Data
7Printer Troubleshooting
2
WATLOW Series 945
How to Use Data Communications
How to Use Data Communications
with the Watlow Series 945
This manual is a supplement to the Series 945 User's Manual. It is for users with
the data communications option. Use in conjunction with the Series 945 User's
Manual.
This is expert user-level material and requires previous experience with data
communications.
Two Serial Hardware Interfaces and
Two Software Protocols
Depending on your units model number, you may have one of two hardware
interfaces:
1)RS-422A for a "multidrop" or (multiple device) network, up to ten devices total;
with 4000 ft. network length limit, or RS-423A (RS-232C compatible) for one on
one communication with a 50 ft. network length limit with a 945 and a host
computer (945A-XXXX--B000). Selecting RS-422A or RS-423A is user selectable via internal switches. See Page 7.
Data Comm
2)EIA-485 (945A-XXXX-D000) also for a multidrop network, up to 32
addresses total, and with a 4000 ft. network length limit.
There are two protocols available to you. Depending on the type of network you
need, you must use the correct combination of interface and protocol.
We use ANSI X3.28 Protocol, based on ANSI X3.28 - 1976 Subcategories 2.2,
and A3, with the RS-422A and EIA-485 interface to run a multiple device network.
We also use XON/XOFF Protocol, a simpler protocol, to run a two device network
with an RS-423A interface. XON/XOFF will also work with the RS-422A and EIA485 interface, but the network is limited to two devices (one computer or printer
and a Series 945). XON/XOFF Protocol requires no responses to messages like
the ANSI X3.28 Protocol does. Likewise, ANSI X3.28 Protocol, which provides a
response to every message, will work with the RS-423 interface. But again you are
limited to one Series 945 and a host computer or printer.
To select which protocol you are going to use, go into the SETUP menu and use
the MODE key to advance to the Prot parameter. Select either FULL, for ANSI
X3.28 2.2 - A.3, or On for XON - XOFF.
If you are using ANSI X3.28 Protocol, choose an address number for the control
under the Addr parameter following the Prot parameter. This parameter will only
appear if Prot = FULL.
Communications Wiring
To connect your Series 945 to a computer or printer, use the next three pages as a
reference. Your computer or printer hardware manual will provide more detailed
serial port pin information. Also refer to the noise prevention section in Appendix 1
of the Series 945 User's Manual. In the often noisy environments of industrial
locations, it is important not to take noise isolation lightly.
How to Use Data Communications
WATLOW Series 945
3
1
0
RS-422A
Figure 1 RS-422A Interface,
Pin Designations.
Series 945 #
RS-422A Interface Pinouts
945A-XXXX-B000
The RS-422A communications uses a four wire (full duplex) system. There are
two separate lines for transmitting, and two lines for receiving data between the
computer and the Series 945. With RS-422A you can have from one to ten Series
945 controls connected to a single computer.
This diagram is a typical wiring example. The connections on the host computer
may vary depending on models. Refer to your computer user's manual for more
information.
Twisted Pair Wire
T +
19
T -
20
R +
21
R -
22
Signal Common
23
(Optional)
Host Computer
(rear view)
Series 945 #1
NOTE:
The Electronic
Industry Association
(EIA) RS-422A
standard recommends a maximum
4000 ft. total network
distance.
19
20
21
22
23
T +
T R +
R -
Signal Common
(Optional)
Twisted Pair Wire
DB-9 female
connector
(viewed from wire side)
R +
R -
Com
1
6
2
7
3
8
T -
4
9
T +
5
4
WATLOW Series 945
How to Use Data Communications
RS-423A Interface Pinouts (RS-232C Compatible)
1
945A-XXXX-B000
The RS-423A communications uses a three wire (full duplex) system. There is a
separate line for transmitting, a line for receiving data, and a line for signal common
between the computer and the Series 945. With RS-423A you can have only one
Series 945 control connected to a single computer or printer.
This diagram is a typical wiring example. The connections on the host computer
may vary depending on models. Refer to your computer user's manual for more
information.
Host Computer
(rear view)
RS-423A
Figure 2 RS-423A Interface,
Pin Designations.
R, and RLSD together.
and CTS together.
puter's user manual.
T
20
Jumper to Signal Common
21
R
22
Signal Common
945 #
23
DB-25 female
connector
(viewed from wire side)
DTR (Data Terminal Ready)
1
14
15
16
17
18
19
2 0
21
22
23
24
25
T
2
R
3
3
4
RTS (Request To Send)
4
5
CTS (Clear To Send)
6
DSR (Data Set Ready)
Com
7
RLSD (Received Line Signal Detector)
8
9
10
11
12
13
NOTE:
The Electronic
Industry Association
(EIA) RS-423A
standard recommends a maximum
50 foot total pointto-point distance.
How to Use Data Communications
WATLOW Series 945
5
EIA-485
1
EIA-485 Interface Pinouts
945A-XXXX-D000
The EIA-485 communications uses a two wire (half duplex) system. There are only
two lines, both lines used for transmitting and receiving. Only one device, the
computer or the control, can be speaking at a time. There is a 1 millisecond delay
requried for the Series 945 to go between transmission and receipt of data. With
EIA-485 you can have from one to thirty-two Series 945 controls connected to a
computer.
Figure 3 EIA-485 Interface, Pin
Designations.
Series 945 #
Series 945 #31
This diagram is a typical wiring example. The connections on the host computer
may vary depending on models. Refer to your computer user's manual for more
information.
Twisted Pair Wire
T+/R+
19
T-/R-
20
Signal Common
23
(Optional)
Host Computer
(rear view)
Twisted Pair Wire
T+/R+
19
T-/R-
20
Signal Common
23
#32
(Optional)
DB-9 female
connector
(viewed from wire side)
1
6
2
7
3
8
4
9
5
Com
T-/R-
T+/R+
T+/R+
T-/R-
NOTE:
The Electronic
Industry Association
EIA-485 standard
recommends a
maximum 4000 ft.
total network distance.
6
WATLOW Series 945
Connecting the Control and the Computer
Remove power from both the Series 945 and your computer or printer before
connecting them together. This prevents noise or static interference from entering
the data communication lines. Assemble a cable and the appropriate wiring at your
computer or printer. Refer to the wiring on Page 4 through 6. As soon as you
connect the data communications line(s), you're ready to apply power to your
system.
How to Use Data Communications
A
A
(Up) RS-423A
(Up) RS-423(Down) RS-422
(Down) RS-422A
A007-1830
How to Set the Hardware Protocol Switches
for 945A-XXXX-B000 Units Only
The RS-422/RS-423 switches are on the Communication Module Board (A007-
1830). Figure 4 shows the location of this board. You can select C1 for RS-423 or
C2 for RS-422 operation. Both switches must be set the same for the desired
protocol.
To change the position of a switch, remove the power from the Series 945 and turn
the front panel locking screw 90° counterclockwise. To remove the control chas-
Control Chassis - Top View
sis, grip the front panel bezel and pull it straight out from the control case. Set the
switches, C1 (towards you for RS-423) or C2 (away from you for RS-422) then
return the control chassis to the case. Be sure it is oriented correctly. Press firmly,
but gently, to seat the chassis. Secure the front panel locking screw and reapply
power.
Configuration
Figure 4 RS-422A/RS-423A
Switch Selection.
NOTE:
The Series 945
leaves the factory in
RS-423A operation (C1).
Network Connections
You can connect a data communication equipped Series 945 to any computer with
an RS-422A or RS-423A (RS-232C compatible) or EIA-485 serial interface. Theserial interface is the key. The IBM™PC® with an RS-232C serial output card,
for instance, will talk to a single RS-423A equipped Series 945. For a multiple 945
network with the same PC, you'll need an RS-232 to RS-422 converter to act as a
"bus," or multiple connection point.
Watlow recommends the Burr-Brown LDM 422 for that purpose. The address is:
Burr-Brown, Inc., 1141 West Grant Rd,. Suite 131, Tucson, AZ 85705, Phone:
(602) 624-2434, Fax: (602) 623-8965.
For EIA-485, we recommend the Black Box LD485A. Their address is: Black Box
Corporation, Mayview Road at Park Drive, Box 12800, Pittsburgh, PA 152421,
Phone: (412) 746-5530.
Series 945 Comunication Parameters
To communicate with the Series 945, match the serial port settings of your computer with the available settings in the 945:
bAUd Rate= 300, 600, 1200, 2400, 4800, 9600 (choose one)
dAtA= 7o = 7 data bits and odd parity
7E = 7 data bits and even parity (choose one)
8n = 8 data bits and no parity
Start Bit= 1
Stop Bits= 1
How to Use Data Communications
WATLOW Series 945
7
Parameters
Setup Menu - Communications Parameters
Enter the Setup menu by pressing the UP/DOWN keys simultaneously for 3
seconds. The lower display shows the LOC parameter, and the upper display
shows its current level. All keys are inactive until you release both keys. You can
reach the LOC parameter from anywhere. This is only a listing and brief explanation of the parameters, refer to Pages 22 through 26 for a thorough explanation of
Statistical Process Control (SPC).
bAUd
dAtA
Prot
Addr
Log
LSL
USL
Baud: Represents the current baud rate for serial communications.
Range: 300, 600, 1200, 2400, 4800, 9600Default: 1200
Data: Allows the user to select the data bits and parity for communication.
Range: 7 o = 7 data bits and odd parity7E = 7 data bits and even parity
8 n = 8 data bits and no parityDefault: 7 o
Protocol: Selects the communication protocol. Must be On for data logging to
occur. FULL = ANSI X3.28 2.2 - A.3 On = XON - XOFF
Range: FULL or OnDefault: FULL
Address: Selects the address device if Prot = FULL. Range: 0 to 31 Default: 0
Log: Selects the data logging function for a printout of the data. Appears if Prot =
On. For further expon on SPC, the parameters and printouts, see Page 22 - 26.
Range: OFF, tAbL, CHrt, SPCA, SPCd, SPCn Default: OFF
Lower Specification Limit: This value is the specified deviation below set point,
which statistically the process should not exceed. Appears if Prot = On and Log =
SPCA or SPCd. SPCA Range: rL to Lower USL -2°F/-1°CDefault: rL
SPCd Range: 1 to 99Default: 10
Upper Specification Limit: This value is the specified deviation above set point,
which statistically the process should not exceed. Appears if Prot = On and Log =
SPCA or SPCd.SPCA Range: rH to upper LSL +2°F/1°C Default: rLSPCd Range: 1 to 99Default: 10
tbS
Time Base: Selects the time in minutes over which 30 random samples are taken
for computing SPC values. Appears if Prot = On and Log = SPCA or SPCd.
Range: 1 to 60Default: 5
LinE
Line: Selects the number of lines per page of data logged output. Match this
parameter to the number of lines per page your printer prints. After you select the
number of lines to print, a form feed character is sent to the printer, resetting the
top of the page. Range: 10 to 127 Default: 65
YEAr
Year: Select the current year for the data logging header. Appears if Prot = On
and Log = tAbL, CHrt or SPCA, SPCd, SPCn. Parameter resets to default after a
power interruption. Default: 92
Mon
Month: Select the current month for the data logging header. Appears if Prot =
On and Log = tAbL, CHrt or SPCA, SPCd, SPCn. Parameter resets to default after
a power interruption. Default: 01
dAY
Day: Select the current day for the data logging header. Appears if Prot = On and
Log = tAbL, CHrt or SPCA, SPCd, SPCn. Parameter resets to default after a
power interruption. Default: 01
HOUr
Hour: Represents the 24 hour time-of-day clock setting for minutes. Appears if
Prot = On and Log = tAbL, CHrt or SPCA, SPCd, SPCn. Parameter resets to
default after a power interruption. Range: 0 to 23Default: 0
8
WATLOW Series 945
How to Use Data Communications
Minutes: Represents the 24 hour time-of-day clock setting for minutes. Appears
if Prot = On and Log = tAbL, CHrt or SPCA, SPCd, SPCn. Parameter resets to
default after a power interruption. Range: 0 to 59Default: 0
Interval: Selects the time interval for the logging function. The logging interval is in
tenth of a minute increments. Appears if Prot = On and Log = tAbL, CHrt or
SPCA, SPCd, SPCn. Range: 0.0 to 60.0 minutesDefault: 0.0
Setup
Min
Int
Tag: Selects what variables are to be transmitted out during the data logging
tag
function. Any combination of process, set point and alarms may be "tagged" for
logging. Appears if Prot = On and Log = tAbL.
P = ProcessS = Set PointA = Alarm Set Points
This parameter follows the Aut parameter in the Operation menu. See Page 25 for
more information.
Control Limit Update: When YES is selected, it calculates and prints out control
limits according to the time base. If no is selected, the current control limit is
printed and no subsequent limits are printed. Range: YES or no Default: YES
ASCIICtrl KeyDefinitionDec.Hex.
Char.Equiv.Equiv.Equiv.
ENQCtrl EEnquiry505
ACKCtrl FAcknowledge606
NAKCtrl UNeg. Acknowledge2115
STXCtrl BStart of Text202
ETXCtrl CEnd of Text303
EOTCtrl DEnd of Transmission404
DLECtrl PData Link Escape1610
CRCtrl MCarriage Return130D
DC1Ctrl QXON1711
DC3Ctrl SXOFF1913
How to Use Data Communications
Series 945 General Message Syntax
As soon as you link the devices, you'll be able to talk to the Series 945 using ASCII
characters.
The Series 945 will respond to any Operating or Setup parameter, plus some
others. The control will respond to either upper or lower case ASCII characters
from your computer.
Both protocol/interface combinations will respond to the general syntax, providing
the commands or queries are correctly transmitted. However, the ANSI X3.28
Protocol requires beginning and ending characters, and the XON/XOFF Protocol
requires ending characters. We'll look at those shortly.
Message Syntax
Messages from your computer to the Series 945 must take this general form. All
commands do not require the full number of data fields.
"Command" is a character set to which the Series 945 will respond. The brackets
"< >" enclose a non-literal description. "Space" is simply a delimiter, an ASCII
space character (Hex 20). "Data Fields" are parameters and values specific to a
command; the number of possible data fields depends on the particular command
you use. Data 1 is here abbreviated, "Data.1", Data 2 is "Data.2" and so on.
In the syntax explanations ahead, we'll show you the specific arguments for each
command. It will speed the process, if you remember this general syntax.
Data Rules
Data fields are parameters and values specific to particular commands. These rules
govern their use. Specific data for each command is listed later in this chapter.
• Data will be ASCII 0 through 9, unless otherwise noted.
• Data can go up to seven total characters, including a minus sign. A + or - sign, if
used, must be first, and it must have a decimal point if applicable.
• Data can use leading zeros. (Up to 7 digits.)
• Data does use decimal points.
• Data.1 portion of message can be up to four total characters.
Command List
These commands, represented by their respective ASCII characters, will enable
you to program the Series 945 from your computer. More detailed descriptions of
the commands are on the pages noted.
?Finds the value of a specific parameter.p. 19
=Sets a specific parameter to a specific value.p. 20
How to Use Data Communications
WATLOW Series 945
11
ASCII
Figure 5 Series 945
General Message
Syntax Example.
Example Format
For your benefit, we're presenting message/response examples with syntax required for Series 945 communication. Information bracketed by < > indicates a
description, rather than literal characters. We show each ASCII character that you
must transmit to the Series 945, including space between the characters. (A
"space" is itself an ASCII character, hex 20). For clarity, we also represent each
ASCII character as a hexadecimal pair. The pairs are spread apart on the page for
easy reading. However, electronic devices "see" the hex pairs all together in
"strings," with no spaces in between.
For instance, from the example just below, you want to set the Alarm 1 Low
(A1LO) parameter to 500°. Notice the syntax just below which uses the "=" com-
mand.= <Space> A1LO <Space> 500
=
<Space>
A
ASCII
Characters
HEX
Value
3D 20
1
L
O
Space
5
0
0
414C3120 35 30 30
4F
<CR>
0D
To send this message, key the ASCII characters into your computer, or write them
into your program. The computer, in turn, will send a string similar to the one at the
bottom of the example, 3D2041314C4F20353030.
Notice that we haven't mentioned protocol here, or any characters added to this
syntax by a protocol. With XON/XOFF, the message above can be transmitted
with only an additional Carriage Return <CR> (hex 0D) character at the end.
However, the ANSI X3.28 Protocol requires an envelope of Start of Text <STX>
(hex 02) and End of Text <ETX> (hex 03) characters around the information you
see above. You'll learn how to do that in the pages ahead.
XON/XOFF Protocol for RS-423A
XON/XOFF (flow control) Protocol allows a communicating device (either a 945 or
the host) to suspend transmission of all messages from the other device, and then
to continue transmission when it's again ready.
The device that needs to suspend transmission sends the XOFF character
(hex 13) to stop the other device's transmitter, and XON (hex 11) to restart it. Note
that technically any character will restart the transmitter, but only the XON character
is not a part of any regular message that may be transferring.
Messages transmit according to the syntax described in the XON/XOFF formats
which follow for each command.
12
WATLOW Series 945
The XON/XOFF Protocol requires a Carriage Return character
(hex 0D) at the end of every message.
How to Use Data Communications
XON/XOFF "="
How To Start and Stop Communicating
with the Series 945 and XON/XOFF
Starting communications with XON/XOFF Protocol is simple. You just configure
your computer to agree with the Series 945 communication parameters and open its
serial communication port in software. Then begin to "talk" by transmitting a message to the Series 945. You stop communicating with XON/XOFF Protocol simply by
ceasing to send messages.
XON/XOFF "=" Command Example
The general command syntax is the one you've already seen. Each command uses a
slightly different variation of it, depending on the number of arguments required for a
message.
• You want to change the Alarm 1 Low (A1LO) value to 500°. The "=" command will
do the job.
The syntax with XON/XOFF Protocol requires an ending Carriage Return <CR>.
"=" Command Syntax with XON/XOFF Protocol:
= <space> Data.1 <space> Data.2 <CR>
With the "=" Command, Data.1 is the Series 945 parameter, in this case Alarm 1 Low,
A1LO. Data.2 is the value you want to set for that parameter, in this example, 500.
Enter in ASCII:
= <space> A1LO <space> 500 <CR>
The hex string will be:
3D2041314C4F203530300D
=
<Space>
A
ASCII
Characters
HEX
Value
3D 20
1
L
O
Space
5
0
0
414C3120 35 30 30
4F
<CR>
0D
Response from the Series 945:
It sends an "XOFF" when a carriage return is received and then an "XON" when the unit
is done processing the command.
Figure 6 XON/XOFF "="
Command Example.
<XOFF>
<XON>
13 11
• The complete list of "=" Command data (parameters and value limits) is in
Table 6, Pages 20 - 21.
How to Use Data Communications
WATLOW Series 945
13
XON/XOFF "?"
Figure 7 XON/XOFF "?"
Command Example.
XON/XOFF "?" Command Example
You want to know the Alarm 1 Low (A1LO) value. The "?" uses a variation of the
message syntax shown just below. This protocol requires an ending carriage
return character.
"?" Command syntax with XON/XOFF Protocol:
? <space> Data.1 <CR>
Enter in ASCII:
? <space> A1LO <CR>
The hex string will be:
3F2041314C4F0D
?
Space
A
ASCII
Characters
1
L
O
CR
HEX
Value
3F 20
414C31
4F
0D
The value of A1LO will be between rL (Range Low) and rH (Range High), say, 500.
Response from the Series 945:
<XOFF> <XON> <current value of A1LO> <CR>
The hex response string is:
13113530300D
<XOFF>
<XON>
ASCII
Characters
HEX
Value
13
5
3530CR0D
11
0
0
30
14
WATLOW Series 945
How to Use Data Communications
ANSI X3.28 Protocol for RS-422A and EIA-485
The ANSI X3.28 Protocol provides high quality communications by requiring a
response to every message. With a multiple device or "multidrop" network, this
protocol prevents confusion among the separate devices. Furthermore, if noise
occurs somewhere in the system, no parameter will change because noise can't
comply with the protocol.
By placing messages inside a protocol envelope, the messages are protected. In
the examples to come you'll see how this works.
The ANSI X3.28 Protocol requires STX characters at the beginning of a
message and ETX characters at the end.
Device Address
If you are using the ANSI X3.28 Protocol, you must have a device address (identification) number. A Watlow RS-422A multidrop network can handle up to 10 devices with this protocol. EIA-485 can handle up to 32 devices. Set the address
number with the Series 945 in the Addr parameter under the Setup menu.
ANSI X3.28
AddressASCII Equivalent
0 - 90 - 9
10 - 31A - V
Starting Communications in ANSI X3.28 Protocol
Here's the syntax for starting communications with ANSI X3.28 Protocol. The
master device, your computer, must initiate the data link. The example below
uses the ASCII number 4 as a Series 945 device address.
Enter in ASCII, using this syntax: <Address # 4><ENQ>
4ASCII
Characters
HEX Value
Response from the 945:
<Address # 4><Acknowledge (ACK)>
<ENQ>
3405
Table 4 Address to ASCII
Conversion.
ASCII
Characters
HEX Value
How to Use Data Communications
4
<ACK>
3406
WATLOW Series 945
15
ANSI X3.28 "="
Stopping Communications in ANSI X3.28 Protocol
The master device, your computer, must end communications with Device #4 by
using Data Link Escape (DLE) and End of Transmission (EOT) characters.
Enter in ASCII: <DLE><EOT>
ASCII
Characters
HEX Value
<DLE>
1004
<EOT>
Response from the 945:
None
ANSI X3.28 "=" Command Example
The "=" Command sets a specific 945 parameter to a specific value. The general
command syntax applies to all commands. The definition and number of arguments depends on the command itself. See Table 6, Pages 20 - 21.
In this example, you want to change the Alarm 1 Low value to 500°. Here, the "="
command will do the job.
'"=" command Syntax with ANSI X3.28 Protocol:
<STX> = <space> Data.1 <space> Data.2 <ETX>
With the "=" command, Data.1 is the Series 945 parameter, in this case Alarm 1
Low , A1LO. Data.2 is the value you want to set for that parameter, in this example, 500.
Figure 8 ANSI X3.28 "="
Command Example.
16
WATLOW Series 945
Enter in ASCII:
<STX> = <space> A1LO <space> 500 <optional carriage return> <ETX>
The hex string is:
023D2041314C4F2035303003
<STX>
=
ASCII
Character
HEX
Value
<Space>
0203
3D 20
A
1
L
O
Space
5
0
0
414C3120 35 30 30
4F
Optional
Carriage
Return
How to Use Data Communications
<ETX>
Response from the Series 945:
0
<
<ACK>
The hex response string is:
06
• You'll find the the complete list of "=" command arguments (parameters and
value limits) in Table 6, Pages 20 - 21.
ANSI X3.28 "?" Command Example
You need to know the Alarm 1 Low value (A1LO). The "?" uses a variation of the
message syntax shown just below. This syntax requires the protocol start of
text and end of text characters.
"?" command syntax with ANSI X3.28 Protocol:
<STX> ?<space> <Data.1> <ETX>
Enter in ASCII:
<STX> ? <space> <A1LO> <optional carriage return> <ETX>
The hex string will be:
023F2041314C4F03
Optional
Carriage
Return
ASCII
Characters
<STX>
?
Space
A
1
L
O
<ETX>
ANSI X3.28 "?"
Figure 9 ANSI X3.28 "?"
Command Example.
HEX
Value
3F 20
0203
414C31
4F
First response from the Series 945:
<ACK>
The <ACK> hex response string is:
06
Your computer's confirming response:
<EOT>
The <EOT> response hex string is:
04
Second response from the Series 945:
<STX> <current A1LO value> <carriage return> <ETX>
The hex string is:
023530302003
<STX>
ASCII
Characters
HEX
5
<CR>
20
0
Your computer's next response:
<ACK> or < NAK> (if the message needs to be repeated).
The hex string is:
06 or 15
Final response from the Series 945:
<EOT>
The hex string is:
04
How to Use Data Communications
WATLOW Series 945
17
Commands
Data.1RespnsInformationComments
C1ACTUALActual process valueBetween R1L and R1H
Table 5 "?" Commands
and Responses.
These commands
are READ ONLY.
1Transmit buffer overflowOnly 1 ER2 response is valid.
2Receive buffer overflow
3Framing error
4Overrun error
5Parity error
6Talking out of turn
7Invalid reply error
8Noise error
16Process input active
17Local/remote is local
18Local/remote is remote
19Remote not enabled
20Command not found
21Parameter not found
22Incomplete command line
23Invalid character
24Number of chars. overflow
25Input out of limit
26Read only command
27Write allowed only
BTYP0T/C Only
1T/C, RTD whole, process
2T/C, RTD tenths, process
3R, S, B T/C
MDLDisplays 945 X
X = software revision
RSP1Remote SPRemote set point setting
18
WATLOW Series 945
"?" Command
The "?" Command reads a specific value of the Series 945 parameter (Data.1).
Tables 5 and 6 provide the complete list of parameters you may use, plus responses.
How to Use Data Communications
"=" Command
"The "=" Command sets a specific Series 945 parameter (Data.1) to a specific
value (Data.2) when the unit is in the HOLD mode. Use Tables 5 and 6 to select
parameters (Data.1) in the lefthand column. In Table 6 the low and high limit or
code values (Data.2) are in the three center columns.
Data.1Data.2
Low LimitHigh LimitCodeFunction
AXHIProcess RL valueRH valueAlarm High X value
±555/Deviation ±999
A
XLOProcess RL valueRH valueAlarm Low X value
±555/Deviation ±999
ALM0No alarms occurringWriting a 0 will clear all
1A1H occurringalarms if the alarm
2A1L occurringcondition no longer
4A2H occurringexists.
8A2L occurring
X160Output X cycle time
DAY131Day of the month/data log
DB099°F Dead band
055°C
0 Units99 Units
DEC020No decimal point
10.0
20.00
DE
X0.009.99Output X derivative
DFL010US prompts
1SI prompts
HOUR023Hour for data logging
HYS
X1°F99°FOutput X switching hys.
1°C55°C
1 Unit99 Units
INDC111UP/DOWN key action
INT0.060.0Time interval in minutes
for logging
0.0 = logging OFF
IT
X0.009.99Output X integral
Commands
NOTE:
An X means it
applies to either
Output 1 or
Output 2.
Table 6 "=" and "?" Commands. These are
READ or WRITE
commands. See
Table 4 for more "?"
Commands.
* When the 945 RTD
input is 0.1
parameters will have
a decimal point to
the left of the least
significant digit.
°,these
How to Use Data Communications
WATLOW Series 945
19
Commands
NOTE:
An X means it
applies to either
Output 1 or
Output 2.
Table 6 Continued
NOTE:
P = Process
S = Set Point
A = Alarm Set Point
- - - = no logging
Data.1Data.2
Low LimitHigh LimitCodeFunction
LAT
X010Latched alarms
1Non-latched alarms
LINE10127Lines per page for data logging
LOC03Lock front panel
LOG030Logging OFF See Page 22.
1Table
2Chart
3SPCA
4SPCd
5SPCn
L-R010Local set point
1Remote set point
LSLrL USL Lower -2°F/-1°CSPC lower spec limit
MAN-100100Manual % output
MIN059Minute for data logging
MON112Month for data logging
OT
X01 or 2*0Heat
1Cool
2*No action
*only applies to Ot2
OT4020Output 4 = Process Retransmit
1Output 4 = Set Point Retransmit
2No action
PB
X0999°FProportional Band
555°CdFL = US
999 Units
PB
X%0.0999.9Output X proportional
band DFL = SI
RA
X0.009.99Rate
RE
X0.009.99Reset
RHMin. IN rangeMax. IN rangeRange High
RLMin. IN rangeMax. IN rangeRange Low
RSP020OFF
10-5
2420
RTD010DIN
1JIS
SIL010Alarm silence OFF
1Alarm silence ON
SP
XrLrHSet point
TAG070- - - = no logging
1- - A
2- S 3- SA
4P - 5P - A
6PS 7PSA
tbS160SPC time interval in minutes
USLLSL Upper 2°F/1°CrHSPC upper spec limit
YEAR099Year for data logging
l
20
WATLOW Series 945
How to Use Data Communications
Data Logging
1
4
R
T
The data logging feature is a convenient replacement for chart recorders. Information is sent directly from the Series 945 to a serial printer, or to a computer disk file.
No computer is needed, although the 945 can be connected to a computer with a
serial port and terminal emulation software.
Data logging provides a handy reference to review process performance. The time
intervals between each entry and data printed are user selectable, with the time
display resetting every 24 hours. If there is a power interruption, the time is reset to
0.0. There are several options for the printer output. Choose from table, chart or
SPC (Statistical Process Control). See the following pages for more information on
printer outputs.
Jumper DTR, DSR, and RLSD together.
Also, jumper RTS and CTS together.
Refer to your printer's user manual.
20
Jumper to Signal Common
21
22
Signal Common
Series 945 #
23
Data Logging
Printer
Host Computer
(rear view)
2
15
3
DB-25 female connector
(located on back of printer
viewed from wire side)
DTR (Data Terminal Ready)
T
R
16
4
RTS (Request To Send)
17
5
CTS (Clear To Send)
18
6
DSR (Data Set Ready)
19
Com
7
2 0
RLSD (Received Line Signal Detector)
21
8
9
22
10
23
11
24
12
25
13
Figure 10 Data Logging
Interface Wiring
Example.
Connect the 945 to the printer as in Figure 10; this is a typical wiring example. The
connections on the printer may vary depending on the model, refer to the printer's
user manual. Enter the Setup menu by pressing the UP/DOWN keys simultaneously for three seconds. Mode through the parameters until you reach bAUd
and follow the parameter listing on Page 8. Select the appropriate data for each
prompt and enter your values in the table on Page 9. Data logging begins once
you return to the control set point.
After each line the 945 emits a carriage return. Your printer can be set up to
handle line feeds. The printer must supply a line feed (LF) following a carriage
return (CR). Refer to your printer user's manual for more information.
A data header is printed once the logging function begins. When you change the
time interval (Int) or any selected data (tag), or power is cycled, the header is
printed again. The header always remains the same, regardless of the control
configuration. The time display wraps around to 0.0 every 24 hours. If there is a
power interruption, the control will restart at 0.0 when power is restored.
How to Use Data Communications
WATLOW Series 945
21
Data Logging
Figure 11 Table Printout
Example.
Data fields emitted are determined by the tag parameters and control configuration.
As in the following example, tag is set for PSA (Process, Set Points, and Alarm Set
Points). SET-2 is only transmitted when there is a secondary control output, and is
configured the same as the primary output. In the example below, notice A1LO was
changed to 125 resulting in an alarm condition shown as an * (asterisk) in the
PROCESS and LOW-1 columns. After a latching or non-latching alarm is cleared,
the * is removed. The ATUNE column reports the auto-tune status. START denotes the beginning of the sequence, RSTRT signifies auto-tune has been restarted, and END is displayed when complete.
Table Printout
Example: Log = On, Int = 0.5, tag = PSA
P = ProcessS = Set PointsA = Alarm Set Points
Parameters represented:
SPC tracks variability to help you distinguish between natural variability (common
causes) from unnatural variability (special causes). Based upon measurements,
SPC gives you a picture of how the process is performing. By showing when
special causes are occurring, the SPC printout gives you written changes in the
process. An SPC printout is a picture of the operation. Typically, past data gives
information about what the average measurements and limits should be. These
are traditionally shown by upper and lower control limits. It also gives us a picture
of what is happening now. By comparing the process we can determine when
special, or assignable causes occur. This is advanced user-level material and
requires previous experience with Statistical Process Control (SPC).
For more information we recommend:
Juran's Quality Control Handbook
by J.M. Juran, Editor in Chief & Frank M. Gryna, Associate Editor
Hardcover, 1988ISBN: 0-7-033176-6
Available from:McGraw Hill
1221 Avenue of the Americas
New York, NY 10020
1-800-2-MCGRAW
How to Use Data Communications
The Difference Between Control & Specification Limits
Control limits are established on the control chart at ± 3 standard deviations (3 sigma).
They are based upon the distribution of sample averages and are calculated from the
actual performance of the process. They are typically narrower than specification limits.
Specifications are limits for individual measurements, not averages. They are based upon
engineering or customer requirements, rather than process capability. Process capability
predicts the process performance to predetermined specification limits.
When the LCL (Lower Control Limit) and UCL (Upper Control Limit) values have been
determined, the values for CPKL, CPKU, and CP are calculated and printed once on the
chart. The smaller of these two numbers will be your actual process capability or CPK.
SPC
CPKL =
If the system is too stable "variation insignificant" is printed. Your process is so stable that
even a severe shift or variation greater than ±6 sigma will still maintain a larger CPK
value. If both LSL and USL are left at their default value, they are set to the 4σ values
below and above the process mean value. Once the mean value has been calculated,
these values are used to calculate CPKL and CPKU values.
Average: The mean, or the arithmetic average, ( x ).
Control Limits: Limits on a control chart, based on actual process data, which are used
as criteria for signalling the need for action, or for judging whether a set of data does or
does not indicate a "state of statistical control."
Lower Control Limit (LCL): Control limit derived by the average minus 3 standard
deviation ( x - 3σ ).
Mean: The arithmetic average, obtained by adding all the values together and dividing by
the number of values ( x ).
Process Capability (CPKL and CPKU): A comparison of process performance with
product specifications over a period of time and while the process is in statistical control.
CPK < 0Average value is outside the specification limits
CPK between 0 and 1Variation is greater than the limits.
CPK = 1Variation and the specification limits are the same
CPK between 1 and 1.33Acceptable process control
CPK between 1.33 and 2Good process control
CPK > 2Excellent process control
Mean - LSL
3σ
CPKU =
USL - Mean
3σ
Sigma: The unit of standard deviation. Sigma is the greek letter "s" written σ.
SPCA (Specification limits Absolute): Represents SPC with fixed values that do not
track the set point. When SPCA is chosen, the USL range is the LSL parameter + 2 (LSL
+ 2) to the sensor's range high. Default is the sensor's default range high. The LSL range
is from the sensor's default range low to the sensor's default range high. Default is the
sensor's default range low.
SPCd (Specification limits Deviation): Represents SPC with deviation values that
follow changes to the set point. When SPCd is chosen the range for USL it will be numeric values from 1 to 99. Default is 10. The LSL range is from -1 to -99. Default is -10.
SPCn : There are no user defined values. The USL and LSL parameters are masked.
How to Use Data Communications
WATLOW Series 945
23
Chart & SPC
e
e
Chart and SPC Printout
Example: Log = SPCA, Int = 0.1
P = ProcessS = Set Points
NOTE:
The time is printed
every 5th interval
(Int). The temperature variable (*) is
printed every 10th
interval.
One Int = 6 seconds.
Figure 12 Chart and SPC
Printout Example
Temperatur
*
01:00:01
01:00:31
01:01:01
01:01:31
01:02:01
01:02:31
01:03:01
01:03:31
Tim
Set Point
100°F
*
*
s
s
s
s
s
*
s
s
s
*
s
*
s
s
s
s
*
s
*
s
s
*
s
s
s
s
*
s
s
*
s
s
s
s
*
s
CP = 1.34
*
*
s
s
s
s
s
s
s
s
s
s
s
s
*
s
*
s
s
s
*
s
s
s
*
*
101
*
*
*
*
100
*
*
99
*
*
*
101
*
*
*
*
*
*
Temperature Variable
Lower Control Limit
(SPCA & SPCd only)Upper Control Limit
CPKL = 1.36CPKU = 1.32
(SPCA & SPCd only)(SPCA & SPCd only)
90
92
Maximum ExcursionMaximum Excursion
*
L
L
L
L
L
L
L
L
L
L
L
L
L
L
L
L
(Any messages concerning changes
(Any messages concerning tchanges
in he system are printed here)
in the system are printed here)
PROCESSDATE: 01-01-90
Set Point Variable
Temperature Variable
(SPCA & SPCd only)
U
U
U
U
U
U
U
U
U
U
U
U
U
U
U
U
110
110
12575
The Chart and SPC (Statistical Process Control) format are very similar. The only
difference is the SPC output displays the lower (L) and upper (U) control limit.
They are calculated based upon the mean value of the process variable, and are
derived from 30 random samples taken over the selected time base (tbS), the
mean value used is from the previous timebase samples (ex. the mean from the
first 30 samples is used to compute the control limits for the second 30 samples
and so on for every sample period. If SPCA (Specification limits Absolute or SPCd
(spec. limits Deviation) is selected then the CPKL, CP, or CPKu values will also be
printed. If the variation in the process value is too small to calculate the control
limits, L and U and the message "Variation Insignificant" are printed. If at any time
the process value exceeds the control limits during a print interval, the maximum
process excursion value will be printed (if both L and U are exceeded, both maximum values will be printed) on the next line printed. At any time the control limits
can be locked in by setting CLUP to "no" . If CLUP = no, new control limits can be
set by CLUP = YEs.
24
WATLOW Series 945
How to Use Data Communications
ProblemCauseAction
Printing all onThe line feedSet the printer for a carriage
the same line.is missing.return and line feed.
The printing isData formats areMatch the Series 945 data
garbled.not compatible.format to the printers data
format using the "Data" prompt.
The printer willThe printer is off line.Bring the printer on line.
not print.
The transmit andMake sure Terminal #20 and
receive lines are#22 go to the printers appropriate
reversed.receive and transmit terminals.
Error Codes
Table 7 Printer
Troubleshooting.
NAKs and Error Codes
When your message is "not acknowledged" (NAK) in RS-422A or EIA-485 with
ANSI X3.28 Protocol, you may clear ER2 code by reading it. That is, use "?"
Then try the message again; you may have made a syntax error. See the error
code listing in Table 5, Page 19.
With XON/XOFF protocol and the RS-423A interface, the 945 sends no
feedback on commands. Therefore, you may want to query the status of ER 2
after each command you send.
All communications-related error codes are ER2 error codes, that is they are
not considered cause for a shutdown of the 945 unit itself. There is always a
communications error code generated when a <NAK> character is sent under
the ANSI X3.28. With XON/XOFF flow control error codes may be generated,
but there will be no standard indication of this fact.
User Responsibility
All of the previous commands are available on all models of the Series 945 that
have communications capability. It is the responsibility of the user to refrain
from altering parameters which may not appear on the unit. (Example: AXLO
should not be set to 1 or 2 if the unit is not equipped with alarm outputs.)