modbus rtu function block

ganutenator

Lifetime Supporting Member
Join Date
May 2002
Location
kansas
Posts
1,440
I'm looking to create a modbus rtu fuction block master in codesys or structured text.

I could devote an entire thread to the why. Not trying to defend this protocol. My basic why: modbus is the built in protocol, cost.

Because it is slow, It would need to cycle through reads and writes w/ dif. priority levels. i.e. a new data value change for a vfd speed coming up would be a priority 2.

I would want it to report back communication errors.

I would want it to be editable for the number of devices and corresponding modbus addresses and address locations. i.e. altivar 212 vs an alitvar 340 for example.

This is nearly above my ability. I could do it given enough time.

My platform is the Schneider M340, So Machine 251, Wago (forgot the model, it at work) plc.


How could I make this a community based project and/if enough people could use such a function.
 
Last edited:

Similar Topics

Dear All, i am trying to connect Danfoss inverter with s7 200 cpu 226.but microwin shows following error at DATA Ptr.i assigned different VB...
Replies
1
Views
45
I'm trying to control a device via MODBUS RTU and the ModbusRtuMasterV2_PcCOM in Twincat 3. I've configured a device with the right com port and...
Replies
7
Views
159
Hi all, Currently having trouble getting a speed reference to write over modbus to an Omron M1... I can successfully write a run command and...
Replies
6
Views
230
Hi, I'm having an issue with a mircologix not transmitting out. The current setup is a mircologix 1400 connected to a Guardian 100 Radio...
Replies
1
Views
108
If a device has Modbus RTU over serial and Modbus RTO over TCP and Modbus TCP then there is a difference between Modbus RTU over TCP vs Modbus TCP...
Replies
7
Views
470
Back
Top Bottom