
6 No-protocol Mode
6-8
CJ-series Serial Communications Units Operation Manual for NJ-series CPU Unit(W494)
z
Port 1/2 Settings Changing Flag
You can change communications settings and restart the Serial Communications Unit port by
changing these bits from FALSE to TRUE in an Out instruction or other instruction. After you change
the settings and restart the communications port, the flag will automatically changes to FALSE.
These flags are used both to change the communications port settings and to restart the communi-
cations port. If you want to perform only restarting a communications port, change these flags to
TRUE in instructions such as Out instruction without changing the System Settings of the device
variable for CJ-series Unit.
List of System-defined Variables (** within the system-defined variable is the Unit number)
z
Variables Related to the SerialSend, SerialRcv, and SerialRcvNoClear
Instructions in No-protocol Mode
These variable are used for data output from the CPU Unit to the Serial Communications Unit.
These variables are not available in the No-protocol Mode.
These variable are used for data input from the Serial Communications Unit to the CPU Unit.
Use these variables to reference the port settings, the communication status, the transmission control
signal status, and the transmission error status of the Serial Communications Unit.
6-2-2
System-defined Variable
System-defined variable
Type
R/W
Name
Function
_ CJB_SCU **P1ChgSta
BOOL
RW
Serial Communications
Unit **, Port 1 Settings
Changing Flag
1: Changing Port 1 Communica-
tions Unit Port Settings
0: All other statuses
Default: 0
_CJB_SCU**P2ChgSta
BOOL
RW
Serial Communications
Unit **, Port 2 Settings
Changing Flag
1: Changing Port 2 Communica-
tions Unit Port Settings
0: All other statuses
Default: 0
System-defined variable
Description
_Port_isAvailable
Network Communications Instruction Enabled Flag
TRUE when execution of SerialSend, SerialRcv, SerialRcvNoClear, and other net-
work communications instructions (such as SendCmd and ExecPMCR) is enabled.
6-2-3
Device Variable for CJ-series Unit for Software Switches
6-2-4
Device Variable for CJ-series Unit for Status
Device variable for CJ-series Unit
Type
R/W
Name
Function
Port 1
Port 2
*_Com_UnitLogMemErr
BOOL
R
Error Log
EEPROM Error
TRUE: Error log EEPROM
error
FALSE: Error log
EEPROM normal
Содержание 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...