From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

FieldPoint Family

cancel
Showing results for 
Search instead for 
Did you mean: 

Modbus and cFP-DI-304 data packet

I’m using a host computer to communicate with the cFP-DI-304 using Modbus over Ethernet.

 

When the cFP-DI-304 (revision D) is polled, it is returning incorrect data (looks like a timing issue). What is the sequence and data package when the cFP-DI-304 gets polled?  Does the data sequence starts from pin 1 to pin 32, pin 32 to pin 1, or some other combination? Also is the package 8 or 16 bits?

0 Kudos
Message 1 of 3
(6,059 Views)
Please post any VI's you have for doing this communication.  Is the cFP-DI module on a backplane with a cFP controller or a communications module?
 
I'm not familiar with using ModBUS to communicate with individual cFP modules.  The usual method is to use datasockets or shared variables.
0 Kudos
Message 2 of 3
(6,058 Views)

The cFP-DI-304 is connected to the cFP-1804. I’m using a host computer to communicate with the cFP-DI-304 using Modbus over Ethernet.

0 Kudos
Message 3 of 3
(6,055 Views)