EasyManuals Logo
Home>IDEC>Controller>MICRO3

IDEC MICRO3 User Manual

IDEC MICRO3
235 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 #6 background imageLoading...
Page #6 background image
TABLE OF CONTENTS
USERS MANUAL iii
C
HAPTER 7: BASIC INSTRUCTIONS
Basic Instruction List . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-1
LOD (Load) and LODN (Load Not). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-2
OUT (Output) and OUTN (Output Not) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-2
AND and ANDN (And Not) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-4
OR and ORN (Or Not) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-4
AND LOD (Load) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-5
OR LOD (Load) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-7
BPS (Bit Push), BRD (Bit Read), and BPP (Bit Pop) . . . . . . . . . . . . . . . . . . . . . . . . . 7-9
TIM, TMH, and TMS (Timer). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-14
CNT (Counter) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-18
CC= and CC (Counter Comparison) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-21
SFR and SFRN (Forward and Reverse Shift Register) . . . . . . . . . . . . . . . . . . . . . . . 7-23
SOTU and SOTD (Single Output Up and Down) . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-27
MCS and MCR (Master Control Set and Reset) . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-28
JMP (Jump) and JEND (Jump End) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-30
SET and RST (Reset) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-32
END . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-32
C
HAPTER 8: ADVANCED INSTRUCTIONS
Advanced Instruction Menus . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-1
Advanced Instruction List . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-2
Programming Advanced Instructions Using Program Loader . . . . . . . . . . . . . . . . . . . 8-3
Revising Advanced Instructions Using Program Loader . . . . . . . . . . . . . . . . . . . . . . 8-3
Structure of an Advanced Instruction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-4
Input Condition for Advanced Instructions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-4
Source and Destination Operands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-4
Using Timer or Counter as Source Operand . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-4
Using Timer or Counter as Destination Operand . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-4
Using Input or Output as Source or Destination Operand . . . . . . . . . . . . . . . . . . . . . 8-5
Discontinuity of Operand Areas . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-6
0 NOP (No Operation) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-6
C
HAPTER 9: MOVE INSTRUCTIONS
11 MOV (Move) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-1
12 MOVN (Move Not) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-3
13 IMOV (Indirect Move) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-4
14 IMOVN (Indirect Move Not) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-5
C
HAPTER 10: COMPARISON INSTRUCTIONS
21 CMP= (Compare Equal To) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-1
22 CMP<> (Compare Unequal To) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-1
23 CMP< (Compare Less Than). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-1
24 CMP> (Compare Greater Than) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-1
25 CMP<= (Compare Less Than or Equal To) . . . . . . . . . . . . . . . . . . . . . . . . . . 10-1
26 CMP>= (Compare Greater Than or Equal To) . . . . . . . . . . . . . . . . . . . . . . . . 10-1
C
HAPTER 11: BINARY ARITHMETIC INSTRUCTIONS
31 ADD (Addition). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-1
32 SUB (Subtraction) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-1
33 MUL (Multiplication). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-1
34 DIV (Division) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-1

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the IDEC MICRO3 and is the answer not in the manual?

IDEC MICRO3 Specifications

General IconGeneral
BrandIDEC
ModelMICRO3
CategoryController
LanguageEnglish

Related product manuals