Fanuc C-Executer Operating Manual
B-62443EN-3/03E
- 769 -
FANUC Series 16/18 C Executor
3.8 Serial Library
==================
Library outline
~~~~~~~~~~~~~
1. Outline
Serial Library is a set of general functions which are used to send/receive
data to/from devices via RS-232C communication interface. Character or block
type data can be handled by these functions.
To utilize communication function with Serial Library, "Reader/Punch Interface
1" option has to be equipped in the CNC. "Reader Punch Interface 2" option is
also required to use the second serial communication channel.
[1] Protocol
start-stop synchronization transmission ( 2 channels max.)
data bits 7 or 8 bits
stop bits 1 or 2 bits
baud rate 600, 1200, 2400, 4800, 9600 bits /sec
parity check none, even, odd
flow control none, CS/RS control , DC code control
[2] Data path
+------------------------------------------------+
| |
| application |-------+
| | |
+------------------------------------------------+ |
| | |
+----------------+ +----------------+ |
| | -+ | | -+ |
| Tx buffer | | | Rx buffer | | Status
| | | | | | check
+----------------+ | +----------------+ | |
+----------------+ +----------------+ |
| | |
+------------------------------------------------+ |
| | |
| Serial device |<------+
| |
+------------------------------------------------+
Application program sends data to the serial device via transmit buffer
(Tx buffer) and receives data from the serial device through receive buffer
(Rx buffer). Status information is directly read from the serial device.