Syswarn, Tbase, Timern – 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 294: Timer n

Advertising
background image

272

Language Reference • Reference

Publication 1398-PM601A-EN-P — October 2000

WORDS

SYSWARN

Cause System Warning

System

Purpose

Used to cause a system warning. If set to a value, a system warning occurs.

Syntax

SYSWARN= value

value

Value can be a constant, a nonvolatile Gn, a volatile Vn, or
another system variable.

Remarks

This command takes effect only when the Disable on Fault parameter is set to Partial.
Refer to Part 2

IQ Master Environment, Parameter menu, System for more informa-

tion on the Disable on Fault parameter.

See Also

EFLAG, ENUM, WFLAG, WNUM, SYSERROR

Example

SYSWARN = 33

;will cause an ’IAVG Fault’ Warning

TBASE

Timebase

System

Purpose

Indicates the number of position loop updates (2mS) in one unit of time. The unit of
time is the Timebase and is set the Parameter menu, Velocity/ Accel dialog box.

Syntax

variable = TBASE

variable

Variable can be a nonvolatile variable Gn, a volatile variable
Vn, or another system variable.

A value of 500 indicates the Timebase is in seconds. A value of
30,000 indicates a Timebase of minutes.

Remarks

This variable may be used in a program to determine if velocity units are per minute or
per second.

See Also

Example

V3 = TBASE

TIMERn

Timer

Scanned Events

Purpose

Load TIMERn with the time specified in this instruction, or read the present value.

Syntax

TIMERn = time
variable
= TIMERn

n

The number of the timer: n = 1 or 2.

time

The time is entered in seconds regardless of the setting of the
user Timebase. Time can be a constant, a nonvolatile variable
Gn, a volatile variable Vn, or a system variable

variable

The variable can be a nonvolatile variable Gn, a volatile variable
Vn, or another system variable.

Remarks

Timers have a resolution of .002 seconds (2 ms).

See Also

Sn: TMR

Advertising