Omron SYSMAC CJ - REFERENCE MANUAL 01-2008 Reference Manual page 795

Sysmac cs/cj/one nsj series programmable controllers
Table of Contents

Advertisement

Table Data Processing Instructions
Description
TB+1
TB+2
TB+3
TB+4
Pointer
Offset value
Last word
in stack
C
756
Area
EM Area with bank
Indirect DM/EM
addresses in binary
Indirect DM/EM
addresses in BCD
Constants
Data Registers
Index Registers
Indirect addressing
using Index Registers
SDEL(642) deletes the data at the specified location in the stack, outputs that
data to the specified destination word, and shifts the remaining the data in the
stack upward. At the same time, SDEL(642) decrements the stack pointer
(TB+3 and TB+2) by 1. The location of the desired address is calculated by
subtracting the offset value in C from the stack pointer.
PLC memory
Stack
address
TB
n
m
A
B
C
m
n
Deletes the specified
word and decrements
the stack pointer.
SDEL(642) can be used to delete the data for an item that is rejected from the
items on a conveyor. The position of the deletion point is simply the number of
items back (the offset value) from the most recent item added to the conveyor.
TB
En_00000 to En_32767
(n = 0 to C)
@ D00000 to @ D32767
@ E00000 to @ E32767
@ En_00000 to @ En_32767
(n = 0 to C)
*D00000 to *D32767
*E00000 to *E32767
*En_00000 to *En_32767
(n = 0 to C)
---
---
---
,IR0 to ,IR15
–2048 to +2047 ,IR0 to –2048 to +2047 ,IR15
DR0 to DR15, IR0 to IR15
,IR0+(++) to ,IR15+(++)
,–(– –)IR0 to, –(– –)IR15
TB
TB+1
TB+2
TB+3
TB+4
Pointer
Last word
in stack
A
D
The address of the desired word
is calculated by subtracting the
offset value from the stack
pointer address.
Section 3-17
C
#0001 to #FFFB
---
(Hexadecimal)
DR0 to DR15
PLC memory
Stack
address
n
The stack pointer is
m-1
decremented by 1.
B
C
m
n
D

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents