EasyManuals Logo

Omron SYSMAC CP Series User Manual

Omron SYSMAC CP Series
578 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 #499 background imageLoading...
Page #499 background image
A-39
Appendices
CP2E CPU Unit Software User’s Manual(W614)
A-1 Instruction Functions
App
A-1-18 High-speed Counter/Pulse
Output Instructions
A-1-18 High-speed Counter/Pulse Output Instructions
Instruction Mnemonic Variations Symbol/Operand Function
MODE CON-
TROL
INI @ INI(880) can be used to execute the following operations
• To start or stop comparison of a high-speed counter's PV to the
comparison table registered with CTBL(882).
• To change the PV of the high-speed counter.
• To change the PV of the pulse output (origin fixed at 0).
• To stop pulse output.
Example: Setting the Present Position as the Origin
P: Port Specifier
* Can only be used in CP2E-N30/40/60Dîš…-îš….
C: Control Data
NV: First Word with New PV
If C is 0002 hex (i.e., when changing a PV), NV and NV+1 con-
tain the new PV. Any values in NV and NV+1 are ignored when
C is not 0002 hex.
INI(880)
P
C
NV
P: Port specifier
C: Control data
NV: First word with new PV
INI instruction executed
Pulse output
PV
New origin
Present origin
#0000
#0002
D100
D100
D101
@INI
15
0
#0 0 0 0
#0 0 0 0
Execution condition
C1: Port specifier (example for pulse output 0)
C2: Control data (example for changing PV)
S:First word with new PV
0000 hex Pulse output 0
0001 hex Pulse output 1
0002 hex Pulse output 2*
0003 hex Pulse output 3*
0010 hex High-speed counter 0
0011 hex High-speed counter 1
0012 hex High-speed counter 2
0013 hex High-speed counter 3
0014 hex High-speed counter 4
0015 hex High-speed counter 5
1000 hex PWM(891) output 0
0000 hex Starts comparison.
0001 hex Stops comparison.
0002 hex Changes the PV.
0003 hex Stops pulse output.
NV
NV+1
0
15
For Pulse Output or High-speed Counter Input:
0000 0000 to FFFF FFFF hex
For Interrupt Input in Counter Mode:
0000 0000 to 0000 FFFF hex
Lower word of new PV
Upper word of new PV

Table of Contents

Other manuals for Omron SYSMAC CP Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron SYSMAC CP Series and is the answer not in the manual?

Omron SYSMAC CP Series Specifications

General IconGeneral
BrandOmron
ModelSYSMAC CP Series
CategoryComputer Hardware
LanguageEnglish

Related product manuals