Randy Turner
Member
I had an issue this morning with a Red Lion Crimson 3 application. I have four "part selected indicator" flag tags that are mapped to PLC bits. Only one of them can come on at a time, as they are controlled in the PLC based upon which fixtures are installed (plugged in) on the machine. In the "triggers" tab of each of those flag tags, trigger one is Active On, 0 delay, and in the General Action I set an internal string tag to the correct part number: Production_Data.Part_Number="T360". I do this for each of the four flag tags, with the part number being different for each one. The internal string tag "Part_Number" was set as retentive. This seemed to work well the first couple of times the fixtures were changed, but last night when they changed fixtures, the last part number stayed in the string tag although the PLC bit for the flag tag changed to another part. I tried switching the internal flag tag to non-retentive this morning, then downloaded, but the string tag was not displayed at all then. I changed it back to retentive and downloaded, then the correct part showed up again. Initially, when I got to the machine this morning and the wrong part was displayed in the string tag, I unplugged the fixture, and the correct part number displayed. I plugged it back in, and the correct part number remained. Any suggestions?
Thanks,
Randy
Thanks,
Randy