Rice Lake iRite IDE User Manual
Page 33

920i
Programming Reference - Built-in Types
29
AuxFmt1, AuxFmt2, AuxFmt3, AuxFmt4, AuxFmt5,
AuxFmt6, AuxFmt7, AuxFmt8, AuxFmt9, AuxFmt10,
AuxFmt11, AuxFmt12, AuxFmt13, AuxFmt14, AuxFmt15,
AuxFmt16, AuxFmt17, AuxFmt18, AuxFmt19, AuxFmt20 );
--TimerMode must match the definitions in API_timer.c in the core software.
type TimerMode is (TimerOneShot, TimerContinuous, TimerDigoutON, TimerDigoutOFF);
type OnOffType is (VOff, VOn);
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),
TimeDateKey,
WeighInKey,
WeighOutKey,
ID_EntryKey,
DisplayTareKey,
TruckRegsKey,
DisplayAccumKey, ScaleSelectKey,
DisplayROCKey,
SetpointKey,
BatchStartKey,
BatchStopKey,
BatchPauseKey,
BatchResetKey,
DiagnosticsKey,
ContactsKey,
DoneKey,
TestKey);
type DT Component is (DateTimeYear,
DateTimeMonth,
DateTimeDay,
DateTimeHour,
DateTimeMinute,
DateTimeSecond);
type BusImage is array[32] of integer;
type BusImageReal is array[32] of real;
type DataArray is array[300] of real;
type DisplayImage is array[2402] of integer;
type Color_type is (White, Black);
-- UnitType must match the core definitions in cfg.h
type UnitType is
(pound, kilogram, gram, ounce, short_ton,
metric_ton, grain, troy_ounce, troy_pound,
long_ton, custom, units_off, none);
type ExtFloatArray is array[5] of integer;
type WgtMsg is array[12] of integer;
-- This enumeration must match the RESP_CODE_* definitions in core code dtable.h.
type HW_type is (
NoCard,
DualSerial,
DualAtoD,
SingleAtoD,
AnalogOut,
DigitalIO,
Pulse,
Memory,
reservedCard,
DeviceNet,
Profibus,
Ethernet,
ABRIO,
BCD,
DSP2000,
AnalogInput,
ControlNet