Sign in to follow this  
Followers 0
PaulDietz

NModbus4 - PLC Master to PC Slave listen event?

2 posts in this topic

I have an Automation Direct DL06 setup in a peer to peer configuration.  The PLC is the master and the PC is the slave.  The ladder logic is straight forward, just sending a double word (4 bytes) from the master starting a V3000 to PC.  I've set V3000 to "Test".  See the attached DebugLadderLogic1 image. 

When the ladder logic runs the ModbusDataStore_DataReceived event fires.  The code below is my best attempt to get the value "Test" from the modbus data store.  Instead of getting "Test", I get 25940 and 29811...  I would appreciate any assistance getting the "Test" value out of the data store modbus memory. 

DebugLadderLogic1.PNG

NModbus4 data capture event.PNG

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0