C Control PRO-BOT128 + C-Control PRO 128 Unit + Voltcraft® USB programming cable Kit 190406 Manual De Usuario

Los códigos de productos
190406
Descargar
Página de 56
46
ACS_INIT()
Initialises the anti-collision system, must be called up before use.
ACS_LEFT() as byte
Returns the status of the obstacle detection (left sensor):
1 = no obstacle
0 = obstacle detected
ACS_RIGHT() as byte
Returns the status of the obstacle detection (right sensor):
1 = no obstacle
0 = obstacle detected
DELAY_MS(time as integer)
Alternative time loop to AbsDelay(). Difference: Interrupts are still queried, the interpreter is not completely stopped (1ms time slot).
MAKE_INT(MSB as byte, LSB as byte) as word
Joins two bytes to one word. Is e.g. required for various I²C bus sensors.
GRAD_TO_RAD(Val as single) as single
Converts degrees into radian measure.
RAD_TO_GRAD(Val as single) as single
Converts radian measure into degrees.
ABS_INT(Val as integer) as integer
Absolute value of an integer number.
ABS_SINGLE(Val as single) as single
Absolute value of a single variable.