Setting The CNC RS232
Setting The CNC RS232
Setting The CNC RS232
Most CNC units use several "parameter" registers to configure the CNC's RS232 port. Changing the parameters is usually done by entering new data at
the CNC keyboard in the manual data input mode. For more information about
how to change the parameter settings, refer to your CNC's user manual. It is
very important that the baudrate setting of the CNC unit matches the baudrate
used in Inplot.
System 3 series:
a) Set baudrate with parameter #68 and #69 (set both to 300)
b) Set parameters 5 and 14 to: 1xxxx0x0 (bits marked "x" are
used for something else - do not change).
c) Other SETTING values: Punch Code = ISO, I/O device = 0
b) Set parameter #24 to: xxxxxxx0 (don't change bits with "x")
c) Set parameter #26 to: 0xxxxxxx " " " "
d) Other SETTING values: Punch code = ISO, INPUT DEVICE 2 = 1
System 0 series
a) Set parameters 0002 and 0012 to: 1xxxx0x0
b) Set parameters 553 and 554 to: 6 (300 baud)
c) Other SETTING values: PUNCH CODE = ISO, I/O = 1
2 *--------------------------* 3
3 *--------------------------* 2
4 *--------------------------* 5
5 *--------------------------* 4
7 *--------------------------* 7
6*------ Tie pins 6, 8, and 20 together on CNC side
8*-----20*----
Problems
If your personal computer and CNC machine tool are compatible with those
mentioned in this article, and if you have followed the instructions carefully,
your DNC link should be successful. If not, double check the procedure to be
sure you have not missed a step. Here is a list of a few typical problems and
their possible solutions.
1) If no data is transferred in either direction and a "Device I/O error occurs on
the PC, you probably have a baudrate or "stop" bits mis-match between
devices. Confirm that your CNC or punch reader is using the baudrate you
expect.
2) If no data is transferred in either direction and no errors occur, you may
have an improperly wired cable. If your CNC or puncher uses a DCE port
instead of the usual DTE port, you must use a "straight through" cable instead
of the cross-wired type described above.
3) If a "Communications Buffer Overflow" error occurs on the PC, your CNC is
probably ignoring the handshaking signals CTS and DSR (pins 5 and 6) and is
sending data when not ready.
4) Some tape punch/readers (Blue Chip, for example) must use 2 "stop" bits
for all communications. Also, most devices that operate at 110 baud use 2
"stop" bits.
5) Some controls (early model Bridgeports) use ASCII code without a "parity"
bit (channel #8 on a paper tape).
6) A very few Fanuc CNCs were not able to send programs in ISO code even
though the setting parameter labeled "PUNCH CODE" is set for ISO (EIA/ISO
switching is an optional feature).
Back to Index