Advertisement

Quick Links

instruction manual
i!-MacroManager
i n t e g ra t i o n ! S o l u t i o n s

Advertisement

Table of Contents
loading

Summary of Contents for AMX I!-MACROMANAGER

  • Page 1 ! S o l u t i o n s...
  • Page 2 CUSTOMER REMEDIES. AMX Corporation’s entire liability and your exclusive remedy shall be, at AMX Corporation's option, either (a) return of the price paid, or (b) repair or replacement of the SOFTWARE that does not meet AMX Cor- poration's Limited Warranty and which is returned to AMX Corporation. This Limited Warranty is void if failure of the SOFTWARE or hardware has resulted from accident, abuse, or misapplication.
  • Page 3: Table Of Contents

    Programming i!-MacroManager ................3 i!-MacroEngineMod ......................3 i!-MacroEditorMod ......................3 i!-MacroExecuteMod ......................3 i!-MacroSchedulerEngineMod ................... 3 i!-MacroSchedulerEditorMod..................... 4 Non i!-MacroManager Modules ..................4 KeyboardMod........................... 4 i!-TimeManagerMod ......................... 4 Programming i!-MacroEngineMod..................4 Commands..........................4 Strings ............................5 i!-MacroEngineMod Module Definition ..................5 Parameters..........................
  • Page 4 Table of Contents i!-MacroSchedulerEditorMod Module Definition..............17 Parameters..........................18 Touch Panel Pages........................ 23 i!-MacroManager...
  • Page 5: Introduction

    You can use i!-MacroManager to create and delete macros. i!-MacroManager does not store macros in memory, only on the file systems. If a macro is scheduled via i!-MacroScheduler and then the macro is deleted, the macro will fail to run since the macro no longer exists on the file system.
  • Page 6 Introduction i!-MacroManager...
  • Page 7: Programming I!-Macromanager

    One simple way of doing this is to save the i!-MacroManager test file as an include file that you can include into your main program. Then you can make any needed modifications to your include file.
  • Page 8: I!-Macroschedulereditormod

    Without this module, i!-MacroScheduler cannot run schedules based on sunrise/sunset. Complete documentation for i!-TimeManager can be downloaded from the AMX website. Programming i!-MacroEngineMod i!-MacroEngineMod appears on the NetLinx bus as a NetLinx device. This device has 1 port with channels, levels, commands and strings like most other devices.
  • Page 9: Strings

    Programming i!-MacroManager Strings i!-MacroEngineMod supports the following in-bound strings (device to master). i!-MacroEngineMod - Strings Command Description Notification that macro MacroName was started in engine 'LOAD-[Slot],[MacroName]' slot Slot (1-10). Notification that macro MacroName was kill with a KILL 'KILL-[Slot],[MacroName]' command.
  • Page 10: Parameters

    Programming i!-MacroManager i!-MacroEditorMod Module Definition DEFINE_MODULE 'i!-MacroEditorMod' mdlMMEdt (vdvMacroEditor, vdvMacroEngine, vdvConnectLinx, vdvKB, dvKB, dvTP, nchMMMacroEdit, nvtMMMacroEdit, nchMMMacroList, nvtMMMacroList, nchMMMacroListCtrl, nchMMStepEdit, nvtMMStepEdit, nchMMParameterEdit, nvtMMParameterEdit, nchMMEnumList, nvtMMEnumList, nchMMEnumListCtrl, nvtMMDelayEdit, nchMMStepList, nvtMMStepList, nchMMStepListCtrl, nchCLActionListNavigate, nchCLActionList, nvtCLActionList, nchCLActionListCtrl) Where mdlMMEdt is a unique module name.
  • Page 11 Programming i!-MacroManager dvTP An array of touch panel devices implementing i!- MacroEditorMod. nchMMMacroEdit array with the following buttons: INTEGER Add new macro Edit macro Delete confirm Delete macro Save macro Rename macro Test macro nvtMMMacroEdit array with the following variable text channels:...
  • Page 12 Programming i!-MacroManager Shift Up Shift Down Edit Delay Edit Parameter nvtMMStepEdit array with the following variable text channels: INTEGER Action Name Parameter Name Edit Parameter nchMMParameterEdit array with the following buttons: INTEGER Level Parameter Increment Level Parameter Decrement Level Parameter Slider...
  • Page 13 Programming i!-MacroManager Parameter Enumeration List Items 1-10 nchMMEnumListCtrl array with the following buttons: INTEGER Page Up Page Down Top of List End of List Slider Channel Code nvtMMDelayEdit array with the following variable text channels: INTEGER Hour Field Min Field...
  • Page 14: Touch Panel Pages

    Programming i!-MacroManager End of List Slider Channel Code nchCLActionListNavigate array with the following buttons: INTEGER Back/Up Home Select System nchCLActionList array with the following buttons: INTEGER i!-ConnectLinx Action List Items 1 - 8 nvtCLActionList array with the following variable text channels:...
  • Page 15: Programming I!-Macroexecutemod

    Programming i!-MacroManager mmParameterEnum mmParameterLevel mmConnectlinxActions KBKeyboard KBKeypad KBEKeypad i!-MacroEditorMod requires the following touch panel pop-up pages: Popup Page Popup Group mmParameterString KBClients mmParameterNumber KBClients mmMacroName KBClients mmDelay KBClients mmDeleteConfirm KBShift KBClients Programming i!-MacroExecuteMod i!-MacroExecuteMod does not appear on the NetLinx bus as a NetLinx device. There is no need for communication to this module.
  • Page 16: Touch Panel Pages

    Programming i!-MacroManager dvTP An array of touch panel devices implementing i!-MacroExecuteMod. nchMMExeMacroExecute array with the following buttons: INTEGER Macro Execute buttons 1-10 nvtMMExeMacroExecute array with the following variable text channels: INTEGER Macro Execute buttons 1-10 nchMMExeMacroEdit array with the following buttons:...
  • Page 17: Programming I!-Macroschedulerenginemod

    Programming i!-MacroManager i!-MacroExecuteMod requires the following touch panel pop-up page: Popup Page Popup Group mmMacroBrowse Programming i!-MacroSchedulerEngineMod i!-MacroSchedulerEngineMod appears on the NetLinx bus as a NetLinx device. This device has 1 port with channels, levels, commands and strings like most other devices.
  • Page 18 Programming i!-MacroManager i!-MacroSchedulerEngineMod - Commands (Cont.) Get start time for event number. 'GET STIME-[Event Number]' Set end time for event number. If time string is empty, the 'SET ETIME-[Event Number], event is set for one-shot (non-time spanning) event. [Time String]' Get end time for event number.
  • Page 19: Strings

    Programming i!-MacroManager i!-MacroSchedulerEngineMod - Commands (Cont.) Any time or time from Astronomical event in 24 hour time [Time String] where Astronomical event is 'Sunrise" or "Sunset" and offset can be '-' or '+' and time is 'HH:MM'. Examples: '01:00', 'Sunset', 'Sunrise', 'Sunrise+00:30', 'Sunrise-01:00', 'Sunset-00:30', 'Sunset+00:25' Any fixed date in "MM/DD/YYYY"...
  • Page 20: I!-Macroschedulerenginemod Module Definition

    Programming i!-MacroManager i!-MacroSchedulerEngineMod Module Definition DEFINE_MODULE 'i!-MacroSchedulerEngineMod' mdlSchEng (vdvSchEngine, vdvMacroEngine, vdvTmEvents) Where mdlSchEng is a unique module name. Parameters vdvSchEngine A virtual device for communicating to the macro scheduling engine. vdvMacroEngine A virtual device for communicating to i!-MacroEngineMod for running macros.
  • Page 21: Commands

    Programming i!-MacroManager Commands i!-MacroSchedulerEditorMod - Commands Command Description Set Date format European format: Day/Month/Year 'DFORMAT-DAY/MONTH' Set Date format US format: Month/Day/Year 'DFORMAT-MONTH/DAY' Set Time format to 12 hour format: 'TFORMAT-12 HOUR' [01-12]:[00-59] [AM,PM] Set Time format to 24 hour (military) format:...
  • Page 22 Programming i!-MacroManager Parameters vdvSchEditor A virtual device for communicating to the macro scheduling editor. vdvSchEngine The virtual device of the i!-MacroSchedulerEngineMod module for editing scheduled macros. vdvTmEvents The virtual device of the i!-TimeManager module for sunrise and sunset information. vdvMacroEditor The virtual device of the i!-MacroEditorMod module for creating new macros.
  • Page 23 Programming i!-MacroManager Scheduled For time Runs Next at Name Unused nchSchEngineList array with the following buttons: INTEGER Today's Event List Items 1-6 nvtSchEngineList array with the following variable text channels: INTEGER Today's Event List Total Items Today's Event List Slider Level Code...
  • Page 24 Programming i!-MacroManager Number of Future Events nchSchEngineEdit array with the following buttons: INTEGER Run Event Cancel Event nvtSchEngineStats array with the following variable text channels: INTEGER Date Time Sunrise Time Sunset Time nchSchEventEdit array with the following buttons: INTEGER Edit Event...
  • Page 25 Programming i!-MacroManager nchSchTimeSelect An INTEGER array with the following buttons: Start time - Fixed Start Time - Sunrise Start time - Sunset Start Time - Before Sunrise Start time - Before Sunset Start Time - After Sunrise Start time - After Sunset...
  • Page 26 Programming i!-MacroManager End Time - AM/PM End time- Label Adjustable Minutes Trap for Sunrise/Sunset functions nchSchDateSelect array with the following buttons: INTEGER Date - Fixed Date - Daily Date - Weekly Date - Monthly Date - Yearly nvtSchDateSelect array with the following variable text channels:...
  • Page 27 Programming i!-MacroManager nchSchDateOpt array with the following buttons: INTEGER Pool of Channel codes for Date editing options (9 channel codes, see touch panel pages) nchSchDetailSelect array with the following buttons: INTEGER Pool of Channel codes for editing Date and Time parameters (37 channel codes, see...
  • Page 28 Programming i!-MacroManager i!-MacroSchedulerEditorMod requires the following touch panel pop-up pages: Popup Page Popup Group SchDaily SchDate SchWeekly SchDate SchMonthly SchDate SchYearly SchDate SchDateUS SchDate SchDateUK SchDate SchHourAMPM SchSelect SchHourMilitary SchSelect SchMinute SchSelect SchDay SchSelect SchMonth SchSelect SchYear SchSelect SchDateOccur SchSelect...
  • Page 29 Programming i!-MacroManager i!-MacroManager...
  • Page 30 DALLAS, TEXAS • LOS ANGELES, CALIFORNIA • MEXICO CITY, MEXICO • ONTARIO, CANADA • PHILADELPHIA, PENNSYLVANIA • SHANGHAI, CHINA • SINGAPORE • TAMPA, FLORIDA • WESTERLO, BELGIUM • YORK, ENGLAND 3000 RESEARCH DRIVE, RICHARDSON, TX 75082 USA • 800.222.0193 • 469.624.8000 • 469-624-7153 fax • 800.932.6993 technical support • www.amx.com...

Table of Contents