Home
OCX USER MANUAL
Contents
1. ricomm aurel it AUKEL RELESS OCX AUREL USER MANUAL User Guide Public Sub StopOPERATIONS This function disables the timer used by the OCX for serial handling Public Sub UnlockNet This function sends to serial the command CMD 0A FF Le caratteristiche tecniche possono subire variazioni senza preavviso La AUREL S p A non si assume la responsabilit di danni causati dall uso improprio del dispositivo AUREL S p A Via Foro dei Tigli 4 47015 Modigliana FC ITALY 05 05 2008 Rev A Tel 39 0546 941124 Fax 39 0546 941660 Pag 6di 6 http www aurelwireless com email ricomm aurel it
2. A Via Foro dei Tigli 4 47015 Modigliana FC ITALY 05 05 2008 Rev A Tel 39 0546 941124 Fax 39 0546 941660 Pag 2di 6 http www aurelwireless com email ricomm aurel it AUKEL RELESS OCX AUREL USER MANUAL User Guide Functions Public Sub AddItem ByVal MACaddr As String This function sends to serial the command CMD 03 MACaddr where MACaddr represents the MAC address of the device that seems can be part of network see Commands User Manual XTR ZB1 AUREL Module Public Sub AskExAdrr ByVal ShortAddr As String This function sends to serial the command CMD 0F ShortAddr where ShortAddr represents the Short address of the remote device that should receive the command via Radio Public Sub GetExAddr This function sends to serial the command CMD 1 1 Public Sub LockNet This function sends to serial the command CMD 0A4 00 Public Sub PanInfo This function sends to serial the command CMD 0D Public Sub Ping ByVal ShortAddr As String This function sends to serial the command CMD 0E ShortAddr where ShortAddr represents the Short address of the remote device that should receive the command via Radio Public Sub Reset This function sends to serial the command CMD 01 Le caratteristiche tecniche possono subire variazioni senza preavviso La AUREL S p A non si assume la responsabilit di danni causati dall uso improprio del dispositivo AUREL S p A Via Foro dei Ti
3. to serial the command CMD 08 ShortAddr 00 where ShortAddr represents the Short address of the remote device that should receive the command via Radio Public Sub SetNewRate ByVal Rate as Long ByVal ShortAddr as String This function sends to serial the command CMD 05 addr NewRate where NewRate is the converion in minutes and seconds of the Rate parameter that represents the cyclical rate transmission in ms Following to the command CMD 05 will be sent the command CMD 06 also Le caratteristiche tecniche possono subire variazioni senza preavviso La AUREL S p A non si assume la responsabilit di danni causati dall uso improprio del dispositivo AUREL S p A Via Foro dei Tigli 4 47015 Modigliana FC ITALY 05 05 2008 Rev A Tel 39 0546 941124 Fax 39 0546 941660 Pag 4di 6 http www aurelwireless com email ricomm aurel it AUKEL RELESS OCX AUREL USER MANUAL User Guide Public Sub SetOutput ByVal ShortAddr as String ByVal Port as Integer This function sends to serial the command CMD 0C ShortAddr Port where ShortAddr represents the Short address of the remote device that should receive the command via Radio and Port represents the digital output that should be set Comes run a check on the inserted parameters If ShortAddr is an empty string or its value is equal to 0000 and or Port is a full negative function doesn t work Public Sub SetPollRate ByVal PollRate as Long ByVal Shortad
4. AUKEL RELESS OCX AUREL USER MANUAL User Guide OCX AUREL User Manual To develop an application program on your PC it s possibile to take advantage of the OCX provided by AUREL rather then using the interfacing modules commands That shape for the developers a further abstraction level comparing what the commands provides In this case it is necessary to install AUREL OCX afterwards using it as a software component to develop the High level application system OCX offers functions properties and events as better described later on Description is limited to the functions used only parameters and comes back values To better realize the sended commands through the OCX please refer to Commands User Manual XTR ZB1 AUREL Module Properties Property Get OCX Version as String Back a string containing the OCX version Property Get Commport as Integer Back as Integre containing the used COM port Property Let Commport COMPort ByVal as Integer Sets up of the COM port you want to use and initializes the serial with its buffers and timers used by the OCX for the port management OCX use a buffer where the received strings from the XTR ZB1 module comes saved After that a 50ms timer will used to verify presence of strings into the buffer a StringReceived o DataReceived event could be created Le caratteristiche tecniche possono subire variazioni senza preavviso La AUREL S p A non si assume la responsabil
5. dr as String This function sends to serial the command CMD 09 Shortaddr NewPollRate where ShortAddr represents the Short address of the end device that should receive the command via Radio and NewPollRate is the converion in Hexadecimal of the PollRate parameter that represents the end device Poll Rate in ms Public Sub SetRfCH ByVal RfCH as Integer This function sends to serial the command CMD 07 RfChannel where RfChannel is the converion in Hexadecimal of RfCH parameter thatrepresent the new channel where will installed the network The RfCH parameter can take up values from 11 to 26 or 0 pu assumere i valori da 11 a 26 e 0 RfChannel 27 channel spacing Comes run a check on the inserted RfCH parameter If the value is less than 11 or bigger than 26 and different from 0 function doesn t work Public Sub StartNet This function sends to serial the command CMD 04 Public Sub StartOPERATIONS This function initializes the serial port buffer and timer used by the Must be used into the application program during the inizialization after the setting of the used serial port Le caratteristiche tecniche possono subire variazioni senza preavviso La AUREL S p A non si assume la responsabilit di danni causati dall uso improprio del dispositivo AUREL S p A Via Foro dei Tigli 4 47015 Modigliana FC ITALY 05 05 2008 Rev A Tel 39 0546 941124 Fax 39 0546 941660 Pag 5di6 http www aurelwireless com email
6. gli 4 47015 Modigliana FC ITALY 05 05 2008 Rev A Tel 39 0546 941124 Fax 39 0546 941660 Pag 3 di 6 http www aurelwireless com email ricomm aurel it AUKEL RELESS OCX AUREL USER MANUAL User Guide Public Sub ResetOutput ByVal ShortAddr as String ByVal Port s Integer This function sends to serial the command CMD 0C ShortAddr Port where ShortAddr represents the Short address of the remote device that should receive the command via Radio and Port represents the digital output that should be reset Comes run a check on the inserted parameters If ShortAddr is an empty string or its value is equal to 0000 and or Port is a full negative function doesn t work Public Sub SendData ByVal ShortAddr as String ByVal Dati as String This function sends to serial the command SNT Shortaddr dati Dati where dati is the string Data lenghts inserted as parameter Comes run a check on the inserted parameters If ShortAddr and or Data are empty strings function doesn t work Public Sub SendDirectToCoordinator ByVal Command as String This function sends to serial the command contained into the string Command Comes run a check on the inserted parameter If Command is an empty string function doesn t work Public Sub SetKeepAlive ByVal ShortAddr as String ByVal ON OFF as Integer If ON OFF 1 will be sent to serial the command CMD 08 ShortAddr FF If ON OFF 0 will be sent
7. it di danni causati dall uso improprio del dispositivo AUREL S p A Via Foro dei Tigli 4 47015 Modigliana FC ITALY 05 05 2008 Rev A Tel 39 0546 941124 Fax 39 0546 941660 Pag 1di6 http www aurelwireless com email ricomm aurel it AUKEL RELESS OCX AUREL USER MANUAL User Guide Events Public Event StringReceived ByVal RecString as String Event created when the OCX detects a string presence into the buffer through the 50ms timer described above The Event gives back the string as was received by the serial Public Event DataReceived ByVal ShortAddr as String Data as String Event created when the OCX thorugh the 50ms timer described above detects a string presence sended by a remote device through command SNT sending see Commands User Manual XTR ZB1 AUREL Module The Event gives back the remote device Short Address ShortAddr sended by the string and the useful data Data appropriately cleaned up as regards ones received on serial Public Event StringSent ByVal SentString as String Event created when the OCX sends a string through serial The Event gives back the string Public Event ErrorDetected ErrorCode as Integer Event created when there is an error on serial The Event gives back the error code Le caratteristiche tecniche possono subire variazioni senza preavviso La AUREL S p A non si assume la responsabilit di danni causati dall uso improprio del dispositivo AUREL S p
Download Pdf Manuals
Related Search
Related Contents
Système d`alarme GSM sans fil: POOL SCOUT Zig-Zag Zig- ZagZig- Zag T'nB IPT43B mobile phone case Connexion collante en double T DTK Connexion collante en double Copyright © All rights reserved.
Failed to retrieve file