SA Faceplate - Use of Pulse Function

Hi,

Can Pulse function be used for an Button on the SA Faceplate, when referencing to an equipment [?__Equipment?]? 

If not any tip on how to get an pulse function from the SA Faceplate? 

Thanks For any input,

Rune

Parents
  • Most functions take arguments as tag names. So in place of a tag name, you should get the tag name from the association.
    Simply look at the help, and if the function requires a tag name, it needs the string, and a super genie association will not do.

    I replace the tag name with this function - AssGetProperty(%Tag Association%, "TagName",1))
    The function above will return the tag name so it can be passed to any function. I would normally button genies that I use in super genies which have this function used in it. Hence the %Tag Association% is replaced with the number of the assignment.

    As for pulse function, I avoid using it. It is always better to set 1 to a bit used in the PLC, and the PLC resets to 0 after it is used.
Reply
  • Most functions take arguments as tag names. So in place of a tag name, you should get the tag name from the association.
    Simply look at the help, and if the function requires a tag name, it needs the string, and a super genie association will not do.

    I replace the tag name with this function - AssGetProperty(%Tag Association%, "TagName",1))
    The function above will return the tag name so it can be passed to any function. I would normally button genies that I use in super genies which have this function used in it. Hence the %Tag Association% is replaced with the number of the assignment.

    As for pulse function, I avoid using it. It is always better to set 1 to a bit used in the PLC, and the PLC resets to 0 after it is used.
Children
No Data