Sign in to follow this  
Lexington

Cannot Retrieve Data From Channel

Recommended Posts

Hello,

I have a weird issue where I have a sequence, F74407DUP, that calls a channel, F74407, but causes a C1000, channel or function not found, error but yet I have another sequence, TESTREST, calling the same channel and not causing an error. Additionally F74407DUP is a template script that is used to call other channels without issue. I have tried deleting and renaming the script and channels without avail. Please help! This doesn't make sense.

Lexington

test2.ctl

Share this post


Link to post
Share on other sites

I can't say exactly. There must be a name conflict somewhere. A restart might fix it. But, a simpler solution is to simply prepend "Channel." in front of the channel name:

if (Channel.F74407[0][2]<720*0.05)

This ensures that you mean the channel and not something else.

Also, as a side note: why all the sequences? It seems like all the sequences loop at the same interval, so why not simply create one sequence and then copy the if()/else/endif from each sequence into it, one after another. Having them run in separate threads is probably not making it run any faster.

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