Actions

%prci: Difference between revisions

From Zenitel Wiki

No edit summary
No edit summary
 
Line 14: Line 14:


{{note|
{{note|
*''One can use the [[Faulty Station Line (Event Type)|Faulty Station Line - OFF]] together with %prci to read the status of the inputs when a device registers to the ICX-AlphaCom. However, one have to insert a small delay ([[SET TIMER|$ST]]) of approx. 5 seconds from the device registers to the inputs are read.''<br>
*''The inputs 8-15 on IP-LCM can be read by the %prci as from firmware version 9.0.3.3<br>
*''The inputs 8-15 on IP-LCM can be read by the %prci as from firmware version 9.0.3.3}}
*''One can use the [[Faulty Station Line (Event Type)|Faulty Station Line - OFF]] together with %prci to read the status of the inputs when a device registers to the ICX-AlphaCom. However, one have to insert a small delay ([[SET TIMER|$ST]]) of approx. 5 seconds from the device registers to the inputs are read.''}}


==Examples==
==Examples==

Latest revision as of 15:09, 4 December 2024

AI.png

The %prci macro is used in the Event Handler to check state of a physical input on a Zenitel IP Device.

Syntax

%prci(station,input_no)

Return 1 (active) or 0 (not active) state of a physical input

  • station: Physical number 1 - 552
  • input_no: Input number 1 - 8

IP-LCM:

  • Input 1-6 are the inputs on the TKIS unit
  • Input 8-15 are the extra 8 inputs on the IP-LCM main board
Note icon
  • The inputs 8-15 on IP-LCM can be read by the %prci as from firmware version 9.0.3.3
  • One can use the Faulty Station Line - OFF together with %prci to read the status of the inputs when a device registers to the ICX-AlphaCom. However, one have to insert a small delay ($ST) of approx. 5 seconds from the device registers to the inputs are read.''


Examples

%prci(5,1)   - Return state of input 1 on station 5




Back to Event_Handler#List_of_context_parameters.

MediaWiki spam blocked by CleanTalk.