INFICON BPG402-SD User Manual

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 gau­ges 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 cor­responding European standard ( [3]).
For specifications and operation instructions of the vacuum gauges refer to the appropriate documents:
BPG402-SD [1], [4], [5], [6]
DeviceNet Interface
Abbreviations
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
NV Nonvolatile; attribute value is maintained through power cycles
V Volatile
INT Integer value (Range –32767 … 32768)
UINT Unsigned integer value (Range 0 … 65635)
USINT Unsigned short integer 8 bit (Range 0 … 255)
FLOAT Floating 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
2 tira46e1 (2004-11) BPG402-SDv1.cp
DeviceNet™ Open DeviceNet Vendor Association Inc.
Contents
Intended Use of this Document 2 DeviceNet Interface 2 Abbreviations 2 Trademarks 2
1 Starting-Up of the Slave 4
1.1 Power Supply Requirements 4
1.2 Front View of the BPG402-SD 4
1.3 Connectors on the Device 5
1.4 Side View of the BPG402-SD 6
1.5 Indicators and Switches 6
1.5.1 Module Status LED 6
1.5.2 Network Status LED 6
1.5.3 Filament Status LED 7
1.5.3 Node Address Switch 7
1.5.4 Data Rate Switch 7
1.5.5 Setpoint 7
2 Object Structure 8
2.1 Connection Object 8
2.1.1 Vendor-Specific Object Extension on Instance 2 Poll Connection 8
2.2 Identity Object 9
2.2.1 Class Attributes 9
2.2.2 Instance Attributes 9
2.3 S-Device Supervisor Object 9
2.3.1 Class Attributes 9
2.3.2 Instance Attributes 10
2.3.2.1 Semantics 11
2.3.3 S-Device Supervisor Object States 15
2.3.4 S-Device Supervisor Common Services 15
2.3.5 S-Device Supervisor Object Specific Services 16
2.4 S-Analog Sensor Object 16
2.4.1 Class Attributes 16
2.4.2 Instance Attributes 17
2.4.2.1 Instance Attributes of Instance 1 Pirani Instance 17
2.4.2.2 Semantics of S-Analog Sensor Instance 1 18
2.4.2.3 Instance Attributes of Instance 2 Hot Cathode Ion Gauge 20
2.4.2.4 Semantics of S-Analog Sensor Instance 2 21
2.4.2.5 Instance Attributes of Instance 21 / Setpoint A (Instance 22 / Setpoint B) 22
2.4.3 Common Services 24
2.4.4 Object-Specific Services on Instance 1 / Pirani 24
2.4.5 Object-Specific Services on Instance 2 / Hot Cathode Ion Gauge 25
2.4.5.1 Set Degas State 25
2.4.5.2 Set Emission State 25
2.4.5.3 Emission User Mode 26
2.4.6 Behavior 26
3 I/O Assembly Object 27
3.1 I/O Assembly Instances 27
3.2 I/O Assembly Object Instance Data Attribute Format 28
Appendix 29
A: Range of Values 29 B: Specific Codes 29 C: Conversion of a Floating Number According to IEEE 754 29 D: Typical Start-Up Procedure 30 E: Literature 33
tira46e1 (2004-11) BPG402-SDv1.cp 3
1 Starting-Up of the Slave
1.1 Power Supply Requirements
1.2 Front View of the BPG402-SD
The BPG402-SD has to be powered with two voltages:
1. 24 VDC, 18 W at the 15 pole Sub-D connector for the gauge itself;
2. 24 VDC nominal, <2 W range (+11 … +25 V) at the DeviceNet micro style connector for the DeviceNet transceiver.
3
2
1
8
Position Function
1 Address switch × 10, decimal 2 Address switch × 1, decimal 3 DeviceNet connector 4 Data rate switch 5 Network status LED 6 Module status LED 7 "Sensor cable" connector
(Power, analog I/O, RS232C I/O and Relay contacts)
8 Filament status LED
5
4
6
7
4 tira46e1 (2004-11) BPG402-SDv1.cp
1.3 Connectors on the Device
The BPG402-SD uses a "Sealed Micro-Style Connector" for the DeviceNet con­nection. 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
4
5
1
3
Pin Function
1 Drain 2 +24 V nominal (range 11 … 25 V)
2
3V– 4 CAN_H 5 CAN_L
Pin Function
15
8
1 Setpoint A, relay common 2 Pressure output signal (0 … +10 V)
9
1
3 Threshold Setpoint A output (0 … +10 V) 4 Setpoint A, relay, n.o. contact 5 Supply sensor electronics common 6 Threshold Setpoint B output (0 … +10 V) 7 Degas input , high active 8 Supply sensor electronics +24 Volt
9 Setpoint B, relay common 10 Gauge identification 11 Setpoint B, relay, n.o. contact 12 Signal common GND 13 RS232, TxD 14 RS232, RxD 15 do not connect
tira46e1 (2004-11) BPG402-SDv1.cp 5
1.4 Side View of the BPG402-SD
1.5 Indicators and Switches
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.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 Operational green Device is operating normally. Unrecoverable
Fault
Minor Fault flashing red Device has detected a recoverable fault
The network status LED indicates the status of the DeviceNet communication link.
For this state LED state To indicate Not Powered/Not Online dark Device is not online.
On–line, Not Connected flashing
Link OK Online, Connected green The device is online and has connec-
Connection Time Out flashing
Critical Link Failure red Failed communication device. The
red Device has detected an unrecoverable fault.
Device is in self-test.
As stated previously, all module level faults are considered as unrecoverable faults.
(e.g. DeviceNet power supply not connected).
The device has not completed the Duplicate MAC_ID test yet.
The device may not be powered, look at Module Status LED.
Device is online but has no connections
green
red
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.
tions in the established state.
The device is allocated to a Master.
One or more I/O Connections are in the timed out state.
device has detected an error that has rendered it incapable of communicating on the network (Duplicate MAC ID, or Bus–off).
6 tira46e1 (2004-11) BPG402-SDv1.cp
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 Emission Status LED
off dark Both filaments ok on green One filament broken on green, flashing Both filaments broken on red
1.5.4 Node Address Switch
1.5.5 Data Rate Switch
1.5.6 Setpoint
During device initialization, the node address switches are read by the device firm­ware. 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.
tira46e1 (2004-11) BPG402-SDv1.cp 7
2 Object 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
For the selection of the active input assembly the following vendor specific attribute can be used.
Vendor specific extension:
AttributeIDRequirement in
Implementation
100 Optional Get/Set NV Poll Produce
Access
Rule
NV/V Name DeviceNet
Assembly Instance
d
Description of Attribute Semantics
Data Type
USINT Contains 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 BPG402-SD to the DeviceNet Master as Poll response. It offers the possibi­lity to select a (predefined) data assembly via a configuration tool and the 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 BPG402-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 BPG402-SD.
Thus, definition of the BPG402-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 BPG402-SD . This requires a Master to support expanded explicit mes­saging capabilities.
2. Directly setting Attribute 100 e.g. by a configuration tool (e.g. RS Networks) + Device Reset.
8 tira46e1 (2004-11) BPG402-SDv1.cp
2.2 Identity Object
Class Code 01h = 01
d
2.2.1 Class Attributes
Attribute ID Access Rule Name DeviceNet
1 Get Revision UINT Revision of this object.
2 Get Max Instance UINT Maximum instance number of
This object provides identification of and general information about the device.
Description of Attribute Semantics 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 ID Access Rule NV/VName DeviceNet Data Type Description of Attribute
1 Get NV Vendor ID UINT 79 02 Manufacturer identification
Value: 633 (INFICON) 2 Get NV Device Type UINT 1Ch = Vacuum pressure gauge 3 Get NV Product Code UINT 12 4 Get NV Revision STRUCT 5 Get NV Status WORD 6 Get NV Serial Number UDINT 7 Get NV Product Name SHORT STRING BPG402-SD
Services
2.3 S-Device Supervisor
Service Code Name Description 5 (05h) Reset 0 = last installation,
1 = default installation
14 (0Eh) Get_Attribute_Single
Class Code 30h = 48
d
Object
2.3.1 Class Attributes
Attribute ID Access
Rule
1 Get Revision UINT Revision of this object The current value assigned to this at-
2 Get Max
Name DeviceNet
Data Type
UINT Maximum instance number of an
Instance
Description of Attribute Semantics of Values
tribute 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 cre­object currently created in this class level of the device.
ated object at this class hierarchy level.
tira46e1 (2004-11) BPG402-SDv1.cp 9
2.3.2 Instance Attributes
Attribute ID Access Rule NV/VName DeviceNet Data Type Description of Attribute
3 Get NV DeviceType SHORT STRING ASCII Text, "CG" combination gauge 4 Get NV SEMI Standard
Revision Level
5 Get NV Manufacturer’s Name SHORT STRING "INFICON" 6 Get NV Manufacturer’s Model
Number
7 Get NV Software Revision
Level
8 Get NV Hardware Revision
Level
9 Get NV Manufacturer’s Serial
Number
10 Get NV Device Configuration SHORT STRING Depending on device configuration
11 Get V Device Status USINT 12 Get V Exception Status BYTE 13 Get V
Exception Detail Alarm
Common Exception Detail
Size 2 USINT Number of common detail bytes Detail 0 ARRAY of: Detail 1 BYTE
Device Exception Detail
Size 4 USINT Detail 0 ARRAY of:
Detail 1 BYTE
Detail 2 S-Analog Sensor Instance 2
Detail 3 S-Analog Sensor Instance 2
Manufacturer Exception Detail
Size 1 USINT Number of Manufacturer detail bytes Detail 0 ARRAY of: Serial communication alarm
SHORT STRING Specifies the revision level of the SEMI
S/A network standard to which the device complies ( "E54-0997").
SHORT STRING BPG402-SD
SHORT STRING ASCII Text, for example "xxxyyy"
xxx
version of the measuring print
yyy
version of the DeviceNet print
SHORT STRING ASCII text, for example "1.001"
SHORT STRING ASCII text
( Appendix B)
"Semantics" section below. "Semantics" section below.
STRUCT of: A structure of three structures containing
a bit mapped representation of the alarm detail
STRUCT of:
"Semantics" section below. "Semantics" section below.
STRUCT of:
Number of device detail bytes 4 S-Analog Sensor Instance 1 (Pirani)
Sensor alarm byte 0 S-Analog Sensor Instance 1 (Pirani)
Sensor alarm byte 0
(Hot cathode) Sensor Alarm byte 0
(Hot cathode) Sensor alarm byte 1
STRUCT of:
10 tira46e1 (2004-11) BPG402-SDv1.cp
Attribute ID Access Rule NV/VName DeviceNet Data Type Description of Attribute
14 Get V
Exception Detail
STRUCT of: A structure of three structures containing
Warning
Common Exception
STRUCT of:
Detail
Size 2 USINT Number of Common Detail Bytes Detail 0 ARRAY of: Detail 1 BYTE
Device Exception
STRUCT of:
Detail
Size USINT Detail 0 ARRAY of: S-Analog Sensor object– >
Detail 1 BYTE
Detail 2 BYTE
Detail 3 S-Analog Sensor Instance 2
Detail 4 S-Analog Sensor Instance 2
Manufacturer
STRUCT of:
Exception Detail
Size 1 USINT Number of Manufacturer Detail Bytes
Detail 0 Byte serial common warning 15 Set NV Alarm Enable BOOL 16 Set NV Warning Enable BOOL
a bit mapped representation of the war­ning detail
"Semantics" section below. "Semantics" section below.
Number of Device Detail Bytes 5
Class Level Status Extension
S-Analog Sensor Instance 1 (Pirani) Sensor Warning Byte 0
S-Analog Sensor Instance 1 (Pirani) Sensor Warning Byte 1
(hot cathode) Sensor Warning Byte 0
(hot cathode) Sensor Warning Byte 1
"Semantics" section below. "Semantics" section below.
2.3.2.1 Semantics
Device Status
Exception Status
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 Value State
0 Undefined 1 Self Testing 2 Idle 3 Self-Test Exception 4 Executing 5 Abort 6 Critical 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).
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 at­tribute, 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.
tira46e1 (2004-11) BPG402-SDv1.cp 11
Loading...
+ 25 hidden pages