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

TITLE

SW INSTALLATION AND USAGE MANUAL


Antenna Control Unit SW Interface Control Document (ICD)

SUBJECT OF THE DOCUMENT

PSR MORAVA
R739 030N

DOCUMENT NO. FORMAT SHEET

R738 938X A4 1/36

REV. INDEX -
SHEET OF REVISIONS AND SIGNATURES

REVISION INDEX DESCRIPTION OF REVISION

Index/Date -/ A/ B/ C/ E/ F/
17.4.2023

Prepared by M.HERTL

Reviewed by P.FIŠER

Approved by J.FILIP

Authorized by M. JIŘIKOVSKÝ

DOCUMENT NO. FORMAT SHEET

R738 938X A4 2/36

REV. INDEX -
TABLE OF CONTENTS

TABLE OF CONTENTS .................................................................................................................. 3

LIST OF TABLES ........................................................................................................................... 4

LIST OF FIGURES ......................................................................................................................... 4

1 COMMUNICATION PROTOCOL AND MESSAGE DEFINITIONS ................................................. 5


1.1 COMMUNICATION PROTOCOL ....................................................................................................... 5
1.2 MESSAGE STRUCTURE ................................................................................................................. 5
1.2.1 Example ACU Software Version Query Message ........................................................ 6
1.2.2 Example ACU Restart Request Message ..................................................................... 6
2 SCENARIO DEFINITIONS........................................................................................................ 7
2.1 CONNECTION ESTABLISHMENT .................................................................................................... 10
2.1.1 ACU Communication Method ................................................................................... 10
2.1.2 RCS Receive Method.................................................................................................. 10
2.2 VERSION QUERY ....................................................................................................................... 10
2.3 BUILT IN TEST QUERY ................................................................................................................ 10
2.4 ANTENNA CONTROL .................................................................................................................. 10
2.5 NETWORK ERRORS.................................................................................................................... 11
3 ACU-RCS MESSAGE LIST...................................................................................................... 12

4 EXTENDED BIT MESSAGE SIGNALS DESCRIPTION................................................................. 24


4.1 ACU SIGNALS .......................................................................................................................... 25
4.2 ADAM I/O MODULE SLOT 0 ...................................................................................................... 26
4.3 ADAM I/O MODULE SLOT 1 ...................................................................................................... 27
4.4 ADAM I/O MODULE SLOT 2 ...................................................................................................... 28
4.5 ADAM I/O MODULE SLOT 4 ...................................................................................................... 29
5 ACU BOARD CONFIGURATION ............................................................................................ 30
5.1 ACU MICROPROCESSOR PROGRAMMING WITH SAM-BA SOFTWARE .................................................. 30
5.2 LANTRONIX CONFIGURATION ................................................................................................... 32

DOCUMENT NO. FORMAT SHEET

R738 938X A4 3/36

REV. INDEX -
LIST OF TABLES
Table 1 – Structure of message.............................................................................................................. 5
Table 2 - From RCS (ID:0x0100) to ACU-1 (ID:0x0800) .......................................................................... 6
Table 3 - From RCS (ID:0x0100) to ACU-1 (ID:0x0800) .......................................................................... 6
Table 4 - ACU-RCS Message list............................................................................................................ 12
Table 5 – Extended BIT Message ......................................................................................................... 24
Table 6 – Extended BIT Message list .................................................................................................... 24
Table 7 – ACU signals ........................................................................................................................... 25
Table 8 – ADAM I/O module slot 0 ...................................................................................................... 26
Table 9 – ADAM I/O module slot 1 ...................................................................................................... 27
Table 10 – ADAM I/O module slot 2 .................................................................................................... 28
Table 11 – ADAM I/O module slot 4 .................................................................................................... 29

LIST OF FIGURES
Fig. 1 – Message flow diagram – part 1 ................................................................................................. 8
Fig. 2 – Message flow diagram - part 2 .................................................................................................. 9
Fig. 3 – SAM-BA SW configuration ....................................................................................................... 30
Fig. 4 – Send File Name setting ............................................................................................................ 31
Fig. 5 – Send File................................................................................................................................... 31
Fig. 6 – Programming ........................................................................................................................... 32
Fig. 7 – Main information (MAC Address, IP Address)......................................................................... 33
Fig. 8 – Discovery configuration ........................................................................................................... 34
Fig. 9 – Line configuration .................................................................................................................... 34
Fig. 10 – Network configuration_Interface (DHCP/IP Address mode settings)- DHCP if required...... 35
Fig. 11 –Tunnel configuration - Packing ............................................................................................... 35
Fig. 12 –Tunnel configuration - Accept ................................................................................................ 36
Fig. 13 –Tunnel configuration - Disconnect ......................................................................................... 36

DOCUMENT NO. FORMAT SHEET

R738 938X A4 4/36

REV. INDEX -
Main purpose of this document is to define a common message structure which will be used
between Radar Control Software - RCS and Antenna Control Unit (ACU). The intended usage of ACU
is also explained in the scenario chapter of this document.

1 COMMUNICATION PROTOCOL AND MESSAGE DEFINITIONS

1.1 Communication Protocol


• All communications in the system will be handled by using TCP/IP protocol. For initiation of
connection ACU is going to be server and RCS is going to be client.
• IP value of ACU should be defined by using DHCP protocol.
• Communication will be in both ways.
• ACU should support Ethernet data rate of 100 Mbps.

1.2 Message Structure


