Modbus RTU Master for NJ Controller and CJ1W-SCUx2 Unit

Modified on Thu, 17 Oct, 2024 at 2:33 PM

The library MRTU_NJ_Master allow to send Modbus RTU request.

The SCU serial port should be set to ‘Serial Gateway’ mode and 8 data bits.

 

List of implemented function code:

Code

Modbus Function

Function Block

0x01

Read Coils

MRTU_NJ_Fn01

0x02

Read Discrete Inputs

MRTU_NJ_Fn02

0x03

Read Holding Registers

MRTU_NJ_Fn03

0x05

Write Single Coil

MRTU_NJ_Fn05

0x06

Write Single Register

MRTU_NJ_Fn06

0x10

Write Multiple Registers

MRTU_NJ_Fn10

 




Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article