HW Functionality
HW Functionality
HW Functionality
applicom®
Functionality 1 08/02/2008
2. Use constraints..............................................................................7
Compatibility of configurations ................................................................................7
Compatibility of applicom software versions / applicom interfaces.........................8
User rights agreement for the applicom® program.................................................9
Functionality 3 08/02/2008
The applicom® product is designed for applications on PC computers, such as MMI, supervisor,
process control system, MES, RDBMS, specific development, requiring communication with PLCs
and I/O peripherals connected to local area networks.
The applicom® product is available under the Microsoft environments Windows XP, Windows
2003 server and Windows Vista.
The function of the applicom® concept is to allow the users to develop their applications without
worrying about the difficulties related to field network protocols and the performance that depends
on the frequency and the amount of data exchanged.
Performance is guaranteed by the quality of exchange management on the applicom® coprocessor
interfaces each of which is equipped with the applicom® real time multi-task kernel.
Reference Type
For Serial Networks
PCI1000 PCI bus, 1 Serial channel
PCI2000 PCI bus, 2 Serial channels
PCI4000 PCI bus, 4 Serial channels
For Ethernet Networks
PCI2000ETH PCI bus, 1 Ethernet channel 10/100 Mb + 1 Serial channel
For Profibus Networks
PCI1500PFB PCI bus, 1 Profibus channel 1.5 Mb
PCI1500S7 PCI bus, 1 Profibus S7 channel 1.5 Mb
PCI2000PFB PCI bus, 1 Profibus channel 12 Mb + 1 Serial channel
CPCI1000PFB CompactPCI bus, 1 Profibus channel 12 Mb
For Modbus Plus Networks
PCI2000MBP PCI bus, 1 Modbus Plus channel + 1 Serial channel
For WorldFIP Networks
PCI2000FIP PCI bus, 1 WorldFIP channel + 1 Serial channel
Functionality 4 08/02/2008
Protocols Manufacturer
Jbus ,Modbus (serial and TCP/IP), Modbus Plus Schneider Electric
Uni-Telway, Fipway, Ethway, Uni-Te TCP/IP Schneider Electric
3964-3964R, AS511 (prog port), PPI+, MPI Siemens
Industrial Ethernet ISO layer 4 and TCP/IP Siemens
Sucoma Moeller
Sysmac-Way, FINS TCP/IP Omron
Data Link Otic Fischer
Profibus Siemens + EN 50170
DF1 to DH/DH+/DH485, DF1 (prog. port), EtherNet/IP Allen-Bradley
S-Bus Saia-Burgess
SNP-X GE Fanuc
TI-Dir Siemens/TI
SRTP TCP/IP GE Fanuc
SRTP TCP/IP Alstom / Cegelec
Melsec A & Q TCP/IP Mitsubishi
Alnet II TCP/IP Altus
These solutions provide end users, integrators and manufacturers/OEMs a communication solution
which is easy to implement. The applicom® software tools, in fact, include all components required
to produce your industrial projects:
the applicom configuration console to describe the PLCs connected to the network.
the initialization utility PCINIT, available in executable version and in Windows service
version (usable in automatic mode on booting the computer or manual mode).
the management tasks and protocol tasks downloaded on system start-up in the applicom®
interfaces.
the tools used to test and diagnose the network and the equipment.
For the link with your applications, you have standardized application interfaces, irrespective of the
protocol used:
an OPC server, the worldwide industrial standard for data exchange with your supervision
applications.
a DDE/SuiteLink server based on the DDE protocol (standard DDE or FastDDE) or on the
SuiteLink protocol.
A function library, providing access, in your programming language, to the applicom®
concept functionality.
an ActiveX communication check to develop with tools like Visual Basic, Delphi, etc.
Functionality 5 08/02/2008
Functionality 6 08/02/2008
Caution: the present version of the applicom product does not allow:
simultaneous use of the software solution and an applicom hardware interface, irrespective
of the type of this hardware interface.
simultaneous use of the OPC server and the DDE/SuiteLink server.
applicom® product requires a protection key. This is resident on the applicom® physical interface.
Key reference:
CA0105 (general case)
CA0106 in case of use of EtherNet/IP (Allen-Bradley)
CA0107 to be able to run applicom® product on Vista system
CA0108 to be able to run applicom® product on Vista system with the use of EtherNet/IP
(Allen-Bradley)
The applicom® product requires a minimum PROM version on the applicom® interfaces greater
than or equal to V3.2.
Compatibility of configurations
The applicom® product allows to retrieve and convert configurations made from an older applicom
version, with the following exceptions:
Configurations had to be created with an applicom version >=3.6
ISA cards and PCI2000IBS are now not supported. As a consequence, if the older
configuration includes few of these cards, they will be automatically deleted from the
configuration when opening the console (as well as all others card having a upper card
number)
Functionality 7 08/02/2008
If you use this applicom® software version with an applicom® interface delivered with an anterior
software version, you have to verify:
The compatibility of the applicom® interface EPROM version as compared to the version of
the applicom® software.
The compatibility of the applicom® interface EPROM version as compared to protocols
used (see the protocol manuals, chapter ‘Evolution / Compatibility’).
The compatibility of the applicom® interface protection key with your operating system.
Functionality 8 08/02/2008
The use of an APPLICOM product requires the purchase of an exploitation license which is
obligatory.
The acquisition of this license can be obtained either through:
a single station license (to be used on a single computer)
or a station license ( to be used on a non-limited number of computers)
The HOLDER of the license is the owner of the magnetic or other media on which the software
is recorded initially or subsequently. However, the license is granted under the express
condition that applicom international retains title to the program recorded on the original media
and to all copies which may be made of that program subsequently, whatever the form and
whatever the nature of the medium of said original and copies. A license is not a contract for
sale of the original program or of any copy of it.
Where an applicom® product is used without a protocol supplied by applicom international,
that product may be used without benefit of a license.
Multistation license
It gives you the right to use an applicom® product on several computers which only use the
protocol(s) and the operating system(s) mentioned on the multilicense contract.
The licensee will have the right to purchase additional cards he will be able to use with copies
of the software only for and on one site specified on the multistation license.
One copy of the software is provided with each card.
The multistation contract(agreement) is subject to the standard terms and conditions offered by
applicom international.
NUMBERING OF LICENSES:
Single workstation license:
The number of the applicom® card used with the program is the reference number. This
number will be requested in all cases by our After Sales Service department before any
assistance is given.
Functionality 9 08/02/2008
RESTRICTIONS ON REPRODUCTION:
This program is protected by copyright. Any unauthorized reproduction of the program,
including modification, integration or inclusion of that same program in other software may be
carried out only for backup or filing purposes. The HOLDER is permitted to copy the program
only if it is included or integrated into other software developed by the user organization
holding the appropriate license for the application concerned. Distribution of copies of the
program to third parties is strictly prohibited. The HOLDER may be open to legal proceedings
for any breach of copyright caused or incited by its failure to observe the terms and conditions
of the present license. The copyright warning must be reproduced and included in all copies.
Functionality 10 08/02/2008
There are two principal modes for using the applicom product depending on the type of protocol
used and the type of application for which applicom interfaces are used.
Client mode
In this type of operation, the applicom software initiates exchanges to or from the connected
equipment. Regardless of the type of application (specific development, OPC,…), it is responsible
for acquiring process data from the equipment at the desired rate.
Depending on the protocol selected, the applicom product offers client mode, server mode or both
at the same time. Refer to the documentation of your protocol.
Functionality 11 08/02/2008
Client mode provides your application with easy access to data located in the PLCs.
In this type of operation, the applicom software initiates exchanges to or from the connected
equipment. The application is responsible for acquiring process data from the equipment at the
desired rate
In client mode, the applicom interfaces offer several possibilities for accessing data (synchronous,
asynchronous, cyclic,…). Depending on the type of client application, there are certain levels of
knowledge of these different mechanisms:
If your application uses one of the data servers integrated in the applicom offer (OPC
server, DDE/SuiteLink server), these modules are entirely responsible for the
communication and optimization of transactions with applicom interfaces. Your application
simply references the different variables to access via “image variables” type topics, each
topic symbolizing one piece of remote equipment.
If your application is built around a specific development using the applicom library, it can
be used to process all data access possibilities. In this case, detailed knowledge of usable
mechanisms is necessary, in particular:
Wait mode (synchronous)
Deferred mode (asynchronous)
Cyclic mode (cyclic asynchronous)
Comments:
In the past, many suppliers of supervision application packages developed drivers for
access to applicom interfaces. If one of these packages is used, the communications driver
supplied by the software publisher optimizes communication with applicom interfaces. Even
so, the use of these drivers is increasingly restricted to the benefit of OPC and
DDE/SuiteLink servers integrated in the applicom product
Applicom offers applicom ActiveX Control communication for clients who want to carry out
a specific development rapidly but want to benefit from the optimization mechanisms
integrated in the OPC server. This leads to very rapid deployment of OPC client
applications (graphic configuration of variables, generation of Visual Basic code,…) in
Visual Basic, Delphi and Visual C++ environments.
Functionality 12 08/02/2008
When this type of function is run, the program will wait until:
The function is transferred to the protocol task of the aimed channel.
The formatting related to the protocol is done and transmission is performed on the cable.
The target equipment response is received and processed.
Formatting is done and variables are returned, accompanied by the exchange status.
This mode has the advantage of making the application evolve synchronously with respect to the
change in variable status in the destination equipment as well as the exchange status. This mode
also provides the widest range of functions.
It has the disadvantage, however, that if a large quantity of data must be retrieved or if the
application requires significant processing time, execution is slowed down.
Functionality 13 08/02/2008
When functions are run in deferred mode, your applicative program will only wait:
Until the request is transferred to the deferred function manager.
It will then be able to continue; at the same time the deferred function manager will run the function
and store its result. The program can search for the result later at its own rhythm in this manager.
The advantage of this operating mode is that the applicative program is not blocked while data are
retrieved. On the other hand, it allows asynchronous operation between the evolution of the
variables and its processing by the program.
Important notes:
Functionality 14 08/02/2008
Functionality 15 08/02/2008
These cyclic functions can be permanent, or activated/ activated once time/deactivated selectively
either
Via the cyclic mode functions included in the library (STARTCYC, ACTCYC, STOPCYC, ..)
Via cyclic function topics (DDE/SuiteLink and OPC).
Via command flags located in the interface data base (usable by programs and by DDE
and OPC servers)
The frequency of these functions can be configured, either in chained mode, or at a defined period
(modulo 100 milliseconds). The function period will only be respected if the exchange execution
time is less than the period. The maximum number of cyclic functions is 255 per channel.
Functionality 16 08/02/2008
Functionality 17 08/02/2008
If TRANSCYC (or TRANSCYCPACK) is used for a function that has never been
activated, status 35 will be returned and no data transferred. Equally, this status can be
returned if you carry out a TRANSCYC although the first execution of this function is not
completed (attempt to transfer data before it has been read in the equipment).
If TRANSCYC is used for a function that is no longer active, status -6 will be returned with
the data.
Functionality 18 08/02/2008
Functionality 19 08/02/2008
The slave or server mode makes available to the master or external client a database, made of 32
kbits and 32 kwords. The master or external client can access this database freely exactly as it
accesses any other equipment.
In this type of operation, the master or external client initiates exchanges toward the applicom
database.
Phases 1, 2, 3 and 4 are fully managed by the interface and require no call to server library
functions.
Note: This type of configuration can also be used to access variables retrieved by cyclic functions
configured on other interface channels (exchange marked A, B and C on the diagram).
In server mode, data is retrieved by the application in the applicom interface database
Functionality 20 08/02/2008
The database is an internal data area of the applicom interface that can be used in different
contexts:
Access variables deposited by master or external client equipment. If a protocol with server
functions is used, this data area is accessible directly by the remote equipment.
Provide variables in the form of bits, words,.. to master or external client equipment
Access variables captured by cyclic read functions configured on master or client channels.
If necessary, this mode can be combined with conventional use of the OPC server. It is
thus possible to configure your own cyclic exchanges via the cyclic function configuration
utility and retrieve the data in the database using a local variable type topic.
Position variables in equipment by cyclic write functions configured in the master or client
channels. This is a very interesting possibility for sending voluminous record files. Writing is
performed in the database (very rapid) and then a pre-configured cyclic write function is
triggered. In this case, only one transaction is carried out on the network.
As a storage area, it is also a possible means of sharing data among several applications
(library, OPC clients,…).
On multichannel applicom boards, enable the creation of simple gateways from one
protocol to another by using the database, e.g. configuration of a cyclic read function to
retrieve data on the first channel and configuration of a cyclic write function returning the
data to equipment on the second communication channel.
Depending on the type of client application, data is retrieved in the database of the applicom
interface by the application as follows:
If your application uses one of the data servers integrated in the applicom product (OPC
server, DDE/SuiteLink server), all communication and optimization of transactions with
applicom interfaces is handled by these modules. Your application simply references the
different variables to access using “local variables” type topics, each topic symbolizing one
database of one applicom interface.
If your application is built around a specific development using the applicom library, it is
possible to
Use direct access functions to database data (getword,…)
Or use the events FIFO associated with the database.
Note: The library functions that access the interface database are available only in wait mode (the
response is immediate since accesses remain local).
Functionality 21 08/02/2008
DATABASE
32 kbits
Address Function
Decimal Hexadecimal
0 0000
1 0001
2 .
. . Available
. . bit area
. .
. .
31 998 7CFE
31 999 7CFF
32 000 7D00
. . Reserved by
. . applicom®
32765 7FFD
32766 7FFE Logging FIFO reset
This bit in monostable.
32767 7FFF Indicates that the logging FIFO is full. In
this case, the oldest loggings are lost.
This bit must be zeroed.
Functionality 22 08/02/2008
Bytes
The bytes are stored in the word area (two bytes per word), from offset 25 000 (with respect to the
word addressing).
Words
There is direct mapping between the address to be entered to access a word and the true address
in the database.
Functionality 23 08/02/2008
The clock and the calendar are automatically initialized to the computer values when initializing the
applicom interfaces.
Functionality 24 08/02/2008
Example 1:
Writing the value 44 in a byte at address 0.
Reading the same value in a word at address 25000.
Example 2:
Writing the value 32000 in a double word at address 25000.
Reading the same value in a 16-bit word at address 25000.
Functionality 25 08/02/2008
Functionality 26 08/02/2008
They enable you to start, stop, or activate only once the targeted cyclic function. You must use this
method with triggered write functions (transmission of local variables to a remote device).
The formula to find the command flag address is:
32200 + channel number * 128 + function number
The formula to find the status word address is:
32100 + channel number * 128 + function number
Channel Cyclic Function “Status Word” address area in “Command Flag” address area in
number number word area database bit area database
0 1 to 128 32101 to 32228 32201 to 32328
1 1 to 128 32229 to 32356 32329 to 32456
2 1 to 128 32357 to 32484 32457 to 32584
3 1 to 128 32485 to 32612 32585 to 32712
Example:
The Command flag and Status word addresses of function number 2 of channel 3 are:
bit address = 32200 + 3 * 128 + 2 = 32586
word address = 32100 + 3 * 128 + 2 = 32486
By setting to 1 the command flag bit corresponding to the required cyclic function, the Server will
set the function in the status defined by the value of the status word:
status word = 0:Exceptional activation of the cyclic function (only once).
status word = 1:start the cyclic function.
status word = 2:stop the cyclic function.
Functionality 27 08/02/2008
Address Function
32 700 Lower limit of bit area 0 lock
32 701 Upper limit of bit area 0 lock
32 702 Type of lock on bit area 0
32 703 User free bit
32 704 to 32 707 Parameters, bit area 1
32 708 to 32 711 Parameters, bit area 2
32 712 to 32 715 Parameters, bit area 3
32 716 to 32 719 Parameters, bit area 4
32 720 to 32 723 Parameters, bit area 5
32 724 to 32 727 Parameters, bit area 6
32 728 to 32 731 Parameters, bit area 7
Address Function
32 732 Lower limit of word area 0 lock
32 733 Upper limit of word area 0 lock
32 734 Type of lock on word area 0
32 735 User free word
32 736 to 32 739 Parameters, word area 1
32 740 to 32 743 Parameters, word area 2
32 744 to 32 747 Parameters, word area 3
32 748 to 32 751 Parameters, word area 4
32 752 to 32 755 Parameters, word area 5
32 756 to 32 759 Parameters, word area 6
32 760 to 32 763 Parameters, word area 7
Lock type:
0: No protection
1: Read protected
2: Write protected
3: Read and write protected
When the user program places a lock (SETWORD), none of the communication channels has
further access to the locked data.
Functionality 28 08/02/2008
When the upper and lower limits are already positioned, simply write in the Lock type word to
permit, or not, access to this area.
A lock block can protect another block or itself. A lock can therefore be placed with the certainty
that other equipment cannot remove it.
Functionality 29 08/02/2008
2-signal RS232:
The 2-signal option means that the protocol task installed at the channel level only manages TxD
and RxD for the data transmission and reception.
You can position your RTS and DTR check signals from the applicative program by
using function SETMODEM (nchan, rts, dtr, status), or by OPC/DDE with the
RTS_DTR item.
You can query CTS and DCD check signals from the applicative program by using
function GETMODEM(nchan, cts, dcd, status), or by OPC/DDE with the CTS and
DCD items.
This configuration allows the use of FULL DUPLEX modems on leased lines (LL) or switching
network (STN).
6-signal RS232:
The 6-signal option means that the protocol task installed at the channel level manages the
following signals:
TxD et RxD for data transmission and reception.
RTS, output signal positioned by the applicom® interface before each
transmission.
CTS, input signal positioned by the modem, must be active to allow the
transmission.
DCD, input signal positioned by the modem, must be active to allow the reception.
The DCD can be connected to any incoming signal from the modem, for example
the DSR.
You can position the DTR check signal from the applicative program by using function
SETMODEM( nchan, rts, dtr, status) or by OPC/DDE with the RTS_DTR item. The RTS signal
status is unimportant since it will be positioned automatically.
You can query the CTS and DCD check signals from the applicative program by using function
GETMODEM(nchan, cts, dcd, status) or by OPC/DDE with the CTS or DCD items.
This configuration allows the use of HALF DUPLEX modems on leased lines (LL) or switching
network (STN).
Functionality 30 08/02/2008
Functionality 31 08/02/2008
Functionality 32 08/02/2008
On an event, the slave drives the modem with a discrete output or with the DTR signal.
Functionality 33 08/02/2008
Alarm feedback on the Masters initiative towards the applicom® interface configured as slave.
Functionality 34 08/02/2008