• Due to usage of TCP/IP protocol, the message structure defined in this document will be the
data part of TCP/IP frames.
• Messages will be send in Little Endian format.
• A message will be consist of sender ID, receiver ID, message ID, size of data, data and
checksum. The structure is shown below:

Table 1 – Structure of message


Sender ID Receiver ID Message ID Data Size Data CRC
2 Bytes 2 Bytes 2 Bytes 2 Bytes N Bytes 2 Bytes
• ID values of related units are;

o RCS-1: 0x0100
o RCS-2: 0x0101
o ACU-1: 0x0800
o ACU-2: 0x0801

• The list of messages, their definition, their ID’s, their data values and sizes, and their intended
usage can be found in Appendix-I ACU-RCS Message List document.
• The value of Data Size field will be equal to length of Data field (N Bytes).

DOCUMENT NO. FORMAT SHEET

R738 938X A4 5/36

REV. INDEX -
• CRC of message is defined by this following function:

uint16_t Checksum16( uint8_t* data, int length )


{
uint16_t xor_sum = 0;
for( uint8_t index = 0; index < length; index++ )
{
xor_sum = xor_sum ^ data[index];
}
return xor_sum; }

1.2.1 Example ACU Software Version Query Message

Table 2 - From RCS (ID:0x0100) to ACU-1 (ID:0x0800)


Sender ID Receiver ID Message ID Data Size Data CRC
2 Bytes 2 Bytes 2 Bytes 2 Bytes 0 Byte 2 Bytes
01 00 08 00 00 03 00 00 00 0A

1.2.2 Example ACU Restart Request Message

Table 3 - From RCS (ID:0x0100) to ACU-1 (ID:0x0800)


Sender ID Receiver ID Message ID Data Size Data CRC
2 Bytes 2 Bytes 2 Bytes 2 Bytes 1 Byte 2 Bytes
01 00 08 00 00 04 00 01 00 00 0C

DOCUMENT NO. FORMAT SHEET

R738 938X A4 6/36

REV. INDEX -
2 SCENARIO DEFINITIONS
In this chapter, connection establishment (includes both system opening and reconnection
cases) and runtime scenario of the radar system from ACU perspective is given. Message flow
diagram between RCSs and ACU’s is shown below. There are two RCS software units in the radar
system.

DOCUMENT NO. FORMAT SHEET

R738 938X A4 7/36

REV. INDEX -
Fig. 1 – Message flow diagram – part 1

Message flow diagram continues below.

DOCUMENT NO. FORMAT SHEET

R738 938X A4 8/36

REV. INDEX -
Fig. 2 – Message flow diagram - part 2

Note: Messages shown in operational phase of radar system in above diagrams should be
considered independent from each other. There are no specific timing or order of message
requirements to be able to send a message. For example, to send a restart request to ACU-2, it will
not be also needed to send a restart request to ACU-1 prior.

DOCUMENT NO. FORMAT SHEET

R738 938X A4 9/36

REV. INDEX -
2.1 Connection Establishment
While RCSs are up and running, they will always try to connect to ACUs. Likewise, up and
running ACUs should always wait for incoming connection requests. ACU software is expected to
run as a server. RCS is going to be a client from ACU perspective. Each RCS will make a connection
with both ACU-1 and ACU-2.
In the message diagram above, superior software box represents different RCSs making
connections to both ACU. Number of active RCSs during runtime can be vary between one and two.
Therefore, ACUs should not expect a constant number of connections all time.
2.1.1 ACU Communication Method
Each ACU has its own Lantronix TCP/IP to Serial converter unit which handles the Ethernet
based communication. ACU receives data in serial communication format. When ACU is required to
send out a message, Lantronix unit first receives the message in serial communication format from
ACU and send the message in TCP/IP format to all active connections (Lantronix does not have the
capability of sending messages to specific ethernet connections). Because of this, when ACU is
replying to a request from (for example) RCS-1, Lantronix sends out this message to both RCS-1 and
RCS-2 if they are both connected. This means one of the RCSs will always receive a message with
wrong Receiver ID.
Packets with wrong Receiver ID fields will be handled by RCS based on the message type.
2.1.2 RCS Receive Method
After receiving a message, RCS will first look up the Message ID field of the received message.
If the received message is a BIT Reply Message, RCS will not look into the Receiver ID field of it
and will accept this message.
If the received message is either a Version Reply, Control Reply Message, ACU Restart Reply or
Master – Slave Reply, RCS will look into the Receiver ID field of it and if it does not match with RCS
ID, it will drop this message.

2.2 Version Query


RCSs will check whether the software or firmware of any device has changed by looking up its
version number. Therefore, each RCS will send its own ‘Version Query’ message after a successful
TCP connection. ACU should send ‘Version Reply’ message after receiving that query.
Apart from connection establishment, version query can also be sent by RCS during operation.

2.3 Built In Test Query


One of the RCSs will send ‘BIT Request’ messages to ACUs every 1 second. The RCS sending
‘BIT Request’ message can be interchanged at runtime. ‘BIT Reply’ messages will be sent to both
RCSs from each ACU.

2.4 Antenna Control


The antenna control messages will be sent to both ACU-1 and ACU-2 from one of the RCSs.
When the same antenna control message is received by both ACUs, it is left to RAMET for deciding
how to choose master ACU and apply content of the control message to the antenna system. After
sending an antenna control message to both ACUs, it is expected to receive the antenna control
reply message only from master ACU (in the given sequence diagram above, it is assumed ACU-1 is
DOCUMENT NO. FORMAT SHEET

R738 938X A4 10/36

REV. INDEX -
chosen as master during operation phase, but it is expected to be changeable with time and this
change will be handled by ACUs themselves).

