beautypg.com

Applicable program areas operands, 2 instructions, P: port specifier m: output mode – Omron SYSMAC CP CP1E-N@@D@-@ User Manual

Page 367: S: first word of settings table

background image

2-331

2 Instructions

CP1E CPU Unit Instructions Reference Manual(W483)

High-speed

Counter/Pulse

Ou

tp
ut I

n

stru

ctio

ns

2

A

C

C

ACC

Applicable Program Areas

Operands

P: Port Specifier

M: Output Mode

Note Use the same pulse output method when using both pulse outputs 0 and 1.

S: First Word of Settings Table

Instruction

Mnemonic

Variations

Function

code

Function

ACCELERATION CONTROL

ACC

@ACC

888

ACC(888) outputs pulses to the specified output
port at the specified frequency using the specified
acceleration and deceleration rate.

Symbol

ACC

Area

Step program areas

Subroutines

Interrupt tasks

Usage

OK

OK

OK

Operand

Description

Data type

Size

P

Port specifier

---

1

M

Output mode

---

1

S

First word of settings table

WORD

3

P

Port

0000 hex

Pulse output 0

0001 hex

Pulse output 1

P: Port specifier

M: Output mode

S: First word of settings table

ACC(888)

P

M

S

0

3

4

7

8

11

12

15

M

Mode
0 hex: Continuous mode
1 hex: Independent mode

Direction
0 hex: CW
1 hex: CCW

Pulse output method
1 hex: Pulse + direction

Always 0 hex.

S+1

S+2

S

0

15

Lower word with target frequency

Upper word with target frequency

0 to 100,000 Hz
(0000 0000 to 0001 86A0 hex)

Specify the frequency after acceleration or deceleration in Hz.

Acceleration/deceleration rate

Specify the increase or decrease in the frequency per pulse control period (4 ms).

1 to 65535 Hz (#0001 to FFFF)

This manual is related to the following products: