4-98 Series 90-30/20/Micro Programmable Controllers Reference Manual September 1998 GFK-0467K

4
Valid Memory Types:
Parameter flow %I %Q %M %T %S %G %R %AI %AQ const none
enable

IN •••• ••• • •

ok • •

Q•••• ••• •

Note: For REAL data, the only valid types are %R, %AI, and %AQ.

Valid reference or place where power may flow through the function.
Example:
In the following example, whenever input %I0002 is set, the BCD-4 value in PARTS is convertedto a signed integer and passed to the ADD function, where it is added to the signed integer valuerepresented by the reference RUNNING. The sum is output by the ADD function to the referenceTOTAL.
| _____ _____
|%I0002 | | | |
|——| |———|BCD4_|————————————————| ADD_|—
| | | | |
| | TO_ | | INT |
| | | | |
| | INT | | |
| PARTS -|IN Q|- %R0001 %R0001 |I1 Q|- TOTAL
| |_____| | |
| RUNNING-|I2 |
| | |
—————