LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Modbus serial Slave in RTU (Remote Terminal Unit) mode for an FM4E and EN drive controller

I am trying to communicate with a FM4E and EN drive controller using a Modbus serial protocol. The Modbus serial protocol must be a Modbus Slave in RTU (Remote Terminal Unit) mode. I have downloaded and tried NIModbus.llb with no success. Can anyone assist?
0 Kudos
Message 1 of 6
(3,515 Views)

Are you getting specific error? What is happening?

Mike...


Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 2 of 6
(3,512 Views)

Mike,

I am following National Instruments Application Note 211 for configuring LabVIEW as a Modbus Slave Device. The errors received are Error at Invoke Node and VI is not compatible for this operation.

PIC

0 Kudos
Message 3 of 6
(3,496 Views)
I think Labview should act as the modbus master in this case. When you connect an operator interface to the FM4, the HMI screen acts as a modbus master to read data from the FM4 slave. I think the FM4 will act as a modbus slave device in this case.
0 Kudos
Message 4 of 6
(3,490 Views)
Using LabVIEW's Modbus library, NIModbus.llb,  LabVIEW has been configured as a Modbus Master Device. I am broadcasting address 0 and attempting to communicate to RTU address. The Master timeouts-error at address 1 and no response using address 0.
 
Any suggestions?
0 Kudos
Message 5 of 6
(3,464 Views)
Show us some code. How do you have the FM4 configured for Modbus addresses?? Here is an llb file that I made to query modbus info from the serial port.
0 Kudos
Message 6 of 6
(3,458 Views)