Publication 1756-RM084F-EN-P - July 2002
Creating a Complete Import/Export File 3-29
For example:
TAG
sourcea_string : STRING :=
[5,’hello$00$00$00$00$00$00$00$00$00$00$00$00$00$00$00$00$00$00$00$00$00$00$00$00$00$00$00$00
$00$00$00$00$00$00$00$00$00$00$00$00$00$00$00$00$00$00$00$00$00$00$00$00$00$00$00$00$00$00$00
$00$00$00$00$00$00$00$00$00$00$00$00$00$00$00$00$00$00’
];
sourceb_string : STRING := [11,’how are
you$00$00$00$00$00$00$00$00$00$00$00$00$00$00$00$00$00$00$00$00$00$00$00$00$00$00$00$00$00$00
$00$00$00$00$00$00$00$00$00$00$00$00$00$00$00$00$00$00$00$00$00$00$00$00$00$00$00$00$00$00$00
$00$00$00$00$00$00$00$00$00$00’
];
END_TAG
Defining a comment for a TAG component
The comment attribute of a tag declaration lets you provide
information about a component of the tag, such as a specific bit, array
element, or structure member. For example:
To add a comment to this operand: Enter:
bit 3 of a tag COMMENT.3 := “
description
”
element 8 of an array tag COMMENT[8] := “
description
”
preset value of a tag COMMENT.PRE := “
description
”
Spare Allen-Bradley Parts