

Back to Corporate | | General:This module is used to communicate with the Europlex Adplex security panel. The full protocol is supported as well as user interfaces that emulate the keypad real time. The communications module uses two command queues. One is for priority commands which will execute first if it is not empty. This is used for keypad button presses and fire or burg panic commands. The other queue is for normal commands which don't need to be executed immediately. Prerequisites:None Comm. Module Header:| Type | Name | Description | | Dev | vdv | Virtual device for the module | | Dev | dv | Physical device for the module |
UI Module Header:| Type | Name | Description | | Dev | vdv | Virtual device for the module | | Dev | dvTpMain | Main touch panel device used for popup commands | | Dev | dvTpHttp | For 'internet inside' device initialization | | Dev | dvMsg | Virtual device for message handler | | Integer | InUse | True when currently interfacing with the touch panel | | Integer | PanelId | Security panel id | | Integer | ArmOutputListNum | List number of the 'Armed Output' query | | Integer | cTpDisplay | Channel used for the status line | | Integer | cTpArmed | Channel for armed/disarmed status | | Integer[] | cTpKeypad | Channels for keypad button input/output | | Integer[] | cTpArmBtn | Channels for arm commands (input/output) | | Integer | cTpBurgPanic | Channel used for burg panic button (press 3 times) | | Integer | cTpFirePanic | Channel used for fire alarm button (press 3 times) | | Integer[][] | cTpLogText | Channels for displaying log data [row][column] | | Integer[] | cTpLogPrompt | Channels to prompt for log access | | Integer | cTpLogReset | Channel to bring log to the beginning | | Integer | cTpLogMore | Channel to page down in the log | | Integer | ProtectionCode | User log access code | | Char[] | BurgString | Burglar string literal to execute burg alarm | | Char[] | FireString | Fire string literal to execute fire alarm | | Integer | NewPage | True when the touch panel page has changed | | Char[] | CurrPage | Current touch panel page name | | Integer | Editting | True when touch panel is in 'Edit Select' mode | | Integer | EditChannel | Channel to be edited | | Integer | KeyType | Type of keypad to popup | | Char[] | EditPreset | Text to preset the keypad text field with |
Send_Commands:- '?' - This causes the module to display all supported commands via messages to the master.
- 'Ver' - Displays the compilation and version information for the module.
- 'Pass-<len><priority><string>' - Put <string> onto the transmit queue with the given priority. <len> = length of <string> + 1.
- 'Debug <n>' - Changes debug state where:
0 = No Debug status and turn off DEBUG channel on the virtual device. 1 = Display all minor debug information and turn on DEBUG channel on the virtual device. 2 = Display all sent and received data to/from the device and minor debug information.
API Calls Supported:Call 'L3_AdplexExecuteString' (Dev vdv, Integer Panel, Char Str[]); Call 'L3_AdplexExecuteStringImm' (Dev vdv, Integer Panel, Char Str[]); Call 'L3_AdplexForceCall' (Dev vdv, Integer Panel); Call 'L3_AdplexSetClock' (Dev vdv, Integer Panel, Integer nMonth, Integer nDay, Integer nYear, Integer nHour, Integer nMinute, Integer nSecond, Integer nDow); Call 'L3_AdplexSendChar' (Dev vdv, Integer Panel, Integer Ch); Call 'L3_AdplexSendCharImm' (Dev vdv, Integer Panel, Integer Ch); Call 'L3_AdplexResetGeneralLogPtr' (Dev vdv, Integer Panel); Call 'L3_AdplexQueryDisplay' (Dev vdv, Integer Panel); Call 'L3_AdplexQueryOutputList' (Dev vdv, Integer Panel, Integer ListId, Char List[]); Call 'L3_AdplexQueryOutputRange' (Dev vdv, Integer Panel, Integer RangeId, Integer OutFrom, Integer OutTo); Call 'L3_AdplexQueryZoneList' (Dev vdv, Integer Panel, Integer ListId, Char ZoneList[]); Call 'L3_AdplexQueryZoneRange' (Dev vdv, Integer Panel, Integer RangeId, Integer ZoneFrom, Integer ZoneTo); Call 'L3_AdplexQueryOffNormalList' (Dev vdv, Integer Panel, Integer ListId, Char ZoneList[]); Call 'L3_AdplexQueryOffNormalRange' (Dev vdv, Integer Panel, Integer RangeId, Integer ZoneFrom, Integer ZoneTo); Call 'L3_AdplexQueryGeneralLog' (Dev vdv, Integer Panel, Integer Count); API Calls Returned:Call 'L3_AdplexDisplayNote' (Dev vdv, Char sLine[]) Call 'L3_AdplexOutputListNote' (Dev vdv, Integer ListId, Char aOutput[]) Call 'L3_AdplexOutputRangeNote' (Dev vdv, Integer RangeId, Char aOutput[]) Call 'L3_AdplexZoneListNote' (Dev vdv, Integer ListId, Char aZone[]) Call 'L3_AdplexZoneRangeNote' (Dev vdv, Integer RangeId, Char aZone[]) Call 'L3_AdplexOffNormalNote' (Dev vdv, Integer ListId, Char aZone[]) Call 'L3_AdplexGeneralLogNote' (Dev vdv, Integer Len, Char Str[]) |