
8-3
8 Loopback Test
CJ-series Serial Communications Units Operation Manual for NJ-series CPU Unit(W494)
8
-1 Ex
ecuting
Lo
opb
ac
k T
ests
8
8-1
-4 Indicators Used f
or
the Loopbac
k T
e
st
4
Reconnect the Controller power, restart the Serial Communications Unit (change the system-
defined variable _CJB_CBU**Restart to TRUE), or restart the serial port (change the system-
defined variable _CJB_SCU**P1ChgSta or _CJB_SCU**P2ChgSta to TRUE).
5
Set the Loopback Test Switch of the Software Switch to TRUE.
To end the test, set the switch to FALSE.
*_P1_LbtTestTrigCmd for port 1
*_P2_LbtTestTrigCmd for port 2
Refer to 2-3-3 Device Variable for CJ-series Unit for Software Switches.
6
Use the loopback status to check the results.
Refer to 8-2-2 Device Variables for CJ-Series Unit for Status.
When the test is being executed, the indicators shown below will flash. Use the Loopback Test Status in
the Protocol Status to check whether or not the test is executed normally.
Port 1: SD1/RD1 indicator
Port 2: SD2/RD2 indicator
System-defined variable
Type
R/W
Name
Function
_CJB_CBU**Restart
BOOL
RW
CPU Bus Unit
Restart Bits
(** indicates the
unit number
(00-15).)
The CPU Bus Unit restarts when the
variable changes to TRUE. (The sys-
tem will restore the variable to FALSE
after restart.)
The number at the end of each sys-
tem-defined variable corresponds to
the Unit No.
_CJB_SCU**P1ChgSta
_CJB_SCU**P2ChgSta
BOOL
RW
Serial Communica-
tions Unit **, Port
1/2 Settings
Changing Flag
(** indicates the
unit number
(00-15).)
•
The flag changes to TRUE when
changing the setting of the corre-
sponding port or executing a Serial
Port Setting Change instruction.
•
The flag returns to FALSE when an
event is sent from the Serial Unit
when settings are changed.
•
It is also possible for the user to set
the flag to TRUE and notify the
Serial Unit change in serial port
setting.
8-1-4
Indicators Used for the Loopback Test
Содержание 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...