
2.8 Remarks
C Executor uses the different include files from the compiler's default.
So, the object files made for the personal computer debugging cannot be used
for execution on CNC. Recompile using include files for C Executor. (The
include directory is switched by the macro CC in MAKEFILE)
Do not change MAKEFILE except the place mentioned above.
When creating application programs, observe the following cautions:
1) Do not perform division by zero.
2) When using data of type float or double, do not perform an arithmetic
operation on that data with NaN (nonnumeric) held.
3) Before converting data from type float or double to an integral type,
make sure that the resulting data will not fall outside the valid data
range of the target integral type.
4) The following restrictions are imposed on the alignment of variables to
be placed.
One-byte variable : No restriction
Two-byte variable : The least significant digit of the address must
be 0, 2, 4, 8, a, c, or e.
Four-byte variable : The least significant digit of the address must
be 0, 4, 8, or c.
Eight-byte variable : The least significant digit of the address must
be 0 or 8.
[**WARNING**]
If an application program performs one of the following operations, the CNC
may behave in an unexpected manner.
- Access to data in an area other than the application data area.
- Execution of a program other than an application program (except call the
function that the C Executor offers it)