VAL_PD_Z,TABLE_HELP,DeltaLink Valmet set Definition
DeltaLink Valmet set definition

The set definition is used to define the actual 
contents of a dataset. I.e. the set defines the 
values to read from the Valmet Damatic computer.
$
VAL_PD_Z,COMMENT,Comment
Text to be filled in by the user for documentation purposes. 
The text can be used for example to store the corresponding 
‘tagname’ within Valmet or to make it easier to define 
the panels in the decoder (e.g. by inserting here a sequence number).
The text is not used by the protocol driver.

valid entry: Optional.
description: Alphanumeric string up to 20 characters.
$
VAL_PD_Z,DATATYPE,Data Type
Type definition of the value in the Valmet Damatic computer. 

valid entry: Required/default:A.
description:

There are 3 types possible: ANALOG (or A or ANA) , 
COUNTER (or C or COU) , DIGITAL. (or D or DIG). 
ANALOG specifies an analog 16 bit value for 
example the level of a tank. 
COUNTER specifies a 32 bit counter value.
DIGITAL specifies to fetch a number of bits (digitals) 
together with associated status information. 
The number of bits that is actually fetched depends on 
the address that is specified.
$
VAL_PD_Z,BUSTYPE,Bus type

The type of bus to access.

valid entry: Required/default:P.
description:

Two bus types are possible: PROCESS (or P) and 
CONTROL (or C). 
PROCESS specifies to access the process bus. 
CONTROL specifies to access the control bus.
$
VAL_PD_Z,BUSNUM,Bus Number

Specifies the number of the bus to access.

valid entry: Required/default:0.
description: 0..7
$
VAL_PD_Z,STATNUM,Station Number

Specifies the number of the station to access.

valid entry: Required/default:0.
description: 0..15
$
VAL_PD_Z,BLOCKMES,Block Message

Specifies the number of the block to access within the station.

valid entry: Required/default:0.
description: 0..7
$
VAL_PD_Z,SIGNALG,Signal Group

Specifies the number of the group to access 
within the block message.

valid entry: Required/default:0.
description: 0..3
$
VAL_PD_Z,SIGNALP,Signal
Specifies the signal to access within the group.

valid entry: Required/default:0.
description: 0..3. Also:

In case a COUNTER value is accessed, 
the signal number should be 0 or 2.

$
VAL_PD_Z,SIGNALB,Signal Byte

Specifies (in case of a digital signal only) the byte to access. 

valid entry: Required/default:0
description: 0..1.  Also:

For non-digital signals this value must be 0.
For digital signals: if 0 is filled the lower byte 
is accessed, if 1 is specified the higher byte is accessed.

$
VAL_PD_Z,DATADIR,Data Direction
Specifies the data direction. 

valid entry: Required/default:0.
description: 0..15. Also:

In case data from a process station is accessed, 
a 0 must be specified. Otherwise a value greater than 0 
must be specified. The number then specifies the control 
room station to access.

$
VAL_PD_T,TABLE_HELP,DeltaLink Valmet Dataset Definition
DeltaLink Valmet Dataset definition

The DeltaLink Valmet Dataset definition panel allows the user 
to specify datasets for a particular logical device. 
$
VAL_PD_T,SNDMBX,Decoder Mailbox Tag
Tag name of a decoder mailbox element, to be referenced by the 
Valmet protocol driver task 
(N.B. MCI must be supported by the decoder task). 
The decoder task uses this mailbox to receive data from the 
Valmet protocol driver.

valid entry: Required.
description: Standard FactoryLink tag name of type MAILBOX.
$
VAL_PD_T,NAME,Name Dataset
Unique name for the data set. The name is used internally in the 
decoder and protocol driver for activating a data fetch from 
the external device. A dataset is referenced, internally by 
the decoder and the protocol driver, by the name. 
Therefore the specified in this field must be unique. 

valid entry: Required.
description: Standard FactoryLink tag name of type DIGITAL.
$
VAL_PD_T,DATASET,Dataset Tag
Tag name representing a (unique) logical name for a data set. 
The tag is used internally in the decoder and protocol driver for 
activating a data fetch from the external device. A dataset is 
referenced, internally by the decoder and the protocol driver, 
by the tag name. Therefore the tag specified in this 
field must be unique. 

valid entry: Required.
description: Standard FactoryLink tag name of type DIGITAL.
$
VAL_PD_T,SETNAME,Name Set
Unique name for the set that defines the actual contents of 
this data set. This name is used to link to the set 
definition panels. The name is used internally in the protocol driver. 
Therefore the name specified in this field must be unique. 

