AMX manual Anterus Duet Module Overview, Implementing the Anterus Duet Module

Page 31

Programming

Programming

Anterus Duet Module - Overview

The COMM module translates between the standard interface described below and the device protocol. It parses the buffer for responses from the device, sends strings to control the device, and receives commands from the UI module or telnet sessions.

Refer to the documentation supplied with the Anterus Duet Module for more details.

A sample UI module is provided in the module package. It is not intended to cover every possible application, but can be expanded as needed by a dealer to meet the requirements of a particular installation.

Implementing the Anterus Duet Module

To interface to the AMX_Anterus_Comm_dr1_0_0.jar module:

1.Define the device ID for the UPS that will be controlled.

2.Define the virtual device ID that the AMX_Anterus_Comm_dr1_0_0 COMM module will use to communicate with the main program and User Interface.

Duet virtual devices use device numbers 41000 - 42000.

3.If a touch panel interface is desired, a touch panel file AMX_Anterus.TP4 and module AMX_Anterus_UI.axs have been created for testing.

4.The Duet AMX_Anterus_Comm_dr1_0_0 module must be included in the program with a DEFINE_MODULE command.

This command starts execution of the module and passes in the following key information: the device ID of the UPS to be controlled, and the virtual device ID for communicating to the main program.

An example is shown below.

DEFINE_DEVICE

 

 

 

dvAnterus

=

96:1:0

(* AxLink. Main RFID reader *)

vdvAnterus

=

41001:1:0

(* Virtual Device *)

dvTP

=

10001:1:0

// TP

DEFINE_VARIABLE

 

//Define arrays of button channels used on your own

 

touch panel

integer nBUTTONS[]={1,2,3,4,5,6,7}

DEFINE_START

// Place define_module calls to the very end of the

 

define_start section.

DEFINE_MODULE 'AMX_Anterus_Comm_dr1_0_0' Comm(vdvAnterus,dvAnterus)

DEFINE_MODULE 'AMX_Anterus_UI' UI(vdvAnterus,dvTP,nBUTTONS)

Since this API will communicate with a system of RFID readers, you must specify the AxLink device numbers used by your install followed by a REINIT command in order to start communicating, like so:

Anterus RFID Solution

27

 

 

Image 31
Contents Anterus AMX Limited Warranty and Disclaimer Table of Contents Anterus Configuration Manager Overview Anterus Rfid SolutionAnterus Rfid Group ANT-RDR Rfid ReaderANT-RDR Mounting/Installation ANT-RDR Product SpecificationsANT-RDR Specifications Anterus Rfid Tags Rfid Tags Internal BatteryANT-TAG Specifications ANT-TAG Product SpecificationsANT-TAG Device/Asset Tag ANT-BDG ID Badge Tag ANT-TAG Mounting/InstallationANT-TAG Antenna Orientation ANT-BDG Antenna Orientation ANT-BDG Product SpecificationsANT-BDG Mounting/Installation ANT-BDG SpecificationsAntenna Elevation Signal Strength Behavior of AMX Rfid Tags and ReadersEnvironmental Factors Non-Ideal Antenna GainMeasured Data AnalysisPeople and Objects Multipath FadingConclusions Signal Strength Count BehaviorConnecting Additional ANT-RDRs Connecting the ANT-RDR To a NetLinx MasterCable Types and Maximum Distances Wiring GuidelinesPower Distribution Calculating AXlink wiring distancesAssigning the ANT-RDR Device Address Gauge/resistance factors Solid Copper WiringDevice DIP Switch Settings Wire gauge Wire Resistance/footInstallation Anterus Rfid Solution Accessing the Rfid Configuration Manager Anterus Configuration ManagerOpen the Manage Devices tab FIG Rfid Configuration Manager page FIG Rfid Configuration Manager MainRfid Configuration Manager Global Register Global RegisterGlobal Register page Global Reader Configuration Options Global Reader Configuration OptionsRemoving a Tag from the System Adding a Tag to the SystemTag Configuration Options Global Register Anterus Tags Configuration OptionsTag Details Popup Viewing Tag Details Reader Configuration Page with Reader 205 selected Reader Configuration PagesReader Configuration Reader Configuration OptionsStatus Acquired/Offline Tag Configuration Options Reader ConfigurationImplementing the Anterus Duet Module Anterus Duet Module OverviewPort Mapping NetLinx Send CommandsSend Commands AxLink Programming Overview?AP AXLink Channels AXLink ChannelsChannel Type Function Description AXLink Levels AXLink LevelsType Function Description Programming Anterus Rfid Solution Programming Anterus Rfid Solution It’s Your World Take Control