CS TimeClock Documents

username password
 

Upload a Bundy Script

    Bundy scripts can be uploaded from the web interface since firmware version 1.17. 

    Bundy scripts are used to customize or add functionality to the CS TimeClock.

    As an example, we're going to upload a script which will trigger a relay like an alarm for one minute.

     

    CONTENT

    Step 1:  Adding a script

    1. Log in to the CS TimeClock web interface as an administrator.
    2. Click on Scripts in your Hardware Menu.

      HardwareMenu.jpg
       
    3. Click on the Insert button.

      AddSeq.jpg
       
    4. Enter the script ID - custom created scripts must have a ID which is greater than 1000.
    5. Enter a description, a version number, the author name and some notes to better understand the function of the script.  Compiled must be de-selected.
    6. Click on the Bundy tab.

      BundyTab.jpg
       
    7. Using our example, copy the text in the frame below into the text area of the Bundy tab.  (You can also download the script.)

       
      This script triggers relay 1 as an alarm for approximately one minute. If your siren or bell is connected to a different relay on the clock, find the following line in the script: SetRelay (1000,1000,30,1). Change the last parameter (1) to 2 to trigger relay 2, 3 to trigger relay 3 or 128 to trigger the buzzer.



       
    8. Click on Save.

      NewScript.jpg
       

    Step 2: Assigning the script

    For a script to be used, it needs to be assigned to a menu item or as the default script.  Very important: Our example script should not be used as the default script.

    Assigning a script to a menu item

    We will be creating a new main menu option for our custom scripts. 

    1. Click on Clock Menu Options under the Hardware menu.

      MenuOptions.jpg
       
    2. Click on Insert.

      NewMenuOpt.jpg
       
    3. Enter 8 in the Category Number and give it a description like Custom.
    4. Click on Save.
    5. Now click on Clock Submenu Options under the Hardware Menu.

      Submenus.jpg
       
    6. Click on Insert.

      NewSubMenu.jpg

       
    7. Select Custom from the Main Menu Option drop down list.  Enter the Sub Menu Number (in this case 1), give the menu option a short description and select the script from the Sequence drop down menu. 
    8. Click on Save.

    You will now have a new main menu option on the clock keypad menu which will run the script.

    Assigning a new default script

    Very Important:  Only assign a Bundy script as the default script on instruction from the author of the script.

    1. Click on Clock Setup under the Setup menu.

      SetupMenu.jpg
       
    2. Select the new default script from the Default Sequence drop down list and click on Save.

      ClockSetup.jpg

       
    3. The clock should reboot and it will run the script at startup.

    If the clock displays any errors on screen, change the default script back to -100 Default Script, save and reboot the clock.

     

     

    Permalink:  http://tinyurl.com/76h699u

    Page last modified 11:32, 26 Jan 2012 by Admin CS TimeClock Documents > How To > Upload a Bundy Script

    Comments0

    You must login to post a comment.
    Attach file

    Files10

    Powered by MindTouch Core