beautypg.com

Flags, 2 instructions, S: first word of settings table – Omron SYSMAC CP CP1E-N@@D@-@ User Manual

Page 362: F: first word of starting frequency, Operand specifications

background image

2 Instructions

2-326

CP1E CPU Unit Instructions Reference Manual(W483)

S: First Word of Settings Table

The actual number of movement pulses that will be output are as follows:

For relative pulse output, the number of movement pulses = the set number of pulses.

For absolute pulse output, the number of movement pulses = the set number of pulses

− the PV.

F: First Word of Starting Frequency

The starting frequency is given in F and F+1.

Operand Specifications

Flags

Area

Word addresses

Indirect DM addresses

Constants

CF

Pulse bits

TR bits

CIO

WR

HR

AR

T

C

DM

@DM

*DM

P, M

---

---

---

---

---

---

---

---

---

OK

---

---

---

S

OK

OK

OK

OK

OK

OK

OK

OK

OK

---

F

OK

Name

Label

Operation

Error Flag

P_ER

ON if the specified range for P, M, S, or F is exceeded.

ON if PLS2(887) is executed for a port that is already outputting pulses for SPED(885) or ORG(889).

ON if PLS2(887) is executed in an interrupt task when an instruction controlling pulse output is being executed in a

cyclic task.

ON if PLS2(887) is executed for an absolute pulse output but the origin has not been established.

OFF in all other cases.

S1+4

S1+5

S1+2

S1+3

S1

0

15

S1+1

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

Specify the frequency after acceleration/deceleration in Hz.

1 to 65535 Hz (#0001 to FFFF)

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

Lower word with number of output pulses

Upper word with number of output pulses

Lower word with target frequency

Upperword with target frequency

Deceleration rate

Acceleration rate

F

F+1

0

15

Lower word with starting frequency

Upper word with starting frequency

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

Specify the starting frequency in Hz.

This manual is related to the following products: