whyme

FX3u4AD reload issue

2 posts in this topic

I have an FX3u16MR attached to two FX3u4AD units (right mounted).  I am running the first two channels of the eight in 12 bit mode, the next two channels in 16 bit mode, the next two channels in 12 bit mode again and the last two channels are idling.  All inputs are configured as 4-20mA. 

Working with the first channel only for now, what I am finding is that I have to load the gains twice for them to take.  It points to a timing issue in the code that I am running in the plc.   It just seems to have started happening though.  Admittedly I am recoding so the ADC calibrates from a HMI rather than from a PC trigger which is what I had before.  But I have just paralleled up the M register that invokes it.  I am working through the code as I speak.

If anyone has any idea's i would love to hear from you.  I know this bit of kit fairly well I am just missing something here and it is bugging me.  A problem shared and all that.

Thanks in advance.

 

Share this post


Link to post
Share on other sites

Sorted.  An M register that I was assuming was triggering was being overwritten in the PC section of the ladder code so it was working but out of sequence.  Clearing the register so that it fired correctly got the code working again.

It was just one of those things.  Talking about it it gave me the break I needed to figure it out.  

Weird how the brain works sometimes. 

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