126
Setup Area Allocations Section 4-2
4-2-2 Setup Area Contents
m = D30000 + 100 × Unit No.
Port Settings The setting for the port settings determine if the default settings or user set-
tings will be used for port 1 and port 2. Be sure to use the same settings as
the RS-232C port on the host computer connected via the Host Link System.
If the default port settings are specified, then the setting of bits 00 to 04 and
the baud rate in D32001 will be ignored.
The default settings used are as follows: Baud rate: 9,600 bps, start bits:
1 bit, data length: 7 bits, parity: even, and stop bits: 2 bits.
If user port settings are specified, set bits 00 to 04 and set the baud rate in
D32001.
Setting Example: 0100 Hex = Host link mode with default port settings.
Serial Communications
Mode
Set the serial communications mode to 5 Hex to use Host Link communica-
tions. The default setting of 0 Hex can also be used to operate in Host Link
mode with unit number 00.
Words Bit Setting contents
Board
(CS Series only)
Unit
(CS/CJ Series)
Port 1 Port 2 Port 1 Port 2
D32000 D32010 m m + 10 15 Port settings 0: Defaults; 1: User settings
12 to 14 Reserved
08 to 11 Serial communications mode
0: Default (Host Link)
5: Host Link
05 to 07 Reserved
04 Start bits
0: 1 bit; 1: 1 bit (1 start bit is always used regardless of this setting)
03 Data length 0: 7 bits; 1: 8 bits
02 Stop bits 0: 2 bits; 1: 1 bit
01 Parity 0: Yes; 1: No
00 Parity 0: Even; 1: Odd
D32001 D32011 m + 1 m + 11 04 to 15 Reserved
00 to 03 Baud rate (bps)
0: Default (9,600); 3: 1,200; 4: 2,400; 5: 4,800; 6: 9,600; 7: 19,200;
8: 38,400; 9: 57,600; A: 115,200
D32002 D32012 m+ 2 m + 12 15 Send delay time 0: Default (0 ms); 1: Setting in bits 00 to 14
00 to 14 Send delay (0000 to 7530 hex) (Unit: 10 ms)
D32003 D32013 m + 3 m + 13 15 CTS control 0: No; 1:Yes
14 1:N/1:1 protocol setting (Unit Ver. 1.2 or later only)
1: 1:1 protocol; 0: 1:N protocol
If the Host Link compatible device mode is set between 0 and 2 hex
(mode A or B), the setting in this bit is invalid (always 1:N Host
Links)
11 to 13 Reserved
08 to 10 Host Link compatible device mode
0 hex: Default (mode A)
1 hex: Mode A (CS/CJ/C)
2 hex: Mode B (CVM1/CV)
3 hex: Mode C (C200H)
4 hex: Mode D (C500/120)
00 to 07 Host Link unit number (00 to 1F hex)