- Setting up Iridium Gate
- Add the device to the project
- In the ‘Host’ property, enter the IP address of the PC running Iridium Gate
- The ‘Port’ property needs to be the same port in Iridium Gate, in this example, 20024
- Click on the ‘JS’ Button
- Click on “Add”
- Click on “New Script”
- Call the new file ‘JAMware-Elite-S-init’
- Put the following into the file (copy and paste)
// object creation ("device name")
var elites1 = new elites("Arrowhead Elite-S");
- Click on ‘OK’, and then save your project
To send a command
- KEY commands
The ‘Key’ number commands, puts the number into the feedback variable “# key sequence”
NOTE: The numbers are sent ONLY after the ENTER command has been initiated.
This also clears the feedback variable “# key sequence”.
Key 0 – the equivalent of pressing ‘0’ on the key pad.
Key 1 –the equivalent of pressing ‘1’ on the key pad
Key 2 –the equivalent of pressing ‘2’ on the key pad
Key 3 –the equivalent of pressing ‘3’ on the key pad
Key 4 –the equivalent of pressing ‘4’ on the key pad
Key 5 –the equivalent of pressing ‘5’ on the key pad
Key 6 –the equivalent of pressing ‘6’ on the key pad
Key 7 – the equivalent of pressing ‘7’ on the key pad
Key 8 –the equivalent of pressing ‘8’ on the key pad
Key 9 –the equivalent of pressing ‘9’ on the key pad
All other commands starting with ‘Key’ behave the same way and send the corresponding command to their name immediately:
Key A – sends ‘BE’, the equivalent of pressing ‘A’ on the key pad
Key B – sends ‘BE’, the equivalent of pressing ‘B’ on the key pad
Key ARM – sends ‘RE’, the ARM command
Key CHIME – sends ‘HE’, the CHIME command
Key CONTROL – sends ‘CE’, the CONTROL command
Key ENTER – sends ‘E’, the equivalent of pressing ‘ENTER’ on the key pad
Key EXCL – sends ‘XE’, the EXCL command
Key PANIC – sends ‘NE’, the PANIC command
To use: Drag the command onto the control you want to send the command. There is no need to enter any values. For example:
- Send Commands
- Send CODE
Sends the CODE command, to activate one of the 10, 1-6 digit codes programmed at the RS232 board.
Updates feedback "Code Send Status" if successful or not.
Any other feedback status’s will also update if required
To Use:
- Drag the command onto the control
- The value to send is one of the 1-6 digit codes already pre-programmed into the RS232 board
- Send Request PANEL STATUS
To Use, Drag the command onto the control. Sends a request for the PANEL STATUS and updates all the feedback status variables.
- Send Command
The ability to send any command at all to the RS232 board, including the CODE and PANEL STATUS commands.
To send any command from the GUI:
- Create an Edit Box control, change the name to edtCmd
- Create a Button
- General
- Programming
- Optional. Feedback ‘Command Send Status’:
- Drag the Feedback “Command Send Status” onto the Button
- Will update the “Command Send Status”
- IF the command sent is a command that sends back an ‘OK!!’ if successful.
- IF the command does not exist, will set to fail (‘No define command!’ is received.
- Drag Command “Send Command” onto the Button.
- Delete the Send Text macro
- Add a macro to send a TOKEN
- The Channel is elite-s.SendCommand
- Click on the Token … and Find the Page and then the edtCmd control, and select the “Text’
Using in GUI:
Enter the command, the example below sends the ARM command
Click on ‘Send Cmd’ and the area programmed to ARM will ARM
-The status of the area will update to ARMING
Click on ‘Send Cmd’ again to stop the arming