PartTimePlcProg
Member
Hello.
I'm pretty new to PLC things, come from a C etc. programming background.
Found this nice thread here:
http://www.plctalk.net/qanda/showthread.php?t=34840
I have a Siemens 1212C PLC here, using TIA 11 development environent.
So I tried to implement e.g. the offsetof example of that thread, and already failed when I tried to enter, for a FB, a temporary variable of the
type ANY, like is used on the example.
TIA would tell me "not allowed here".
(as it did with "Pointer", which I also found mentioned in a SCL document).
Well, now is this the S7-SCL language, or what?
Can somebody shed some light on it for me?
Regards,
I'm pretty new to PLC things, come from a C etc. programming background.
Found this nice thread here:
http://www.plctalk.net/qanda/showthread.php?t=34840
I have a Siemens 1212C PLC here, using TIA 11 development environent.
So I tried to implement e.g. the offsetof example of that thread, and already failed when I tried to enter, for a FB, a temporary variable of the
type ANY, like is used on the example.
TIA would tell me "not allowed here".
(as it did with "Pointer", which I also found mentioned in a SCL document).
Well, now is this the S7-SCL language, or what?
Can somebody shed some light on it for me?
Regards,