LindeBerger
Member
Hi there!
I have a question to a (maybe) simple issue that I hope some of you can help me with.
I''ve made an FC containing the TCON, TDISCON, TSEND, TRCV blocks.
The FC has been implemented in a 1515 CPU, 1215 CPU and in a legacy ET200S (not SP!) CPU.
The 15xx/12xx CPU's use the "VARIANT" datatype to pass on the send/receive data while the ET200S uses the "ANY" dataype. This is system/CPU dependent according to Siemens.
And here's my obstacle:
With the 15xx/12xx CPU I can easily flesh out my "send" structure in my UDT-strcture via InOut (see picture)
However, this is not possible in the legacy ET200S CPU. I get an instant error (see picture).
Is this because of the VARIANT vs. ANY datatype?
I have a question to a (maybe) simple issue that I hope some of you can help me with.
I''ve made an FC containing the TCON, TDISCON, TSEND, TRCV blocks.
The FC has been implemented in a 1515 CPU, 1215 CPU and in a legacy ET200S (not SP!) CPU.
The 15xx/12xx CPU's use the "VARIANT" datatype to pass on the send/receive data while the ET200S uses the "ANY" dataype. This is system/CPU dependent according to Siemens.
And here's my obstacle:
With the 15xx/12xx CPU I can easily flesh out my "send" structure in my UDT-strcture via InOut (see picture)
However, this is not possible in the legacy ET200S CPU. I get an instant error (see picture).
Is this because of the VARIANT vs. ANY datatype?