background image

31005

1004

TSX5

 | POWER [kW] – VALUE LO: CD

UINT32 : CD AB

R

16-bit register

U32LO

DW=1

31006

1005

TSX5

 | POWER [kW] – VALUE HI: AB

UINT32 : CD AB

R

16-bit register

U32HI

DW=1

8.2.2. CONVERTER MODBUS REGISTERS TABLE IN - READOUT BY FUNCTION 03 (4X – 
REFERENCES) HOLDING REGISTERS

Address

3X

Registers

Address

Registers

description

Attribute

Value

DW

41001

1000

TSX5 – sentence for TSX-5 device of SeaTechniK Ltd company
TSX5

 | ROTATION SPEED [rev/min] – VALUE LO: CD

UINT32 : CD

R

16-bit register

U32LO

DW=10

41002

1001

TSX5

 | ROTATION SPEED [rev/min] – VALUE HI: AB

UINT32 : AB

R

16-bit register

U32HI

DW=10

41003

1002

TSX5

 | TORQUE [kNm] – VALUE: AB

UINT16 : AB

R

16-bit register

U16

DW=1

41004

1003

TSX5

 | THRUST [kNm] – VALUE: AB

UINT16 : AB

R

16-bit register

U16

DW=1

41005

1004

TSX5

 | POWER [kW] – VALUE LO: CD

UINT32 : CD AB

R

16-bit register

U32LO

DW=1

41006

1005

TSX5

 | POWER [kW] – VALUE HI: AB

UINT32 : CD AB

R

16-bit register

U32HI

DW=1

8.3. FRAME STRUCTURE OF MODBUS-RTU PROTOCOL

Device address (1-byte) Function (1-byte) Dane (n-bytes) CRC-16Lo (1-byte) CRC-16Hi (1-byte)

8.4. USED FUNCTIONS OF MODBUS-RTU PROTOCOL

Function code

Description

03 (0x03)

Values readout from MODBUS-RTU registers

04 (0x04)

Values readout from MODBUS-RTU registers

8.4.1. FUNCTION 0x03 / 0x04 – READOUT MODBUS REGISTERS VALUE FROM CONVERTER

8.4.1.1. READOUT OF CURRENT MEASURED VALUE STORED IN 16-BIT REGISTER [4X / 3X-
REFERENCES]

Function 0x03 / 0x04 are used for readout of status and parameter values from the converter.

Parameter values readout form MODBUS-RTU register is presented by a 16-bit register.

The registers have parameter values in format:
- integer: signed 16-bit - 

I16

 (in C/C++ type short int),

- integer: 16-bit without sign - 

U16

 (in C/C++ type short unsigned int),

- integer: signed 32-bit - 

I32

 (in C/C++ type int),

- integer: unsigned 32-bit - 

U32

 (in C/C++ type unsigned int),

- signed array – 

CH[ ]

 (in C/C++ type char[ ]);

The actual measurement value is obtained from the read register using the following algorithms, using the appropriate factor value 

DW

(see table below), if it has been specified.

Algorithm 1. 

Readout register is saved to regular type variable (float) and then divide it by the factor 

DW

.

// The fragment of code in C language (VS6.0) presenting above algorithm
short int siMeasurementReg;
float       fMeasurmentValue
......
fMeasurmentValue = (float)siMeasurementRegister;
fMeasurmentValue = fMeasurmentValue / DW;

18

ADA-4040PC6

Summary of Contents for ADA-4040PC6

Page 1: ...User manual ADA 4040PC6 NMEA0183 to MODBUS RTU Protocol Converter 1 ADA 4040PC6 Copyright 2001 2022 CEL MAR sp j io_ada 4040pc6_v1 05_en...

Page 2: ...IMPLEMENTATION OF MODBUS RTU PROTOCOL 10 8 1 MODBUS REGISTERS TABLE OF STANDARD NMEA0183 SENTENCE 10 8 1 1 CONVERTER MODBUS REGISTERS TABLE IN READOUT BY FUNCTION 04 3X REFERENCES INPUT REGISTERS 10...

Page 3: ...ply network is only after disconnecting the power supply circuit voltage Do not carry out the assembly or disassembly of the device if it is enabled This may result to short circuit and damage the dev...

Page 4: ...bles connected to screw terminals The converter use RX RX TX A TX B lines for functioning It is possible to connect 32 devises to RS485 RS422 network constructed on base of ADA 4040PC6 working at the...

Page 5: ...sound 3 2 COMPUTER CONNECTION To connect ADA 4040PC6 to computer is needed additional converter e g ADA I9141 USB to RS485 RS422 converter connected to NMEA 5 pin connector port of the converter Typic...

Page 6: ...re bus and FURUNO GP 150 NMEA0183 6 ADA 4040PC6 RS485 RS422 connector RS485 4W BUS 19200Bd 8 N 1 MODBUS RTU MASTER MODBUS RTU DEVICE SLAVE 2 MODBUS RTU SLAVE 1 MODBUS RTU GND Rt Rt Rx Rx Tx A Tx B RS4...

