15.07.2013 Views

Automatic control function programming manual ladder language

Automatic control function programming manual ladder language

Automatic control function programming manual ladder language

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

9.1 General<br />

Analogue Inputs/Outputs<br />

A maximum of 18 DACs and 20 ADCs are available on NUM 1060 systems. The analogue inputs and outputs are<br />

accessible to the user programme, part programme and dynamic operators. They are distributed as follows:<br />

Machine processor card 8I/8O analogue card<br />

(max. 2 cards)<br />

UCSII card<br />

1060 series I 4 ADCs - 2 DACs 8 ADCs/8 DACs<br />

1060 series II 4 ADCs - 2 DACs 8 ADCs/8 DACs<br />

1060 series II 2 ADCs/1 DAC<br />

The analogue inputs and outputs are geographically identified by the card slot number and the channel number on<br />

the card. The code is one byte.<br />

Bits 0 to 3 of the byte contain the channel number (0 to 7) and bits 4 to 7 the card number.<br />

The CPU is number 1.<br />

Rate of variation<br />

The analogue inputs and outputs are signed values on 16 bits. The rate of variation for these values is:<br />

- for positive values:<br />

from 0 --> 0x7FFF<br />

for 0 --> n volts (where n is the full scale value)<br />

- for negative values:<br />

from 0xFFFF --> 0x8000<br />

for 0 --> n volts (where n is the full scale value).<br />

This is true regardless of the resolution of the ADC or DAC (8 or 12 bits).<br />

The full scale value depends on the characteristics of the card used (see Installation and Commissioning Manual).<br />

The accuracy depends on the DAC or ADC format (8 bits, 8 bits + sign or 12 bits + sign).<br />

9.2 Configure an Analogue I/O Card anas<br />

Syntax<br />

anas(cch, wconfig)<br />

cch: Card address code (the channel is not significant).<br />

config: Configuration, encoded on 16 bits.<br />

Operation<br />

This <strong>function</strong> is used to configure the number of analogue inputs used (1 or 8) and the gain of each input (1 or 10).<br />

The internal refresh period of each analogue input is 1.36 ms when all the 8 inputs are configured and 0.170 ms when<br />

only one input is configured (input 0).<br />

This <strong>function</strong> is optional. At system initialisation, the cards are configured with 8 inputs and a gain of 1.<br />

REMARK This <strong>function</strong> concerns only the analogue inputs and outputs on the additional cards.<br />

en-938846/8 9 - 3<br />

9

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

Saved successfully!

Ooh no, something went wrong!