Rice Lake iRite IDE User Manual
Page 81

920i
Programming Reference - API Reference
77
BusImage
type BusImage is array[32] of integer;
Color_type
type Color_type is (White, Black);
DataArray
type DataArray is array[300] of real;
Decimal_type
type Decimal_type is ( DP_8_888888, DP_88_88888, DP_888_8888, DP_8888_888, DP_88888_88,
DP_888888_8, DP_8888888, DP_8888880, DP_8888800, DP_DEFAULT );
DisplayImage
type DisplayImage is array[2402] of integer; Type DisplayImage is for user graphics and will hold the largest
displayable user graphic.
DTComponent
type DTComponent is (DateTimeYear, DateTimeMonth, DateTimeDay, DateTimeHour, DateTimeMinute,
DateTimeSecond);
ExtFloatArray
type ExtFloatArray is array[5] of integer;
GraphType
type GraphType is ( Line, Bar, XY );
HW_array_type
type HW_array_type is array[14] of HW_type; Used with the Hardware() API, each element of the array
represents a 920i expansion slot.
HW_type
type HW_type is ( NoCard, DualSerial, DualAtoD, SingleAtoD, AnalogOut, DigitalIO, Pulse, Memory,
reservedcard, DeviceNet, Profibus, reserved2card, ABRIO, reserved3card, DSP2000, AnalogInput, Ethernet );
Each of the enumerations represent a kind of option card for the 920i.
Keys
type Keys is (Soft4Key, Soft5Key, GrossNetKey, UnitsKey, Soft3Key, Soft2Key, Soft1Key, ZeroKey,
Undefined3Key, Undefined4Key, TareKey, PrintKey, N1KEY, N4KEY, N7KEY, DecpntKey, NavUpKey,
NavLeftKey, EnterKey, Undefined5Key, N2KEY, N5KEY, N8KEY, N0KEY, Undefined1Key, Undefined2Key,
NavRightKey, NavDownKey, N3KEY, N6KEY, N9KEY, ClearKey);
Mode
type Mode is (GrossMode, NetMode);
OnOffType
type OnOffType is (VOff, VOn);
PrintFormat
type PrintFormat is (GrossFmt, NetFmt, AuxFmt, TrWInFmt, TrRegFmt, TrWOutFmt, SPFmt, AccumFmt,
AlertFmt);
SysCode
type SysCode is (SysOk, SysLFTViolation, SysOutOfRange, SysPermissionDenied, SysInvalidScale,
SysBatchRunning, SysBatchNotRunning, SysNoTare, SysInvalidPort, SysQFull, SysInvalidUnits,
SysInvalidSetpoint, SysInvalidRequest, SysInvalidMode, SysRequestFailed, SysInvalidKey, SysInvalidWidget,
SysInvalidState, SysInvalidTimer, SysNoSuchDatabase, SysNoSuchRecord, SysDatabaseFull,
SysNoSuchColumn, SysInvalidCounter, SysDeviceError, SysInvalidChecksum, SysDatabaseAccessTimeout);
TareType
type TareType is (NoTare, PushbuttonTare, KeyedTare);