Fanuc C-Executer Operating Manual
B-62443EN-3/03E
- 823 -
[3] How it works
+-----------------------------------------+
||
| Application |
||
+-------------------+---------------------+
|
+-------------------+---------------------+
||
| FCA Library |
||
+-------------------+---------------------+
|
+-------------------+---------------------+
||
| Serial Library |
||
+-------------------+---------------------+
|
+-------------------+---------------------+
||
| Serial Device |
||
+-----------------------------------------+
FCA Library controls serial devices via Serial Library.
[4] FCA mode
When the FCA Library Function, fca_setparam(), is called, the serial port is
switched to the FCA mode. In this mode, it is recommended not to use standard
Serial Library Functions, rs_xxx. Though these functions can be used in the
FCA mode, detailed understandings of the FCA devices are required to do that.
When a serial port is switched to the FCA mode, the port becomes being under
control of the application program and the signal "ER" becomes "ON". In this
state, communication cable should not be disconnected or connected to protect
devices from hardware damage.
By calling the FCA Library Function, fca_bye(), the serial port is returned
to the idle state. That is, the port is released from the control of the
application program and the signal "ER" becomes "OFF".