Difference between revisions of "VALert"

From IPLOG
Jump to: navigation, search
(Created page with "== Back to Libraries == == VALERT library == === Client === '''VALERT_RX_EVENTS''' Read events from given VAlert device {| class="wikitable"...")
 
(Client)
 
(One intermediate revision by the same user not shown)
Line 12: Line 12:
 
|BUS
 
|BUS
 
|STRING[255]
 
|STRING[255]
|RS485 bus (eg. /dev/tty3)
+
|RS485 bus (eg. /dev/ttyS2)
 
|-
 
|-
 
|in
 
|in
Line 27: Line 27:
 
|ERR_ID
 
|ERR_ID
 
|WORD
 
|WORD
|identifies occured error by unique code (see [[Error codes for IEC 61131-3 libraries|Error codes]])
+
|identifies occured error by unique code (see [[Error Codes|unique code]])
 
|-
 
|-
 
|out
 
|out
Line 58: Line 58:
 
|ERR_ID
 
|ERR_ID
 
|WORD
 
|WORD
|identifies occured error by unique code (see [[Error codes for IEC 61131-3 libraries|Error codes]])
+
|identifies occured error by unique code (see [[Error Codes|unique code]])
 
|-
 
|-
 
|out
 
|out

Latest revision as of 08:53, 10 February 2021

Back to Libraries

VALERT library

Client

VALERT_RX_EVENTS

Read events from given VAlert device

in BUS STRING[255] RS485 bus (eg. /dev/ttyS2)
in BAUDRATE UINT RS485 baudrate (default 2400)
out ERR BOOL indicates some error occurs
out ERR_ID WORD identifies occured error by unique code (see unique code)
out VALID BOOL indicates success operation and valid output

VALERT_PRINT_EVENTS

Print received VAlert events

VALERT_EVENT

in ZONES STRING[255] zones list (eg. 1, or 1,2,3)
in SENSOR STRING[255] sensors list (eg. 1, or 1,2,3)
out ERR BOOL indicates some error occurs
out ERR_ID WORD identifies occured error by unique code (see unique code)
out VALID BOOL indicates success operation and valid output