Omron CJ1W-SCU32 Operation Manual page 159

Machine automation controller, cj / nj-series, serial communications units, cpu unit
Table of Contents

Advertisement

Software Switch Descriptions
The Software Switches function as described in the following table.
Device vari-
Name
able for CJ-
series Unit
Serial Gate-
*_P1_SgwDsbl
way Prohibit
Cmd
Switch (Pro-
*_P2_SgwDsbl
tocol Macros)
Cmd
Abort Switch
*_P1_PmrAbtC
(Protocol
md
Macros)
*_P2_PmrAbtC
md
One-shot
*_P1_Pmr1Sho
Trace Switch
tTeanceCmd
(Protocol
*_P2_Pmr1Sho
Macros) (*2)
tTeanceCmd
Continuous
*_P1_PmrCont
Trace Switch
TranceCmd
(Protocol
*_P2_PmrCont
Macros) (*2)
TranceCmd
Wait Release
*_P1_PmrWait
Switch (Pro-
RlsCmd
tocol Macros)
*_P2_PmrWait
RlsCmd
*1 The Software Switches will also be initialized at the following times: when the Controller is reset, when the
operating mode is changed between PROGRAM and RUN Modes, when the Unit is restarted, or when the
communications port is restarted.
After the variable is set, the Software Switch will be reset (cleared) at the timing indicated in "Reset" in the
above table for each area.
*2 If both of the trace switches for one-shot trace and continuous trace are changed to TRUE, the one for which
the switch was changed first is executed. (The other one does not start until its trace switch changes to FALSE
and then back to TRUE after another trace operation is completed.) If both of the switches change to TRUE
simultaneously, the Continuous Trace will take priority.
When the trace buffer becomes full, the Unit will clear it.
The CPU Unit will manipulate the One-shot Trace Switch and Continuous Trace Switch when trace operations
are performed from the CX-Protocol. Do not manipulate these switches from a user program.
CJ-series Serial Communications Units Operation Manual for NJ-series CPU Unit(W494)
Meaning
The Serial Gateway (Mode) is prohib-
ited during protocol macro processing
when this Switch changes from FALSE
to TRUE.
The Serial Gateway is no longer prohib-
ited when the Switch is changed from
TRUE to FALSE.
Protocol macro processing will be
aborted when the switch changes from
FALSE to TRUE. Processing may be
completed if the Switch is changed too
late.
The CX-Protocol will start a one-shot
trace when the Switch changes from
FALSE to TRUE. The trace is ended
when the Switch is changed from TRUE
to FALSE.
The CX-Protocol will start a continuous
trace when the Switch changes from
FALSE to TRUE. The trace is ended
when the Switch is changed from TRUE
to FALSE.
Standby status for the Wait command
will be released when the switch
changes from FALSE to TRUE.
4 Using Protocol Macros
Timing
Initialize
Set
Controller
Manipulated
reset (*1)
by user
Manipulated
by user
Manipulated
by CX-Proto-
col
Manipulated
by CX-Proto-
col
Manipulated
by user
Reset
Manipulated
by user
Manipulated
by user
At end of
one-shot
4
trace
Manipulated
by CX-Proto-
col
At end of
Wait com-
mand
4-23

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cj1w-scu22Cj1w-scu42

Table of Contents