Apart from RCS, during run time or maintenance, service software of RAMET should be also
make a connection to both ACUs without breaking any existing connections between any RCS and
ACU. This service software will be used during tests and might be also used after installations of
antenna systems at end user sites (service software will be provided by RAMET after pedestal
Factory Acceptance Tests).

2.5 Network Errors


For network error handling, if there is a connection loss between with one ACU and RCSs, it is
expected that normal operation can continue through other ACU. The ACU that lost its connection
with RCSs should wait indefinitely for a reconnection (in this case RCSs will be also attempting to
reestablish TCP connection periodically).
ACUs will sense connection loss from not receiving periodical BIT or some other request
messages. If ACU cannot take BIT request message in 10 seconds, it will decide RCS connection is
lost.
If master ACU loses connection with both of the RCSs and slave ACU has existing connection
with one of the RCSs, slave ACU will be master. If master ACU loses connection with both of the
RCSs and slave ACU has no connection with both of the RCSs, slave ACU will not become master.
When both ACUs have lost connection with both of the RCSs, there should be no timeout for
ACUs to keep track off for stopping antenna system. ACUs should keep the antenna system
continue working with the last received parameters and wait for connection reestablishment.

DOCUMENT NO. FORMAT SHEET

R738 938X A4 11/36

REV. INDEX -
3 ACU-RCS MESSAGE LIST
Table 4 - ACU-RCS Message list
Message Data
Message Message Data Data Data
Data Size Message Content Size Data Values
Name ID Index Type Unit
(byte) Byte
BIT 0x0002 0
- - - - - -
Request

BIT Reply 0x0002 110 0x00: ACU-A Master


Master/Slave Status of ACU 0 1 uint8
0x01: ACU-B Master
0x00: OK
Status of ACU-A 1 1 uint8
0x01: Error
0x00: OK
Status of ACU-B 2 1 uint8
0x01: Error
0x00: OK
Pressure Unit Status 3 1 uint8
0x01: Error
0x00: OK
ACU-A+B Power Status 4 1 uint8
0x01: Error
0x00: OK
ACU-A LAN Communication Status 5 1 uint8
0x01: Error
0x00: OK
ACU-B LAN Communication Status 6 1 uint8
0x01: Error
ACU Drivebox Control Circuit 1/2
7 1 uint8 0x00: OK
Power Status
0x01: Error - No power
DOCUMENT NO. FORMAT SHEET

R738 938X A4 12/36

REV. INDEX -
ACU Drivebox Temperature
8 1 uint8 0x00: OK
Thermostat Status
0x01: Error – Drivebox Case overheated
0x00: 0 rpm (stop position)
0x01: 8 rpm
Antenna Rotation Set Speed 9 1 uint8
0x02: 12 rpm
0x03: 15 rpm
0x00: Drive-1 disabled
Activity of Drive-1 10 1 uint8
0x01: Drive-1 enabled
0x00: Drive-2 disabled
Activity of Drive-2 11 1 uint8
0x01: Drive-2 enabled
0x00: OK
Status of Drive-1 12 1 uint8 0x01: Error
0x02: Warning
0x00: OK
Status of Drive-2 13 1 uint8 0x01: Error
0x02: Warning
0x00: OK
Status of Frequency Converter-1 14 1 uint8 0x01: Error
0x02: Warning
0x00: OK
Status of Frequency Converter-2 15 1 uint8 0x01: Error
0x02: Warning
Control Status of Frequency 0x00: OK
16 1 uint8
Converter-1 0x01: Error
Control Status of Frequency 0x00: OK
17 1 uint8
Converter-2 0x01: Error
DOCUMENT NO. FORMAT SHEET

R738 938X A4 13/36

REV. INDEX -
0x00: Motor-1 is active
Activity of Motor-1 18 1 uint8
0x01: Motor-1 is not active
0x00: Motor-2 is active
Activity of Motor-2 19 1 uint8
0x01: Motor-2 is not active
0x00: Motor-1 power on
Motor-1 Power Status 20 1 uint8
0x01: Motor-1 power off
0x00: Motor-2 power on
Motor-2 Power Status 21 1 uint8
0x01: Motor-2 power off
0x00: OK
Status of Clutch-1 22 1 uint8
0x01: Error
0x00: OK
Status of Clutch-2 23 1 uint8
0x01: Error
0x00: OK
Clutch-1 Power Status 24 1 uint8
0x01: Error
0x00: OK
Clutch-2 Power Status 25 1 uint8
0x01: Error
0x00: OK - Working state
Clutch-1 Manual Control Status 26 1 uint8
0x01: Error - Service manual mode
0x00: OK - Working state
Clutch-2 Manual Control Status 27 1 uint8
0x01: Error - Service manual mode
0x00: Service mode off
Status of Service Mode 28 1 uint8
0x01: Service mode on
Antenna Rotation in Service Mode 0x00: Antena rotation stop
29 1 uint8
(Drive 1+2) 0x01: Antena rotation
0x00: OK
Status of Safety Loop 30 1 uint8
0x01: Error – Safety loop activated
Status of Emergency Stop 31 1 uint8 0x00: OK
DOCUMENT NO. FORMAT SHEET

R738 938X A4 14/36

