3. Instructions
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
Pulse output method (See note.)
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
---
---
---
752
Mnemonic
Variations
ORG
@ORG
Block program areas
Step program areas
OK
OK
Description
8
7
4
3
0
Always 0 hex.
Always 0 hex.
0 hex: CW/CCW
1 hex: Pulse + direction
@DM
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
DR
@EM
*EM
---
---
OK
---
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Function
SFC action or transition
Interrupt tasks
programs
OK
OK
Data type
Size
---
---
Registers
Flags
Pulse
bits
Indirect
IR
TK
CF
using IR
---
---
---
---
1
1
TR
bits
---
---
Need help?
Do you have a question about the CJ - INSTRUCTIONS REFERENCE MANUAL 07-2009 and is the answer not in the manual?