Interfaces

RS232 interface

Valency: *1

215 214 ... 22 21 20.

Transmission sequence, e.g.: "84 4C MSB LSB".

*1 Negative numbers Negative numbers are represented in complement to two format. Creating the complement to two:

Determine bit combination of the positive numerical value.

Negate the binary value.

Add 1.

*2 Format You can generate this format from any number (as long as it has digits after the conversion decimal place) as follows.

Example: Number = 450.5

1.Multiply number by 224.

450.5 * 224 = 7 558 135 808.

2.7 558 135 808: convert into a hexadecimal number (if necessary into an integer first) =>0x00 01 C2 80 00 00 before decimal place, after decimal place MSB,.... LSB, MSB,.... LSB.

3.These bytes must now be entered into the commands in the sequence specified. The sequence of the bytes is reversed. Do not alter the sequence of

the bits.

This conversion also applies to negative numbers.

Examples of the number format of "xx xx xx xx xx xx"

 

Number

 

MSB

 

 

 

 

LSB

 

 

10

 

00

00

0A

00

00

00

 

 

360

 

00

01

68

00

00

00

 

 

450,5

 

00

01

C2

80

00

00

 

 

-1

 

FF

FF

FF

00

00

00

 

 

 

 

Digits before the decimal place

Digits after the decimal place

 

 

 

 

 

 

The following string will be produced, e.g. for POSA 360.0:

 

"88 41 00 00 00 68 01 00"

 

 

 

 

 

Note: transfer all digits!

 

 

 

 

 

Start-up during

Note: when binary transfer is switched on, note the following.

binary transfer

Only create RS232 connection when participants are switched on or

 

when participants are enabled, the RS232 can be re-initialized by COMPAX using

 

Power on.

 

 

 

 

 

 

 

167

Unit

hardware

 

 

Connector

assignment / cable

Technical data

 

 

 

Configuration

 

 

 

Positioning and

control functions

 

 

Optimization

functions

 

 

Interfaces

 

 

 

Accessories /

options

 

 

Status

 

 

 

Parameter

 

 

 

Error list

 

 

 

Page 167
Image 167
Parker  Products COMPAX-M /-S (L) manual RS232 interface Valency *1, Examples of the number format of xx xx xx xx xx Number