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.

GOutput Reads the value of a group of digital output signals<br />

Example<br />

GOutput is used to read the current value of a group of digital output signals.<br />

IF GOutput(go2) = 5 THEN ...<br />

If the current value of the signal go2 is equal to 5, then ...<br />

Return value Data type: num<br />

Arguments<br />

The current value of the signal (a positive integer).<br />

The values of each signal in the group are read and interpreted as an unsigned binary<br />

number. This binary number is then converted to an integer.<br />

The value returned lies within a range that is dependent on the number of signals in the<br />

group.<br />

No. of signals Return value No. of signals Return value<br />

1 0 - 1 9 0 - 511<br />

2 0 - 3 10 0 - 1023<br />

3 0 - 7 11 0 - 2047<br />

4 0 - 15 12 0 - 4095<br />

5 0 - 31 13 0 - 8191<br />

6 0 - 63 14 0 - 16383<br />

7 0 - 127 15 0 - 32767<br />

8 0 - 255 16 0 - 65535<br />

GOutput (Signal)<br />

Signal Data type: signalgo<br />

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

<strong>RAPID</strong> Reference Manual 9-GOutput-1

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

Saved successfully!

Ooh no, something went wrong!