50
Basic Flow
Section 3-1
3-1
Basic Flow
This section describes the basic procedural flow in creating the applications
(user programs) necessary to use the Controller Link Support Board data link
function and the message service function. Create the applications according
to the flowcharts in this section.
The following explanations assume that the driver and C library have already
been installed. If they have not been, refer to
Controller Link Support Board
Installation Guide
(W467) before proceeding.
3-1-1
Data Link Procedure
The basic procedure for using data links is outlined in the following flowchart.
Note
1. Repeat the process to read/write data link data as often as required by the
application.
2. Data links can be started and stopped from other nodes, by sending FINS
commands from Support Software, by using PC software switches, or by
sending a FINS command from the application using the ClkSendFins
function.
3. Information on errors that occur in using the C library can be read using the
CkGetLastError function.
For details on various methods for making programs, refer to the following
resources.
• Information on using the C library:
Writing data
link tables
Data link tables not yet written
(no DATALINK.DAT file)
Data link tables
already written
START
Write the data link tables
using the Support Software.
Transfer the data link tables to the
other nodes using the Support
Software. (Data link tables
transferred to the Board will be
recorded in the Board's EEPROM.)
Initialization
Sending/recei
v
-
ing data link data
Ending
Open the application interface using
the ClkOpen function.
Read and write data link data using
the ClkRadDatalink and ClkWrite-
Datalink functions.
Close the application interface using
the ClkClose function.
The network participation
status and data link oper-
ating status can be read
using the ClkGet
N
etwork-
Status function.
Summary of Contents for SYSMAC 3G8F7-CLK12-EV1
Page 2: ......
Page 4: ...iv ...
Page 20: ...xx Conformance to EC Directives 6 ...
Page 48: ...28 Applications Precautions Section 1 4 Example CX Programmer Response Timeout Setting ...
Page 68: ...48 Backup Power Supply Wiring Optical Ring Systems Only Section 2 4 ...
Page 74: ...54 Using the C Library Section 3 2 ...
Page 110: ...90 Changing the Data Link Tables with Active Data Links Section 5 5 ...
Page 187: ......