6-2
Section
FINS Command/Response Format
81
6-2
FINS Command/Response Format
This section explains the format of the FINS commands and responses speci-
fied by the “clksend” library function.
When actually sending or receiving message service data, the contents speci-
fied by the library function parameters are attached as a header. When the mes-
sage service is used, however, there is normally no need to pay special attention
to headers.
6-2-1 Headers
Although parameters are used to designate the source, the destination, and oth-
er required information, there are some cases where a header must be manually
added before the command code. Refer to the operation manuals for individual
systems to determine if a header is required. The header format described be-
low is attached before the command code and the other parameters described
for individual commands in the rest of this manual.
Command Data Structure
00
02
ICF RSV GCT DNA DA1
DA2 SNA SA1 SA2
SID
Header
Command
code
Text
Response Data Structure
00
02
ICF RSV GCT DNA DA1
DA2 SNA SA1 SA2
SID
Header
Command
code
Text
Response
code
Details
ICF
Information control field. Individual bits of the ICF are used as follows:
1
0
0
0
0
0
7
6
5
4
3
2
1
0
Bit
Set to 0.
Data type (0: command; 1: response)
Response setting (0: response required;
1: response not required)
Gateway usage (0: don’t use; 1: use); set to 1.
Note All settings below are shown in hexadecimal except where otherwise indicated.
RSV
Reserved. Set to 00.
GCT
Gateway count. Set to 02.
DNA
Destination network address. Specify within the following ranges.
00:
Local network
01 to 7F: Remote network (1 to 127 decimal)
DA1
Destination node number. Specify within the following ranges.
01 to 3E: Node number in Controller Link network (1 to 62 decimal)
01 to 7E: Node number in SYSMAC NET network (1 to 126 decimal)
01 to 3E: Node number in SYSMAC LINK network (1 to 62 decimal)
FF:
Broadcast transmission