beautypg.com

Ntellisys, Daptive, Ressure – Nor-Cal Intellisys Adaptive Pressure Controllers User Manual

Page 16: Ontrollers, 0 - rs-232 serial interface and commands, Interface basics, Serial commands summary, Rs-232 commands examples

background image

16

16

Visit our Web Site

www.n-c.com

I

ntellIsys

A

dAptIve

p

ressure

C

ontrollers

APC-OP-LIT 1/12

6.0 - RS-232 Serial Interface and Commands

Interface basics

All APC controllers support RS-232 serial communications available though one or more interface ports. A full description of the communications protocol and
a listing of all active serial commands follows in this section. But first, a three-wire connection needs to be completed to provide the communications lines, with
Rxd (data from the APC), Txd (data to the APC) as well as signal common on.

NOTE:

Hardware handshaking is not available.

NOTE:

The default factory RS-232 communications parameter settings are 9600 Baud, 1 stop bit, no parity and 8-bit character.

These settings can only be changed on models with DIP switches, and changing the setting requires cycling APC input power off then back on.

Every serial input command sent by the HOST has an end-of-line delimiter, carriage return ASCII 0x0D [hex], or the line feed character ASCII 0x0A [hex],
or the carriage return and line feed character in that order. The APC-device end-of-line delimiter is the carriage return and line feed characters.

Serial Commands Summary

Table 6.1 and 6.2 summarize the serial commands and responses available with the APC controller. Additional commands
may be included to enable customer specific functions. Please contact Nor-Cal Products Intellisys Customer Support for more details.

TAbLE 6.1 – RS-232 SERIAL COmmANDS

SerIAl

commAnD

DeScrIPtIon

noteS /

exAmPleS

C

Close the valve

Same function as pressing the CLOSE button

O

Open the valve

Same function as pressing the OPEN button

H

Hold the valve in the current position

Stops active pressure control, if device is in that mode

T1x

Sets the type of set point #1. When x=0, the set-point type is position.

When x=1, the set-point type is pressure.

S1xx.xx

Used to program a value for set point xx.xx is any number between 0.00 and

100.00, representing the % of gauge full scale

S150, for example, programs the value of 50% for the setpoint. When using

a 1 Torr gauge, this corresponds to 500 mTorr..

D1

Activates set-point #1.

Put the device in control mode, effectively making the setpoint active.

Vxx.xx

Go to valve position

xx.xx is 0 to 100% of full open

L0

Auto select CDG1 or CDG2 for best resolution

Default two gauge configuration.

L1

Control to and report CDG1 values only

Selects Gauge 1 for manitenance function.

L2

Control to and report CDG2 values only

Selects Gauge 2 for manitenance function.

N1xx

Sets the full scale range of CDG1

Values for xx can be found in Table 6.3

N2xx

Sets the full scale range of CDG2

Values for xx can be found in Table 6.3

JC

Clears the “initialization safety lock feature” included on some TPV and TSS

controllers

Initializes Valve

RS-232 Commands Examples

The following section provides examples of the most commonly used commands and responses. The APC serial command protocol is not case sensitive, though
all the command examples in this section are listed in capital letters. Furthermore, whenever necessary the character Ø has been used to designate the number
zero, so as to not confuse it with the letter O.

TAbLE 6.2 – RS-232 SERIAL REqUESTS AND RESPONSES

SerIAl

reQueSt

DeScrIPtIon

reSPonSe

R1

Requests the set point value

S1 + xx.xx, where xx.xx is a number from 0.00 to 100.00

R5

Requests the current pressure

P+xx.xx, where xx.xx is a number from 0.00 to 100.00

R6

Requests the current valve position

V +xx.xx, where xx.xx is a number from 0.00 to 100.00

R38

Requests the software version

APC3-[version #] [version date]

R26

Report set point type

T1x, When x=0, the set-point type is position. When x=1, the set-point type

is pressure.

GSN

Get the serial number of the device

Serial nb xxxxxx

RN1

Requests full scale range of CDG1

N1xx.xx, where xx.xx is the full scale range of CDG1

RN2

Requests full scale range of CDG2

N2xx.xx, where xx.xx is the full scale range of CDG2

RESET

Resets the device

Same as cycling power