FOCUS Software Engineering is now part of proconX Modbus protocol stack and library   
Main  
FieldTalk Modbus   
Overview  
Documentation  
Evaluation  
Testimonials  
Platforms   
Windows  
Linux  
QNX  
Commercial Unix  
Java  
Delphi  
Product Details   
Visit our Webstore   
Features  
Requirements  
Licensing  
Support Plans  
Documentation   
General Description  
Module Description  
Class Hierarchy  
Modbus Background  
Examples  
Integration  
  

Installation and Source Code Compilation

Windows Systems: Unpacking and Compiling the Source

1. Download and save the zip archive into a project directory.

2. Uncompress the archive using unzip or another zip tool of your choice:

# unzip FT-MBMP-WIN-ALL.2.6.0.zip

The archive will create the following directory structure in your project directory:

        myprj
        |
        +-- fieldtalk
           |
           +-- doc
           +-- include
           +-- src
           +-- samples

3. Compile the library from the source code.

To compile using command line tools, enter the FieldTalk src directory and run the make file.

If you are using Microsoft C++ and nmake:

# cd fieldtalk\src
# nmake

To compile using Visual Studio, open the supplied .sln solution files with Visual Studio 2003 or 2005.

4. The library will be compiled into one of the following sub-directories of your project directory:

Platform Library Directory
Windows 32-bit Visual Studio 2003 or 2005 lib\win\win32\release
Windows CE Visual Studio 2005 lib\wce\[platformname]\release

Your directory structure looks now like:

        myprj
        |
        +-- fieldtalk
           |
           +-- doc
           +-- src
           +-- include
           +-- samples
           +-+ lib
             |
             +-- win
             |   |
             |   +-- win32
             |       |
             |       +-- release
             |
             +-- wce
                 |
                 +-- [platformname]
                     |
                     +-- release

5. The library is ready to be used.

Specific Platform Notes

ucLinux

Instead of using the default Linux build script, use the make script with the patform.uclinux configuration file by passing uclinux as parameter:

./make uclinux

You can edit the architecture settings and CPU flags in platform.uclinux to suit your processor.

arm-linux cross tools

Instead of using the default Linux build script, use the make script with the patform.arm-linux configuration file by passing arm-linux as parameter:

./make arm-linux

QNX 4

In order to get proper control over Modebus timing, you have to adjust the system's clock rate. The standard ticksize is not suitable for Modbus RTU and needs to be adjusted. Configure the ticksize to be <= 1 ms.

VxWorks

There is no make file or script supplied for VxWorks because VxWorks applications and libraries are best compiled from the Tornado IDE.

To compile and link your applications against the FieldTalk library, add all the *.c and *.cpp files supplied in the src, src/hmlib/common, src/hmlib/posix4 and src/hmlib/vxworks to your project.


FieldTalk Modbus Master C++ Library
Library version 0.0
   Back | Top of page Info | Support | Contact | About   
Information in this document is subject to change without notice. Copyright © 2000-2014 proconX Pty Ltd (formerly FOCUS Software Engineering Pty Ltd). All rights reserved.
All product and brand names mentioned on this page may be trademarks or registered trademarks of their respective owners.