-
Notifications
You must be signed in to change notification settings - Fork 74
IEC 61131-3 Overloaded Functions #2788
franz-hoepfinger-4diac
started this conversation in
General
Hi,
IEC 61131-3 defines overloaded Functions.
like ADD.
myUInt1 is implicitly converted to a UDINT, the multiplication has a UDINT result
myUDInt := myUInt1 * myUDInt2;
as i see it currently 4diac does only Support a ADD of same Types right ?
implicit Conversion is not there ?
Thanks,
Franz
All reactions
Replies: 1 comment
Calling ADD(IN1, IN2) with an UINT and UDINT argument works for me in 4diac IDE, the interpreter, and when running on FORTE. Why do you think this does not work?
All reactions
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment