Function Invocation using ST

T

Thread Starter

Tony

In structured text (ST), how do you handle FFBs with more than one output? For example, the UDINT_TO_WORD function has two output words, HIGH & LOW. The invocation has been defined as (* WORD *) := UDINT_TO_WORD (IN := (* UDINT *));. Which word is returned? How do you get at both the high and low order words?

TIA,

Tony
 
Top