Pointing a single bit from a TAG

Pointing a single bit from a TAG

  • 8 April 2017 at 11:27 am #22801
    Brian_73
    Participant

    Hello everybody,
    When I connect my data to a PLC using the drivers, I normally import my data value defined as words, normally. Then i found my Tags List in my Movicon project, and works fine.
    Now I have to set my alarms or my mimics pointing a specific single bit inside my Tag that is declared as word. How can I do it?
    Thanks.

  • 10 April 2017 at 10:32 am #22841
    Maverick
    Participant

    Hello Brian,
    for example in a Display, you have first assign to the object the variable to be monitored (your word), then you have to open the object’s command tooltip and insert the “.0” syntax in “Input Expression Code:” field to read/write the tag’s 0 bit.
    “.1” for the bit 1 …and so on .
    For the alarms, by working in the I/O Data server resource, after created the Alarm Prototype, when you assign the alarm definition to your tag (your word) you can select in the “assign mode” Any tag bit, in this way it will generates multiple alarms, one for each bit of the variable.

You must be logged in to reply to this topic.