rvankoppen
Member
Hello,
I am using CITECT V7.2 with the ABCLX driver to communicate to a compactlogix L30ER.
I want to make a simple string tag that I can key into from a display in CITECT and have the value write to the PLC string tag.
So far from the ABCLX help manual they are looking for this kind of structure.
{
DINT LEN
SINT[ ] DATA
}
To me this looks like I should format my string tag address (in CITECT variable tags) as:
Mytag{ 10 SINT[ ] DATA }
OR maybe
Mytag{ 10 LEN SINT[0] DATA}
OR maybe
Mytag{ 10 SINT[0] DATA}
There are many different possibilities.
All of what I've tried so far return a BAD value in citect. I am using 10 for length as a general number for now as the strings are intended to have a max of 10 characters.
If I use Mytag without any other extra fluff on the tag then I can read from the plc without issue, but I would like to write to the tag.
What they don't do is show a good example of a string tag after showing the structure like they do with all the other tags with array and UDT types in the help manual.
Has any ever successfully written to a logix type PLC string tag from CITECT before?
I am using CITECT V7.2 with the ABCLX driver to communicate to a compactlogix L30ER.
I want to make a simple string tag that I can key into from a display in CITECT and have the value write to the PLC string tag.
So far from the ABCLX help manual they are looking for this kind of structure.
{
DINT LEN
SINT[ ] DATA
}
To me this looks like I should format my string tag address (in CITECT variable tags) as:
Mytag{ 10 SINT[ ] DATA }
OR maybe
Mytag{ 10 LEN SINT[0] DATA}
OR maybe
Mytag{ 10 SINT[0] DATA}
There are many different possibilities.
All of what I've tried so far return a BAD value in citect. I am using 10 for length as a general number for now as the strings are intended to have a max of 10 characters.
If I use Mytag without any other extra fluff on the tag then I can read from the plc without issue, but I would like to write to the tag.
What they don't do is show a good example of a string tag after showing the structure like they do with all the other tags with array and UDT types in the help manual.
Has any ever successfully written to a logix type PLC string tag from CITECT before?