shorin
Member
I'm working on a project. So far, it's gone well, but I've hit a snag I can't seem to get around. This is an RSView32 project where I'm reading information from a Micrologix 1100 controller via ethernet and displaying it on the screen. Nothing too complex.
In the RSView project, I've got one derived tag (called global) file that's doing some calculations based on the system clock. I've got a second derived tag file (called Frames) that reads in a float value (let's call it bob) from the PLC and divides it by the value calculated in global.
I set up a tag monitor to view all the values mentioned here and a few others from the PLC. When I start the global derived tag file, everything works fine - the calculated time value changes like it should. When I start the Frames file, I get an "expression evaluation error" for the tag bob and the tag bob goes into error. Two other tags go into error as well, and they're not effected at all by the calculations.....
This is driving me nuts. I can't see any reason that the tag should go into error. I can even change Frames so that I'm just multiplying bob by 10 and I still have the error. All the tags have a data type of floating point.
I've got other derived tags that work fine, but I can't seem to get this one to work.
Thanks,
Danny
In the RSView project, I've got one derived tag (called global) file that's doing some calculations based on the system clock. I've got a second derived tag file (called Frames) that reads in a float value (let's call it bob) from the PLC and divides it by the value calculated in global.
I set up a tag monitor to view all the values mentioned here and a few others from the PLC. When I start the global derived tag file, everything works fine - the calculated time value changes like it should. When I start the Frames file, I get an "expression evaluation error" for the tag bob and the tag bob goes into error. Two other tags go into error as well, and they're not effected at all by the calculations.....
This is driving me nuts. I can't see any reason that the tag should go into error. I can even change Frames so that I'm just multiplying bob by 10 and I still have the error. All the tags have a data type of floating point.
I've got other derived tags that work fine, but I can't seem to get this one to work.
Thanks,
Danny