REV. INDEX -
0x01: Error – Emergency stop activated
Status of Antenna Cabin Emergency 0x00: OK
32 1 uint8
Stop Button 0x01: Error - Emergency cabin stop activated
Status of Antenna Gallery 0x00: OK
33 1 uint8
Emergency Stop Button 0x01: Error - Emergency gallery stop activated
0x00: OK
Status of Antenna Arrest Switch 34 1 uint8
0x01: Error – Antena is arrested
0x00: OK
Status of Ladder Safety Switch 35 1 uint8
0x01: Error – Ladder in service possition
0x00: OK
Status of Fire in Antenna Cabin 36 1 uint8 0x01: Error – Fire in antenna cabin
0x02: Senzor Error
Status of Antenna Cabin 0x00: OK - Normal
37 1 uint8
Overvoltage Protection 0x01: Error – Overvoltage
Self-Protection Status against 0x00: OK
38 1 uint8
Outdoor Conditions 0x01: Error – Self-protection activated
Master/Slave Status of ADAM 0x00: ADAM-A Master
39 1 uint8
Modules 0x01: ADAM-B Master
0x00: OK
Status of ADAM-A 40 1 uint8
0x01: Error
0x00: OK
Status of ADAM-B 41 1 uint8
0x01: Error
0x00: OK
ADAM-A Power Status 42 1 uint8
0x01: Error
0x00: OK
ADAM-B Power Status 43 1 uint8
0x01: Error
Status of ADAM-A Input Signal 44 1 uint8 0x00: OK
DOCUMENT NO. FORMAT SHEET

R738 938X A4 15/36

REV. INDEX -
Limits 0x01: Error
Status of ADAM-B Input Signal 0x00: OK
45 1 uint8
Limits 0x01: Error
ADAM-A/B Digital inputs 0x00: OK
46 1 uint8
comparison 0x01: Error
Status of ADAM-A and ACU 0x00: OK
47 1 uint8
Communication 0x01: Error
Status of ADAM-B and ACU 0x00: OK
48 1 uint8
Communication 0x01: Error
0x00: OK
ADAM-A Digital output status 49 1 uint8
0x01: Error
0x00: OK
ADAM-B Digital output status 50 1 uint8
0x01: Error
Antenna Cabin Distribution Case 0x00: OK
51 1 uint8
Control Circuit-1 Power Status 0x01: Error
Antenna Cabin Distribution Case 0x00: OK
52 1 uint8
Control Circuit-2 Power Status 0x01: Error
0x00: OK
Antenna Cabin Distribution Case
53 1 uint8 0x01: Error – Cabin Distribution Case
Temperature Thermostat Status
overheated
Antenna Cabin Distribution Case 0x00: OK
54 1 uint8
Fan Power Status 0x01: Error
0x00: OK - Cabin door is closed
Status of Cabin Door 55 1 uint8
0x01: Error – Cabin door is opened
0x00: ON
Activity of Antenna Cabin Fan 56 1 uint8
0x01: OFF
Status of Antenna Cabin Fan 57 1 uint8 0x00: OK
DOCUMENT NO. FORMAT SHEET

R738 938X A4 16/36

REV. INDEX -
0x01: Error
0x00: ON
Activity of Antenna Cabin Heater 58 1 uint8
0x01: OFF
0x00: OK
Status of Antenna Cabin Heater 59 1 uint8
0x01: Error
0x00: OK
Status of Gearbox-1 Oil Level 60 1 uint8
0x01: Error – low oil level
0x00: OK
Status of Gearbox-2 Oil Level 61 1 uint8
0x01: Error – low oil level
0x00: OK
Status of Bearing Oil Level 62 1 uint8
0x01: Error – low oil level
0x00: OK
Status of Encoder-1 63 1 uint8
0x01: Error
0x00: OK
Status of Encoder-2 64 1 uint8
0x01: Error
0x00: OK
Encoder-1 Power Status 65 1 uint8
0x01: Error
0x00: OK
Encoder-2 Power Status 66 1 uint8
0x01: Error
Encoder-1 FO Transmitter Power 0x00: OK
67 1 uint8
Status 0x01: Error
Encoder-2 FO Transmitter Power 0x00: OK
68 1 uint8
Status 0x01: Error
0x00: Linear
Position of Polarization Switch 69 1 uint8 0x01: Circular
0x02: Changing
Polarization Switch Status 70 1 uint8 0x00: OK
DOCUMENT NO. FORMAT SHEET

R738 938X A4 17/36

REV. INDEX -
0x01: Error
Antenna cabin Auxiliary Power 0x00: OK
71 1 uint8
Status 0x01: Error
Position of Weather Channel Switch 0x00: Low Beam (Main Channel) is selected
72 1 uint8
NOT USED 0x01: High Beam (Aux Channel) is selected
Weather Channel Switch Status 0x00: OK
73 1 uint8
NOT USED 0x01: Error
Status of Obstruction Lights 0x00: OK
74 1 uint8
NOT USED 0x01: Error
Obstruction Lights Power Status 0x00: OK
75 1 uint8
NOT USED 0x01: Error
0x00: ON
Activity of Anemometer Heater 76 1 uint8
0x01: OFF
0x00: OK
Status of Anemometer Heater 77 1 uint8
0x01: Error
0x00: OK
Anemometer Heater Power Status 78 1 uint8
0x01: Error
0x00: ON
Activity of Air Valve 79 1 uint8
0x01: OFF
0x00: OK
Status of Air Valve 80 1 uint8
0x01: Error
ACU temperature [°C/10]
ACU Temperature [°C/10] 81 2 int16
0x8000: Sensor error
0x00: OK
0x01: Error
ACU Temperature status 83 1 uint8
0x02: Warning
0xFF: Sensor error
DOCUMENT NO. FORMAT SHEET

R738 938X A4 18/36

REV. INDEX -
Motor-1 temperature [°C/10]
Motor-1 Temperature [°C/10] 84 2 int16
0x8000: Sensor error
0x00: OK
0x01: Error
Motor-1 Temperature Status 86 1 uint8
0x02: Warning
0xFF: Sensor error
Motor-1 Winding Temperature 0x00: OK
87 1 uint8
Status 0x01: Error - Overheat
Motor-2 temperature [°C/10]
Motor-2 Temperature [°C/10] 88 2 int16
0x8000: Sensor error
0x00: OK
0x01: Error
Motor-2 Temperature Status 90 1 uint8
0x02: Warning
0xFF: Sensor error
Motor-2 Winding Temperature 0x00: OK
91 1 uint8
Status 0x01: Error - Overheat
Antenna Cabin temperature [°C/10]
Antenna Cabin Temperature [°C/10] 92 2 int16
0x8000: Sensor error
0x00: OK
0x01: Error
Antenna Cabin Temperature Status 94 1 uint8
0x02: Warning
0xFF: Sensor error
Antenna Cabin Emergency 0x00: OK
Thermostat Operation Temperature 95 1 uint8
0x01: Error - Overheat
Status
Gearbox-1 temperature [°C/10]
Gearbox-1 Temperature [°C/10] 96 2 int16
0x8000: Sensor error
DOCUMENT NO. FORMAT SHEET

R738 938X A4 19/36

REV. INDEX -
0x00: OK
0x01: Error
Gearbox-1 Temperature Status 98 1 uint8
0x02: Warning
0xFF: Sensor error
Gearbox-2 temperature [°C/10]
Gearbox-2 Temperature [°C/10] 99 2 int16
0x8000: Sensor error
0x00: OK
0x01: Error
Gearbox-2 Temperature Status 101 1 uint8
0x02: Warning
0xFF: Sensor error
Outdoor temperature [°C/10]
Outdoor Temperature [°C/10] 102 2 int16
0x8000: Sensor error
0x00: OK
0x01: Error
Outdoor Temperature Status 104 1 uint8
0x02: Warning
0xFF: Sensor error
Rotation speed [rpm/10]
Rotation Speed [rpm/10] 105 1 uint8
0xFF: Sensor error
0x00: OK
Rotation Speed Status 0x01: Error
106 1 uint8
NOT USED 0x02: Warning
0xFF: Sensor error
Wind speed [km/h]/10
Wind Speed [km/h]/10 107 2 uint16
0xFFFF Sensor error OR PWR_POLAR_OK(0)
0x00: OK
Wind Speed Status 109 1 uint8 0x01: Error
0x02: Warning
DOCUMENT NO. FORMAT SHEET

R738 938X A4 20/36

REV. INDEX -
0xFF: Sensor error

Version 0x0003 0
Query

Version 0x0003 4 Major Version Number 0 1 uint8 -


Reply Minor Version Number 1 1 uint8
Build Version 2 2 uint16 -

Antenna 0x0012 5 0x00h: Disable Drive-1 + Disable Drive-2


Control 0x01h: Enable Drive-1 + Disable Drive-2
Motor Selection 0 1 uint8 enum
0x02h: Disable Drive-1 + Enable Drive-2
0x03h: Enable Drive-1 + Enable Drive-2
0x00h: Linear
Polarization Selection 1 1 uint8 enum
0x01h: Circular
0x00h: Main beam
Weather Channel Selection 2 1 uint8 enum
0x01h: Aux beam
0x00h: Stop antenna rotation
0x01h: 8 rpm
Antenna Rotation Speed Values 3 1 uint8 enum
0x02h: 12 rpm
0x03h: 15 rpm
0x00h: OFF
Air Valve Flush 4 1 uint8 enum
0x01h: ON

Antenna 0x0012 5 0x00: Acknowledged (ACK)


Motor selection change 0 1 uint8 enum
Control 0x01: Not acknowledged (NACK)
Reply Polarization selection change 1 1 uint8 enum 0x00: Acknowledged (ACK)
DOCUMENT NO. FORMAT SHEET

R738 938X A4 21/36

REV. INDEX -
0x01: Not acknowledged (NACK)
0x00: Acknowledged (ACK)
Weather channel selection change 2 1 uint8 enum
0x01: Not acknowledged (NACK)
0x00: Acknowledged (ACK)
Antenna rotation speed change 3 1 uint8 enum
0x01: Not acknowledged (NACK)
0x00: Acknowledged (ACK)
Air valve flush change 4 1 uint8 enum
0x01: Not acknowledged (NACK)

ACU 0x0004 1 0x00: Restart ACU-A


Restart ACU 0 1 uint8 enum
Restart 0x01: Restart ACU-B

ACU 0x0004 1
0x00: Acknowledged (ACK)
Restart Restart ACU 0 1 uint8 enum
0x01: Not acknowledged (NACK)
Reply

Master- 0x0013 2 0x00: Force ACU-A to slave


Force ACU Slave 0 1 uint8 enum
Slave 0x01: Force ACU-B to slave
Control 0x00: Force ADAM-A I/O module to slave
Force ADAM I/O Module Slave 1 1 uint8 enum
Message 0x01: Force ADAM-B I/O module to slave

Master- 0x0013 2 0x00: Acknowledged (ACK)


ACU master-slave change: 0 1 uint8 enum
Slave 0x01: Not acknowledged (NACK)
Control
0x00: Acknowledged (ACK)
Message ADAM master-slave change: 1 1 uint8 enum
0x01: Not acknowledged (NACK)
Reply

