Writing a digital output
Description
The function block KRC_WriteDigitalOutput writes a digital output or a pulse output on 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 digital output (corresponds to $OUT[1 … 2048] on the robot controller)
Notice: It must be ensured that no outputs are used that are already assigned by the robot system. Example: $OUT[1025] is always TRUE. |
Value | BOOL | Value of the digital output |
Pulse | REAL | Length of the pulse
|
bContinue | BOOL | TRUE = output written in advance run Notice: The robot controller executes programs with an advance run and a main run. Further information about the advance run and main run is provided in the operating and programming instructions for the system software. |
BufferMode | INT | Mode in which the statement is executed
(>>> BufferMode) |
Outputs
Parameter | Type | Description |
|---|---|---|
Busy | BOOL | TRUE = statement is currently being transferred or has already been transferred |
Done | BOOL | TRUE = statement has been executed |
Aborted | BOOL | TRUE = statement has been aborted |
Error | BOOL | TRUE = error in function block |
ErrorID | DINT | Error number |
OrderID | DINT | OrderID number |