Basic Flow - Omron SYSMAC 3G8F7-CLK12-E Operation Manual

Controller link support boards for pci bus
Table of Contents

Advertisement

Basic Flow

3-1
Basic Flow
3-1-1 Data Link Procedure
42
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 (W388) before proceeding.
The basic procedure for using data links is outlined in the following flowchart.
Writing data
link tables
Initialization
Sending/receiv-
ing data link data
Ending
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 func-
tion.
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 re-
sources.
• Information on using the C library: 3-2 Using the C Library
• Details on C library functions: Section 4 C Language Function Reference
• Support Software: Controller Link Support Software Operation Manual
(W369)
Data link tables not yet written
(no DATALINK.DAT file)
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.)
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.
Section
START
Data link tables
already written
The network participation
status and data link oper-
ating status can be read
using the ClkGetNetwork-
Status function.
3-1

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac 3g8f7-clk52-eSysmac 3g8f7-clk21-e

Table of Contents