Jump to content
OMRON Forums

Unable to use variable reference syntax


maxvoxel8
 Share

Recommended Posts

In the users manual an example is given of defining an array:

 

global IncrementDist(512);

 

and then doing

 

MyTotalDist = sum(&IncrementDist, 512, 1)

 

to get the sum.

 

I'm trying to do this but getting the error:

 

Error : ( error #31) data error in equation : Q1045 = sum(&IncrementDist, 512, 1)

 

This seems to happen regardless of where I place the line or what variable it's assigning to. I am using IDE version 4.1.0.24 and firmware version 2.4.0.180.

Link to comment
Share on other sites

  • Replies 4
  • Created
  • Last Reply

Top Posters In This Topic

Guest
This topic is now closed to further replies.
 Share


×
×
  • Create New...