Communication Protocol DeviceNet™ Interface for Bayard-Alpert Pirani Gauge BPG402-SD tira46e1 (2004-11) 1
Intended Use of this Document This Communication protocol contains instructions for operating the vacuum gauges BPG402-SD (featuring DeviceNet interfaces) as slave together with a DeviceNet master. This manual describes the functionality of DeviceNet for programming purposes. For more information refer to the "DeviceNet specifications" of the Open DeviceNet Vendor Association (ODVA) (→ [2]) and the corresponding European standard (→ [3]).
Contents tira46e1 (2004-11) BPG402-SDv1.cp Intended Use of this Document DeviceNet Interface Abbreviations Trademarks 2 2 2 2 1 Starting-Up of the Slave 1.1 Power Supply Requirements 1.2 Front View of the BPG402-SD 1.3 Connectors on the Device 1.4 Side View of the BPG402-SD 1.5 Indicators and Switches 1.5.1 Module Status LED 1.5.2 Network Status LED 1.5.3 Filament Status LED 1.5.3 Node Address Switch 1.5.4 Data Rate Switch 1.5.5 Setpoint 4 4 4 5 6 6 6 6 7 7 7 7 2 Object Structure 2.
1 Starting-Up of the Slave 1.1 Power Supply Requirements The BPG402-SD has to be powered with two voltages: 1. 2. 24 VDC, 18 W at the 15 pole Sub-D connector for the gauge itself; 24 VDC nominal, <2 W range (+11 … +25 V) at the DeviceNet micro style connector for the DeviceNet transceiver. 1.
1.3 Connectors on the Device The BPG402-SD uses a "Sealed Micro-Style Connector" for the DeviceNet connection. The DeviceNet part of the gauge is powered via the DeviceNet connector. Pin Assignment of the Sealed Micro-Style Connector 4 3 5 1 Pin Assignment of the 15-pin D-Sub connector 15 (2004-11) BPG402-SDv1.
1.4 Side View of the BPG402-SD 8 9 10 Position Function 8 Potentiometer for Setpoint A threshold adjustment 9 Potentiometer for Setpoint B threshold adjustment 10 Fullscale adjustment push button 1.5 Indicators and Switches 1.5.1 Module Status LED 1.5.2 Network Status LED Device State LED State Description Power Off dark No power applied to device. Device Self-Test flashing green-Red Device is in self-test. Device Operational green Device is operating normally.
1.5.3 Filament Status LED The status of the dual filament hot cathode is indicated by a LED on top of the gauge. Filament status – Both filaments ok One filament broken Both filaments broken Emission Status LED off on on on dark green green, flashing red 1.5.4 Node Address Switch During device initialization, the node address switches are read by the device firmware. If the switches specify a valid DeviceNet MAC ID, i.e. a value from 0 … 63, this value is used as the device MAC ID.
2 Object Structure 2.1 Connection Object Class Code 05h = 05d The connection class allocates and manages the internal resources associated with both I/O and explicit messaging connections. The specific instance generated by the connection class is referred to as a connection instance or a connection object. The following instances of the connection object are supported: • Instance 1: Explicit Messaging • Instance 2: I/O-Polling Please refer to the DeviceNet specification for further information. 2.1.
2.2 Identity Object Class Code 01h = 01d 2.2.1 Class Attributes This object provides identification of and general information about the device. Attribute ID Access Rule Name DeviceNet Description of Attribute Data Type Semantics of Values 1 Get Revision UINT Revision of this object. Note: All class definitions are required to include this class attribute. The current value assigned to this attribute is one (01).
2.3.2 Instance Attributes Attribute ID 10 Access Rule NV/ Name V DeviceNet Data Type Description of Attribute 3 Get NV DeviceType SHORT STRING ASCII Text, "CG" combination gauge 4 Get NV SEMI Standard Revision Level SHORT STRING Specifies the revision level of the SEMI S/A network standard to which the device complies ( "E54-0997").
Attribute ID Access Rule NV/ Name V 14 Get V DeviceNet Data Type Description of Attribute Exception Detail Warning STRUCT of: A structure of three structures containing a bit mapped representation of the warning detail Common Exception Detail STRUCT of: Size 2 USINT Number of Common Detail Bytes Detail 0 ARRAY of: → "Semantics" section below. Detail 1 BYTE → "Semantics" section below.
Exception Status Bit Map Function 0 ALARM/device-common (The alarm or warning is not specific to the device type or device type manufacturer.) 1 ALARM/device-specific 2 ALARM/manufacturer-specific 3 reserved, set to 0 4 WARNING/device-common 5 WARNING/device-specific 6 WARNING/manufacturer-specific 7 1 Expanded Method Exception Detail Alarm and Exception Detail Warning The formats of these two attributes are identical.
Common Exception Detail Format Summary Data Component Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Common Exception Detail Size 0 0 0 0 0 0 1 0 Common Exception Detail 0 0 0 0 Data Memory Nonvolatile Memory Code Memory 0 0 Common Exception Detail 1 0 0 0 0 PS Input Voltage 0 0 0 tira46e1 (2004-11) Device Exception Detail This structure, similar in form to Common Exception Detail, relates exception conditions which are specific to individual devices on the network an
Device Exception Detail Alarms and Manufacturer Exception Detail Alarms Format Data Component Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Device Exception Detail Alarm Size 0 0 0 0 0 1 0 0 Device Exception Detail Alarm 0 Pirani 0 0 0 0 0 0 0 0 Device Exception Detail Alarm 1 Pirani 0 0 0 0 0 0 Electronics Failure 0 Device Exception Detail Alarm 2 Hot cathode 0 0 0 0 0 0 Filament 2 Failure Filament 1 Failure Device Exception Detail Alarm 3 Hot cathode 0 0 0
2.3.
2.3.
Active Value Assemblies or connections may produce this class-level attribute, instead of the Value (Attribute ID 6) of the active S-Analog Sensor instance. The S-Analog Sensor class-level attribute Active Instance Number identifies the object instance that is currently active and providing the Value to the Active Value class-level attribute which is, in turn, produced by the input assemblies that have Active Value as a member.
Attribute ID Access Rule NV/ Name V DeviceNet Data Type Description of Attribute 26 Set NV Safe Value INT or specified by Data Type The Value to be → "Semantics" section below. used for Safe State [default] = 0 = Safe Value 32 Get NV Overrange INT or specified by Data Type Specifies the highest valid Value The value above which attribute Reading Valid is set to invalid.
Safe State This attribute specifies what value will be held in Value for states other than Executing. The purpose of this mechanism is to allow other devices, who may be using this Value to transition to (or remain in) a safe state in the event of this device transitioning to a FAULT, IDLE, or ABORT state.
2.4.2.3 Instance Attributes of Instance 2 Hot Cathode Ion Gauge Attribute ID Access Rule 3 Set/Cond. → below 4 NV Data Units ENGUNITS → "Semantics" 20 NV/ V Name Following is the Instance 2 with the subclass extension of the hot cathode ion gauge part of the BPG402-SD. This instance is used to provide control and status information for the hot cathode ion gauge part of the BPG402-SD.
Attribute ID Access Rule NV/ V Name DeviceNet Data Type Description of Attribute Semantics of Values 96 Get V Status Extension BYTE Bit mapped byte providing additional status bits Bit description: 0 Reading Invalid (Logical Inversion of Reading Valid) 1 Overrange Exceeded 2 Underrange Exceeded 99 Get NV Subclass UINT Identifies the subset of additional attributes, services and behaviors for hot cathode ion gauges 5 Hot Cathode Ion Gauge 100 Get V State Emission User Mode USINT Re
Sensor Warning Data Component Sensor Warning Byte 0 Sensor Warning Byte 1 16 Bits are used as sensor warnings. Bit 8 … Bit 16 are mapped to the Exception Detail Warning 5, Bit 0 … Bit 7 are mapped to the Exception Detail Warning 4. Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 0 0 0 0 0 0 Filament 2 Warning Filament 2 Warning 0 0 0 0 Pressure too high for degas 0 0 0 The bit "Pressure too high for degas" will be set if the pressure is above 7.
Status A bit mapped byte which indicates the Alarm and Warning Exception status of the object instance.
2.4.3 Common Services The S-Analog Sensor Object provides the following Common Services: Service Service Name Code 2.4.4 Object-Specific Services on Instance 1 / Pirani Description of Service 0Eh Get_Attribute_Single Returns the contents of the specified attribute. 10h Set_Attribute_Single Modifies an attribute value.
2.4.5 Object-Specific Services on Instance 2 / Hot Cathode Ion Gauge 2.4.5.1 Set Degas State Service Code 61h Set Degas State Request Service Data Field parameters Service Name Description of Service Set Degas State Activates/deactivates degas mode according to the parameter Degas State. Degas mode may be terminated either automatically by device timeout (3 min) or remotely by this service.
2.4.5.3 Emission User Mode Set Degas State Service Data Field Service Code Service Name Description of Service 32hex Set Emission User Mode Automatic The Emission is switched on and off by the Pirani automatically.
3 I/O Assembly Object Class Code 04h A collection of assembly objects allows the sending of attributes from different application objects in one message (i.e. Polling I/O). 3.1 I/O Assembly Instances tira46e1 (2004-11) BPG402-SDv1.cp The following table identifies the I/O assembly instances supported by the gauge device.
3.2 I/O Assembly Object Instance Data Attribute Format In order to maintain consistency, this device type will only allow connections to either INT or REAL based Assembly instances (→ Data Type definition 18). Once a valid connection is established, attempts to configure connections to a different type of Assembly instance will return an error.
Appendix A: Range of Values B: Specific Codes C: Conversion of a Floating Number According to IEEE 754 Integer int –32767 … 32768 Unsigned integer uint Float float 0 … 65535 according IEEE 754 Manufacturer product code 12 = BPG402-SD General Number received AA BB CC DDh 1. Reverse the sequence of the HEX words 2.
Example Number received 00 00 CA 42h 1. Convert sequence of the HEX words 2. Separate into bytes 42h CAh 00h 00h 0100 0010b 1 1 0 0 1010b 0000 0000b 0000 0000b Sign 3. Calculate (4-Byte, floating format) 8-Bit exponent 23-Bit mantissa 0 1000 0101b 100 1010 0000 0000 0000 0000b Ø Ø Ø -10 ⎛ 100 1010 0000 0000 0000 0000 ⎞ b⎟ 1+ ⎜⎜ ⎟⎟ 23 ⎜ 2 ⎝ ⎠ ⎛ 4849664 d ⎞ ⎟ ⎝ 8388608 d ⎠ = 1+ ⎜ Ø Ø Sign = Exponent = Mantissa = 1 133 1.
Example of the principal allocation process Master MAC ID....0 Allocation choice: Explicit, Poll, bit strobe, COS Slave address: 2 Allocated instances may not be valid for the BPG402-SD ⇒ Allocation String: Slave’s explicit/unconnected response message: 416 413 00 4B 03 01 57 00 00 CB 00 Within the first allocation message the explicit connection has to be established. The I/O connections bit strobe and COS/Cyclic are not supported by the BPG402-SD.
Setting of assemblies If you want to set the number of the chosen assembly, you have to set the attributes 14 and 16 in the corresponding instance of the connection object. To set this value, the connection has to be allocated, but the EPR attribute has not to be set to any value. Examples Read a configured assembly (addresses as specified above) Get single request: ID Message Body 414 00 0E 05 02 0E get produced connection path (Request for input assembly by master).
E: tira46e1 Literature (2004-11) BPG402-SDv1.cp [1] www.inficon.com Product descriptions and downloads INFICON AG, LI–9496 Balzers, Liechtenstein [2] www.odva.org Open DeviceNet Vendor Association, Inc. DeviceNet™ Specifications [3] European Standard for DeviceNet EN 50325 [4] www.inficon.com Operating Instructions BPG402-S, BPG402-SD, BPG402-SP tina46e1 INFICON AG, LI–9496 Balzers, Liechtenstein [5] www.inficon.
Notes 34 tira46e1 (2004-11) BPG402-SDv1.
Notes tira46e1 (2004-11) BPG402-SDv1.
LI–9496 Balzers Liechtenstein Tel +423 / 388 3111 Fax +423 / 388 3700 reachus@inficon.com t i r a46e1 www.inficon.