154
Setup Area Allocations Section 5-2
5-2-2 Setup Area Allocations
m = D30000 + 100 × unit number
Port Settings The setting for the port settings determines 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 settings 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.
DM Area Bit Setting contents
Boards
(CS Series only)
Units
(CS/CJ Series)
Port 1Port 2Port 1Port 2
D32000 D32010 m m + 10 15 Port settings
0: Defaults, 1: User settings
12 to 14 Reserved
08 to 11 Serial communications mode
6: Protocol macro
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 00 to 03 Baud rate (Unit: bps)
0: Default (9,600) 3: 1,200 4: 2,400
5: 4,800 6: 9,600 7: 19,200 8: 38,400
(The following setting can be selected even if protocol macro is set
as the serial communications mode: Unit Ver. 1.2 or later only)
9: 57,600
D32007 D32017 m + 7 m + 17 08 to 15 Serial Gateway response timeout monitoring time (Unit Ver. 1.2 or
later only)
0 hex: 5 s (default)
01 to FF hex (1 to 255 decimal): 0.1 to 25.5 s
Unit: 100 ms
00 to 07 Serial Gateway send start timeout monitoring time (Unit Ver. 1.2 or
later only)
0 hex: 5 s (default)
01 to FF hex (1 to 255 decimal): 0.1 to 25.5 s
Unit: 100 ms
D32008 D32018 m + 8 m + 18 15 Transmission method 0: Half-duplex; 1: Full-duplex
00 to 14 Reserved
03 Clearing/holding the contents of the reception buffer in full-duplex
mode (Unit Ver. 1.2 or later only)
0: Clear; 1: Hold
02 Link word specification data exchange timing (Unit Ver. 1.2 or later
only)
0: On-request I/O refreshing
1: Continuos I/O refreshing
00 to 01 Reserved
D32009 D32019 m + 9 m + 19 00 to 15 Maximum number of bytes in send/receive data:
00C8 to 03E8 Hex