

Back to Corporate | | General:This module is used to communicate with the Europlex 3GS 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 | Channels used for both status lines | | 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_3GS_ExecuteString' (dv, Panel, SeqNum, Str[]); Call 'L3_3GS_ExecuteStringImm' (dv, Panel, SeqNum, Str[]); Call 'L3_3GS_SetClock' (dv, Panel, SeqNum, nMonth, nDay, nYear, nHour, nMinute, nSecond, nDow); Call 'L3_3GS_SendChar' (dv, Panel, SeqNum, Char); Call 'L3_3GS_SendCharImm' (dv, Panel, SeqNum, Char); Call 'L3_3GS_ResetGeneralLogPtr' (dv, Panel, Char SeqNum); Call 'L3_3GS_ResetAccessLogPtr' (dv, Panel, Char SeqNum); Call 'L3_3GS_QueryDisplay' (dv, Panel, Char SeqNum); Call 'L3_3GS_QueryOutputList' (dv, Panel, ListId, Count, List[]); Call 'L3_3GS_QueryOutputRange' (dv, Panel, RangeId, OutFrom, OutTo); Call 'L3_3GS_QueryZoneList' (dv, Panel, ListId, ZoneCount, ZoneList[]); Call 'L3_3GS_QueryZoneRange' (dv, Panel, RangeId, ZoneFrom, ZoneTo); Call 'L3_3GS_QueryOffNormalList' (dv, Panel, ListId, ZoneCount, ZoneList[]); Call 'L3_3GS_QueryOffNormalRange' (dv, Panel, RangeId, ZoneFrom, ZoneTo); Call 'L3_3GS_QueryGeneralLog' (dv, Panel, SeqNum, Count); Call 'L3_3GS_QueryAccessLog' (dv, Panel, SeqNum, Count); API Calls Returned:Define_Call 'L3_3GS_DisplayNote' (Dev dv, Char sLine1[], Char sLine2[]) Define_Call 'L3_3GS_OutputListNote' (Dev dv, Integer nList, Char aList[]) Define_Call 'L3_3GS_OutputRangeNote' (Dev dv, Char sOutput[]) Define_Call 'L3_3GS_ZoneListNote' (Dev dv, Integer nList, Char aList[]) Define_Call 'L3_3GS_ZoneRangeNote' (Dev dv, Integer nRange, Char aRange[]) Define_Call 'L3_3GS_OffNormalNote' (Dev dv, Integer nList, Integer Len, Char aZones[]) Define_Call 'L3_3GS_GeneralLogNote' (Dev dv, Integer Len, Char Str[]) |