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.

SetDO Changes the value of a digital output signal<br />

Examples<br />

Arguments<br />

SetDO is used to change the value of a digital output signal, with or without a timedelay.<br />

SetDO do15, 1;<br />

The signal do15 is set to 1.<br />

SetDO weld, off;<br />

The signal weld is set to off.<br />

SetDO \SDelay := 0.2, weld, high;<br />

The signal weld is set to high with a delay of 0.2 s. Program execution, however,<br />

continues with the next instruction.<br />

SetDO [ \SDelay ] Signal Value<br />

[ \SDelay ] (Signal Delay) Data type: num<br />

Delays the change for the amount of time given in seconds (0.1 - 32s).<br />

Program execution continues directly with the next instruction. After the given<br />

time-delay, the signal is changed without the rest of the program execution being<br />

affected.<br />

If the argument is omitted, the value of the signal is changed directly.<br />

Signal Data type: signaldo<br />

The name of the signal to be changed.<br />

Value Data type: dionum<br />

Program execution<br />

The desired value of the signal.<br />

The value is specified as 0 or 1.<br />

The true value depends on the configuration of the signal. If the signal is inverted in<br />

the system parameters, the value of the physical channel is the opposite.<br />

<strong>RAPID</strong> Reference Manual 8-SetDO-1

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

Saved successfully!

Ooh no, something went wrong!