610
Table Data Processing Instructions Section 3-16
Operand Specifications
Description SINS(641) inserts the source data at the desired address and shifts the exist-
ing data down one word. At the same time, SINS(641) increments the stack
pointer (TB+3 and TB+2) by 1. The location of the desired address is calcu-
lated by subtracting the offset value in C from the stack pointer.
SINS(641) can be used to insert the data for an item that is inserted in the
midst of items already on a conveyor. The position of the insertion point is
simply the number of items back (the offset value) from the most recent item
added to the conveyor.
Area TB C S
CIO Area CIO 0 to CIO 6143
Work Area W0 to W511
Holding Bit Area H0 to H511
Auxiliary Bit Area A448 to A959 A0 to A959
Timer Area T0000 to T4095
Counter Area C0000 to C4095
DM Area D0 to D32767
Indirect DM addresses
in binary
@ D0 to @ D32767
Indirect DM addresses
in BCD
*D0 to *D32767
Constants --- #0001 to #FFFB
(Hexadecimal)
#0000 to #FFFF
(Hexadecimal)
Data Registers --- DR0 to DR15
Index Registers ---
Indirect addressing
using Index Registers
,IR0 to ,IR15
–2048 to +2047 ,IR0 to –2048 to +2047 ,IR15
DR0 to DR15, IR0 to IR15
,IR0+(++) to ,IR15+(++)
,–(– –)IR0 to, –(– –)IR15
A
B
C
D
n
m
TB
TB+1
TB+2
TB+3
TB+4
m
n
A
B
C
D
n
m+1
TB
TB+1
TB+2
TB+3
TB+4
m
m+1
C
Stack Stack
PLC memory
address
PLC memory
address
Pointer
Pointer
Offset value
Last word
in stack
Last word
in stack
Inserts the source data (A)
and increments the stack
pointer.
The address of the desired word is
calculated by subtracting the offset
value from the stack pointer address.
The stack pointer is
incremented by +1.