Message 0xFFFF 0 Message Error - - - - -

DOCUMENT NO. FORMAT SHEET

R738 938X A4 22/36

REV. INDEX -
Error
Reply

Extended 0x0022 0
- Data format is given in tables 4.1.
BIT - - - - -
– 4.5
Request

DOCUMENT NO. FORMAT SHEET

R738 938X A4 23/36

REV. INDEX -
4 EXTENDED BIT MESSAGE SIGNALS DESCRIPTION
Table 5 – Extended BIT Message
Message
Message ID Data Size Data Direction
Name
Extended
0x0022h 51 Bytes Data format is given below ACU->RCS
BIT Reply

Table 6 – Extended BIT Message list


Data Size
Data Index Data Type Data
(Byte)
ACU inputs status:
0 3 Uint32
Values explained in 4.1
ADAM-A slot 0 inputs status:
3 2 Uint16
Values explained in 4.2
ADAM-A slot 1 inputs status:
5 2 Uint16
Values explained in 4.3
ADAM-A slot 2 inputs status:
7 2 Uint16
Values explained in 4.4
ADAM-A slot 4 inputs status:
9 2 Uint16
Values explained in 4.5
ADAM-B slot 0 inputs status:
11 2 Uint16
Values explained in 4.2
ADAM-B slot 1 inputs status:
13 2 Uint16
Values explained in 4.3
ADAM-B slot 2 inputs status:
15 2 Uint16
Values explained in 4.4
ADAM-B slot 4 inputs status:
17 2 Uint16
Values explained in 4.5
19 2 Int16 ADAM-A motor 1 temperature
21 2 Int16 ADAM-A motor 2 temperature
23 2 Int16 ADAM-A cabin temperature
25 2 Int16 ADAM-A gearbox 1 temperature
27 2 Int16 ADAM-A gearbox 2 temperature
29 2 Int16 ADAM-A outdoor temperature
31 1 Uint8 ADAM-A rotation speed 1
32 1 Uint8 ADAM-A rotation speed 2
33 2 Int16 ADAM-A wind speed
35 2 Int16 ADAM-B motor 1 temperature
37 2 Int16 ADAM-B motor 2 temperature
39 2 Int16 ADAM-B cabin temperature
41 2 Int16 ADAM-B gearbox 1 temperature
DOCUMENT NO. FORMAT SHEET

R738 938X A4 24/36

REV. INDEX -
43 2 Int16 ADAM-B gearbox 2 temperature
45 2 Int16 ADAM-B outdoor temperature
47 1 Uint8 ADAM-B rotation speed 1
48 1 Uint8 ADAM-B rotation speed 2
49 2 Int16 ADAM-B wind speed

4.1 ACU signals


Table 7 – ACU signals
ACU
Warning/
Bit Signal Signal description Values Description
Error
Master status of 0 Other ACU is slave -
0 MASTER_IN
other ACU 1 Other ACU is master -
Default master 0 Slave on default -
1 DWM
priority 1 Priority master on default -
0 Other ACU in error state W
2 ACU_IN_OK Status of other ACU
1 Other ACU is OK -
Status of Pressure Unit in
Status of Pressure 0 W
3 PRESSURE_OK error state
Unit
1 Status of Pressure Unit is OK -
Supply of ACU A+B in error
Status of supply ACU 0 W
4 PWR/A+B_OK state
A+B
1 Supply of ACU A+B is OK -
Status of supply 0 Supply of CCIR in error state W
5 PWR/CCIR_OK
control circuit 1 Supply of CCIR is OK -
ACU Master is set to 0 Master ACU B -
6 STAT_MASTER_A
ACU A 1 Master ACU A -
0 Case overhear in error state W
7 CASE_OVERTEMP Case overheat
1 Case overheat is OK -
ACU Master is set to 0 Master ACU A -
8 STAT_MASTER_B
ACU B 1 Master ACU B -
Status of service 0 Service mode OFF -
9 SERVIS_ACT
mode 1 Service mode ON -
0 Safety timer waiting -
10 START_TIMER Safety timer
1 Safety timer timeout -
Motor driver 1 in warning
Motor driver 1 0 W
11 FM1_W state
warning
1 Motor driver 1 is OK -
Motor driver 1 0 Motor driver 1 is disabled -
12 FM1_ENABLE
enable 1 Motor driver 1 is enabled -
13 FM1_OK Status of motor 0 Motor driver 1 in error status E

DOCUMENT NO. FORMAT SHEET

R738 938X A4 25/36

REV. INDEX -
driver 1 1 Motor driver 1 OK -
Motor driver 1 0 Motor driver 1 stop -
14 FM1_START/STOP
start/stop 1 Motor driver 1 start -
Motor driver RPM 0 Motor driver RPM1 deactive -
15 FM_RPM1
selection 1 1 Motor driver RPM1 active -
Motor driver RPM 0 Motor driver RPM2 deactive -
16 FM_RPM2
selection 2 1 Motor driver RPM2 active -
Motor driver 2 in warning
Motor driver 2 0 W
17 FM2_W state
warning
1 Motor driver 2 is OK -
Motor driver 2 0 Motor driver 2 is disabled -
18 FM2_ENABLE
enable 1 Motor driver 2 is enabled -
Status of motor 0 Motor driver 2 in error status E
19 FM2_OK
driver 2 1 Motor driver 2 OK -
Motor driver 2 0 Motor driver 2 stop -
20 FM2_START/STOP
start/stop 1 Motor driver 2 start -
Motor driver 1 not on
0 -
Motor driver 1 on selected rpm
21 MOT1_OK
selected rotations Motor driver 1 is on selected
1 -
rpm
Motor driver 2 not on
0 -
Motor driver 2 on selected rpm
22 MOT2_OK
selected rotations Motor driver 2 is on selected
1 -
rpm

