Interface for Bayard-Alpert / Pirani Gauge
and High Pressure / Pirani Gauge
BPG400-SD
HPG400-SD
tira03e1-b (0310)1
Intended Use
of this Document
This Communication protocol contains instructions for operating the vacuum
gauges BPG400-SD and HPG400-SD (featuring DeviceNet interfaces) as slaves
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]).
For specifications and operation instructions of the vacuum gauges refer to
the appropriate documents:
The following description of the DeviceNet Interface is compliant to the DeviceNet
specification of the Open DeviceNet Vendor Association.
This manual describes the functionality of a DeviceNet Group 2 Only Slave and
supports Explicit Messaging and the I/O Polling.
We reserve the right to make technical changes without prior notice.
Abbr.Meaning
NVNonvolatile; attribute value is maintained through power cycles
VVolatile
INTInteger value(Range –32767 … 32768)
UINTUnsigned integer value(Range 0 … 65635)
USINTUnsigned character value (Range 0 … 255)
FLOATFloating point value(Range according to IEEE 754)
XX
XX
XX
Hexadecimal number(Radix = 16)
h
Decimal number(Radix = 10)
d
Binary number(Radix = 2)
b
Trademarks
2tira03e1-b (0310) BPG/HPG400-SDv1.cp
DeviceNet™ Open DeviceNet Vendor Association Inc.
Contents
Intended Use of this Document2
DeviceNet Interface2
Abbreviations2
Trademarks2
1 Starting-Up of the Slave4
1.1 Power Supply Requirements4
1.2 Front View of the BPG400-SD and HPG400-SD4
1.3 Connectors on the Device5
1.4 Side View of the BPG400-SD and HPG400-SD6
1.5 Indicators and Switches6
1.5.1 Module Status LED6
1.5.2 Network Status LED7
1.5.3 Node Address Switch7
1.5.4 Data Rate Switch7
1.5.5 Setpoint7
2 Object Structure8
2.1 Connection Object8
2.1.1 Vendor-Specific Object Extension on Instance 2 Poll Connection8
2.2 Identity Object9
2.2.1 Class Attributes9
2.2.2 Instance Attributes9
2.3 S-Device Supervisor Object9
2.3.1 Class Attributes9
2.3.2 Instance Attributes10
2.3.2.1 Semantics11
2.3.3 S-Device Supervisor Object States16
2.3.4 S-Device Supervisor Common Services16
2.3.5 S-Device Supervisor Object Specific Services17
2.4 S-Analog Sensor Object17
2.4.1 Class Attributes17
2.4.2 Instance Attributes18
2.4.2.1 Instance Attributes of Instance 1 Pirani Instance18
2.4.2.2 Semantics of S-Analog Sensor Instance 119
2.4.2.3 Instance Attributes of Instance 2 Hot Cathode Ion Gauge21
2.4.2.4 Semantics of S-Analog Sensor Instance 222
2.4.2.5 Instance Attributes of Instance 21 / Setpoint A
(Instance 22 / Setpoint B)23
2.4.3 Common Services24
2.4.4 Object-Specific Services on Instance 1 / Pirani24
2.4.5 Object-Specific Services on Instance 2 / Hot Cathode Ion Gauge
(Only BPG400-SD)25
2.4.6 Behavior25
3 I/O Assembly Object27
3.1 I/O Assembly Instances27
3.2 I/O Assembly Object Instance Data Attribute Format28
Appendix29
A:Range of Values29
B:Specific Codes29
C:Conversion of a Floating Number According to IEEE 75429
D:Typical Start-Up Procedure30
E:Literature33
For cross-references within this document, the symbol (→ XY) is used, for crossreferences to further documents listed under literature, the symbol (→ [Z]).
tira03e1-b (0310) BPG/HPG400-SDv1.cp3
1Starting-Up of the Slave
1.1 Power Supply
Requirements
1.2 Front View of the
BPG400-SD and
HPG400-SD
The BPG400-SD / HPG400-SD has to be powered with two voltages:
1.)24 Volt DC, 18 W at the 15 pole Sub-D connector for the gauge itself;
2.)24 Volt DC nominal, <2 W range 11 … 25 V) at the DeviceNet micro style
connector for the DeviceNet transceiver.
3
2
1
PositionFunction
1Address Switch × 10, decimal
2Address Switch × 1, decimal
3DeviceNet connector
4Data Rate Switch
5Network Status LED
6Module Status LED
7"Sensor cable" connector
(Power, analog I/O, RS232C I/O
and Relay contacts)
5
4
6
7
4tira03e1-b (0310) BPG/HPG400-SDv1.cp
1.3 Connectors on the
Device
The BPG400-SD / HPG400-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
Pin Assignment of the 15-pin
D-Sub connector
PinFunction
4
5
1
3
2
1Drain
2
V+ nominal 24 V (range 11 … 25 V)
3V–
4CAN_H
5CAN_L
PinFunction
15
8
1Setpoint A, Relay Common
2Pressure Output (Signal Output 0 … +10 V)
3Threshold Setpoint A (Output 0 … +10 V)
9
1
4Setpoint A, Relay, n.o. contact
5Supply sensor electronics common
6Threshold Setpoint B (Output 0 … +10 V)
7Degas Input , High Active (only BPG400-SD)
8Supply sensor electronics +24 Volt
9Setpoint B, Relay Common
10Gauge identification
11Setpoint B, Relay, n.o. contact
12Signal common GND
13RS232, TxD
14RS232, RxD
15Housing, shielding, GND
tira03e1-b (0310) BPG/HPG400-SDv1.cp5
1.4 Side View of the
BPG400-SD and
HPG400-SD
BPG400-SD
HPG400-SD
11
12
1.5 Indicators and Switches
1.5.1 Module Status LED
8
9
10
PositionFunction
8Potentiometer for Setpoint A threshold
9Potentiometer for Setpoint B threshold
10Fullscale adjustment push button
11
12Hot cathode sensor calibration adjustment (only
Device StateLED StateDescription
Power OffDarkNo power applied to device.
Device Self-TestFlashing
Device Operational GreenDevice is operating normally.
Unrecoverable
Fault
Emission On threshold adjustment (marked P↔HP,
only HPG400-SD)
HPG400-SD)
Green-Red
RedDevice has detected an unrecoverable fault.
8
9
10
Device is in self-test.
As stated previously, all module level faults
are considered as unrecoverable faults.
6tira03e1-b (0310) BPG/HPG400-SDv1.cp
1.5.2 Network Status LED
1.5.3Node Address
Switch
1.5.4Data Rate Switch
1.5.5Setpoint
The network status LED indicates the status of the DeviceNet communication link.
For this stateLED state To indicate
Not Powered/Not OnlineDarkDevice is not online.
• The device has not completed the
Duplicate MAC_ID test yet.
• The device may not be powered,
look at Module Status LED.
On–line, Not Connected Flashing
green
Device is online but has no connections
in the established state.
• The device has passed the
Dup_MAC_ID test, is online, but
has no established connections to
other nodes.
• The device is not allocated to a
master.
Link OK Online, Connected Green The device is online and has connec-
tions in the established state.
• The device is allocated to a Master.
Connection Time Out Flashing
red
One or more I/O Connections are in the
timed out state.
Critical Link Failure Red Failed communication device. The
device has detected an error that has
rendered it incapable of communicating
on the network (Duplicate MAC ID, or
Bus–off).
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. If the specified MAC ID differs
from the value stored in the device’s non-volatile RAM (NVRAM), the new MAC ID
will be saved in NVRAM. If the switches specify an invalid DeviceNet MAC ID, i.e. a
value greater than 63, the current value stored in the device’s NVRAM is used as
the device MAC ID.
A single, rotary switch is provided for configuring the data rate of the device. The
switch has three valid positions for the DeviceNet data rates, 125, 250, and
500 kbaud, where the position 1 is equal to 125 kbaud, 2 equal 250 kbaud and 5
equal 500 kbaud. All remaining switch positions specify software selection of the
data rate.
The device has two setpoint relays (Setpoint A and Setpoint B). The setpoints of
these relays are adjustable only by two potentiometers (marked SETPOINT A and
SETPOINT B).
The relay contacts are available at the 15-pin D-Sub connector.
tira03e1-b (0310) BPG/HPG400-SDv1.cp7
2Object Structure
2.1 Connection Object
Class Code 05h = 05
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.1 Vendor-Specific Object
Extension on Instance 2
Poll Connection
AttributeIDRequirement in
Implementation
100OptionalGet/Set NV Poll Produce
Access
Rule
NV/V Name DeviceNet
For the selection of the active input assembly the following vendor specific attribute
can be used.
Vendor specific extension:
Assembly
Instance
d
Description of AttributeSemantics
Data Type
USINTContains the Instance num-
ber of the assembly used by
this connection to send data
1, 2, 4, 5, 8, 9, 10, 12, 13
This vendor-specific attribute facilitates the configuration of the data assembly, sent
by the BPG400-SD / HPG400-SD to the DeviceNet Master as Poll response. It
offers the possibility to select a (predefined) data assembly via a configuration
tool + EDS file → [1]. Attribute 100 allows the user to configure the Poll I/O Data
Assembly via EDS even when the Poll Connection of the BPG400-SD /
HPG400-SD is in the established state. The Assembly Number is stored non
volatile. Modifications of the Poll Produce Assembly Instance will take effect only
after a reset of the BPG400-SD / HPG400-SD.
Thus, definition of the BPG400-SD / HPG400-SD data assembly can be done in
two ways:
1) Standard methode (without using attribute 100):
The DeviceNet Master configures the "Produced Connection Path” Attribute of
the Poll connection (Connection Instance 2) when establishing communication
to the BPG400-SD / HPG400-SD. This requires a Master to support expanded
explicit messaging capabilities.
2) Directly setting Attribute 100 e.g. by a configuration tool
(e.g. RS Networks) + Device Reset.
8tira03e1-b (0310) BPG/HPG400-SDv1.cp
2.2 Identity Object
Class Code 01h = 01
d
2.2.1 Class Attributes
Attribute IDAccess RuleNameDeviceNet
1GetRevisionUINTRevision of this object.
2GetMax InstanceUINTMaximum instance number of
This object provides identification of and general information about the device.
Description of AttributeSemantics of Values
Data Type
The current value assigned to this
Note: All class definitions are
required to include this class
attribute.
an object currently created in
this class level of the device.
attribute is one (01). If updates that
require an increase in this value are
made, then the value of this attribute
increases by one.
The largest Instance number of a
created object at this class hierarchy
level.
2.2.2 Instance Attributes
Attribute IDAccess RuleNV/VNameDeviceNet Data Type Description of Attribute
This attribute represents the current state of the device. Its value changes as the
state of the device changes. The following values are defined:
Attribute ValueState
0Undefined
1Self Testing
2Idle
3Self-Test Exception
4Executing
5Abort
6Critical Fault
In case of a Self-Test Exception restart the device with a reset out of the box
(Identity Object Class 1, Instance 1, Service 5, Service target value: 1).
Exception Status
A single byte attribute whose value indicates the status of the alarms and warnings
for the device. The device supports the Expanded Mode.
For the Expanded Mode, bit seven of Exception Status attribute is set to one;
exceptions are reported through the communication of this Exception Status attribute, formatted as specified in the table below. In addition, the Exception Detail
attributes are supported. The Exception Status bits are determined by a logical
”OR” of the related Exception Detail bits, as indicated.
Exception Status Bit Map
Exception Detail Alarm and
Exception Detail Warning
BitFunction
0ALARM/device-common
(The alarm or warning is not specific to the device type or device type
manufacturer.)
1ALARM/device-specific
2ALARM/manufacturer-specific
3reserved, set to 0
4WARNING/device-common
5WARNING/device-specific
6WARNING/manufacturer-specific
7
1 Expanded Method
The formats of these two attributes are identical. Therefore, they are described
together:
Attributes that relate the detailed status of the alarms or warnings associated with
the device. Each attribute is a structure containing three members; these three
members, respectively relate the detailed status of exceptions that are common
(i.e., not device-specific), device-specific but not manufacturer-specific, and
manufacturer-specific. The common and device-specific detail are defined below. A
manufacturer-specific detail has a length of 1 byte. A SIZE value of one indicates
that one byte detail is defined for the associated exception detail structure.
Each of the three structure members is defined as a structure containing an ordered list (i.e., array) of bytes of length SIZE, and an unsigned integer whose value
is SIZE. Each of the bytes in each array has a specific mapping. This mapping is
formatted as 8 bits representing 8 independent conditions, whereas a value of 1
indicates that the condition is set (or present), and a value of 0 indicates that the
condition is cleared (or not present). Note that if a device does not support an
exception detail, the corresponding bit is never set. The bitmaps for alarms and
warnings in the corresponding attributes are structured in parallel so that a condition may have either alarm or warning set depending on severity. If a condition
inherently cannot be both alarm and warning, then the parallel bit position corresponding to the other state will remain "0".
Common Exception Detail
12tira03e1-b (0310) BPG/HPG400-SDv1.cp
This structure relates exception conditions (i.e., alarms or warnings) which are
common to all devices within the Hierarchy of Semiconductor Equipment Devices.
The Detail element of the structure is an ordered list (i.e., array) of bytes of length
[SIZE=2] which is the value of the structure element Size. For each byte in the
Detail field, all bits which are not identified are reserved for future standardization.
Two bytes Common Exception Detail are provided: Common Exception Detail[0]
and Common Exception Detail[1]. The specific exception associated with each of
the bitmaps is given in the table below. The SIZE for this revision is two (2).
Data ComponentBit 7Bit 6Bit 5Bit 4Bit 3Bit 2Bit 1Bit 0
Common Exception Detail
Size
Common Exception Detail 0
Common Exception Detail 1
00000010
0
0000
0
0
Data
Memory
Nonvolatile
Memory
PS Input
Voltage
Code
Memory
000
00
Device Exception Detail
Manufacturer Exception
Detail
This structure, similar in form to Common Exception Detail, relates exception conditions which are specific to individual devices on the network and are defined in
the following. The Detail element of the structure is an ordered list (i.e. array) of
bytes of length [SIZE = 4 for Alarms and SIZE = 6 for Warning] which is the value
of the structure element size.
This structure, similar in form to Common Exception Detail, relates exception conditions which are specific to the manufacturers of individual devices on the network.
There is one byte manufacturer exception details defined. The Detail element of the
structure is an ordered list (i.e., array) of bytes of length [SIZE = 1] which is the
value of the structure element Size.
tira03e1-b (0310) BPG/HPG400-SDv1.cp13
Device Exception Detail
Alarms and Manufacturer
Exception Detail Alarms
Format
Data ComponentBit 7Bit 6Bit 5Bit 4Bit 3Bit 2Bit 1Bit 0
Device Exception Detail
Alarm Size
Device Exception Detail
Alarm 0 Pirani
Device Exception Detail
Alarm 1 Pirani
Device Exception Detail
Alarm 2 Hot cathode
Device Exception Detail
Alarm 3 Hot cathode
Manufacturer Exception
Detail Alarm Size
Manufacturer Exception
Detail Alarm
00000100
00000000
000000
00000000
000000
00000001
0000000serial comm.
Electronics
Failure
Electronics
Failure
0
0
Exception Detail Warning
Data ComponentBit 7Bit 6Bit 5Bit 4Bit 3Bit 2Bit 1Bit 0
Device Exception
Detail Warning Size
Device Exception
Detail Warning 0
Pirani
Device Exception
Detail Warning 1
00000110
00000Underrange
Exceeded
00000000
Overrange
Exceeded
Reading
Invalid *)
Pirani
Device Exception
Detail Warning 2
Pirani
Device Exception
Detail Warning 3
Hot cathode
Device Exception
Detail Warning 4
000000Electronics
00000Underrange
Exceeded
00000000
Warning
Overrange
Exceeded
0
Reading
Invalid *)
Hot cathode
Device Exception
Detail Warning 5
Hot cathode
Manufacturer Exception Detail Warning
0000
00000001
Pressure too
high for
degas
000
Size
Manufacturer Exception Detail Warning
0000000
serial comm.
Warning
*) Logical inversion of Reading Valid.
Alarm Enable and Warning
Enable
These Boolean attributes are used to enable (1) or disable (0) the S-Device Supervisor object’s process of setting Exception bits. When disabled, corresponding bits
are never set; and, if they were set, disabling clears them. Also, alarm and warning
states are not retained; when enabled, bits will be set only if the corresponding
condition is true.
The default state for these Enable attributes is enabled (1).
14tira03e1-b (0310) BPG/HPG400-SDv1.cp
Sensitivity
(Only HPG400-SD)
This attribute contains the position of the hot cathode sensor calibration switch
(→ 6).
Emission On Threshold
(Only HPG400-SD)
This attribute contains the position of the Emission On threshold switch (→ 6).
Depending on the value of the data type attribute, this attribute is INT or REAL
value.
Position of the
"Emission On"
Switch (P↔HP)
Emission on
threshold
[mBar]
Emission on
threshold
[Torr]
Emission on
threshold
[Pa]
Emission on
threshold
[Counts]
0 or 110.7500616810028333.2625
2 or 30.53.75031×10
4 or 50.21.50012×10
6 or 70.17.50062×10
8 or 90.053.75031×10
-1
-1
-2
-2
5028132.57634
2027867.2837
1027666.5975
527465.9113
tira03e1-b (0310) BPG/HPG400-SDv1.cp15
2.3.3 S-Device Supervisor
Object States
Power Applied, or
Reset Request from any state except CRITICAL FAULT, or
Perform Diagnostics Request from any state except CRITICAL FAULT or ABORT
Self-Test Failed
SELF-TEST
EXCEPTION
Self-Test
Passed
SELF-TESTING
Recover Request or
Exception Condition
Cleared
Abort Request
Abort Request
2.3.4 S-Device Supervisor
Common Services
ABORT
CRITICAL FAULT
Critical Fault
from any state
Stop
Request
IDLE
EXECUTING
Recover Request
Start
Request
Abort Request
Abort - Used to transition the device application objects to the aborted state. This
service request may be (and generally will) originated internally, from application
objects.
Recover - Used to transition the device application objects, out of the abort state,
to the idle state. This service request may be originated internally, from application
objects.
Perform_Diagnostics - Used to instruct the DS object to perform a diagnostic test.
Service
Service NameDescription of Service
Code
0E
h
Get_Attributes_SingleReturns the contents of the specified
attribute.
10
05
06
07
h
h
h
h
Set_Attributes_SingleModifies an attribute value.
Reset
Resets the device to the Self-Testing state.
StartStarts the device execution.
Stop
Moves the device to the Idle state.
The device transitions from the IDLE state to the EXECUTING state by a
START Request (Service Code 06
) or by the receipt of the first valid I/O
h
data!
You will not get any valid measurement values from the device until this
service has been requested or the I/O-poll message has been received.
16tira03e1-b (0310) BPG/HPG400-SDv1.cp
2.3.5 S-Device Supervisor
Object Specific Services
Service
Code
4B
h
4C
h
4D
h
Service NameDescription of Service
Abort
Recover
Moves the device to the Abort state
Moves the device out of the Abort state
Perform_DiagnosticsCauses the device to perform a set of diag-
nostic routines
Explanation to Service code
4D
h
• DS Object Service Parameter dictionary
Parameter Form Description
TestID USINT Type and possibly detail of diagnostic test to be
performed
• TestID parameter
The following values are defined for the TestID parameter for the
Perform_Diagnostics Service Request:
Attribute ValueState
0Standard
Type "Standard" is specified if there is only one type of diagnostic defined or if
there are more than one including a type standard.
2.4 S-Analog Sensor Object
Class Code 31
= 49
h
d
2.4.1 Class Attributes
Attribute IDAccess
Rule
1GetRevisionUINTRevision of this object Note: All class definitions
2GetMax
94GetActive
95GetActive
96GetNumber of
99GetSubclassUINTIdentifies a subset of additional class attributes,
NameDeviceNet
Data Type
UINTMaximum instance number of an object currently
Instance
Specified
Value
by Data
Type
UINTIdentifies the object instance that is providing the
Instance
Number
USINTIdentifies the number of gauge instances present in
Gauges
Description of AttributeSemantics of Values
are required to include this class attribute.
created in this class level of the device.
Is used by assemblies to produce this class-level
attribute, instead of the Value (Attribute ID 6) of the
S-Analog Sensor Instances.
Value which is copied into the Active Value for all
input Assemblies and the Alarm/Warning Exception
Details for the S-Device Supervisor object.
→ Behavior section.
the device.
services and behaviors.
The current value
assigned to this attribute is one (01).
The largest Instance
number of a created
object at this class
hierarchy level.
Default = 1
2
1 Instance Selector
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.
tira03e1-b (0310) BPG/HPG400-SDv1.cp17
Active Instance Number
The device internally modifies this attribute, as required, to identify the S-Analog
Sensor object instance providing the Value member which is copied into the Active
Value for all Input Assemblies and the Alarm/Warning Exception Details for the
S-Device Supervisor object.
The Active Instance Number will be modified based upon the Active Value in order
that the best gauge, corresponding to a given S-Analog Sensor instance, will be
active for the given measurement range.
Number of Gauges
2.4.2 Instance Attributes
This attribute is used to determine the size of all Input Assemblies within a node.
Three S-Analog Sensor Instances (Instance 1, Instance 2, Instance 21 and Instance 22) are available. Instance 1 represents the physical sensor reading of the
heat transfer vacuum gauge (pressure), Instance 2 represents the physical sensor
reading of the hot cathode ion gauge (pressure).
Instance 21 and Instance 22 represent the value of the Setpoint A and Setpoint B.
2.4.2.1 Instance Attributes of
Instance 1
Pirani Instance
AttributeIDAccess RuleNV/VNameDeviceNet Data
3Set /Cond.
→ below
NV Data TypeUSINTDetermines the
Following is the Instance 1 with the subclass extension of the heat transfer vac-uum gauge (pirani gauge) part of the BPG400-SD. This instance is used to provide control and status information for the Pirani gauge part of the BPG400-SD.
Description of
Type
Attribute
Data Type of Value
and all related
attributes as specified in this table.
4Set
→ below
NV Data UnitsUINTDetermines the
Units context of
Value and all related attributes.
5GetVReading ValidBOOLIndicates that the
Value attribute
contains a valid
value.
6GetVValueINT or specified
Analog input valueThe corrected, converted, cali-
by Data Type
7GetVStatusBYTEAlarm and Warning
State of this object
instance
10GetNV Full ScaleINT or specified
by Data Type
The Value of Full
Scale for the sensor.
25SetNV Safe StateUSINTSpecifies the be-
havior for the Value
for states other
than Execute
0 = invalid
1 = valid
(invalid: e.g., not warmed up
yet)
brated final value of the sensor.
→ "Semantics" section below.
Always zero, because Alarm
and Warning Trip Points are not
implemented
The value of attribute Value
corresponding to the Full Scale
calibrated measurement of the
sensor.
[default] = maximum allowable
value for the Data Type
→ "Semantics" section below.
[default] = 0
→ "Semantics" section below.
[default] = 0
The value above which attribute
Reading Valid is set to invalid.
[default] = maximum allowable
value for the Data Type
18tira03e1-b (0310) BPG/HPG400-SDv1.cp
AttributeIDAccess RuleNV/VNameDeviceNet Data
Type
33GetNV UnderrangeINT or specified
by Data Type
Description of
Attribute
Specifies the
lowest valid Value
94GetVSensor WarningStruct of ByteBit definitions of
Sensor Warnings
95GetVSensor AlarmStruct of ByteBit definitions of
Sensor Alarms
96GetVStatus ExtensionBYTEBit-mapped byte
providing additional
status bits
99GetNV SubclassUINTDefines a subset of
additional attributes, services and
behaviors.
2.4.2.2 Semantics of S-Analog
Sensor Instance 1
Semantics of Values
The value below which attribute
Reading Valid is set to invalid.
[default] = minimum allowable
value for the Data Type
0 = [default]
→ "Semantics" section
0 = [default]
→ "Semantics" section
Bit description:
0 Reading Invalid
(Logical Inversion of
Reading Valid)
1 Overrange Exceeded
2 Underrange Exceeded
02 = Heat Transfer Vacuum
Gauge
Data Type
Data Unit
Value
All Data Type attributes use the enumerated values integer or float.
→ Appendix A
The Data Type value will be set automatically based upon the first valid I/O connection established by the device.
If no established I/O connections exist, which include an attribute from this object,
then the Data Type attribute is settable provided that the object is in the Idle State.
Note: Using data type integer in combination with a pressure unit (mbar, Torr or Pa)
will obviously not produce reasonable values below 1.
The Data Unit is only settable in the IDLE state.
An S-Analog Sensor object instance derives a reading from a physical analog
sensor. The reading is converted to the data type and units specified for the Value
attribute.
Using Counts and INT the following conversion has to be used:
BPG400-SD:
Counts=[ log
where:k
k
k
mbar
Torr
Pa
(pressure) + k ] × 2000
10
=12.5
=12.624903
=10.5
HPG400-SD:
Pirani gauge measuring range 27000 < counts < 30333
Counts=[ log
where:k
tira03e1-b (0310) BPG/HPG400-SDv1.cp19
k
k
mbar
Torr
Pa
(pressure) + k ] × 666.665
10
=42.5
=42.624903
=40.5
Safe State
This attribute specifies what value will be held in Value for states other than Exe-
cuting. 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. The following values are defined:
Attribute Value State
0Zero
1Full Scale
2Hold Last Value
3Use Safe Value
Safe Value
For Safe State set to Use Safe Value, this attribute holds the value to which the
Value attribute will be set for object instance states other than Executing.
Sensor Alarm
16 Bits are used as Sensor Faults. Bits 8 … 16 are mapped to the Exception Detail
Alarm 1, Bits 0 … 7 are mapped to the Device Exception Detail Alarm 0.
Data ComponentBit 7Bit 6Bit 5Bit 4Bit 3Bit 2Bit 1Bit 0
Sensor Alarm Byte 0
Sensor Alarm Byte 1
Sensor Warning
00000000
000000
Electronics
Failure
0
16 Bits are used as Sensor Warnings. Bits 8 … 16 are mapped to the Exception
Detail Warning 2, Bits 0 … 7 are mapped to the Device Exception Detail Warning 1.
Data ComponentBit 7Bit 6Bit 5Bit 4Bit 3Bit 2Bit 1Bit 0
Sensor Alarm Byte 0
Sensor Alarm Byte 1
00000000
000000
Electronics
Warning
0
20tira03e1-b (0310) BPG/HPG400-SDv1.cp
2.4.2.3 Instance Attributes of
Instance 2 Hot Cathode
Ion Gauge
Following is the Instance 2 with the subclass extension of the hot cathode ion
gauge part of the BPG400-SD / HPG400-SD. This instance is used to provide
control and status information for the hot cathode ion gauge part of the
BPG400-SD / HPG400-SD.
AttributeIDAccess
Rule
3Set/Cond.
→ below
NV/V NameDeviceNet
Description of AttributeSemantics of Values
Data Type
NV Data Type USINTDetermines the Data Type
of Value and all related
attributes as specified in
this table.
4
→
"Semantics"
NV Data Units ENGUNITSDetermines the Units con-
text of Value and all related
attributes.
5GetVReading
Valid
BOOLIndicates that the Value
attribute contains a valid
value.
6GetVValueINT or speci-
Analog input valueThe corrected, converted, calibrated
fied by DataType if supported
7GetVStatusBYTEAlarm and Warning State
of this object instance
10GetNV Full ScaleINT or speci-
fied by Data
The Value of Full Scale for
the sensor.
Type if supported
25SetNV Safe State USINTSpecifies the behavior for
the Value for states other
than Execute
26SetNV Safe
Value
INT or specified by Data
The Value to be used for
Safe State = Safe Value
Type if supported
32GetNV Overrange INT or speci-
fied by Data
Specifies the highest valid
Value
Type if sup-
ported
33GetNV Under-
range
INT or specified by Data
Specifies the lowest valid
Value
Type if sup-
ported
88GetVDegas
Status
91GetVEmission
Current
93GetVEmission
Status
BOOLIndicates current degas
state
REALIndicates setting level of
emission current in amps
BOOLIndicates whether the
emission is turned ON or
OFF
94GetVSensor
Warning
95GetVSensor
Alarm
Structure of
Byte
Structure of
Byte
→ "Semantics" section
[default] = INT
→ "Semantics" section
[default] = Counts
0 = invalid
1 = valid
(invalid: e.g., not warmed up yet)
final value of the sensor.
→ "Semantics" section
→ "Semantics" section
The value of attribute Value corresponding to the Full Scale calibrated
measurement of the sensor.
[default] = maximum allowable value
for the Data Type
→ "Semantics" section
[default] = 0
→ "Semantics" section
[default] = 0
The value above which attribute
Reading Valid is set to invalid.
[default] = maximum allowable value
for the Data Type
The value below which attribute
Reading Valid is set to invalid.
[default] = minimum allowable value
for the Data Type
0 OFF
1 ON
0 OFF
1 ON
default 0 → "Semantics"
default 0 → "Semantics"
tira03e1-b (0310) BPG/HPG400-SDv1.cp21
AttributeIDAccess
Rule
96GetVStatus
NV/V NameDeviceNet
Data Type
BYTEBit mapped byte providing
Extension
Description of AttributeSemantics of Values
additional status bits
99GetNVSubclassUINTIdentifies the subset of
additional attributes, services and behaviors for hot
cathode ion gauges
2.4.2.4 Semantics of S-Analog
Sensor Instance 2
Bit description:
0 Reading Invalid
(Logical Inversion of
Reading Valid)
1 Overrange Exceeded
2 Underrange Exceeded
5 Hot Cathode Ion Gauge
Data Type
Value
→ Instance 1
An S-Analog Sensor object instance derives a reading from a physical analog
sensor. The reading is converted to the data type and units specified for the Value
attribute.
Using Counts and INT the following conversion has to be used:
BPG400-SD:
Counts=[ log
where:k
k
k
mbar
Torr
Pa
(pressure) + k ] × 2000
10
=12.5
=12.624903
=10.5
HPG400-SD, Hot cathode measuring range 8333 < counts < 24333:
Counts=[ log
where:k
k
k
mbar
Torr
Pa
(pressure) + k ] × 2666.665
10
=9.125
=9.249903
=7.125
Safe State
Safe Value
Sensor Alarm
→ Instance 1
→ Instance 1
16 Bits are used as sensor faults . Bit 8 … Bit 16 are mapped to the Exception
Detail Alarm 3, Bit 0 … Bit 7 are mapped to the Exception Detail Alarm 2.
Data ComponentBit 7Bit 6Bit 5Bit 4Bit 3Bit 2Bit 1Bit 0
Sensor Alarm Byte 0
Sensor Alarm Byte 1
00000000
000000
Electronics
Failure
0
22tira03e1-b (0310) BPG/HPG400-SDv1.cp
Sensor Warning
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.
Data ComponentBit 7Bit 6Bit 5Bit 4Bit 3Bit 2Bit 1Bit 0
Sensor Warning Byte 0
Sensor Warning Byte 1
00000000
0000
The bit "Pressure too high for degas" will be set if the pressure is above
-6
7.2×10
mbar when a degas service is requested. The bit will be reset when the
pressure is below 7.2×10
Pressure
too high for
degas
(Only
BPG400SD).
-6
mbar (Only BPG400-SD).
000
2.4.2.5 Instance Attributes of
Instance 21 / Setpoint A
(Instance 22 / Setpoint B)
AttributeIDAccess
Rule
3Set / Con-
ditional:
→
Instance 1
4GetNVData
NV/VNameDeviceNet
Data Type
NVData
USINTDetermines the Data Type
Type
UINTDetermines the Units
Units
Description of AttributeSemantics of Values
of Value and all related
attributes as specified in
this table.
context of Value and all
related attributes.
5GetVReading
Valid
BOOLIndicates that the Value
attribute contains a valid
value.
6GetVValueINT or speci-
fied by Data
Type
The value of the
Setpoint A (Setpoint B)
relay.
7GetVStatusBYTEAlarm and Warning State
of this object instance
Status
A bit mapped byte which indicates the Alarm and Warning Exception status of the
object instance. The following definition applies:
BitDefinition
0High Alarm Exception:0 = cleared1 = set
1Low Alarm Exception:0 = cleared1 = set
2High Warning Exception: 0 = cleared1 = set
3Low Warning Exception: 0 = cleared1 = set
4Reserved
5Reserved
6Reserved
7Reserved
→ "Semantics" section below.
int C3 hex [default]
float CA hex
→ "Semantics" section below.
Behavior as Trip Point LOW
Set Points
If the pressure (attribute 6, instance 1 and 2) decreases below the Set Point value
(attribute 6, instance 21 and 22) an alarm or warning exception condition will be
generated. The hysteresis is set to 10%.
For example: A SET Point value of 100 will result in an exception condition being
set when the Value is below 100 and cleared when the Value increases above 110.
tira03e1-b (0310) BPG/HPG400-SDv1.cp23
The setpoints can only be read by DeviceNet. It is not possible to set the
values or to influence the state of the relays by DeviceNet. Even if the device is not allocated, the relay status is set corresponding to the voltage adjusted by the two setpoint potentiometers.
Only in case of a microcontroller RESET (for example reset on Identity Object), the relays will be reset too.
The setpoint is available in the actual pressure unit and data type. If the pressure
unit "Counts" is set, use the following formula for the conversion from Counts to
pressure:
BPG400-SD:
p
mbar
Counts / 2000 - k
=10
where:k
k
k
mbar
Torr
Pa
=12.5
=12.624903
=10.5
The relation between setpoint and voltage is:
p
mbar
where:c
=10
mbar
c
Torr
c
Pa
(U - 7.75) / 0.75 + c
=0
=-0.125
=2
HPG400-SD:
p
mbar
9 × Counts / 1024 - 6
=10
The relation between setpoint and voltage is:
p
mbar
9 × U / 10 - 6
=10
The setpoints are only activated, if the pressure is below 100 mbar, therefore a
setpoint above 100 mbar can not be realised.
2.4.3 Common Services
The S-Analog Sensor Object provides the following Common Services:
Service
Service NameDescription of Service
Code
0EhGet_Attribute_SingleReturns the contents of the specified attribute.
2.4.4 Object-Specific
Services on Instance 1 /
Pirani
10
Service
Code
4ChFull Scale AdjustPerforms a Full Scale Adjust for the Pirani
Set_Attribute_SingleModifies an attribute value.
h
Service NameDescription of Service
There are no state transitions associated with the invocation of this service. It is,
therefore, incumbent upon the user to establish the device into the desired configuration prior to, and during the execution of this service. This will generally involve exposing the sensor to a known environment and treating the values read
during execution of the services accordingly.
A success service response indicates that the service was accepted and the application process started.
24tira03e1-b (0310) BPG/HPG400-SDv1.cp
Full Scale adjust algorithm
To perform the Full Scale Adjust Request vent the gauge to atmosphere and then
start the Full Scale Adjust Service with a target value as defined below .
Full Scale Adjust Request
Service Data Field Parameters
BPG400-SD:
Parameter
Data
Unit
Target
Value
HPG400-SD:
Parameter
Data
Unit
Target
Value
Data
Type
INT0x79180x03E80x7FFF0x02ED
REAL 0x46F230000x447A00000x47C350000x443B83F3
Data
Type
INT0x767D0x03E80x7FFF0x02ED
REAL 0x46ECFA000x447A00000x47C350000x443B83F3
The target value for the full scale calibration
Countsmbar *)Pascal *)Torr *)
The target value for the full scale calibration
Countsmbar *)Pascal *)Torr *)
*) INFICON recommends to use mbar, Torr or Pascal only with the data
type REAL.
Special limitations apply for INT:
The full scale value of the gauge is 1000 mbar 10000 Pascal. But the
max. pressure of the gauge can not be described using INT and Pascal.
The target value 0x7FFF (the maximum INT value) allows to perform a Full
Scale Adjust Service for the unit Pascal.
For the data type INT and pressure values below 1 (in the actual pressure
unit) you always get a pressure of zero.
2.4.5 Object-Specific Services
on Instance 2 / Hot
Cathode Ion Gauge
(Only BPG400-SD)
Set Degas State Request
Service Data Field
parameters
2.4.6 Behavior
Data Type
Service
Code
61
ParameterData TypeDescriptionSemantics of Values
Degas
State
The following behavior with respect to Data Type applies:
The Data Type value will be set automatically based upon the first valid I/O connection established by the device.
If no established I/O connections exist, which include an attribute from this object,
then the Data Type attribute is settable provided that the object is in the Idle State.
The following example demonstrates this behavior:
A device specifies an instance of the S-Analog Sensor object as well as two static
Assembly object instances, both with data attribute components mapped to this
object instance. Assembly object instance ID 1 specifies INT data types and Assembly object instance ID 2 specifies REAL data types.
Service NameDescription of Service
Set Degas State Activates/deactivates degas mode according to
h
BOOL
the parameter Degas State. Degas mode may
be terminated either automatically by device
timeout (3 min) or remotely by this service.
0 switches Degas OFF
1 switches Degas ON
tira03e1-b (0310) BPG/HPG400-SDv1.cp25
After the device is online, it is configured with an I/O connection to Assembly instance ID 2. When the connection transitions to the Established State, this object
instance attribute Data Type is automatically set with the value for REAL before
any data is communicated to, or from the object instance. Any subsequent attempt
to connect to Assembly instance ID 1 would then be rejected and result in an
INVALID ATTRIBUTE VALUE error with the additional error code indicating the ID
of the offending attribute, which in this case would be the connection path.
26tira03e1-b (0310) BPG/HPG400-SDv1.cp
3I/O Assembly Object
3.1 I/O Assembly Instances
Class Code 04
A collection of assembly objects allows the sending of attributes from different
application objects in one message (i.e. Polling I/O).
The following table identifies the I/O assembly instances supported by the gauge
device.
NumberTypeName
1InputPressure Value (Active Instance)
2InputException Status and INT Pressure Value (Active In-
4InputREAL Pressure Value (Active Instance)
5InputException Status and REAL Pressure Value (Active
8InputException Status
9InputActive Instance, Active Pressure Value
10InputException Status and Active Instance and INT Active
12InputActive Instance
13InputException Status
h
stance)
Instance)
Pressure Value
REAL Active Pressure Value
Active Instance
REAL Active Pressure Value
tira03e1-b (0310) BPG/HPG400-SDv1.cp27
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 19).
Once a valid connection is established, attempts to configure connections to a
different type of Assembly instance will return an error.
The I/O Assembly DATA attribute has the format shown below:
InstanceTypeByte Bit 0 … 7
1Input0
INT Pressure Value (low byte)
1
2Input0
4Input0
Exception Status; Class 48, Instance 1, Attribute 12
INT Pressure Value (low byte)
1
Class 49, Active Value
2
REAL Pressure Value (low byte)
1
Class 49, Active Instance Value
2
3
5Input0
Exception Status Class 48, Instance 1, Attribute 12
REAL Pressure Value (low byte)
1
Class 49, Active Instance Value
2
3
4
8Input0
90
Exception Status ; Class 48, Instance 1, Attribute 12
Active Instance
1
INT Active Pressure Value
2
3
10Input0
Exception Status
Active Instance
1
2
INT Active Pressure Value
3
4
12Input0
Active Instance
1
REAL Pressure Value
2
3
4
5
13Input0
Exception Status
Active Instance
1
2
REAL Pressure Value
3
4
5
6
28tira03e1-b (0310) BPG/HPG400-SDv1.cp
Appendix
A:Range of Values
B:Specific Codes
C:Conversion of a Floating
Number According to
IEEE 754
General
Number received
1. Reverse the sequence of
the HEX words
Integerint
Unsigned integeruint
–32767 … 32768
0 … 65535
Floatfloataccording IEEE 754
Manufacturer product code 9 = BPG400-SD
10 = HPG400-SD
AA BB CC DD
DD
(4-Byte, floating format)
h
h
CC
Legend: XX
h
Hexadecimal number (Radix =
h
16)
XX
Decimal number (Radix = 10)
d
Binary number (Radix = 2)
XX
b
BB
h
AA
h
2. Separate into bytes
3. Calculate
Converted number
SEEE EEEEbEMMM MMMMbMMMM MMMMbMMMM MMMM
Sign8-Bit exponent23-Bit mantissa
SEEEE EEEEbMMM MMMM MMMM MMMM MMMM MMMM
ØØØ
MMM MMMM MMMM MMMM MMMMMMMM
1+
= 1+
23
2
NNNNN
8388608
d
d
b
Ø
Sign =Exponent =Mantissa =
S
-1
XYZ
d
Sign × 2
(Exponent-127)
RSTUV
× Mantissa
d
b
b
tira03e1-b (0310) BPG/HPG400-SDv1.cp29
Example
Number received
1. Convert sequence of the
HEX words
2. Separate into bytes
3. Calculate
00 00 CA 42h (4-Byte, floating format)
42
h
0100 0010
Sign8-Bit exponent23-Bit mantissa
b
01000 0101
CA
h
1 1 0 0 1010
b
00
h
0000 0000
b
b
100 1010 0000 0000 0000 0000
ØØØ
0
-1
1+
= 1+
23
2
4849664
8388608
00
h
0000 0000
0000 0000 0000 0000 1010 100
b
d
d
b
b
Converted number
D:Typical Start-Up
Procedure
Allocation process
ØØ
Sign =Exponent =Mantissa =
11331.578125
(133-127)
1 × 2
The start up of a device is divided into the steps:
• Allocation process
• Setting of the EPR attribute
• Choice of the input and output assemblies
Send an allocation string as defined in the DeviceNet specification to the device
you want to allocate.
Set the bits in the allocation choice byte to 1 for these connections you want to use.
× 1.578125 = 101
30tira03e1-b (0310) BPG/HPG400-SDv1.cp
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 BPG400-SD
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
BPG400-SD. Appendix D describes only the general allocation procedure for all devices (group 2 slave only).
Setting of the EPR Attribute
(expected packet rate)
After the allocation, the device activates an INACTIVITY WATCHDOG TIMER.
This timer has to be set for every single connection (connection object, attribute 9)
which is allocated in the allocation choice byte. This attribute defaults to 2500
(2500 ms) within explicit messaging connections, and to zero within an I/O
connection. If the INACTIVITY WATCHDOG TIMER expires, the established connection will be released. With every message the device receives, this timer is reloaded with the value specified in the according connection object, therefore it normally doesn't expire. The value zero deactivates the INACTIVITY WATCHDOG
TIMER.
In this step the INACTIVITY WATCHDOG TIMER has to be set. In testing mode
you could use the value 0 to deactivate the INACTIVITY WATCHDOG TIMER.
In the following you see the strings for setting the EPR attribute (addresses as
specified above):
IDMessage Body
41400 10 05 01 09 00 00set EPR of the explicit connection to zero
41400 10 05 02 09 00 00set EPR of the poll connection to zero
41400 10 05 03 09 00 00set EPR of the bit strobe connection to zero
41400 10 05 04 09 00 00set EPR of the COS/Cyclic connection to zero
The responses of the slave are:
IDMessage Body
41300 90 00 00set EPR of the explicit connection to zero
Choice of the input and output
assemblies
Reading the configured
Assemblies
tira03e1-b (0310) BPG/HPG400-SDv1.cp31
You can specify which of the several input/output assemblies predefined in a device should be used for
Reading or setting of the input/output assemblies is possible only if the
corresponding connection (polling, change of state, bit strobe) has been
allocated in the Allocation Message.
If you want to read the number of the chosen assembly, you must read the attributes 14 and 16 in the corresponding Instance of the Connection Object (Object
ID 5).
For reading this value, the connection has to be established. The EPR attribute
may be set.
Instance 2: Polling
Instance 3: Bit Strobe
Instance 4: Change of State/Cyclic
every single connection.
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:
IDMessage Body
41400 0E 05 02 0Eget produced connection path (Request for
input assembly by master).
Get single response:
IDMessage Body
41300 8E 20 04 24 05 30 03Response from slave
The addressing format of the attribute values differs from the normal mode. A connection path attribute that specifies class 4, Instance 5, and attribute ID 3 is illustrated below:
Class #4Instance #5Attribute #3
200424053003
The instance defines the assembly you want to use. This format has to be used by
the master in the request and is used by the slave in the response.
Set the input assembly 04 for a Poll Connection (addresses as specified
above)
Set single request:
IDMessage Body
41480 00 10 05 02 10 20 04first fragment
41480 81 24 04 30 03second fragment
Because the message body is longer than 8 bytes, the fragmented protocol has to
be used.
Set single response:
IDMessage Body
41380 C0 00response on first fragment
41380 C1 00response on second fragment
32tira03e1-b (0310) BPG/HPG400-SDv1.cp
E:Literature
[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