Pgen, Pgmnum, Pgmrunning – Rockwell Automation 1398-PDM-xxx IQ Master Version 3.2.4 for IA-2000 and IQ-5000 Positioning Drive Modules, IQ-55 User Manual

Page 269

Advertising
background image

Language Reference • Reference

247

Publication 1398-PM601A-EN-P — October 2000

WORDS

PGEN

Position Command, Profile Generator

Position

Purpose

Position command from internal profile generator

Syntax

variable = PGEN

variable

The variable may be a nonvolatile variable Gn, a volatile vari-
able Vn, or a system variable.

Remarks

The value in this variable represents the position command generated by the profile
generator. The profile generator is responsible for creating MOVD, MOVP, DV and
DIF moves.

See Also

PCMD

Example

V1 = PGEN

PGMNUM

Program Number

System

Purpose

PGMUNUM is used in conjunction with STARTP. PGMNUM specifies which pro-
gram will execute when STARTP is executed.

Syntax

PGMNUM = variable

variable

Variable can be a nonvolatile variable Gn, a volatile variable
Vn, or another system variable. The variable may be 0 through
31 or 0 through 63 if a Memory and I/O Expansion card is
installed.

Remarks

See Also

STARTP, Appendix A, System Programs, Run

Example

PGMNUM = 3

STARTP = ON

PGMRUNNING

Program Running

System

Purpose

If this flag is ON, a main program is running.

Syntax

variable = PGMRUNNING

variable

The variable may be a nonvolatile flag Bn, a volatile flag Fn, or
another system flag.

Remarks

See Also

STARTP

Example

F4 = PGMRUNNIN

Advertising