Reference a tag in a ladder diagram instruction
Reference a tag, a tag member, or its bits in an operand of an instruction using syntax to create different reference types:
Reference | Using syntax |
---|---|
An entire tag | <tag name> Example: LS101 references a tag named "LS101" |
A member of a structure tag | <tag name>.<member name> Example: StatusWord.Faulted references a member named "Faulted" in a structure tag named "StatusWord" |
Array element | <tag name>[<array element>] Example: Recipe[13] references element 13 of an array tag named "Recipe" |
Bit within an integer | <tag or member name>.<bit number> Examples: StatusWord.13 references bit 13 in an integer tag named "StatusWord" Status.FaultWord.13 references bit 13 in a member named "FaultWord" in a structure tag named "Status" |
Provide Feedback