Parker Products COMPAX-M /-S (L) manual 3 RS232 interface, Interface description

Models: COMPAX-M /-S (L)

1 242
Download 242 pages 31.85 Kb
Page 160
Image 160

 

Operating Instructions

COMPAX-M / -S

 

 

RS232 interface

 

 

 

 

 

 

 

 

 

 

8.6.3 RS232 interface

 

 

 

 

 

You can communicate with COMPAX via an RS232 interface on a PC. The

 

 

 

 

following functions are available.

 

 

 

 

Direct command input and execution in on-line mode.

 

 

 

 

Read status values.

 

 

 

 

 

Read and write program data records (the complete stock of commands is

 

 

 

 

 

available here).

 

 

 

 

 

Read and write (password protected) parameters.

 

 

 

 

Transmit control instructions.

 

 

 

 

 

 

 

 

 

 

 

8.6.3.1 Interface description

 

 

Interface

 

 

 

 

 

 

Interface

RS 232

 

 

parameters

 

Baud rate:

9600* or 4800 (selected with P19)

 

 

 

 

 

 

COMPAX 1000SL: fixed setting 9600

 

 

 

 

Word length:

8 bit

 

 

 

 

Stop bit:

1

 

 

 

 

Parity:

none

 

 

 

 

Hardware handshake:

yes (RTS,CTS)

 

 

 

 

Software handshake:

XON, XOFF (can be selected using P20)

 

 

 

 

Entry buffer:

error string, max. 30 characters

 

 

 

 

Output buffer:

status string, max. 30 characters

 

 

 

 

Data format:

ASCII

 

 

 

 

End sign:

CR (carriage return) or CR LF (carriage return, line

 

 

 

 

 

 

feed)

 

 

 

 

* Default setting; simultaneously

press the three front plate buttons while switching

 

 

 

 

 

on to set COMPAX to 9600 Baud.

 

 

COMPAX receives

all displayable ASCII characters

 

any inserted spaces

a function sign, if nec. ($, ?, !)

CR (carriage return) for storing the command in the intermediate memory. If no function signs have been transmitted, the command is accepted and executed if necessary (see next page).

LF (line feed) has no meaning to COMPAX

COMPAX only receives a command if a previously transmitted command was answered with CR LF >.

COMPAX

 

if the syntax is error-free with CR LF > or the required response and CR LF >

responds:

 

if there are errors, depending on the contents of P20

Meaning of

 

 

$

Automatic "Position reached" message

function signs

 

 

1. only applies to POSA and POSR

 

 

 

 

2. COMPAX transmits: $C

L > when the position is reached.

 

 

 

 

R

F

 

 

 

,

Interpreting and storing commands

 

 

 

 

COMPAX stores the instruction in the intermediate memory (capacity: one

 

 

 

 

instruction) without executing it.

 

 

 

?

Echo

 

 

 

 

 

COMPAX sends the data received with CRLF>.

 

 

 

!

Executing commands

 

 

 

 

 

Whenever a "!" occurs, the instruction is executed from the intermediate

 

 

 

 

memory.

 

 

 

These function signs can be attached to any instruction.

 

Example: POSA 100 $ CR LF

 

 

 

 

COMPAX moves and responds once position 100 is reached with: $ CR LF >

160

Page 160
Image 160
Parker  Products COMPAX-M /-S (L) manual 3 RS232 interface, Interface description