valid entry: Required.
description: Alphanumeric string of up to 18 characters
$
VAL_PD_D,TABLE_HELP,DeltaLink Valmet Device Definition
DeltaLink Valmet Device definition

The DeltaLink Valmet Device definition panel allows the 
user to specify logical devices for the communication. 
Each logical device uses exclusively a serial 
communication port. Also, it is possible to specify tags 
that enable the programmer to enable/disable reading 
and writing to the physical device.
$
VAL_PD_D,DEVNAME,Device name
Logical name assigned by the user to represent a 
particular communication device.

valid entry: Required.
description: Alphanumeric string of up to 16 characters.
$
VAL_PD_D,COMPOORT,Com Port
The number of the serial port through which the device 
must be accessed. 

valid entry: Required/default: 1
description: Any valid number larger than 1 identifying 
             an existing serial port.
$
VAL_PD_D,RETRIES,Retries
The number of retries that the protocol driver will execute 
when the Valmet computer does not respond or 
responds negatively to a request. 

valid entry: Required/default: 3.
description: Any valid number.
$
VAL_PD_D,TIMEOUT,Time out
The time out value for the protocol driver, specified in seconds. 
The protocol driver will wait for the full response to be 
received from Valmet during the specified number of seconds. 
If there is no (valid) response within the time out 
period the driver will retry. 

valid entry: Required/default: 5.
description: Any valid number larger than 0.
$
VAL_PD_D,STATUS,Status
Real-time database element written to by the Valmet protocol 
driver task to indicate the status of a communication command. 
The status element can be referenced by any task to 
handle communication error situations. For a detailed list 
of communication errors see Appendix B.

valid entry: Optional.
description: Standard FactoryLink tag name of type ANALOG.
$
VAL_PD_D,REDEFINE,Redefine tables
Real-time database element forced to ON by the user to trigger a 
rebuild of the set definitions in the Valmet computer. 
The rebuild is performed in case the database element has the value 
ON and the change flags are ON. 
Used in case the Valmet computer has powered on or has 
lost the definitions downloaded by the driver through some other cause. 

valid entry: Optional.
description: Standard FactoryLink tag name of type DIGITAL.
$
VAL_PD_D,RDISABLE,Read disable
Real-time digital database element used to enable/disable 
read commands for the lo-gi-cal device.  
Read commands are enabled in case there is no tag defined, 
or the status of the digital tag is OFF. Read commands are 
disabled if the status of the tag is ON.

valid entry: Optional.
description: Standard FactoryLink tag name of type DIGITAL.
$
VAL_PD_D,WDISABLE,Write disable
Currently not used field.
$
VAL_PD_X,TABLE_HELP,DeltaLink Valmet Decoder Definition
DeltaLink Valmet Decoder definition

The  DeltaLink Valmet decoder definition panel allows 
the user to specify one or more decoder(s). 
Every Mailbox Tag specifies a different decoder. 
Only one Mailbox Tag, for every decoder, is needed for 
full performance of MCI. 
$
VAL_PD_X,SNDMBX,Decoder|Mailbox Tag
Tag name of a decoder mailbox element, to be 
referenced by the Valmet protocol driver task 
(N.B. MCI must be supported by the decoder task). The 
decoder task uses this mailbox to receive data 
from the Valmet protocol driver.

valid entry: Required.
description: Standard FactoryLink tag name of type MAILBOX.
$
VAL_PD_X,NRMBX,Max MSG
The maximum number of requests for the protocol driver, which can 
be queued in the Mailbox Tag. Recommended is a value of 100 
messages. The number of messages is limited by the size of an 
integer value (9999), and practically by the amount of available 
memory. The memory needed for a request depends on the 
size of the configured datasets.

valid entry: Required/default: 100.
description: 1 .. 9999.
$
VAL_PD_X,SNDMBX,Description
Description of the decoder mailbox element defined by the developer.

valid entry: Output only.
$
VAL_PD_M,TABLE_HELP,DeltaLink Valmet Mailbox Definition
DeltaLink Valmet Mailbox definition

The DeltaLink Valmet mailbox table is used to specify
the mailbox used by the decoder for communication
with the driver.
$
VAL_PD_M,RCVMBX,Protocol Driver|Mailbox Tag
Tag name of the Valmet protocol mailbox element that the developer 
defines, to be referenced by a decoder task (N.B. MCI must be 
supported by the decoder task). The decoder task uses this 
mailbox to send requests to the Valmet protocol driver.

valid entry: Required.
description: Standard FactoryLink tag name of type MAILBOX.
$
VAL_PD_M,RCVMBX,Description
Description of the Valmet protocol mailbox 
element defined by the developer.

valid entry: Output only.
$
