Skip to Content

Ux Report — User Report Operations

Allows to query, execute and generate user reports previously configured with the UC Command.


What is it for?

Use caseDescription
📤 Automatic sendingGenerate and send custom reports by events
🔍 Local queryVerify UC report content
Dynamic executionExecute embedded commands in the report
📊 Periodic telemetrySend combined data at intervals

Commands

OperationSyntaxDescription
QueryQUnRead UCnn report content
ExecuteSUnExecute report as local command
GenerateGUn[bb][c]Generate and send report to server

Key difference:

  • QUn → Only shows rendered content
  • SUn → Executes embedded commands in the report
  • GUn → Generates report and sends it to an IP destination

Parameters

ParameterDescriptionValues
nReport index0 to F (UC00-UC0F)
bbAssociated event number (only for G)00-FF, XX = no event
cSending priority (only for G)H = high, M = medium, L = low

Operations in Detail

QUn — Query Report

Read and display the processed UC report content.

>QUn<

Response:

rendered_content

The response to QUn is exactly the rendered content of the configured UC structure, with no RUn prefix in front: for user reports, printmsg() copies the text as-is (strcpy(str, txt)). Don’t confuse it with RUn (the response to SUn, which does carry that prefix followed by OK/ERR).


Event Engine Integration

Generate report on IGN ON

>SRL60E;TRG=IGN+;ACC={GU0XXH}<

Execute macro on digital input

>SRL61E;TRG=IN02+;ACC={SU1}<

Execute UC01 content when IN02 is activated.

Generate on speed limit

>SRL62E;TRG=VL00+;ACC={GU1XXH}<

Periodic sequence with timer

>STD05E00005< >SRL96E;TRG=TD05+;ACC={GU0XXH}< >SRL97E;TRG=TD05+;ACC={SU1}<

Generate UC00 and execute UC01 every 5 seconds.


Compatibility

💾Firmware v1.12.05
C5Legacy
💾Firmware v1.00.00
SP-IOT
SM-IOT
ZE-IOT

See Also

Last updated