Hill, Fixedwordarea set_member service – GE Industrial Solutions OKCV3000CN DeviceNet User Manual

Page 22

Advertising
background image

GEl-100343

From server to client:

Client

<-

Server

00,98,0004,OOle,0000..0003

where:

00 is the destination MACID

98 is the code of “Get_Member” service response

0004 is the number of members to be read

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

0000....0003 are the words read

4.2.1.4. FixedWordArea Set_Member service

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

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

From client to server:

Client

->

Server

01,19,64,01,04,OOle,0000

where:

01 is the destination MACID

19 is the code of “Set_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

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

0000 is the value to be written

From server to client:

Client

<-

Server

00,99

where:

00 is the destination MACID

99 is the code of “Set_Member” service response

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

From client to server:

Client

->

Server

O1,19,64,01,04,801e,01,0004,0000..0003

where:

01 is the destination MACID

19 is the code of “Set_Member” service request

64 is the class to which the service is addressed

01 is the instance to which the service is addressed

Hill

HOW TO CONFIGURE WITH DEVICENET

Advertising