MAS7.1 Supplemental Guide, Rev 1.1, 9/28/07
13
MAS7.1 Command Reference
‘FPC’ Front Panel Control (Continued)
To sequence through the primary inputs:
FPC +
To simulate the pressing of the S2 Button:
FPC ,2
If the Sync LED is lit, the both the primary and secondary LEDs will change, if it is not lit, only the secondary
LEDs will change, similar to pressing the front panel buttons: S1-S3.
To simulate the pressing of the Sync Button, use the toggle option:
FPC ,,+
This command will toggle the Sync LED on and off, similar to pressing the front panel ‘Sync’ button.
‘FS’ Restore Factory Default Settings (*)
To restore the MAS7.1 to its factory default settings:
FS 246$
This will set
everything
back to the programmed factory settings. This includes timings, IR codes (all learned
IR codes will be lost), front panel LED intensity settings, etc.
Everything
, means everything!
‘IR’ Query Last IR Code Received (*)
This command allows the user to read the values returned by Zektor’s IIR™ (Intelligent Infra-Red) decoding
firmware. Zektor’s IIR™ algorithm converts all IR codes it receives to a compressed, 72 bit value.
Each different key press of a remote control will generate a different but repeatable pattern.
This command returns a value for every IR code detected by the front panel IR sensor (or IR jack if enabled),
regardless as to whether the IR code detected was used to control the MAS7.1.
The uses for this command are two fold:
1.
The value returned from this command are the same values used to teach the MAS7.1 new IR codes
over the serial port. (See the “Set Learnable IR Command Codes” command).
2.
This command gives the controller full access to the MAS7.1’s IR sensor and Zektor’s IIR™ algorithm.
This is a very reliable way of adding IR control to any project. The IR codes generated by Zektor’s IIR™
algorithm are immune to timing differences between universal remote control manufacturers and to the
timing errors associated with condition of the remote control’s battery.
Note 1: The Zektor’s IIR™ algorithm works with any remote control code that is time modulated. This is pretty
much every type of IR code except the Phillips RC-5, and RC-6 codes.
Note 2: Because very few controllers could handle a 72 bit decimal value, and in an effort to keep the size of
the IR response small, this command sends the 72 bit IR code as an 18 digit hexadecimal value.
The format of the command is:
IR ?
Query for the IR code of the last IR command received.
Response String:
=IR
ircode
Where:
ircode
= 18 hex digits (0-9, A-F), representing the most recent IR code received.
This command returns a single digit ‘0’ if there are no IR codes waiting to be read.