Syntax
EXTREF value
|
Set EXTernal REFerence type
|
Operands | value: type of reference 0, 1 or 2 |
Binary code
Description | Sets the external reference type depending on the parameter value: |
• | value = 0: online – the reference is sent via a communication channel in one of the variables EREFP, EREFS, EREFT, EREFV function of the control mode |
• | value = 1: analogue – the reference is read from a dedicated analogue input |
• | value = 2: digital – the reference is provided as pulse & direction or encoder like signals |
Example
EXTREF 1; // the external reference is read from the analogue
// input dedicated for this purpose
|