![background image](http://html.mh-extra.com/html/omron/sysmac-3g8f7-clk12-ev1/sysmac-3g8f7-clk12-ev1_operation-manual_1633421112.webp)
92
Introduction
Section 6-1
6-1
Introduction
A message service is a command/response system used for data transmis-
sion between nodes on a network, i.e., computer to computer, PC to com-
puter, or computer to PC. The message service can also be used to control
operations, such as mode changes. The message service is implemented by
executing from the user program the library functions for sending or receiving
messages.
6-1-1
Message Service Specifications
Communications from an computer are executed according to the specifica-
tions shown in the following table.
6-1-2
Message Service Functions
FINS commands can be sent to specified nodes and FINS responses can be
received by executing C library functions from the user program to send and
receive messages.
Note
Using
ClkSendFins or ClkRecvFins
to send the “MEMORY AREA READ” and
“MEMORY AREA WRITE” FINS commands for PCs is equivalent to execut-
ing the SEND and RECV ladder-diagram instructions.
Item
Specifications
Direction of transmission
1:1
Message transmission or reception
1:N
Message transmission (broadcast)
Data length
2,012 bytes max. (including FINS header)
Data content
Any command/response data can be sent or received.
Depends on the message being sent.
Functions
Features
Sending Messages
ClkSendFins
library func-
tion
(See note.)
This library function and driver call send command/response data.
Can be issued with respect to any Units at a PC, or to the Support Board or user
program at a computer.
Mainly used for sending FINS commands and responses. The FINS commands
and responses enable various types of control, and allow the status to be read.
Fixed-format data is prepared by the program and sent by executing
clksend
.
No special program is required at the receiving end if FINS commands and
responses supported by the receiving Unit are used.
When sending data to the computer with a user program, a program that can pro-
cess the received data is required.
When a response to a command is returned, a program for reading and analyzing
the response is required.
Receiving Messages
ClkRecvFins
library func-
tion
These library functions and driver call receive command/response data.
Data received by the Controller Link Support Board is read.
Mainly used for receiving FINS commands and responses. The FINS commands
and responses enable various types of control, and allow the status to be read.
Data is received by executing
clkrecv
, and it is analyzed by the program according
to a fixed format.
A program is required for analyzing the data that is received.
A program is required for preparing and sending responses when commands
requesting responses are received.
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: ......