<< Click to Display Table of Contents >> Navigation: Technical Informations > CarteIO32 > Installation and configuration > Software configuration > Manual setting (ISA cards/specific cases) |
For ISA/Non PnP cards, since the card type and its base address (I/O address) can not be detected by software, the characteristics of the card(s) installed must be specified in the registry.
There is a set of parameters for each card. In previous versions of CartIO32.DLL the name of each set was imposed, of the form 'Cart n', with n ranging from 1 to 10.
Now the name is free, so you can choose a name that identifies the map more clearly (note: the names 'PNP0 to PNP9' are reserved).
For each set, we specify at least 1 range, composed of 3 fields separated by a comma: base address in hexadecimal (ex: 0x350), number of entries in this range, number of outputs in this range.
The number of inputs and the number of outputs must be multiples of 8, or 0. The range of each range is equal to (number of inputs + number of outputs) divided by 8.
For an 8-channel card, the range thus occupies (8 + 8) / 8 = 2 bytes in the I/O address space.
The typical organization of the address space of a card starts with the ports of the outputs (relays) followed by the ports for the inputs.
When a card does not follow this rule (eg Contec) or because the address space of the card is not adjacent (eg ACL PCI-1751), it is necessary to define several ranges.
The defined ranges must be separated by a semicolon.
The maximum number of tracks per card is 10.
When the ISA / Non PnP card does not manage the "readback", it is imperative to add at the end of the line a comma immediately followed by 'NOREADBACK'.
Some cards, like Contec in ISA, have a negative output logic: if we activate an output, the state of the last one is 'low', if we deactivate it, it goes high. To overcome this disadvantage, it is imperative to add at the end of the line a comma immediately followed by 'INVERT_OUT'.
Other cards, such as the Decision Computer Int'l 8i / 8o PCI have a logic at the inputs that depends on the configuration of the card (jumpers / jumpers on the card itself): self-powered mode / dry contact 'or in' bias voltage 'mode.
In "bias voltage" mode the DCI 8i / 8o has a negative input logic (level 0 detection when a voltage is applied, level 1 in the absence of voltage). To correct this, we add at the end of the line a comma immediately followed by 'INVERT_IN'.
PCI Express ICP-Das PEX-P8R8i and PEX-P16R16i cards have the same PCI PnP credentials. As a result, it is impossible to distinguish them by software.
It will therefore be necessary to indicate manually, by adding the clause / 16 at the end of the line, that it is the model PEX-P16R16i. This clause is ignored for all other GPI cards.
In his absence, the card is seen as a PEX-P8R8i.
Examples of configurations:
•16-channel ISA card (type P16R16DIO): 0x350,16,16.
•ISA card 32 outputs: 0x350,0,32.
•PCI card 48 outputs (type ACL PCI-1751), in 2 ranges of 24 each (24 bits => 3 bytes), separated by an unused address (and not to be used!): 0x6800,0,24; 0x6804, 0.24.
•8-channel ISA card without readback: 0x350,0,8; 0x350,8,0, NOREADBACK.
•ISA Contec 16-channel card (without readback, negative logic of the outputs): 0x350,16,0; 0x350,0,16, NOREADBACK, INVERT_OUT.