Fanuc C-Executer Operating Manual
B-62443EN-3/03E
- 1057 -
------------------------------------------------------------------------------
(11) Read acceleration/deceleration delay amount
------------------------------------------------------------------------------
Equivalence to "cnc_accdecdly()" function.
[Input]
Function code iodata[0] = 31
Data attribute iodata[4] = 1, 2,..,N Axis number. (for individual
axis, N is amount of
controlled axes)
-1 For all axes.
[Output]
Return code iodata[1] = 0 Successful.
4 Invalid data attribute.
-1 Unable to read because CNC
software is processing.
Data length iodata[2] = 4 For individual axis.
4*N For all axes. (N is max
controlled axis number)
Acc/dec delay *(long *)&iodata[5] For individual axis.
*(long *)&iodata[5],.. For all axes, stored in axis
index order.
Unit of data is same as
"cnc_accdecdly" function.
------------------------------------------------------------------------------
(12) Read alarm status
------------------------------------------------------------------------------
Equivalence to "cnc_alarm()" function.
[Input]
Function code iodata[0] = 23
[Output]
Return code iodata[1] = 0 Successful.
Data length iodata[2] = 2
Alarm status iodata[5] Bit flags that indicate
whether any alarm occurs or
not.
Contents are same as
"cnc_alarm" function.