4.2 ADAM I/O module slot 0


Table 8 – ADAM I/O module slot 0
ADAM DI SLOT 0
Signal Warning/
Bit Signal Values Description
description Error
Emergency STOP button
Emergency stop 0 E
0 STOP_SWC_ACT activated
button - cabin
1 OK -
Emergency STOP button
Emergency stop 0 E
1 STOP_SWG_ACT activated
button - gallery
1 OK -
Antena arrest 0 OK -
2 ARETAS_SW_ACT
switch 1 Antena is arrested E
Ladder safety 0 OK -
3 LADDER_SW_ACT
switch 1 Ladder not in work possition E
Cabin door open 0 OK -
4 DOOR_SW_ACT
switch 1 Cabin door opened W
DOCUMENT NO. FORMAT SHEET

R738 938X A4 26/36

REV. INDEX -
Fire sensor in 0 Fire in cabin W
5 FIRE_SENS_ACT
cabin 1 OK -
Heating 0 ON -
6 TER_HEAT
thermostat 1 OFF -
0 ON -
7 TER_FAN Fan thermostat
1 OFF -
Anemometer 0 ON -
8 TER_ANEMO_HEAT heating
1 OFF -
thermostat
Motor 1 overheat 0 Motor 1 overheat E
10 MOT1_OVRHE_PROT
sensor 1 OK -
Motor 2 overheat 0 Motor 2 overheat E
11 MOT2_OVRHE_PROT
sensor 1 OK -
Supply 11 – 0 No power W
12 PWR_ENC1
encoder 1 1 OK -
Supply 12 – 0 No power W
13 PWR_ENC2
encoder 2 1 OK -
Motor 1 power 0 Motor 1 power off -
14 MOT1_PWR_OFF
switch 1 Motor 1 power on -
Motor 2 power 0 Motor 2 power off -
15 MOT2_PWR_OFF
switch 1 Motor 2 power on -

4.3 ADAM I/O module slot 1


Table 9 – ADAM I/O module slot 1
ADAM DI SLOT 1
Warning/
Bit Signal Signal description Values Description
Error
Supply 1 - ADAM A 0 No power W
0 PWR_CU1_OK
module 1 OK -
Supply 2 - ADAM B 0 No power W
1 PWR_CU2_OK
module 1 OK -
0 No power W
2 PWR_CCIR1_OK Supply 3 - control circuit
1 OK -
0 No power W
3 PWR_CCIR2_OK Supply 4 - control circuit
1 OK -
Supply 5 - obstruction 0 No power W
4 PWR_OBLIG_OK
lights 1 OK -
0 No power E
5 PWR_CLUTCH1_OK Supply 6 - clutch 1
1 OK -
0 No power E
6 PWR_CLUTCH2_OK Supply 7 - clutch 2
1 OK -
DOCUMENT NO. FORMAT SHEET

R738 938X A4 27/36

REV. INDEX -
Supply 8 - anemometer 0 No power W
7 PWR_ANEMHE_OK
heating 1 OK -
0 No power W
8 PWR_POLAR_OK Supply 9 - polarization
1 OK -
Supply 10 - distributor 0 No power W
9 PWR_CFAN_OK
case cooling 1 OK -
0 Error W
10 OVV_PROT_OK Overvoltage protection
1 OK -
0 Emergency stop activated E
11 E_STOP Emergency stop
1 OK -
0 Safety loop activated E
12 SAFETY_LOOP Safety loop
1 OK -
Current in obstruction 0 Error W
13 OBLIG_CUR_OK
lights 1 OK -
Current in anemometer 0 OFF -
15 ANEMHE_CUR_OK
heating 1 ON -

4.4 ADAM I/O module slot 2


Table 10 – ADAM I/O module slot 2
ADAM DI SLOT 2
Warning/
Bit Signal Signal description Values Description
Error
Current in cabin 0 OFF -
0 HEAT_CUR_OK
heating 1 ON -
0 OFF -
1 FAN_CUR_OK Current in cabin fan
1 ON -
0 OFF -
2 CLUT1_CUR_OK Current in clutch 1
1 ON -
0 OFF -
3 CLUT2_CUR_OK Current in clutch 2
1 ON -
0 OFF -
4 AIRVALVE_ON Air valve
1 ON -
0 OFF -
5 CLUT1_MAN_ON Clutch 1 manual on
1 ON (Error) E
0 OFF -
6 CLUT2_MAN_ON Clutch 2 manual on
1 ON (Error) E
0 Error (low oil level) W
7 BEARING_OIL Bearing oil sensor
1 OK -
0 Error (low oil level) W
8 GEARBOX1_OIL Gearbox 1 oil sensor
1 OK -
9 GEARBOX2_OIL Gearbox 2 oil sensor 0 Error (low oil level) W
DOCUMENT NO. FORMAT SHEET

R738 938X A4 28/36

