Parker Products COMPAX-M /-S (L) manual RS232 interface Function Activation using P20 Valid From

Models: COMPAX-M /-S (L)

1 242
Download 242 pages 31.85 Kb
Page 161
Image 161

Interfaces

Unit hardware

P20: Software handshake (SH) / error transmission

RS232 interface

Function

Activation using P20

Valid

 

 

 

from

Software

"0": without

 

Power

handshake

"1": with XON, XOFF

on

Error transmission

"0": Error only when there is activity at the interface

Imme-

 

and if the transmitted command triggers an error.

diately

 

No negative command acknowledgement (E90

 

 

...E94).

 

 

 

"2": No transmission of error or negative command

 

 

acknowledgments (E90 ...E94).

 

 

"4": Messages are indicated for all errors and negative

 

 

command acknowledgments (E90 ...E94) when

 

 

they occur using Exx CR LF >.

 

 

"6": Error and negative command acknowledgement

 

 

(E90 ...E94) only when there is activity at the

 

 

interface.

 

 

End sign selection

"0": CR LF >

"8": CR

Power

 

 

 

on

Binary transfer

"0": without

"16": with

imme-

 

 

 

diately

BCC: Block check

"0": without

"128": with

Power

 

(EXOR via all signs apart from the end sign)

on

Implment the required setting by entering the sum of the set values in P20.

Connector

assignment / cable

Technical data

 

Configuration

 

Positioning and

control functions

Example in Quick-Basic of how to transmit and receive COMPAX data via the RS232 interface.

DIM text$(30)

´

The text string "text$" is defined with a length of 30.

a$="com1:9600,N,8,1"

´

The interface parameters are assigned to the "a$" string. Meaning:

 

´ com1:the com1 serial interface is used.

 

´ 9600: sets baud rate to 9600

 

´

N:

no parity

 

´

8:

8 bit word length

 

´

1:

one stop bit

OPEN a$ for RANDOM AS #1

´

The interface is initialized and marked with #1 (channel 0).

text$="S1"

´

Status S1 must be queried.

PRINT #1,text$

´

text$ is output on channel 1.

text$=""

´

text$ is deleted so that the response can be accepted.

INPUT #1, text$

´

S1 is read by channel 1 in text$

PRINT text$

´

S1 is output on screen

END

 

 

 

161

 

 

 

 

 

 

 

 

 

 

Optimization

functions

 

 

Interfaces

 

 

 

Accessories /

options

 

 

Status

 

 

 

Parameter

 

 

 

Error list

 

 

 

Page 161
Image 161
Parker  Products COMPAX-M /-S (L) manual RS232 interface Function Activation using P20 Valid From, $=com19600,N,8,1