
5 Serial Gateway
5-12
CJ-series Serial Communications Units Operation Manual for NJ-series CPU Unit(W494)
5-3
Using the Serial Gateway
Use of the Serial Gateway basically only requires setting of the device variables for CJ-series Unit for
System Settings and Software Switches.
Set the device variables for CJ-series Unit for System Settings shown below.
5-3-1
Setting Device Variable for CJ-series Unit for System Settings
and Software Switches
Using Serial Gateway Alone
Device variable for CJ-series Unit
Type
R/W
Name
Function
Port 1
Port 2
*_P1_PortCfg
*_P2_PortCfg
WORD
RW
Port Settings
Serial communications
mode (bits 11 to 08):
9 hex: (Serial Gateway
Mode)
Bits 00 to 04: Set the
serial communications
conditions to match the
protocol at the conversion
destination.
*_P1_BaudrateCfg
*_P2_BaudrateCfg
USINT
RW
Baud Rate
(unit: bps)
Baud rate: Set to match
the protocol at the conver-
sion destination.
*_P1_SendDelayCfg
*_P2_SendDelayCfg
WORD
RW
Send Delay
Settings
Bit 15: Send delay time
Bits 00 to 14: Send delay
(user-specified)
*_P1_HlkCTSCtlCfg
*_P2_HlkCTSCtlCfg
BOOL
RW
CTS Control
FALSE: No
TRUE: Yes
*_P1_PmrSgwRespTimeo
utCfg
*_P2_PmrSgwRespTimeo
utCfg
USINT
RW
Serial Gateway
Response Tim-
eout Monitor-
ing Time
0: 5 s (default)
Data range: 1 to 255
0.1 to 25.5 s [Unit: 100
ms]
Содержание CJ1W-SCU22
Страница 192: ...4 Using Protocol Macros 4 56 CJ series Serial Communications Units Operation Manual for NJ series CPU Unit W494...
Страница 250: ...6 No protocol Mode 6 22 CJ series Serial Communications Units Operation Manual for NJ series CPU Unit W494...
Страница 460: ...A Standard System Protocol R 126 CJ series Serial Communications Units Operation Manual for NJ series CPU Unit W494...
Страница 473: ...Index 1 CJ series Serial Communications Units Operation Manual for NJ series CPU Unit W494 I Index...