When sending a single request for analogue status information to the board, it will respond with the current value of the analogue pin or it will respond with an error message. The command is valid for analogue input pins, PWM pins and also for Ultrasonic measurements[1].   

Command

HMI

Board

Syntax

Remark

SAI

Send

Receive

@SAI<tagname>

 

SAI

Receive

Send

@SAI,<tagname>,<0000>

AI     

PWM

Ultra 

0..1023

0..255

0..500 (cm)

Possible error messages coming from the board

%FAT-UNKCMD-BTSERIAL, Unknown command received

%SAI-UNKCMD-BTSERIAL, String not processed

%SAI-UNKCMD-BTSERIAL, Unknown tagname received

 [1] The board will send the value in the range as mentioned in the table

 

 

0
0
0
s2smodern