Fixedwordarea get member service – GE Industrial Solutions OKCV3000CN DeviceNet User Manual

Page 21

Advertising
background image

DeviceNet

From server to client:

Client

Server

00,90

where:

00 is the destination MACID

90 is the code of “Set_AttributeSingle” service response

4.2.1.3. FixedWordArea Get Member service

With this service it is possible to read one or more words of the FixedWordArea.

Following is an encoding example for the protocol to read one word:

From client to server:

Client

->

Server

01,18,64,01,04,OOle

where:

01 is the destination MACID

18 is the code of “Get_Member” service request

64

is the class to which the service is addressed

01 is the instance to which the service is addressed

04 is the attribute to which the service is addressed

001e is the index of the word to read (first FWA word: index 0001)

From server to client:

Client

Server

00,98,OOle,0000

where:

00 is the destination MACID

OOle is the index of the word to read (first FWA word: index 0001)

98

is the code

of “Get_Member” service response

0000 is the word read

Following is an encoding example for the protocol to read two or more consecutive words:

From client to server:

Client

->

Server

01,18,64,01,04,801e,01,0004

where:

01 is the destination MACID

18 is the code of “Get_Member” service request

64 is the class to which the service is addressed

01 is the instance to which the service is addressed

04 is the attribute to which the service is addressed

801e is the index of the word to read (to be ANDed with 7fff) (first FWA word: index 0001)

01 is the Extended Protocol ID

0004 is the number of words to be read

EPA

HOW TO CONFIGURE WITH DEVICENET

Advertising