|Info | Support | Contact | About|
Installation and Source Code Compilation
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:
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.
Instead of using the default Linux build script, use the make script with the patform.uclinux configuration file by passing uclinux as parameter:
You can edit the architecture settings and CPU flags in platform.uclinux to suit your processor.
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:
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.
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-2015 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.