![background image](http://html1.mh-extra.com/html/omron/cj1w-scu22/cj1w-scu22_operation-manual_742498108.webp)
2 Initial Settings and Allocations of Device Variable for CJ-series Unit
2-34
CJ-series Serial Communications Units Operation Manual for NJ-series CPU Unit(W494)
2-4
System-defined Variable
Serial Communications Unit Port 1/2 Settings Changing Flag and Restart Bits are allocated to the fol-
lowing system-defined variables.
z
Port 1 and Port 2 Settings Changing Flag
You can use an Out instruction or another instruction from the program to change these flags 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 be changed
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 changed to TRUE only to
restart a communications port by using an Out instruction or another instruction, you can change
these flags to TRUE without changing the port system settings.
List of System-defined Variables (** corresponds to the unit number.)
z
Restart
You can restart the Serial Communications Unit by one of the following methods.
•
Issue a ResetUnit instruction to restart from the program.
•
Restart from a system-defined variable.
Change the following bits to TRUE and then back to FALSE.
List of System-defined Variables (** corresponds to the unit number.)
System-defined variable
Type
R/W
Name
Function
_CJB_SCU**P1ChgSta
BOOL
RW
Serial Communications
Unit
**, Port 1 Settings Chang-
ing 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 Chang-
ing Flag
TRUE: Port 2 Communications
Unit Port Settings Change
FALSE: All other statuses
Default: FALSE
System-defined variable
Type
R/W
Name
Function
_CJB_CBU**Restart
BOOL
RW
CPU Bus Unit Restart Bits
TRUE: CPU Bus Units are
restarted.
FALSE: CPU Bus Units are not
restarted.
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...