Interfaces
RS232 interface
167
Unit
hardware
Connector
assignment / cable
Technical data
Configuration
Positioning and
control functions
Optimization
functions
Interfaces
Accessories /
options
Status
Parameter
Error list
Valency: *
1
2
15
2
14
... 2
2
2
1
2
0
.
Transmission sequence, e.g.: "84 4C MSB LSB".
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.
You can generate this format from any number (as long as it has digits after the
decimal place) as follows.
Number = 450.5
1. Multiply number by 2
24
.
450.5 * 2
24
= 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!
Note:
when binary transfer is switched on, note the following.
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.
*
1
Negative numbers
*
2
Format
conversion
Example:
Start-up during
binary transfer