![background image](http://html1.mh-extra.com/html/omron/cj1w-scu22/cj1w-scu22_operation-manual_742498469.webp)
A-9
Appendices
CJ-series Serial Communications Units Operation Manual for NJ-series CPU Unit(W494)
A-1 D
iff
erenc
es in A
v
ailab
le F
unc
tion
s
Depe
ndin
g
on
the CPU
Un
it (N
J
o
r C
J
Series
)
App
A-1-2 Diff
erence
s
in Methods f
o
r Access from a User Prog
ra
m
•
Modbus-RTU Slave Mode
n = CIO 1500 + 25
×
unit number (word)
m = 100
×
unit number (word)
CJ-series I/O memory Address
NJ-series device variable for CJ-series Unit
Word No.
Bit No.
Variable name
Meaning
Port 1
Port 2
Port 1
Port 2
n+9
n+19
15 to 00
*_P1_MbsCmdRxCnt
Sta
*_P2_MbsCmdRxCnt
Sta
Number of Normally Received Com-
mands
n+10
n+20
15 to 00
*_P1_MbsRespTxCnt
Sta
*_P2_MbsRespTxCnt
Sta
Number of Normally Sent Responses
n+11
n+21
15 to 00
*_P1_MbsTxErrCnt
*_P2_MbsTxErrCnt
Number of Overrun Errors, Framing
Errors, and Parity Errors (Transmis-
sion Errors)
n+12
n+22
15 to 00
*_P1_MbsCRCErrCnt
*_P2_MbsCRCErrCnt
Number of CRC Errors (Transmission
Errors)
n+13
n+23
15 to 00
*_P1_MbsCmdErrCnt
*_P2_MbsCmdErrCnt
Number of Command Format Errors
(Illegal Function Codes and Illegal
Addresses)
n+14
n+24
15 to 00
---
---
Reserved
DM Area Words Allocated to CPU Bus Unit
CJ-series I/O memory Address
NJ-Series device variable for CJ-series Unit
Word No.
Bit No.
Variable name
Meaning
Port 1
Port 2
Port 1
Port 2
m
m+10
15 to 00
*_P1_PortCfg
*_P2_PortCfg
Port Settings
15
*_P1_SerSetCfg
*_P2_SerSetCfg
User-specified Setting Inclusion
14 to 12
---
---
Reserved
11 to 08
Bits 08 to 11 of
*_P1_PortCfg
Bits 08 to 11 of
*_P2_PortCfg
Port Settings
07 to 05
---
---
Reserved
04
*_P1_StartBitCfg
*_P2_StartBitCfg
Start Bits
03
*_P1_DatBitCfg
*_P2_DatBitCfg
Data Length
02
*_P1_StopBitCfg
*_P2_StopBitCfg
Stop Bits
01
*_P1_ParityYNCfg
*_P2_ParityYNCfg
Parity Yes/No
00
*_P1_ParityBitCfg
*_P2_ParityBitCfg
Parity Even/Odd
m+1
m+11
15 to 08
---
---
Reserved
07 to 00
*_P1_BaudrateCfg
*_P2_BaudrateCfg
Baud Rate
m+2
m+12
15 to 00
*_P1_SendDelayCfg
*_P2_SendDelayCfg
Send Delay Settings
15
*_P1_SendDelaySetCfg
*_P2_SendDelaySetCfg
Send Delay Time
14 to 00
Bit 14 to 00 of
*_P1_SendDelayCfg
Bit 14 to 00 of
*_P2_SendDelayCfg
Send Delay Settings
m+3
m+13
15 to 00
*_P1_HlkCfg
*_P2_HlkCfg
Host-Link Protocol Setting
15
*_P1_HlkCTSCtlCfg
*_P2_HlkCTSCtlCfg
CTS Control
14
*_P1_HlkProcCfg
*_P2_HlkProcCfg
1: N/1:1 Protocol Setting
13 to 11
---
---
Reserved
10 to 08
Bits 08 to 10 of
*_P1_HlkCfg
Bits 08 to 10 of
*_P2_HlkCfg
Host-Link Protocol Setting
07 to 00
*_P1_HlkUnitNoCfg
*_P2_HlkUnitNoCfg
Host Link Unit Number
Содержание 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...