Professional Documents
Culture Documents
DataLink
applicom®
DataLink 1 08/02/2008
1. Functionality ..................................................................................4
Access to the variables ...........................................................................................4
Maximum number of variables per frame with the library .......................................4
Maximum number of variables per frame with PCDDE ..........................................4
Maximum number of variables per frame with OPC server ....................................5
2. Configuration .................................................................................6
Configuration screen ...............................................................................................6
Slaves configuration ................................................................................................7
5. Appendices ..................................................................................13
List of extra files for this protocol...........................................................................13
Evolution / compatibility.........................................................................................13
DataLink 3 08/02/2008
The physical connection between the applicom® interface and the regulation devices is of
4-conductor RS485 type.
The transmission rate is standard up to 9600 Baud with two extra baud rates of 14400 and 28800
Baud.
Parity and stop bits are user-definable.
Format is of type 8 data bit.
These parameters can be defined using the standard applicom® configurator and at regulation
devices using front panel keys.
DataLink 4 08/02/2008
See also:
¾ In the documentation:
9 Implementation: Topic configuration
The number given for read frames corresponds to the maximum number of points (as imposed by
the server and/or the protocol) which can be grouped together during dynamic optimization of the frames
carried out by the server. However, this number can be reduced to suit a specific item of equipment by
configuring the length of frames in the topic.
See also:
¾ In the documentation:
9 Software Interfaces: OPC server: Optimization of synchronous and asynchronous
requests
9 Implementation: Topic configuration
DataLink 5 08/02/2008
Configuration screen
You must declare the various target slaves for your exchanges.
Parameters Description
Electrical interface The interface module type is determined by the reference of the module installed on
the applicom® interface or on the galvanic isolation option (BX4010, BX4010R).
Module Description
RS232 (2 signals) Means that only the TxD and RxD signals are exploited
(3RS232*, 5RS232*, by the protocol task installed on the channel. RTS,
6RS232) DTR, CTS and DCD signals can be accessed from the
application by using the applicom® library
GETMODEM and SETMODEM functions.
RS232 (6 signals) Means that the protocol task installed at the channel
(3RS232*, 5RS232*, level manages the signals.
6RS232) - TxD and RxD for data transmission and reception.
- RTS, an output signal positioned by the applicom®
interface before each transmission.
- CTS, an input signal, must be active to allow
transmission.
- DCD, an input signal, must be active to validate
reception.
You can position the DTR output signal from the
applicative program by using the applicom® library
SETMODEM function.
You can query the CTS and DCD input signal status
from the application program by using the applicom®
library GETMODEM function.
BC20 mA* Conductive 20 mA current loop. The active or passive
operation is determined by wiring. The active operation
should only be used if BX4010 and BX4010R boxes
are used.
3RS485* 2-wire RS485 link. The line prepolarization as well as
the load resistance are wiring-selectable.
Caution: Wiring is different from modules 3RS485-4
and 5RS485.
3RS485-4* 4-prepolarized wire RS422 / RS485 link. The load
resistance is wiring-selectable.
DataLink 6 08/02/2008
See also:
¾ In the documentation:
9 Hardware installation: Wiring: Output module compatibility
Slaves configuration
For each slave, you must define:
Slave number
Enter a slave number (between 1 and 31). This number will be recognized DataLink master.
Parameters Description
Time-Out This is the maximum time separating transmission of a function by the master and the
slave's response (from 10 to 60000 ms).
A slave will always have a number of specific characteristics, particularly its own
reaction time. This is why you should set a time-out value.
DataLink 7 08/02/2008
DataLink 8 08/02/2008
Wait mode
readpackbit writepackbit
readbyte writebyte
readpackbyte writepackbyte
readword writeword
readdword writedword
readfword writefword
getmodem setmodem
Deferred mode
readdifbit writedifpackbit
readdifbyte writedifpackbyte
readdifword writedifword
readdifdword writedifdword
readdiffword writediffword
testtransdif transdif transdifpack
Cyclic mode
createcyc
startcyc stopcyc actcyc
transcyc transcycpack
DataLink 9 08/02/2008
Presentation
The “items of image variables” are the syntaxes which allow to access to the variables through the
DDE server “pcdde” or the OPC server.
According to the configuration of the equipment, the descriptor is determined by default by the
server. In case of DataLink protocol, the default descriptor is Otic Fischer&Porter (DataLink) descriptor.
You however have the possibility of using another descriptor (in particular the applicom® standard
descriptor) by the means of the advanced options.
See also:
¾ In the documentation:
9 Software Interfaces: DDE / SuiteLink server: Access to image or local variables
9 Software Interfaces: OPC server: Access to image or local variables
Standard descriptor
The standard descriptor can be used for access to the equipments which have not specific
descriptors. The address field of the item name may be 10 digits long. It allows to compose a linear
address from 0 to 4 giga.
DataLink 10 08/02/2008
See also:
¾ In this manual:
9 Maximum number of variables per frame with PCDDE
9 Maximum number of variables per frame with OPC server
9 Access to the variables
This descriptor is the default descriptor determined by the OPC and DDE server.
Remark: The limiting values of the parameters n and l depend on the protocol. However, in case of
PCDDE, they cannot be greater than 128 for bits bytes, 64 for words, 32 for double words and floating
words.
(1) For this syntax, the maximum numbers of variables per frame are:
¾ in read: 70*8
¾ in write: 1
DataLink 11 08/02/2008
DataLink 12 08/02/2008
Evolution / compatibility
The protocol necessitates on applicom® interfaces a version EPROM minimum V2.9.
DataLink 13 08/02/2008
Introduction
The various applicom® functions return a status word that:
¾ Guarantees the request quality.
¾ Diagnose the cause of a failure.
The significance of the status word value is given in the following tables. As well as the general
significance, “Further details” allow you to guide your diagnostic according to the protocol used.
DataLink 14 08/02/2008
255 Used by the “PCDDE” server. Initial value of “STATUS_READ” and “STATUS_WRITE”. This value indicates
that no transaction has been made between “PCDDE” and applicom® interface.
Comments:
Negative function codes are information codes.
DataLink 15 08/02/2008
255 Used by the “PCDDE” server. Initial value of “STATUS_READ” and “STATUS_WRITE”. This value indicates
that no transaction has been made between “PCDDE” and applicom® interface.
Comments:
Negative function codes are information codes.
DataLink 16 08/02/2008
µDCI
Micro DCI
applicom® interface
Communication card, ISA or PCI type, with the applicom® real time multi-task kernel (PC1000,
PC2000, PC4000, PC1500PFB,...)
Bauds
Bits per second
BX4010
4 channels distribution box, with galvanic insulation
BX4010R
4 channels rack distribution box, with galvanic insulation
Channel
Physical output of an applicom® card
Client
Node which has communication initiative
CRC
Cyclic Redundancy Check
CTS
Clear To Send
DCD
Data Carrier Detect
DTR
Data Terminal Ready
Item
Defines an element
OPC
Ole for Process Control
PCDDE
applicom® DDE server
PROM
Read only memory on applicom® interfaces which contains programs
EPROM
Read only memory on applicom® interfaces which contains programs
RTS
Request To Send
DataLink 17 08/02/2008
TxD
Transmit signal
DataLink 18 08/02/2008