
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
134/226
DRAW.NO.
Set the channel number of RS-232C to "n". In this setting, the
communication line is opened with writing mode and
controlled by the DC1 / DC3 flow control. The DC2 code is
output to the target device when the communication line is
opened. The DC4 code is output to the target device when the
communication line is closed. The writing to the target device
is flow-controlled by the DC1 and DC3 code from the target
device.
9n: Bidirectional (DC1 / DC3 flow control)
Set the channel number of RS-232C to "n". In this setting, the
communication line is opened with bidirectional mode and
controlled by the DC1 / DC3 flow control. No control code is
output when the communication line is opened or closed. The
writing to the target device is flow-controlled by the DC1 and
DC3 code from the target device. The reading from the target
device is flow-controlled by the DC1 and DC3 code from the
CNC.
OB (cntl[1]): Baud rate
7:600bps, 8:1200bps, 9:2400bps, 10:4800bps, 11:9600bps
OS (cntl[2]): Stop bits, parity and DC3 code
Set the stop bits and parity setting to the low byte as following
format.
1: 1 stop bit, none parity
2: 2 stop bits, none parity
11: 1 stop bit, odd parity
12: 2 stop bits, odd parity
21: 1 stop bit, even parity
22: 2 stop bits, even parity
Set the DC3 code to the high byte as following format.
0: The DC3 code is 0x93.
0x13: The DC3 code is 0x13.
For example, when the setting is "2 stop bits, non-parity, the DC3
code is 0x13", you should set the 0x1302 to OS (cntl[2]).
OC (cntl[3]): Output code, input code
Set the output code to the low byte as following format.
When the OP (cntl[0]) == n, this setting is unavailable.
1: ASCII, 2: ISO
Set the input code to the high byte as following format.
0: Automatic detection
1: ISO (The input code is checked.)
For example, when the setting is "Output and input code is
ASCII", you should set the 0x0001 to OC (cntl[3]).
Output