
Series 30i/ 31i/ 32i-A
C executor library for conversion
Programming manual
01 04.05.06
S. Hasegawa
New registration
B-64183EN/01
EDIT
DATE
DESIG.
DESCRIPTION
23/226
DRAW.NO.
You should select a RS-232C process that is only executed on
user screen too.
(2) You should describe above classified process to following each task
on C executor.
Classification
in (1)
Tasks
on C executor
(B-1) (A-5) High-level task
(B-2) (A-3) Alarm task
(B-3) (A-2) Communication task
(B-4) (A-1) Main task
Using functions
When you use the "C library for conversion", you can use both functions
of "C library for conversion" and "C library for C executor". Using the "C
library for conversion", you can save your efforts to convert the calling of
C library functions in the C language program. Furthermore, you can also
use the rich functions of the "C library for C executor". However, the
mixed use of some kind of functions in each library may be restricted,
such as RS-232C functions and CNC program functions. About the
details, refer to the following manual.
・ "3.10 READER / PUNCHER INTERFACE" in this manual
・ "3.12 CNC PROGRAM" in this manual
By the library structure, the "C library for conversion" have tendency to
be slower than the "C library for C executor". If the slower execution
speed of the user program turn into grave issue, to use a similar
conventional function of "C library for C executor" is worth considering.
If you develop a new user application, we recommend that you use the
rich functions in "C library for C executor" rather than "C library for
conversion".
Common variables
You should define common variables in the file "DRAMVAR.C".
Nonvolatile variables
There are two types of nonvolatile memory. The way to access is
different between them. If you use nonvolatile memory area newly, the
type (a) is recommended because of the easy programming.
(1) "C language executor additional SRAM (A02B-0303-J736)"
You can use about 250 KB nonvolatile memory. In addition, you
can program and use it by the description of normal C language
sentence.