Omron CP1E-E@@D@-@ Computer Hardware User Manual


 
8
CP1E CPU Unit Instructions Reference Manual(W483)
CONTENTS
Introduction ...............................................................................................................1
CP1E CPU Unit Manuals ...........................................................................................2
Manual Structure .......................................................................................................5
Safety Precautions ..................................................................................................15
Precautions for Safe Use........................................................................................18
Regulations and Standards....................................................................................19
Related Manuals ......................................................................................................20
Section 1 Summary of Instructions .............................................. 1-1
1-1 Summary of Instructions ........................................................................................................ 1-2
Section 2 Instructions .................................................................... 2-1
Notation and Layout of Instruction Descriptions ......................................................................... 2-2
Sequence Input Instructions .......................................................................................................... 2-5
LD/LD NOT ................................................................................................................................................ 2-7
AND/AND NOT ..........................................................................................................................................2-9
OR/OR NOT .............................................................................................................................................2-11
AND LD/OR LD ........................................................................................................................................2-13
NOT .......................................................................................................................................................... 2-16
UP/DOWN ................................................................................................................................................2-17
Sequence Output Instructions ..................................................................................................... 2-18
OUT/OUT NOT ........................................................................................................................................2-18
TR ............................................................................................................................................................ 2-20
KEEP .......................................................................................................................................................2-21
DIFU ......................................................................................................................................................... 2-25
DIFD ......................................................................................................................................................... 2-27
SET/RSET ...............................................................................................................................................2-29
SETA/RSTA .............................................................................................................................................. 2-31
SETB/RSTB .............................................................................................................................................2-33
Sequence Control Instructions..................................................................................................... 2-35
END ......................................................................................................................................................... 2-38
NOP .........................................................................................................................................................2-39
IL/ILC ....................................................................................................................................................... 2-40
MILH/MILR/MILC ..................................................................................................................................... 2-44
JMP/CJP/JME .......................................................................................................................................... 2-53
FOR/NEXT ...............................................................................................................................................2-56
BREAK .....................................................................................................................................................2-59
Timer and Counter Instructions ................................................................................................... 2-60
TIM/TIMX ................................................................................................................................................. 2-66
TIMH/TIMHX ............................................................................................................................................ 2-69
TMHH/TMHHX ......................................................................................................................................... 2-72
TTIM/TTIMX .............................................................................................................................................2-74
TIML/TIMLX .............................................................................................................................................2-77
CNT/CNTX ...............................................................................................................................................2-80