
A-3
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
If this Unit is used with an NJ-series CPU Unit, the user program uses device variables for CJ-series
Unit that specify the AT specification for the memory used for CJ-series Unit to use the Serial Com-
munications Unit functions.
Corresponding information regarding words, bit positions and device variables for CJ-series Unit
when a CJ-series CPU Unit is used is shown below.
The following shows the relationship between the start addresses of the words allocated in CIO Area
or in DM Area and Unit numbers.
Start address of the CPU Bus Unit CIO area: n = 1500 + Unit number
×
25 (Unit number: 0 to 15)
Start address of the CPU Bus Unit DM area: m = Unit number
×
100 (Unit number: 0 to
15)
Device variables for CJ-series Unit for Software Switches and statuses are allocated to this area as
AT specification.
The CIO Area between words n to n+8 and words n+10 to n+18 are used by all communications
modes.
The CIO Area between words n+9 to n+14 and words n+19 to n+24 are individually defined for each
communications mode. Use them according to the definition in the communications mode to be
used.
Example:
•
Protocol Macro Mode
The device variable for CJ-series Unit that corresponds to bit 15 of n+9 is *_ P1_PmrExecSta (Pro-
tocol Macro Executing Flag).
•
Loopback Test Mode
The device variable for CJ-series Unit that corresponds to bit 15 of n+9 is *_ P1_LbtErrSta (Error).
A-1-2
Differences in Methods for Access from a User Program
CPU Bus Unit Words Allocated in CIO Area
Содержание 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...