Page
201
of
254
Version 6.3
Rev
r012
Date
05-11-2022
Appendix VIII Sonic Control Commands
14
APPENDIX VIII: R2Sonic Control Commands
14.1
Introduction
This describes the commands sent from the user interface to the sonar head and SIM.
Head firmware version 14-Mar-2011 and SIM firmware version 08-Apr-2010 utilize the commands in
this document. Future versions of firmware will adhere to this format and may include additional
commands.
Older versions of head and SIM firmware are
not
compatible with this format.
14.2
General Notes
1.
These formats are designed for easy 4-byte alignment. Be sure your compiler/linker does not
insert any extra padding between values. If necessary, use your compiler's "packed" directive.
2.
All values have big-endian byte order. Your compiler may provide conversion functions such as
htonl, htons, ntohl, ntohs, however those assume integers so you'll need to be very careful with
floats.
3.
u32 means unsigned integer, 32 bits.
f32 means IEEE-754 32-bit floating point.
4.
All packets are UDP/IP datagrams.
5.
It’s recommended that all commands be sent periodically, at a 1 to 0.5 Hz rate. This ensures that
the sonar head and SIM always have the proper settings should a power interruption occur.
14.2.1
Ethernet Port Numbers
Head & SIM status & command port = Ba2
GUI command port = 53810 (fixed port number)
GUI remote command input port = gui ba 7
14.2.2
Type Definitions
typedef unsigned int u32;
typedef float f32
;
14.2.3
Command Packet Format
Pseudo C format for commands:
// *** BEGIN PACKET: COMMAND FORMAT 0 ***
u32 PacketName; // 'CMD0'
// Command (for network efficiency, the packet can contain multiple commands,
// but ensure the IP datagram reaches the sonar unfragmented).
u32 CommandName; // example 'RNG0' to set range
x32 CommandValue; // a 4-byte value such as u32 or f32
// *** END PACKET: COMMAND FORMAT 0 ***
Содержание 2026
Страница 2: ...Page 2 of 254 Version 6 3 Rev r012 Date 05 11 2022 Part No 96000001...
Страница 14: ...Page 14 of 254 Version 6 3 Rev r012 Date 05 11 2022 Part No 96000001...
Страница 22: ...Page 22 of 254 Version 6 3 Rev r012 Date 05 11 2022 Part No 96000001...
Страница 28: ...Page 28 of 254 Version 6 3 Rev r012 Date 05 11 2022 Part No 96000001...
Страница 32: ...Page 32 of 254 Version 6 3 Rev r012 Date 05 11 2022 Part No 96000001...
Страница 39: ...Page 39 of 254 Version 6 3 Rev r012 Date 05 11 2022 Figure 24 Projector cable clamp bolt mounting arrangement...
Страница 48: ...Page 48 of 254 Version 6 3 Rev r012 Date 05 11 2022 Part No 96000001...
Страница 55: ...Page 55 of 254 Version 6 3 Rev r012 Date 05 11 2022 Figure 42 Projector cable as of 17 March 2022...
Страница 56: ...Page 56 of 254 Version 6 3 Rev r012 Date 05 11 2022 Part No 96000001...
Страница 116: ...Page 116 of 254 Version 6 3 Rev r012 Date 05 11 2022 Part No 96000001...
Страница 120: ...Page 120 of 254 Version 6 3 Rev r012 Date 05 11 2022 Part No 96000001...
Страница 122: ...Page 122 of 254 Version 6 3 Rev r012 Date 05 11 2022 Part No 96000001...
Страница 131: ...Page 131 of 254 Version 6 3 Rev r012 Date 05 11 2022...
Страница 138: ...Page 138 of 254 Version 6 3 Rev r012 Date 05 11 2022 Part No 96000001...
Страница 158: ...Figure 174 Smooth log information copied from a real time survey log...
Страница 182: ...Page 182 of 254 Version 6 3 Rev r012 Date 05 11 2022 Part No 96000001...
Страница 198: ...Page 198 of 254 Version 6 3 Rev r012 Date 05 11 2022 Part No 96000001...
Страница 210: ...Page 210 of 254 Version 6 3 Rev r012 Date 05 11 2022 Part No 96000001...
Страница 234: ...Page 234 of 254 Version 6 3 Rev r012 Date 05 11 2022 Part No 96000001...
Страница 237: ...Page 237 of 254 Version 6 3 Rev r012 Date 05 11 2022 Figure 215 Sonic 2026 Projector...
Страница 241: ...Page 241 of 254 Version 6 3 Rev r012 Date 05 11 2022 Figure 219 Sonic 2022 Receiver Projector horizontal offset...
Страница 242: ...Page 242 of 254 Version 6 3 Rev r012 Date 05 11 2022 Part No 96000001 Figure 220 Sonic 2024 Mounting Bracket Drawing...
Страница 243: ...Page 243 of 254 Version 6 3 Rev r012 Date 05 11 2022 Figure 221 Sonic 2022 Mounting Bracket Drawing...
Страница 244: ...Page 244 of 254 Version 6 3 Rev r012 Date 05 11 2022 Part No 96000001 Figure 222 Sonic 2026 Mounting Bracket Drawing...
Страница 245: ...Page 245 of 254 Version 6 3 Rev r012 Date 05 11 2022 Figure 223 Sonic 2024 2022 Mounting Bracket Flange...
Страница 246: ...Page 246 of 254 Version 6 3 Rev r012 Date 05 11 2022 Part No 96000001 Figure 224 SIM Box Drawing...
Страница 247: ...Page 247 of 254 Version 6 3 Rev r012 Date 05 11 2022 Figure 225 SIM Stack Outline...
Страница 249: ...Page 249 of 254 Version 6 3 Rev r012 Date 05 11 2022 Figure 227 Locking Ring type Deck Lead...
Страница 250: ...Page 250 of 254 Version 6 3 Rev r012 Date 05 11 2022 Part No 96000001 Figure 228 I2NS Type 42 IMU Dimensions...
Страница 251: ...Page 251 of 254 Version 6 3 Rev r012 Date 05 11 2022 Figure 229 I2NS Type 82 IMU offsets...
Страница 252: ...Page 252 of 254 Version 6 3 Rev r012 Date 05 11 2022 Part No 96000001 Figure 230 I2NS IMU Cable...
Страница 253: ...Page 253 of 254 Version 6 3 Rev r012 Date 05 11 2022 Figure 231 I2NS SIM Dimensions...
Страница 254: ...Page 254 of 254 Version 6 3 Rev r012 Date 05 11 2022 Part No 96000001 Figure 232 Dual Head Mount Offsets...