background image

Example. 

Data saving to register 40124 (Cp SV value) 

40-06-00-7C-04-D3-CRCLo-CRCHi 

Response

 

  - confirming the data saving to register 40126 (Temperature SV value) 

Byte no.

 

Designation 

Size 

Value [hex] 

00 

Converter Address

1- Byte 

40 [01 to F7] 

01 

Code of the function 

1- Byte 

06 

02 

Address of the register hee  1- Byte 

00 

03 

Address of the register Lo 

1- Byte 

7 D 

04 

Value of the register hee 

1- Byte 

04 

05 

Value of the register Lo 

1- Byte 

D3 

06 

CRC-Lo 

1- Byte 

- - - 

07 

CRC-Hi 

1- Byte 

- - - 

Example. 

Confirmation the data saving to register 40126 (Temperature SV value) 

40-06-00-7D-04-D3-CRCLo-CRCHi 

In response the converter sends the frame – confirming saving to the register. 

Response

 

  - in case of error

Byte no.

 

Designation 

Size 

Value [hex] 

00 

Converter Address

1-Byte 

40 [01 to F7] 

01 

Code of the function  1- Byte 

86 

02 

Error code 

1- Byte 

01-unknown function
02-unknown data address
03-unknown amount of data
04-JCT controller is not responding, is not connected, or is damaged

03 

CRC-Lo 

1- Byte 

- - - 

04 

CRC-Hi 

1- Byte 

- - - 

8.4. EXCEPTIONS OF THE MODBUS-RTU PROTOCOL

ADA-4040PC8 in case of received MODBUS-RTU frame, includes:

- unsupported function, 

- unknown data address,

- unknown data value 

- or when JCT controller not respond on inquiries returns

to MASTER type device the frame containing the appropriate exception – described below.

Response – in case of error

Byte no.

 

Designation 

Size 

Value [hex] 

00 

Converter Address

1- Byte 

40 [01 to F7] 

01 

Code of the function  1- Byte 

80 + FC (Code of the function) 

02 

Error code 

1- Byte 

01-unknown function
02-unknown data address
03-unknown amount/value of data
04-JCT controller is not responding, is not connected, or is damaged

03 

CRC-Lo 

1- Byte 

- - - 

04 

CRC-Hi 

1- Byte 

- - - 

15

ADA-4040PC8 

Summary of Contents for ADA-4040PC8

Page 1: ...User manual ADA 4040PC8 VIRAP JCT ASCII to MODBUS RTU Protocol Converter 1 ADA 4040PC8 Copyright 2001 2021 CEL MAR io_ada 4040pc8_v1 02_en...

Page 2: ...ING 7 5 CONFIGURATION 7 5 1 OPERATION MODE 7 5 2 CONFIGURATION BY USING ADACONFIG 8 5 3 FIRMWARE UPDATE 9 5 4 EMERGENCY FIRMWARE UPDATE 10 5 5 FACTORY DEFAULT 10 6 DATA TRANSMISSION DIAGNOSTICS 10 7 O...

Page 3: ...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 device The device can not be used for appli...

Page 4: ...reliability ADA 4040PC8 supports asynchronous data transmission with baudrate up to 230 4 kbps through two or one pair of twisted pairs connected to screw terminals The device for its operation uses...

Page 5: ...e the rail upper part of the cover then press bottom part it hear characteristic Click sound 3 2 COMPUTER CONNECTION To connect ADA 4040PC8 to computer is needed additional converter e g ADA I9141 USB...

Page 6: ...bus and JCT1 controller to ADA 4040PC8 6 ADA 4040PC8 RS485 RS422 connector RS485 4W BUS 19200Bd 8 N 1 MODBUS RTU MASTER MODBUS RTU DEVICE SLAVE 1 MODBUS RTU GND Rt Rt Rx Rx Tx A Tx B RS485 2W 9600Bd 8...

Page 7: ...the LEDs Tx and Rx should blink ATTENTION AT BAUD RATE ABOVE 38 4 KBPS OF THE TX DIODE MORE POORLY WILL LIGHT RX DURING THE DATA TRANSFER 4 1 DESCRIPTION OF SIGNALLING LEDS LED Description PWR Signal...

Page 8: ...nd in the field Address enter the MODBUS RTU converter address from the RTU port 4 setting the address of the connected VIRAP JCT device to the JTC RS485 port Mapped Address field range 1 99 In the se...

Page 9: ...e the software delivered by manufacturer The Select File window will open fig below and select the bin file then click Open software will be load to ADAConfig buffer storage and will be checked If the...

Page 10: ...tes 4 4 Set SW1 microswitch mode as in the table below SW1 1 SW1 2 OFF ON Disconnect the power and after while connect again the power After that will be loaded the factory default setting to the conv...

Page 11: ...IMPLEMENTATION OF THE MODBUS RTU PROTOCOL MODBUS protocol frames with the CRC error are rejected by the converter JCT ASCII protocol frames with a checksum error are rejected by the converter In case...

Page 12: ...000 0 2000 1000 EV Event value 15 30135 Read 0 1 0 1 1 CM Communication mode 16 30136 Read 0 1 0 1 1 AM Automatic manual mode 17 30137 Read 0 1 0 1 1 SR Execution stop mode 18 30138 No Read 0 100 0 1...

Page 13: ...saved to regular type variable float and then divide it by the DW factor Fragment of code in C language VS6 0 presenting above algorithm short int siMeasureReg float fMeasureVal fMeasureVal float siMe...

Page 14: ...ave values to 16 bits of the MODBUS register of the ADA 4040PC8 converter The saved value in the register is processed and transmitted to the JCT controller MODBUS registers are in the format of the 1...

Page 15: ...1 Byte 40 01 to F7 01 Code of the function 1 Byte 86 02 Error code 1 Byte 01 unknown function 02 unknown data address 03 unknown amount of data 04 JCT controller is not responding is not connected or...

Page 16: ...ate from RTU of ports RS485 RS422 TX yellow LED date transmission through RTU of ports RS485 RS422 Electrical Parameters Power requirements 10 24 30 V DC Power Cable Recommended length of power cable...

Page 17: ...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 y...

Reviews: