Reading an analog input
Description
The function block KRC_ReadAnalogInput polls and reads an analog input of the robot controller.
Inputs
Parameter | Type | Description |
|---|---|---|
AxisGroupIdx | INT | Index of axis group
|
ExecuteCmd | BOOL | The statement is executed in the case of a rising edge of the signal. |
Number | INT | Number of the analog input ($ANIN[1 … 32] on the robot controller)
|
Outputs
Parameter | Type | Description |
|---|---|---|
Done | BOOL | TRUE = statement has been executed |
Value | REAL | Value of the analog input |
Error | BOOL | TRUE = error in function block |
ErrorID | DINT | Error number |
OrderID | DINT | OrderID number |