![Omron SYSMAC 3G8F7-CLK12-E Скачать руководство пользователя страница 72](http://html1.mh-extra.com/html/omron/sysmac-3g8f7-clk12-e/sysmac-3g8f7-clk12-e_operation-manual_1633420072.webp)
4-2
Section
Structure Descriptions
56
4-2
Structure Descriptions
4-2-1 CLKHEADER/*PCLKHEADER Structure
This structure stores heading information for a FINS message. It is used by
ClkSendFins() and ClkRecvFins().
Type
Variable name
Contents
BYTE
ByIcfBits
FINS header ICF
Set the following for the FINS message: Command/response and
response needed/not needed.
0x80 (128) Command requiring response
0x81 (129) Command not requiring response
0xC0 (192) or 0xC1 (193): Response
BYTE
byNetAddr
Source/destination network address
For ClkSendFins(), set the destination network address.
For ClkRecvFins(), the network address of the source of the FINS
message is stored.
BYTE
byNodeAddr
Source/destination node address
For ClkSendFins(), set the destination node address.
For ClkRecvFins(), the node address of the source of the FINS message is
stored.
BYTE
byUnitAddr
Source/destination unit address
For ClkSendFins(), set the destination unit address.
For ClkRecvFins(), the unit address of the source of the FINS message is
stored.
INT
nSid
Service ID
Any value can be set to identify the FINS message.
For ClkRecvFins(), the SID of the received FINS message is stored.
4-2-2 EMCLKADDRESS/*PEMCLKADDRESS Structure
This structure stores heading information for a FINS message. It is used by
ClkWriteDatalink() and ClkReadDatalink().
Type
Variable name
Contents
LPCTSTR
lpszMemName
Area type
Specify the text string for the event memory area type set for the data link
area.
BYTE
dwWordOffset
Number of offset words
Set the number of words to offset from the beginning of the event memory
area specified with IpszType.
The areas and ranges that can be accessed can be changed using FinsGateway
event memory settings. The default areas and ranges are listed in the following
table.
Area
Designation
Range
CIO Area
CIO
0 to 32767
DM Area
DM
0 to 32767
Содержание SYSMAC 3G8F7-CLK12-E
Страница 2: ......
Страница 4: ......
Страница 6: ......
Страница 10: ......
Страница 16: ......
Страница 30: ...1 2 Section Specifications and Configurations 14 1 2 5 Dimensions Wired Model 3G8F7 CLK21 E Unit mm ...
Страница 36: ......
Страница 56: ......
Страница 62: ......
Страница 78: ......
Страница 94: ......
Страница 128: ......
Страница 140: ......
Страница 158: ......