SetDigital

class compas_rrc.SetDigital(io_name, value, feedback_level=0)[source]

Bases: compas_fab.backends.ros.messages.std_msgs.ROSmsg

Set digital is a call that sets the value of an digital output signal (int, 0 or 1).

Examples

# Set digital output to low or high
low = 0
high = 1
done = abb.send_and_wait(rrc.SetDigital('do_1',low))

RAPID Instruction: SetDO

Note

For additional help, check the ABB Reference Manual.

Methods

__init__(io_name, value[, feedback_level])

Create a new instance of the instruction.

from_msg(msg)

parse(msg, msg_type)

Parses a msg in various possible input formats and tries to return an instance of the class that wraps it.