XW2Z-200J-B1 Omron, XW2Z-200J-B1 Datasheet - Page 289

no-image

XW2Z-200J-B1

Manufacturer Part Number
XW2Z-200J-B1
Description
CONNECTOR CABLE 2M
Manufacturer
Omron
Datasheet

Specifications of XW2Z-200J-B1

Lead Free Status / Rohs Status
Lead free / RoHS Compliant
Other names
XW2Z200JB1
Note
JSB(982) Operation
Note JSB(982) will be executed even if the input condition is OFF.
The following process is performed when JSB(982) is executed.
1. When the subroutine is called, the status of the input condition for JSB(982) is stored in the corresponding
2. The actual addresses in I/O memory of the first input parameter word and first output parameter word are
3. The specified subroutine is executed through RET(093).
4. Program execution continues with the next instruction after JSB(982).
Note If JSB(982) is within a program section interlocked by IL(002) and ILC(003), the subroutine will still be
266
Programming
Subroutine Input Condition Flag.
automatically stored in index registers IR0 and IR1, respectively
A000
A001
A002
.
.
.
A015
executed, but the interlock will apply to the program in the subroutine as well.
Word
(1) Index registers have been used to increase the usability of subroutines called with JSB(982). The
(2) When a subroutine is called with SBS(091), the entire subroutine will be skipped when the input con-
(3) When a subroutine is called with SBS(091), it is not possible to tell from within the subroutine if the
actual addresses in I/O memory of the first input parameter word and first output parameter word
are automatically stored in index registers IR0 and IR1, respectively. This enables accessing the in-
put parameter words in the subroutine by indirectly addressing IR0 to read the input parameters for
specific processing, as well as accessing the output parameter words in the subroutine by indirectly
addressing IR1 to write data for output.
dition is OFF, making it impossible to program processing for OFF input conditions (e.g., stopping
processing or decelerating for an OFF input condition in a subroutine that performs jogging for an
ON input condition).
subroutine has been executed before. This makes it impossible to perform different processing in
different cycles, such as spreading processing over multiple cycles.
Address
Input condition
00 to 15
00 to 15
00 to 15
.
.
.
00 to 15
Bits
SBN000 to SBN015
SBN016 to SBN031
SBN032 to SBN047
.
.
.
SBN240 to SBN255
Corresponding subroutines
JSB
N
S
D
N: Subroutine number
S: First input parameter word
D: First output parameter word
Appendix A