09.12.2012 Views

Basic Characteristics RAPID

Basic Characteristics RAPID

Basic Characteristics RAPID

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>RAPID</strong> Summary Input and Output Signals<br />

6 Input and Output Signals<br />

The robot can be equipped with a number of digital and analog user signals that can be<br />

read and changed from within the program.<br />

6.1 Programming principles<br />

The signal names are defined in the system parameters and, using these names, can be<br />

read from the program.<br />

The value of an analog signal or a group of digital signals is specified as a numeric<br />

value.<br />

6.2 Changing the value of a signal<br />

Instruction Used to:<br />

InvertDO Invert the value of a digital output signal<br />

PulseDO Generate a pulse on a digital output signal<br />

Reset Reset a digital output signal (to 0)<br />

Set Set a digital output signal (to 1)<br />

SetAO Change the value of an analog output signal<br />

SetDO Change the value of a digital output signal (symbolic value;<br />

e.g. high/low)<br />

SetGO Change the value of a group of digital output signals<br />

6.3 Reading the value of an input signal<br />

The value of an input signal can be read directly, e.g. IF di1=1 THEN ...<br />

6.4 Reading the value of an output signal<br />

Function Used to read the value of:<br />

DOutput A digital output signal<br />

GOutput A group of digital output signals<br />

<strong>RAPID</strong> Reference Manual 3-19

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!