
4-21
4 Using Protocol Macros
CJ-series Serial Communications Units Operation Manual for NJ-series CPU Unit(W494)
4-2 De
vic
e
V
ariab
les
fo
r CJ
-series Un
it and
Sys
tem-defined
V
ariables
(Pr
o
toco
l Macr
o Mo
de)
4
4-2-3 System-defined V
a
riab
le
z
Port 1 and Port 2 Port Settings Changing Flags
You can use an Out instruction or other instruction in the program to turn these bits from FALSE to
TRUE to change communications settings and restart the Serial Communications Unit ports. After
you change the settings and restart the communications port, the flag will automatically change to
FALSE.
These flags are used both to change the communications port settings and to restart the communi-
cations port at the same time. Accordingly, in cases where these flags are turned from FALSE to
TRUE only to restart a communications port by using an Out instruction or other instruction, you can
turn these flags from FALSE to TRUE without changing the system settings of the device variables
for CJ-series Unit.
List of System-defined Variables (** corresponds to the unit number.)
4-2-3
System-defined Variable
System-defined variable
Type
R/W
Name
Function
_CJB_SCU**P1ChgSta
BOOL
RW
Serial Communications Unit
** Port 1 Settings Changing
Flag
TRUE: Port 1 Communications Unit Port
Settings Change
FALSE: All other statuses
Default: FALSE
_CJB_SCU**P2ChgSta
BOOL
RW
Serial Communications Unit
** Port 2 Settings Changing
Flag
TRUE: Port 2 Communications Unit Port
Settings Change
FALSE: All other statuses
Default: FALSE
Содержание 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...