PME - Ping Device Driver Help
PME - Ping Device Driver Help
Table of Contents
1 Getting Started
................................................................................................................................... 2
Help Contents .......................................................................................................................................................... 2
Overview .......................................................................................................................................................... 2
2 Device Setup................................................................................................................................... 2
Device Setup .......................................................................................................................................................... 2
3 Automatic Tag
...................................................................................................................................
Database Generation 2
Automatic Tag..........................................................................................................................................................
Database Generation 2
4 Data Types Description
................................................................................................................................... 3
Data Types Description
.......................................................................................................................................................... 3
5 Address Descriptions
................................................................................................................................... 3
Address Descriptions
.......................................................................................................................................................... 3
6 Error Descriptions
................................................................................................................................... 3
Error Descriptions
.......................................................................................................................................................... 3
Device '<address>'
..........................................................................................................................................................
is not responding 3
Required functionality
..........................................................................................................................................................
of icmp.dll is not found 4
The Device ID for
..........................................................................................................................................................
'<address>' could not be resolved 4
Unable to bind..........................................................................................................................................................
to adapter: '<adapter>'. Connect failed 4
Unable to generate
..........................................................................................................................................................
a tag database for device '<device name>'. Reason: Could not generate tags due to 4
low system
Unable resources
to load ..........................................................................................................................................................
required file '<file>'. This driver will not be operational 4
Winsock initialization
..........................................................................................................................................................
failed (OS Error = <error>) 5
Winsock shut down
..........................................................................................................................................................
failed (OS Error = <error>) 5
Winsock V1.1 or..........................................................................................................................................................
higher must be installed to use the PingDriver 5
Index 6
Ping Device Driver Help 2
CONTENTS
Overview
What is the Ping Device Driver?
Device Setup
How do I configure a device for use with this driver?
Address Descriptions
How do I specify an address with the Ping driver?
Error Descriptions
What error messages does the Ping driver produce?
Overview
The Ping Device Driver is provided for monitoring network devices via the ICMP protocol (Ping). The Ping driver was
designed specifically for use with 32 bit OPC Server products. For more information on Operating System requirements,
refer to the OPC Server Help Documentation.
The Ping driver provides the ability not only to monitor the Status of a network device but also the time that it takes for
the ICMP message to reach its destination and return a response (the RoundTripTime).
Device Setup
A device represents a single computer or device that can communicate via TCP/IP.
Connection Timeout
This parameter specifies the amount of time the driver will wait for a connection to be made with a device. Depending
on the network load, the connect time may vary with each connection attempt. The default setting is 3 seconds with a
valid range from 1 to 30 seconds.
Request Timeout
This parameter specifies the amount of time the driver will wait on a response from the device before giving up and
going on to the next request. Longer timeouts only affect performance if a device is not responding. The default setting
is 1000 milliseconds with a valid range from 100 to 30000 milliseconds.
Retry Attempts
This parameter specifies the number of times the driver will attempt to get a response from the device before giving up
and moving on to the next device. The default setting is 3 retries with a valid range from 1 to 10.
Device IDs
The Ping driver supports any IPv4 IP address as its Device ID. Domain names can also be used as a Device ID, since
these will be converted to an IP Address by the Ping Driver automatically. When using a domain name, do not include
the http:// prefix.
www.apc.com
3 Ping Device Driver Help
Address Descriptions
The Ping Driver supports two types of addresses: Status and RoundTripTime. Both addresses are Read Only and
supply different information about the device. The Status address indicates 1 if the device can be reached or 0 if the
Ping driver could not reach the device. The RoundTripTime indicates the amount of time in milliseconds that it took the
request to reach its destination and to reply back to the Ping Driver.
Note: The 'comStatus' and 'comTime' addresses behave exactly as the Status and RoundTripTime addresses with the
exception that they will not be auto generated.
Error Descriptions
The following error/warning messages may be generated. The messages are listed here in alphabetical order.
Possible Cause:
Device may not be connected or the device cannot be reached.
Solution:
1. Ensure that the Ethernet cable is connected properly.
2. Ensure that the Device ID is correct.
www.apc.com
Ping Device Driver Help 4
Possible Cause:
icmp.dll is corrupted or out of sync with the operating system.
Solution:
Check that the proper version of icmp.dll is in the system folder of the particular operating system.
Possible Cause:
The host name entered does not exist or is not currently in use.
Solution:
Check that the host name is spelled correctly and that all network cables are properly connected. If using web based
addresses, make sure that the http:// prefix is not included.
Possible Cause:
The reason for this error message is that some other device in the driver has already been bound to this adapter/port
combination.
Solution:
Wait a few seconds and restart the driver.
Unable to generate a tag database for device '<device name>'. Reason: Could not
generate tags due to low system resources
Error Type:
Warning
Possible Cause:
Memory required for database generation could not be allocated. The process is aborted.
Solution:
Close any unused applications and/or increase the amount of virtual memory. Then, try again.
Unable to load required file '<file>'. This driver will not be operational
Error Type:
Fatal
Possible Cause:
The required file is not found.
Solution:
www.apc.com
5 Ping Device Driver Help
Possible Cause:
The version number of the Winsock DLL found on the system is less than 1.1.
Solution:
Upgrade Winsock to version 1.1 or higher.
www.apc.com
Index 6
Index -W-
Winsock initialization failed (OS Error = <error>)
-A- 5
Winsock shut down failed (OS Error = <error>) 5
Address Descriptions 3 Winsock V1.1 or higher must be installed to use
the PingDriver 5
Automatic Tag Database Generation 2
-D-
Data Types Description 3
Device '<address>' is not responding 3
Device Setup 2
-E-
Error Descriptions 3
-H-
Help Contents 2
-O-
Overview 2
-R-
Required functionality of icmp.dll is not found 4
-T-
The address '<address>' could not be resolved 4
-U-
Unable to bind to adapter: '<adapter>'. Connect
failed 4
Unable to generate a tag database for device
'<device name>'. Reason: Could not generate tags
due to low system resources 4
Unable to load required file '<file>'. This driver will
not be operational 4
www.apc.com