Using The C Library - Omron SYSMAC 3G8F7-CLK12-E Operation Manual

Controller link support boards for pci bus
Table of Contents

Advertisement

Using the C Library

3-2
Using the C Library
Functions
Function name
ClkOpen
ClkClose
ClkSendFins
ClkRecvFins
ClkWriteDatalink
ClkReadDatalink
ClkGetNetworkStatus
ClkGetRingStatus
ClkSetMessageOnArrival
ClkSetThreadMessageOnArrival
ClkClearMessageOnArrival
ClkGetLastError
44
The Microsoft Visual C++ library functions for the Controller Link Support Board
are provided in the following file.
Fine name
CLK_LIB.LIB
Microsoft Visual C++ Ver. 6.0 (Service Pack 3) import
library file
The library contains the following functions.
Name
Board Open
Board Close
FINS Message Send
FINS Message Receive
Data Link Data Write
Data Link Data Read
Network Status Read
Optical Ring Status Read
FINS Message Reception
Notification Registration to
Window
FINS Message Reception
Notification Registration to
Thread
FINS Message Reception
Notification Clear
Detailed Error Information
Acquire
Contents
Function
Opens the application interface and gets
a CLK handle.
Closes the application interface and
releases the CLK handle.
Sends a FINS message.
Receives a FINS message.
Writes data to a data link area.
Reads data from a data link area.
Reads the network status.
Reads the optical ring status.
Makes settings to notify the specified
window with a Windows message when
a FINS message is received.
Makes settings to notify the specified
thread with a Windows message when a
FINS message is received.
Clears windows message notification
when a FINS message is received.
Gets an error code generated when a
CLK library function is used.
Section
3-2
Page
48
49
49
49
50
51
51
52
53
53
55
55

Advertisement

Table of Contents
loading

This manual is also suitable for:

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

Table of Contents