0 wc 1 off-line rs-232 terminal protocol, 1 general description, 2 terminal protocol – Tweco WC 1 Weld Sequence Controlle User Manual

Page 22: Wc 1 off-line rs-232 terminal protocol, Eneral, Escription, Erminal, Rotocol

Advertising
background image

18

7.0 WC 1 OFF-LINE RS-232 TERMINAL PROTOCOL

7.1 General Description

The RS-232 Terminal mode can be used to off-line program the user configurable parameters and
operating modes. The protocol is a simple ASCII command string that allows the user to upload or
download the various data. The user can use any terminal program to perform the programming
function. All program command functions are case sensitive. The serial port is configured for the
following data format:

Baud Rate: 19.2K, Full Duplex

Word Length: 8 Data Bits, One Stop and no parity

Hand Shaking: None

7.2 Terminal Protocol

The protocol consists of a command string and optional data bytes. The command string is an
alpha character and an option number followed by a "=" or "?", followed by optional data and
terminated with an ASCII "cr" (0dh). The "=" will indicate that data is being sent to the selected
parameter by the host controller. The "?" will indicate a request for data from the WC 1 to the host
controller. If the host is sending data to the WC 1 the data will be placed after the "=" character and
will be an ASCII string terminated with an ASCII "cr" (0dh). The following is an example of reading a
parameter value from the WC 1:

From Host type:

V1? (cr)

Response from WC 1:

##

Where: ## is the current value for the parameter and (cr) is the

enter key

The following is an example of how to modify a value in the WC 1 using the terminal commands:

From Host type:

V1=#### (cr)

Where: ## is the new value for the parameter and (cr) is the enter

key

Advertising