GB130 - Remote Control

Download as pdf or txt
Download as pdf or txt
You are on page 1of 5

GB 130

Manual

4.2 Remote Control


The antenna-positioning Control Unit GB 130 is to be connected to the host as shown in the following figures. At the host end, the hardware handshake may have to be bypassed under some circumstances (connection from RTS to CTS and from DSR to DTR). To allow operation via the host, the control unit has to be switched to remote mode via the keyboard. (see section 2.1.7). The serial interfaces cannot be operated at the same time. Interface connectors that are not used should not be connected, but if they are connected, only the quiescent level of the corresponding interface is allowed.

4.2.1 Wiring 4.2.1.1 Wiring Diagram of RS-232-C

GB 130
RxD GND TxD
2 5 3

Host (PC)
TxD GND RxD RTS CTS DSR DTR
Fig. 4: Wiring of RS-232-C

RTS CTS

7 8

4059.8809.02

22

E-1

GB 130 4.2.1.2 Wiring Diagram of RS422

Manual

GB 130
RS 422
GND 1 TxD+ 2 Term T 3 4 RxD+ Term R 5 Term R 6 GND TxDTerm T RxDGND 8 9 10 11 13

Host (PC)
RxD+

TxD+

RxD-

TxD-

Fig. 5: Wiring of RS422 Internal terminations of 180 can be applied by connecting pin 3 with pin 10 and pin 5 with pin 6 of the connector.

4.2.1.3 Wiring Diagram of RS485

GB 130
RS 485
GND 1 2 4 D+ 5 Term 3 Term 10 GND 8 9 11 D- 12 13 GND

Host (PC)

D+

D-

Fig. 6: Wiring RS485 Internal terminations of 180 can be applied by connecting pin 3 and 10 of the connector.

4059.8809.02

23

E-1

GB 130 4.2.2 Transmission Parameters


The following transmission parameters are specified for the GB 130: Baud rate Start bits Stop bits Data bits Parity Handshake Duplex 9600 bit/s 1 1 8 None Non Half duplex

Manual

Table 10: Transmission parameters

4.2.3 Notation
The following notation is defined for the description of data telegrams: Notation <command> <response> <CR> <CRC> <Q> <NAK> <ACK> <no> <axis> A, B, ... Z, 0, 1, ..., 9 ###.# Description Control commands Response to control command Carriage return Cyclic redundancy check Checksum Acknowledgement signal Not acknowledged Acknowledged Number of rotator Axis ASCII 13 00h to FFh <NAK> <ACK> ASCII 21 ASCII 6 0 to 4 0 1 (azimuth) (elevation) See section Value range Remark See section See section

Upper-case letters and digits are {A to Z and transmitted as ASCII characters 0 to 9} 3-digit decimal number with sign and 1 decimal place Table 11: Notation used

4059.8809.02

24

E-1

GB 130 4.2.4 Checksum

Manual

The checksum <CRC> contained in all telegrams is formed by XOR linking of all characters of the data telegram up to and including <CR>. The hex characters of the checksum are transmitted as ASCII characters. Example: Telegram: Character codes: C0,0<CR> C 0 , 0 <CR> 43h 30h 2Ch 30h 0Dh 62h C0,0<CR>62

XOR linking (checksum): Complete telegram:

4.2.5 Data Telegrams


The data telegrams received by the GB 130 have the following structure: <command><CR><CRC> The telegram sent by the GB 130 has one of two response formats depending on the <command>:

A B
Command A

<Q><response><CR><CRC>

This format will be used if the command received waits for a response from the GB 130. This format will be used if a response from the GB 130 is not expected.

<Q><CRC>

Table 12: Response formats The commands are listed in the following table:
Description Stop all rotators. Stop axis <axis> of rotator <no>. Program nominal position. Move to nominal position. Move all rotators to parking position. Confirm error message. Query of version Query of limit switch Response format B B B B B B A A :<text> :<xx> <xx> is the sum of: 1: limit switch for right azimuth 2: limit switch for left azimuth 4: limit switch for upper elevation 8: limit switch for lower elevation :xxx.x The current angle will be returned. Response

C<no>,<axis> D<no>,<axis>:###.# G<no>,<axis> H E J O<no>

X<no>,<axis>

Position query of axis <axis> of rotator <no>

4059.8809.02

25

E-1

GB 130
Command Q<no>,<axis> Description Status query Response format A Response

Manual

:xxxx xxxx is the sum of: 1 incorrect checksum 2 communication error with rotator 1 4 communication error with rotator 2 8 communication error with rotator 3 16 communication error with rotator 4 32 limit switch for left azimuth 64 limit switch for right azimuth 128 limit switch for upper elevation 56 limit switch for lower elevation 512 nominal value has not been attained or :x where x is # ready; rotator is running ! ready; rotator is not running $ not ready

Table 13: Control commands Example: Move rotator to azimuth position 330.0: PC GB 130 D0,0:+330.0<CR>5A G0,0<CR>66 X0,0<CR>79 GB 130 PC <ACK>06 <ACK>06 <ACK>:+122.1<CR>34

4059.8809.02

26

E-1

You might also like