Inposn – 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 245

Advertising
background image

Language Reference • Reference

223

Publication 1398-PM601A-EN-P — October 2000

WORDS

INPOSN

In-Position

Position

Purpose

In-Position flag. This flag indicates that the feedback position has been within the
In-Position window of the commanded position for the time set by the window time
parameter. This flag is valid during motion and while stopped, but only if the drive is
enabled.

Syntax

variable = INPOSN

variable

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

Remarks

If the amplifier is disabled, the INPOSN flag will be OFF.

In-Position Mode determines operation of the In-Position flag. If Relative is selected,
the In-Position flag will be activated whenever the system is within the In-Position
Window, even if it is in motion. If Absolute is selected, the In-Position flag will be
turned on only when the system is within the In-Position Window and not in motion
(default setting is Absolute). In-Position mode is set in the Parameter menu, Outputs
dialog box.

If assigned, the INPOSN output (O7) will turn ON when the INPOSN flag is ON and
OFF whenever the flag is OFF.

See Also

WINDOW

Example

F3 = INPOSN

WAIT INPOSN = ON

;Wait until in position.

O1 = ON

;Then turn ON output 1

INT

Integer

Math

Purpose

Strip off any fractional value of Variable_1 and put only the integer part of Variable_2
into Variable_1.

Syntax

Variable_1 = INT Variable_2

Variable_1

The variable_1 may be a nonvolatile variable Gn, a volatile
variable Vn, or a system variable.

Variable_2

Same as Variable_1.

Remarks

If the value to be truncated is negative, the result will be rounded down to the next
lower (more negative) number.

See Also

Gn, Vn

Example

V3 = INT V4

G24 = INT V2

G24 = INT G24

Advertising