-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathREADME
65 lines (39 loc) · 1.43 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
Allen Bradley PCCC protocol library and DF1 link layer service.
!!!WARNING!!!
=============
These programs are capable of modifying data within programmable logic
controllers, which can result in equipment damage, personal injury and/or
loss of life. I assume no responsibility for the use of these programs.
Requirements
============
libxml2(for df1d only): http:\\www.xmlsoft.org
doxygen(only for libpccc HTML API docs): http:\\www.doxygen.org
Installation
============
make
become root
make install
This will install the libpccc shared library in /usr/local/lib and the df1d
executable in /usr/local/bin. The pccc.h header file will be installed in
/usr/local/include. These defaults can be changed by editing the Makefiles
as desired.
No configuration file is installed for df1d. Modify the example, df1d.cfg.xml,
and place it where you like.
Using libpccc
=============
Programs will need to #include <pccc.h> and add -lpccc when linking.
libpccc documentation
=====================
HTML documentation is available for the libpccc API.
It can be made as follows:
cd lib
make docs
Point your browser to index.html in the lib/docs directory.
Starting the DF1 link layer service
===================================
df1d <config file>
Running df1d without any configuration file specified will print out detailed
usage.
Contact information
===================
Please report any bugs, comments, suggestions, etc to jvalenzuela@dspfl.com.