Structure Descriptions; Clkheader/*Pclkheader Structure; Emclkaddress/*Pemclkaddress Structure - Omron SYSMAC 3G8F7-CLK13-E Operation Manual

Controller link support boards for pci bus
Table of Contents

Advertisement

Structure Descriptions

4-2

Structure Descriptions

4-2-1

CLKHEADER/*PCLKHEADER Structure

Type
Variable name
BYTE
ByIcfBits
BYTE
byNetAddr
BYTE
byNodeAddr
BYTE
byUnitAddr
INT
nSid
4-2-2

EMCLKADDRESS/*PEMCLKADDRESS Structure

Type
Variable name
LPCTSTR
lpszMemName
DWORD
dwWordOffset
64
This structure stores heading information for a FINS message. It is used by
ClkSendFins() and ClkRecvFins().
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
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.
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.
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.
Service ID
Any value can be set to identify the FINS message.
For ClkRecvFins(), the SID of the received FINS message is stored.
This structure stores heading information for a FINS message. It is used by
ClkWriteDatalink() and ClkReadDatalink().
Area type
Specify the text string for the event memory area type set for the data link
area.
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 FinsGate-
way event memory settings. The default areas and ranges are listed in the fol-
lowing table.
Area
CIO Area
DM Area
Contents
Contents
Designation
CIO
DM
Section 4-2
Range
0 to 32767
0 to 32767

Advertisement

Table of Contents
loading

Table of Contents