2-6
Section 2 Programming Languages
(4) Specication of enable ags (EN/ENO)
The start operation terminal “EN” and result terminal “ENO” can be used for the functions in the graphic language.
<Example of a function with EN/ENO>
ADD
ART
IN1
IN2
EN ENO
IN3
MUL
EN
OUT
ENO
Associate a BOOL type operation condition variable with the EN terminal. When the variable associated with the EN terminal is
TRUE (“1”), arithmetical operations are executed, while when FALSE (“0”), they are not performed. (In the above example, an
OUT value remains unchanged.) A TRUE or FALSE value for the operation is output to the ENO terminal. When ENO is TRUE
(“1”), the operation has been normally done and when FALSE (“0”), an error has occurred in the operation.
Notes:
See the descriptions of functions, for EN/ENO behavior.
<Enabling/disabling EN/ENO>
In D300win, click “Options” in the “Extras” menu to display the “Options” dialog box. Click the “Graphic Editor” tab.
Check “Functions with EN/ENO,” and then click the [OK] button. After this, any function added is shown with EN/ENO enabled
on a worksheet. To disable EN/ENO, use the same procedure.
Checking here enables EN/ENO for the function
newly added. Note that for the existing functions,
EN/ENO remains disabled.