LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Modbus TCP with Beckhoff (Wago)

Then your only option is to write 16 bit words to your device. You would need to read the register status, modify your bit, and then write it to the device.
0 Kudos
Message 21 of 23
(4,476 Views)

Hi, I'm working with a Beckhoff BC9000 TCP modbus According to them the address 400001 (%QB128) are output registers(from BC9000 to TCP client) and 402049(%IB128) are input registers (from TCP client to BC9000) the also have what they called Memory registers starting at 416385. When addressing Labview ommits the 4 and subtracts one for example 416385 = 16384.

I still don't understand why I can't write a digital string using the discrete data input in lab view.

 

 

 

0 Kudos
Message 22 of 23
(4,476 Views)

JAMR wrote:
Hi, I believe the modbus device supports the following codes: 1 2 3 4 5 6 8 15 16 and 23

According to pages 39 to 46, that is indeed what a Beckhoff BK9100 supports 🙂

Did you get your Beckhoff device to work? 

Can you share some code? 

I struggle with equal problems here 😞 

 

 


JAMR wrote:
I'm working with a Beckhoff BC9000 TCP modbus According to them the address 400001 (%QB128) are output registers(from BC9000 to TCP client) and 402049(%IB128) are input registers (from TCP client to BC9000)

Where did you get this information??

 

Thanks for any reaction on this rather "old" discussion 🙂

0 Kudos
Message 23 of 23
(3,460 Views)