Page 7: ...lling of normal operating mode RUN Blinking at frequency 1 Hz signalling of configuration mode or data flow of software to the converter Blinking at frequency 2 Hz signalling of factory default mode L...

Page 8: ...3 port baud rate kbps 0 3 0 6 1 2 1 8 2 4 4 8 7 2 9 6 14 4 19 2 28 8 38 4 57 6 76 8 115 2 230 4 number of data bites 5 6 7 8 control parity no control parity control control of none parity number of s...

Page 9: ...after proper changing confirmed by correct message Fig 8 Selection of firmware file During loading software the yellow LED located beside SW1 micro switch will blink showing data flow to the converte...

Page 10: ...arator of NMEA0183 port from MODBUS RTU port ADA 4040PC6 reads data from NMEA0183 device and properly processed write them to registers of MODBUS RTU protocol described in pt IMPLEMENTATION OF MODBUS...

Page 11: ...2 30010 9 GLL LONGITUDE 00636 58680 W GLL LONGITUDE DWORD 63658680 0x03 CB 5A B8 WORD LO 0x5AB8 BYTE HI 0x5A BYTE LO 0xB8 R 16 bit register U32 LO DW 10000 30011 10 GLL LONGITUDE DWORD 63658680 0x03...

Page 12: ...NGITUDINAL WATER SPEED 998 1 VBW LONGITUDINAL WATER SPEED WORD 9981 0xD903 BYTE HI 0xD9 BYTE LO 0x03 R 16 bit register I16 DW 10 30028 27 VBW TRANSVERSE WATER SPEED 1000 2 VBW TRANSVERSE WATER SPEED W...

Page 13: ...BYTE HI K km h M m s N knots ASCII SPEED UNIT BYTE LO A Data Valid V Data invalid ASCII DATA STATUS R 16 bit register U16 CH 2 30044 43 XDR XDR SENSOR1 VALUE CD AB INT32 CD R 32 bit register I32 DW 10...

Page 14: ...conds BYTE LO SS 0x00 0 hundredths of a second R 16 bit register U16 40004 3 ZDA UTC DDMM 10 05 2019 BYTE HI DD 0x0A 10 day BYTE LO MM 0x05 05 month R 16 bit register U16 40005 4 ZDA UTC YYY 10 05 201...

Page 15: ...R 16 bit register CH 2 40021 20 VTG KNOTS 0 131 N VTG KNOTS DWORD 131 0x00 00 00 83 WORD LO 0x0083 BYTE HI 0x00 BYTE LO 0x83 R 16 bit register U32 LO DW 1000 40022 21 VTG KNOTS DWORD 131 0x00 00 00 83...

Page 16: ...er U32 LO DW 1000 40036 35 VLW TOTAL CUMULATIVE WATER DISTANCE DWORD 0x05F5 FC88 WORD HI 0x05F5 BYTE HI 0x05 BYTE LO 0xF5 R 16 bit register U32 HI DW 1000 40037 36 VLW DISTANCE SINCE RESET 100007 048...

Page 17: ...CHAR1 BYTE LO 3 ASCII ID CHAR2 R 16 bit register U16 CH 2 40056 55 XDR SENSOR4 VALUE CD AB INT32 CD R 32 bit register I32 DW 1000 40057 56 XDR SENSOR4 VALUE CD AB INT32 AB R 32 bit register I32 DW 100...

Page 18: ...L Function code Description 03 0x03 Values readout from MODBUS RTU registers 04 0x04 Values readout from MODBUS RTU registers 8 4 1 FUNCTION 0x03 0x04 READOUT MODBUS REGISTERS VALUE FROM CONVERTER 8 4...

Page 19: ...te 03 04 02 Registry address Hi 1 Byte 00 03 Registry address Lo 1 Byte 00 04 Registry number Hi 1 Byte 00 05 Registry number Lo 1 Byte 01 06 CRC Lo 1 Byte 07 CRC Hi 1 Byte Example Query TALKER ID fro...

Page 20: ...ister value UTC TIME from ZDA sentence Byte no Designation Size Value hex 00 Converter address 1 Byte 11 11 to F7 01 Function code 1 Byte 03 04 02 Error code N Byte 02 03 Dane1 Hi 1 Byte 0E 04 Dane1 L...

Page 21: ...es Baud rates bps 300 600 1200 1800 2400 4800 7200 9600 14400 19200 28800 38400 57600 76800 115200 230400 Data formats Data bits 5 6 7 8 Parity None Parity Odd Number of stop bits 1 2 Transmission lin...

Page 22: ...ge temperature 40 70 C Casing Dimensions 53 x 90 x 62 mm Material PC ABS Degree of casing protection IP40 Degree of terminal protection IP20 Weight 0 10 kg According to standard DIN EN50022 DIN EN4388...

Page 23: ...23 ADA 4040PC6...

Page 24: ...data transmission converters with interface RS232 RS485 RS422 USB Current Loop Fibre Optic Converters and Ethernet or Wi Fi Please contact us to tell how you like our products and how we can satisfy...

Reviews: