209
Using the Serial Gateway Section 6-4
Using Serial Gateway with Protocol Macros
• DM Area (Setup Area) Settings
m = D30000 + 100
× unit number
• CIO Area
n = CIO 1500 + 25
× unit number
Use the following flag to check whether the Serial Gateway is currently prohib-
ited or not.
Words Bit Setting contents
Board Unit
Port 1Port 2Port 1Port 2
D32000 D32010 m m+10 08 to 11 Serial communications mode
9 hex: Protocol macro mode
D32002 D32012 m+2 m+12 15 Send delay
0: Default (0 ms); 1: User-
specified
00 to 14 User-specified send delay
0 to 300 s (0 to 300,000 ms):
0000 to 7530 hex (0 to 30,000
decimal)
(Unit: 10 ms)
D32003 D32013 m+3 m+13 15 CTS control
D32007 D32017 m+7 m+17 08 to 15 Response timeout monitoring
time
00 hex: 5 s (default)
01 to FF hex (1 to 255 deci-
mal): 0.1 to 25.5 s
(Unit: 100 ms)
00 to 07 Serial Gateway send start
timeout monitoring time
00 hex: 5 s (default)
01 to FF hex (1 to 255 deci-
mal): 0.1 to 25.5 s
(Unit: 100 ms)
Word Bit Function
Board Unit
1900 n 12 Port 2 Serial Gateway Prohibit Switch (protocol
macros)
0: Not prohibited; 1: Prohibited
04 Port 1 Serial Gateway Prohibit Switch (protocol
macros)
0: Not prohibited; 1: Prohibited
Word Bit Contents
Board Unit
Port 1 Port 2 Port 1 Port 2
1909 1919 n+9 n+19 08 Serial Gateway Prohibited
Flag
1: Prohibited; 0: Not prohibited