EasyManuals Logo
Home>Omron>Controller>CPM1A

Omron CPM1A Datasheet

Omron CPM1A
29 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #23 background imageLoading...
Page #23 background image
Programming Instructions
25
Subroutine Instructions
Instruction Mnemonic Code Function
SUBROU-
TINE EN-
TER
(@)SBS 91 Executes a subroutine in the
main program.
SUBROU-
TINE
ENTRY
SBN 92 Marks the beginning of a sub-
routine program.
SUBROU-
TINE RE-
TURN
RET 93 Marks the end of a subroutine
program.
MACRO MCRO 99 Calls and executes the speci-
fied subroutine, substituting
the specified input and output
words for the input and output
words in the subroutine.
Interrupt Control Instructions
Instruction Mnemonic Code Function
INTERVAL
TIMER
(@)STIM 69 Controls interval timers used
to perform scheduled inter-
rupts.
INTER-
RUPT
CONTROL
(@)INT 89 Performs interrupt control,
such as masking and unmask-
ing the interrupt bits for I/O in-
terrupts.
Peripheral Device Control Instructions
I/O Unit Instructions
Instruction Mnemonic Code Function
7-SEG-
MENT DE-
CODER
(@)SDEC 78 Converts the designated dig-
it(s) of a word into an 8-bit,
7-segment display code.
I/O RE-
FRESH
(@)IORF 97 Refreshes the specified I/O
word.
Display Instruction
Instruction Mnemonic Code Function
MESSAGE (@)MSG 46 Reads up to 8 words of ASCII
code (16 characters) from
memory and displays the mes-
sage on the Programming
Console or other Peripheral
Device.
High-speed Counter Control Instructions
Instruction Mnemonic Code Function
MODE
CONTROL
(@)INI 61 Starts and stops counter op-
eration, compares and
changes counter PVs, and
stops pulse output.
PV READ (@)PRV 62 Reads counter PVs and status
data.
COMPARE
TABLE
LOAD
(@)CTBL 63 Compares counter PVs and
generates a direct table or
starts operation.
Pulse Output Control Instructions
Instruction Mnemonic Code Function
SPEED
OUTPUT
(@)SPED 64 Outputs pulses at the specified
frequency. The output fre-
quency can be changed while
the pulses are being output.
SET
PULSES
(@)PULS 65 Outputs the specified number
of pulses at the specified fre-
quency. The pulse output can-
not be stopped until the speci-
fied number of pulses have
been output.
Damage Diagnosis Instructions
Instruction Mnemonic Code Function
FAILURE
ALARM
(@)FAL 06 Generates a non-fatal error
when executed. The Error/
Alarm indicator flashes and the
CPU continues operating.
SEVERE
FAILURE
ALARM
FALS 07 Generates a fatal error when
executed. The Error/Alarm in-
dicator lights and the CPU
stops operating.
Special System Instructions
Instruction Mnemonic Code Function
SET
CARRY
(@)STC 40 Sets Carry Flag 25504 to 1.
CLEAR
CARRY
(@)CLC 41 Sets Carry Flag 25504 to 0.

Other manuals for Omron CPM1A

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron CPM1A and is the answer not in the manual?

Omron CPM1A Specifications

General IconGeneral
BrandOmron
ModelCPM1A
CategoryController
LanguageEnglish

Related product manuals