Omron SYSMAC CV Series Operation Manual page 557

Ladder diagrams
Hide thumbs Also See for SYSMAC CV Series:
Table of Contents

Advertisement

Instruction Set
Name, mnemonic, variations,
and symbol
FIND MINIMUM
MIN, jMIN
(166)
MIN
C
St
SUM
SUM, jSUM
(167)
SUM
C
St
TRACE MEMORY
TRSM
SELECT EM BANK
EMBC, jEMBC
(171)
EMBC
N
LOAD FLAGS
CCL, jCCL
SAVE FLAGS
CCS, jCCS
MARK TRACE
MARK
(174)
MARK
N
LOAD REGISTER
REGL, jREGL
(175)
REGL
S
Searches the range of memory from St to
St+N–1 for the address that contains the
minimum value and outputs that value to the
destination word (D). The number of words
within the range (N) is contained in the 3
D
rightmost digits of C, which must be BCD
between #001 and #999. When bit 15 of C is
OFF, data within the range is treated as
unsigned hexadecimal values, and when it is
ON the data is treated as signed hexadecimal
values. When bit 14 of C is OFF, the address
of the word containing the minimum value will
not be output to IR0; when it is ON, the value
will be output to IR0.
Computes the sum of the contents of words
from St to St+N–1 and outputs that value to
the destination words (D and D+1). The
number of words within the range (N) is
contained in the 3 rightmost digits of C, which
D
must be BCD between #001 and #999. When
bit 15 of C is OFF, data within the range is
treated as unsigned values, and when it is ON
the data is treated as signed values. When bit
14 of C is OFF, data within the range is treated
as BCD and when it is ON the data is treated
as hexadecimal.
Marks the start of tracing. This instruction is
effective only when tracing is being executed
(170)
from a Peripheral Device. Changes in status of
TRSM
the bits and words specified from the
Peripheral Device are stored in trace memory.
Changes the current EM bank to the one
indicated by the EM bank number (N). N must
be between #0000 and #0007. The current EM
bank number is recorded in the least
significant (rightmost) digit of A511. Bit A51115
is ON when an Expansion Data Memory Unit
is mounted to the CPU. EM is optional and
available with various numbers of banks.
Changes the Arithmetic Flags to the status
recorded by the last CCS(173) instruction.
(172)
Arithmetic Flags include the following:
CCL
ER (A50003), CY (A50004), GR (A50005),
EQ (A50006), LE (A50007), and N (A50008).
Records the current status of the Arithmetic
Flags in the CPU for later retrieval by the
(173)
CCS(173) instruction.
CCS
Marks the location for sampling when
executing a mark trace from a Peripheral
Device or when measuring the execution time
between MARK(174) instructions. When
executing a mark trace, the status of the
words specified from the Peripheral Devices
are stored in trace memory.
Copies the data from S, S+1, and S+2 to Data
Registers DR0, DR1, and DR2, and copies the
data from S+3, S+4, and S+5 to Index
Registers IR0, IR1, and IR2. S to S+5 must be
in the same data area.
Function
Appendix A
Operand data
Page
areas
C:
St:
D:
320
CIO
CIO
CIO
G
G
G
A
A
A
#
T/C
DM
DM
DM
DR
DR
IR
IR
C:
St:
D:
322
CIO
CIO
CIO
G
G
G
A
A
A
#
T/C
DM
DM
DM
DR
IR
None
393
N:
364
CIO
G
A
#
DM
DR
IR
None
366
None
367
N:
395
#
S:
367
CIO
G
A
DM
547

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cv2000Cvm1Cv500Cv1000

Table of Contents