Appendix: configuration file format – ProSoft Technology CLX-PVX User Manual

Page 41

Advertising
background image

QTS-CLX-PVX Page

35

Appendix: Configuration File Format

Configuration files for the QTS-CLX-PVX are text files. The following information is
provided for reference only. It is recommended to use the auto-configuration capabilities
of the gateway, as this reduces the risk of introducing configuration errors through
manually creating or editing configuration files.

The first line of the configuration file consists of:

Number of Cards: 39 Name: D3R_Mas Mode: 54cd3514 Options: 01010101 Cfg
Id: 43960cce

Number of cards = the number of configured card to follow

Name: the module name

Mode = hexadecimal value that indicates whether this is a master or monitor file
(54cd3514 – master, 54cd3512 - monitor)

Options: the starting card in each of the four scan segments

Cfg Id: the hexadecimal configuration ID calculated by ClxPvxCfg.exe.

This is followed by card definitions for each card.

Card definitions

A typical card definition consists of:

Byte Address: 001 Type: 13 State: 9

Priority: 01 CfgMask: ffff IpMask: ffff OpMask: 0000

TokenLst: 2 2 2 2

ChanType: 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14

ChanParam: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

Input Copy Table

1 4 32

Output Copy Table

0 0 0

The Byte Address is the address of the card, stored in decimal; however, if you convert it
to hex it is more meaningful: upper nibble = cardfile -1, lower nibble = card number

i.e. decimal 17 = 11 hex = card file 2, card 1

The Type is the base card type.

Supported card types are:

Card Type

Value, Hex

Value, Decimal

AIO_CARD_TYPE

0D

13

DIO_CARD_TYPE 0F

15

TPO_CARD_TYPE

11

17

Advertising