Omron CS1G/H-CPUxxH Instructions Manual page 680

Sysmac cs series; sysmac cj series
Hide thumbs Also See for CS1G/H-CPUxxH:
Table of Contents

Advertisement

Table Data Processing Instructions
Examples
R1
3-17-14 STACK SIZE READ: SNUM(638)
Purpose
Ladder Symbol
Variations
Applicable Program Areas
When CIO 000000 is ON in the following example, FCS(180) calculates the
FCS value for the 10 bytes of data beginning with the rightmost byte of
D00100 and writes the result to D00200.
C+1: D00301
C: D00300
R1:
0
2
0
4
0
6
0
8
0
0
D: D00200
3
0
Counts the amount of stack data (number of words) in the specified stack.
This instruction is supported by the CS1-H, CJ1-H, CJ1M, and CS1D CPU
Units only.
Variations
Executed Each Cycle for ON Condition
Executed Once for Upward Differentiation
Executed Once for Downward Differentiation Not supported.
Immediate Refreshing Specification
Block program areas
OK
OK
Always 0.
Starting byte (Effective only if bit 13 is 1.)
1: Rightmost byte
Units
1: Bytes
Always 0.
Table length
0
1
0
3
0
5
0
7
0
0
3
8
SNUM(638)
TB: First stack address
TB
D: Destination word
D
Step program areas
Subroutines
OK
Section 3-17
10 bytes
The FCS value for the
shaded bytes is calculated
and converted to ASCII.
SNUM(638)
@SNUM(638)
Not supported.
Interrupt tasks
OK
659

Advertisement

Table of Contents
loading

Table of Contents