Org - Omron CJ - REFERENCE MANUAL 02-2010 Reference Manual

Table of Contents

Advertisement

ORG

Instruction
ORIGIN SEARCH
Symbol
Applicable Program Areas
Function block
Area
definitions
Usage
OK
Operands
Operand
P
Port specifier
C
Control data
P: Port Specifier
P
0000 hex
Pulse output 0
0001 hex
Pulse output 1
C: Control Data
15
12
11
C
Mode
0 hex: Origin search
1 hex: Origin return
Note Use the same pulse output method when using both pulse outputs 0 and 1.
Operand Specifications
Word addresses
Area
CIO
WR
HR
P,C
---
---
---
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Mnemonic
Variations
ORG
@ORG
Block program areas
Step program areas
OK
OK
Description
8
7
4
3
0
Always 0 hex.
Always 0 hex.
Pulse output method (See note.)
0 hex: CW/CCW
1 hex: Pulse + direction
AR
T
C
DM
EM
---
---
---
---
---
Function
code
ORG(889) performs an origin search or origin
889
return operation.
ORG
ORG(889)
P: Port specifier
P
C: Control data
C
Subroutines
OK
Port
Indirect DM/EM
addresses
Con-
stants
@DM
*DM
DR
@EM
*EM
---
---
OK
---
3. Instructions
Function
SFC action or transition
Interrupt tasks
programs
OK
OK
Data type
Size
---
---
Registers
Flags
Pulse
bits
Indirect
IR
TK
CF
using IR
---
---
---
---
---
3
1
1
TR
bits
---
759

Advertisement

Table of Contents
loading

Table of Contents