REV. INDEX -
1 OK -
RF switch - main 0 OFF -
10 RF_CH1_ACT
channel 1 ON -
RF switch - aux 0 OFF -
11 RF_CH2_ACT
channel 1 ON -
Circular polarization 0 OFF -
12 POL_CIRC_ACT
selected 1 ON -
Linear polarization 0 OFF -
13 POL_LIN_ACT
selected 1 ON -
Distributor case 0 Error (overheated) W
14 DISTR_CASE_OVRT
overheat 1 OK -
Cabin oper temp out 0 Error (temp out of range) E
15 CAB_OPER_TEMP
of range 1 OK -

4.5 ADAM I/O module slot 4


Table 11 – ADAM I/O module slot 4
ADAM DI SLOT 4
Warning/
Bit Signal Signal description Values Description
Error
Output signal - 0 ADAM is not master -
0 MASTER
master switch 1 ADAM is master -
Output signal - clutch 0 Clutch off (disconnected) -
1 CLUTCH1
1 1 Clutch on (connected) -
Output signal - clutch 0 Clutch off (disconnected) -
2 CLUTCH2
2 1 Clutch on (connected) -
Output signal - 0 OFF -
3 POL_CIRC
circular polarization 1 ON (circular polarization) -
Output signal - linear 0 OFF -
4 POL_LIN
polarization 1 ON (linear polarization) -
Output signal - air 0 OFF -
5 AIR_VALVE
valve 1 ON -
Output signal - RF 0 Main channel -
6 RF_SW
switch 1 Aux channel -
Diagnostic ADAM A 0 ADAM B master -
8 DIAG_MASTER_A
master set 1 ADAM A master -
Diagnostic ADAM B 0 ADAM A master -
9 DIAG_MASTER_B
master set 1 ADAM B master -
Supply 13 – FO conv. 0 No power W
12 PWR_ENC1FO_OK
ENC1 1 OK -
13 PWR_ENC2FO_OK Supply 14 – FO conv. 0 No power W

DOCUMENT NO. FORMAT SHEET

R738 938X A4 29/36

REV. INDEX -
ENC2 1 OK -
0 Encoder 1 in error state W
14 CHECK_ENC1 Status of encoder 1
1 Encoder 1 is OK -
0 Encoder 2 in error state W
15 CHECK_ENC2 Status of encoder 2
1 Encoder 2 is OK -

5 ACU BOARD CONFIGURATION

5.1 ACU microprocessor programming with SAM-BA software

Microchip SAM Boot Assistance (SAM-BA) software provides an open set of tools for
programming Microchip ARM Thumb-based microcontrollers and microprocessors. Once the SAM-
BA monitor is programmed, customers can use SAM-BA as a tool to re-program the MPU or MCU,
without connecting to the debugger.
Insert jumper to the postiton with label ERASE on ACU board. Connect USB cable between
preparing computer and ACU board. Wait 5 sec. and then disconnect USB cable. Remove jumper
and connect back USB cable to the ACU board.
On the preparing computer start software SAM-BA and find out in Device Manager COM port,
where HW with description AT91xxx is connected.
In dial window of the SW set right COM port and type of microprocessor at91sam4e16-ek and
JLink TimeoutMultiplier = 0.

Fig. 3 – SAM-BA SW configuration

After seeting click on Connect button. Set path to the .bin file in item Send File Name:

DOCUMENT NO. FORMAT SHEET

R738 938X A4 30/36

REV. INDEX -
Fig. 4 – Send File Name setting

Then push button: Send File, and Yes.

Fig. 5 – Send File

In the program window, in the Scripts section, select Boot From Flash (GPNVM1) and click
Execute on the right. Wait a few seconds for the binary file to be written to the Atmel EEPROM
processor.

DOCUMENT NO. FORMAT SHEET

R738 938X A4 31/36

REV. INDEX -
Fig. 6 – Programming

Processor programming takes only a short time - only 1-2s. Do not be confused by 1%
program listing (sam-ba), the processor is already programmed at the time of this message.

5.2 LANTRONIX configuration


Set network connection of the preparation computer (TCP/IPv4, IP address: 192.168.9.254,
Mask: 255.255.255.0).

Run any Internet browser on preparation computer and type in the Address window text:
192.168.9.t, where t is the serial number of the ACU board and confirm by the Enter key.
The login window will appear and fill in the User Name: admin and Password: PASSWORD.
Confirm the entered data by clicking on the Login button.
This will take you to the LANTRONIX module settings, where in the left menu select desired
item.

DOCUMENT NO. FORMAT SHEET

R738 938X A4 32/36

REV. INDEX -
Fig. 7 – Main information (MAC Address, IP Address)

Rule pro IP address generating:

Example IP Address: 192.168.9.t, where t is the serial number of the ACU board R318820N
(for example ACU board with S/N 19/0003 - parameter t=3).

DOCUMENT NO. FORMAT SHEET

R738 938X A4 33/36

REV. INDEX -
Fig. 8 – Discovery configuration

Fig. 9 – Line configuration

DOCUMENT NO. FORMAT SHEET

R738 938X A4 34/36

REV. INDEX -
Fig. 10 – Network configuration Interface (DHCP/IP Address mode settings)- DHCP if required

Fig. 11 –Tunnel configuration - Packing

DOCUMENT NO. FORMAT SHEET

R738 938X A4 35/36

REV. INDEX -
Fig. 12 –Tunnel configuration - Accept

Fig. 13 –Tunnel configuration - Disconnect

Note:

Other items are set by default settings.


After changing the settings, in the menu on the left, switch to the item Device where we click
on the button Reboot and confirm the notice at the top by the button Okay. Now wait about
15 seconds for the module to reset.

DOCUMENT NO. FORMAT SHEET

R738 938X A4 36/36

REV. INDEX -

You might also like