Jump to content

Data Tables filled in and stored in PLC, but can't be read


Recommended Posts

Dear all

 

i can't read my datatable, I'm trying to read out a certain row but it doesn't come into my variables.

I use the function "Data Tables Read Row"

First I tried to call this function with a ladder normal open contact and now I put it directly at the left side, so it should continuously read-out my table 'Presets' and place it in the variables.

In online monitoring mode this function is called (marked in red) but the variables from the preset table are not placed into my local variables.

 

Can't find the fault.

 

Anyone some suggestions for me what to check?

 

tx!

f.

post-25334-0-99743900-1412237711_thumb.jpg

Link to comment
Share on other sites

Hi CFBFP,

From the attached screenshot, the first thing i noticed is that you are not separating your logic into nets. It is strongly recommended to write the ladder in separated nets for every rung.

Try this method. If it still doesn't work please send the application to support@unitronics.com

Link to comment
Share on other sites

Thanks for the help.

I tried to split out ladder/nets.

 

However my problem was not solved.

 

I really had to restart from scratch and I started with my problem of datatable reading as a first thing to examinate.

Now it works.  I continue to build up step by step to finally reach my old program.

It is a lot of work, but it will be the shortest.

I programmed to much at once without controlling step by step.

 

I'm using Windows 8.1 and sometimes Uintronics shuts down.  Maybe there are some issues during compiling? I really don't know.

 

f.

Link to comment
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
×
×
  • Create New...

Important Information

This site uses cookies. By clicking I accept, you agree to their use.