background image

Fieldbus Specific Mailbox Commands   

3-2

Set the Virtual Field Device Object (SET_VFD_OBJECT)

The Virtual Field Device Object can be altered to show other manufacturer, device name and revision 
strings than the ones that are shown by default. The strings should be entered in Pascal notation, i.e. the 
length of the string (no. of characters) should be placed first in the string. Each of the strings has a length 
of 16 characters (out of which one determines the length of the string).

Command and response layout:

Parameter

Description

Command initiator

Application

Command Name

SET_VFD_OBJECT

Message type

02h

Command number

0002h

Fragmented

No

Extended Header data

-

Command data

Length and characters of the strings (Length byte itself not included in the size.)

Response data

The message data contains the requested length and values of the strings. If the 
SET_VFD_OBJECT mailbox message is wrong, see error code. If error code Fh is dis-
played, see Extended word 8 for details:
0001h - No PCP words.
0002h - String set to be longer than 15 bytes.

Command

Expected response

Message ID

(ID)

(ID)

Message information

4002h

0002h

Command

0002h

0002h

Data size

0030h

0030h

Frame count

0001h

0001h

Frame number

0001h

0001h

Offset high

0000h

0000h

Offset low

0000h

0000h

Extended word 1

-

-

Extended word 2

-

-

Extended word 3

-

-

Extended word 4

-

-

Extended word 5

-

-

Extended word 6

-

-

Extended word 7

-

-

Extended word 8

-

Fault information

Message data byte 1

Manufacturer name length

Manufacturer name length

Length in bytes

Message data byte 2

First character

First character

Message data byte 3

Second character

Second character

..

..

Message data byte 17

Device name length

Device name length

Length in bytes

Message data byte 18

First character

First character

Message data byte 19

Second character

Second character

..

..

Message data byte 33

Revision name length

Revision name length

Length in bytes

Message data byte 34

First character

First character

Message data byte 35

Second character

Second character

Summary of Contents for Anybus-S Interbus

Page 1: ...dustrial Networks Mailing address Box 4126 300 04 Halmstad Sweden Visiting address Stationsgatan 37 Halmstad Sweden Connecting DevicesTM E mail info hms networks com Web www anybus com Fieldbus Append...

Page 2: ......

Page 3: ...Chapter 3 Fieldbus Specific Mailbox Commands Alter amounts of PCP words SET_PCP_WORDS 3 1 Set the Virtual Field Device Object SET_VFD_OBJECT 3 2 Set Start Index SET_START_INDEX 3 3 Set PCP Object SET...

Page 4: ...Table of Contents II Appendix D Electrical Characteristics Supply Voltage D 1 Power Consumption D 1 PE Grounding D 1 Appendix E Calculating the PCP Transmission Time...

Page 5: ...cations of this product Those responsible for the use of this device must ensure that all the necessary steps have been taken to verify that the application meets all performance and safe ty requireme...

Page 6: ...uential steps Bulleted lists provide information not procedural steps The term module is used when referring to the Anybus module The term application is used when referring to the hardware that is co...

Page 7: ...cn support hms networks com Phone 86 0 10 8532 3183 Phone 86 0 10 8532 3023 Fax 86 0 10 8532 3209 Fax 86 0 10 8532 3209 Online www anybus cn Online www anybus cn HMS Italy E mail it sales hms network...

Page 8: ...hrough a somewhat slower protocol called PCP which is mainly used for configuration purposes The module supports up to 10 words of data on the bus out of which up to four words can be used for PCP Fea...

Page 9: ...bit s and 500kbit s operation To select the desired baud rate just move the jumper cap to the corresponding loca tion see figure on the right Note The baud rate must be selected before power on i e it...

Page 10: ...ation of the module Consult the general Anybus S Parallel Design Guide for more infor mation The layout of the default PCP objects are arrays of 32 bytes Unsigned 8 with no password or group protectio...

Page 11: ...The message data contains the requested PCP length If the SET_PCP_WORDS mailbox message is wrong see error code If error code Fh is displayed see Extended word 8 for details 0001h Non valid value 0 1...

Page 12: ...is wrong see error code If error code Fh is dis played see Extended word 8 for details 0001h No PCP words 0002h String set to be longer than 15 bytes Command Expected response Message ID ID ID Messag...

Page 13: ...r Description Command initiator Application Command Name SET_START_INDEX Message type 02h Command number 0003h Fragmented No Extended Header data Command data Start index Response data The message dat...

Page 14: ...l Parameter Description Command initiator Application Command Name SET_PCP_OBJECT Message type 02h Command number 0004h Fragmented No Extended Header data Command data Contains information about the P...

Page 15: ...1 Start index Start index High byte Message data byte 2 Start index Start index Low byte Message data byte 3 Index type Index type Message data byte 4 Password Password Message data byte 5 Access grou...

Page 16: ...ts for the object PR Password read access PW Password write access GR Group read access GW Group write access AR All read access AW All write access Example To allow all to read the parameter but only...

Page 17: ...05h Fragmented No Extended Header data Command data PDU lengths Receive and Transmit is related to the Anybus S node Response data PDU lengths If error code Fh is returned please see the Extended word...

Page 18: ...parameter channel 1 PCP word Any function code except 0 can be set but the module codes specified above are recommended An incorrect value will be indicated with fault information Invalid Other 0001h...

Page 19: ...og counter error is a non recoverable error the module must be reset in order to clear it ModAck Counter 650h RO If a serious fault has been reported by the application via the StatErr Indication regi...

Page 20: ...cation The circuit board is designed according to the Anybus S specification Consult the general Anybus S Parallel Design Guide for more information 6 4 12 2mm 0 75 6 12 1 50 16 22 13 7 15 8 12 6 6 3...

Page 21: ...5 NC 6 DO1 Inverted data output 7 DI1 Inverted data input 8 NC 9 NC Pin Signal Description 1 DO1 Inverted data output 2 DO1 Non inverted data output 3 DI1 Inverted data input 4 DI1 Non inverted data...

Page 22: ...al ground 6 DO2 Inverted data output 7 DI2 Inverted data input 8 NC 9 NC Pin Signal Description 1 PE Protective Earth 2 DO2 Inverted data output 3 DO2 Non inverted data output 4 DI2 Inverted data inpu...

Page 23: ...ing to IEC 68 2 1 and IEC 68 2 2 Relative Humidity The product is designed for a relative humidity of 5 to 95 non condensing Test performed according to IEC 68 2 30 EMC compliance Emission According t...

Page 24: ...regulated 5V DC power supply For more information regarding power requirements consult the Anybus S Parallel Design Guide Power Consumption The maximum total power consumption for bus and electronics...

Page 25: ...e an integer division Example The following example uses the above formula to calculate the PCP transmission time for a Write service Write Request Read Response OD 7 bytes for one write request OD 4...

Page 26: ......

Reviews: