Sign in to follow this  
Followers 0
professor_jonny

modbus easymaster node not found flag ?

2 posts in this topic

HI

I have a program that i have modified to talk to a danfoss fc280 drive which it works correctly but if i loose coms the holding registers from the read word retain data and I don't get a failed comm or node not found out of the function block.

for example if the drive is running and i pull the coms cable i still get the holding register for vtl_running even tho the drive is not actually connected or even running.

basically i want to get a comm error flag or null the received data on comm failure.

 

I'm not really function block savvy what would I need to do to get an error flag as the error flag in the function block is just for config error of the function block it's self i believe.

 

 

Modbus_Danfoss_fc280.cxp

Share this post


Link to post
Share on other sites

You don't get a read error (W0.02 in your example) when you lose communications?  Use a N.O. W0.02 contact to move zero values into your addresses.

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