
2-23
2 Initial Settings and Allocations of Device Variable for CJ-series Unit
CJ-series Serial Communications Units Operation Manual for NJ-series CPU Unit(W494)
2-3 De
vice
V
a
ri
a
b
le f
o
r CJ-series Un
it
2
2-3-3 D
e
vice V
ar
ia
b
le f
or CJ-ser
ies
Uni
t f
o
r Sof
tw
a
re Sw
itc
hes
(Output from the CPU Unit to Serial Communications Unit)
The software switches are used for loopback tests, aborts in Protocol Macro Mode, releasing wait sta-
tus, etc. For the details on the software switch functions, refer to Section 5 Serial Gateway and Section
8 Loopback Test.
* The One-shot Trace Switch and Continuous Trace Switch are used for the Serial Communications Unit only when you exe-
cute traces from the CX-Protocol in Protocol Macro Mode. Do not manipulate these switches from a user program.
2-3-3
Device Variable for CJ-series Unit for Software Switches
List of Device Variables for CJ-series Unit for Software Switches
Device variable for CJ-series Unit
Type
R/W
Name
Function
Port 1
Port 2
*_P1_SoftSw
*_P2_SoftSw
BYTE
RW
Soft Switches
Bit 06: Loopback test
switch
Bit 04: Serial gateway pro-
hibit switch
Bit 03: Abort switch
Bit 02: One-shot trace
switch
Bit 01: Continuous trace
switch
Bit 00: Wait release switch
*_P1_LbtTestTrigCmd
*_P2_LbtTestTrigCmd
BOOL
RW
Loopback Test
Switch (Loop-
back Tests)
TRUE: Start
FALSE: Stop
*_P1_SgwDsblCmd
*_P2_SgwDsblCmd
BOOL
RW
Serial Gateway
Prohibit Switch
(Protocol Mac-
ros)
TRUE
→
FALSE: Permitted
FALSE
→
TRUE: Prohib-
ited
*_P1_PmrAbtCmd
*_P2_PmrAbtCmd
BOOL
RW
Abort Switch
(Protocol Mac-
ros)
TRUE: Abort
FALSE: Aborted
*_P1_Pmr1ShotTrace
Cmd
*_P2_Pmr1ShotTrace
Cmd
BOOL
RW
One-shot Trace
Switch (*)
(Protocol Mac-
ros)
TRUE: Start
FALSE: Stop
*_P1_PmrContTraceC
md
*_P2_PmrContTraceC
md
BOOL
RW
Continuous
Trace Switch (*)
(Protocol Mac-
ros)
TRUE: Start
FALSE: Stop
*_P1_PmrWaitRlsCmd
*_P2_PmrWaitRlsCmd
BOOL
RW
Wait Release
Switch (Proto-
col Macros)
TRUE: Release wait
FALSE: Wait released
Содержание 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...