Go to Parker.com
  • Sign in
Technologies
  • Aerospace
  • Climate Control
  • Electromechanical Group
  • Filtration
  • Fluid and Gas Handling
  • Hydraulics
  • IoT
  • Pneumatics
  • Process Control
  • Sealing and Shielding
Other Groups
  • Parker Indego
Blogs Forums Knowledge Bases
Parker Community
Parker Community
  • Technologies
    • Aerospace
    • Climate Control
    • Electromechanical Group
    • Filtration
    • Fluid and Gas Handling
    • Hydraulics
    • IoT
    • Pneumatics
    • Process Control
    • Sealing and Shielding
    Other Groups
    • Parker Indego
    Blogs Forums Knowledge Bases
  • User
  • Site
  • Search
  • User
Home Technologies Electromechanical Group Electromechanical Knowledge Base Creating Watchdogs for Ethernet Connections
Electromechanical Group
  • Technologies
  • More
Electromechanical Group
Electromechanical Knowledge Base Creating Watchdogs for Ethernet Connections
  • Electromechanical Support Forum
  • Electromechanical Knowledge Base
  • Members
  • Sub Groups
  • More
  • Cancel
  • New
Electromechanical Group requires membership for participation - click to join
  • Electromechanical Knowledge Base & Frequently Asked Questions
  • Motion and Machine Controllers-
    • ACR Controllers-
      • 7000+
      • 9000 (Legacy)+
      • IEC PLC (9600) (Legacy)+
      • PC Card Controllers (Discontinued)+
      • ACR Binary Parameter Access Examples
      • ACR Controllers: Excel Spreadsheet Example for ACR and IPA
      • ACR Memory usage and commands
      • AcroBasic Program Priority and Timing
      • AcroBasic program does not wait
      • Change axis positive/negative motion direction
      • Clear all memory in an ACR controller
      • Command Syntax for Variable Substitution
      • Commenting AcroBASIC Programs
      • Concerns when using DWL in programs
      • Concerns when using INH in programs
      • Creating Watchdogs for Ethernet Connections
      • Encoder Velocity
      • Error 17000 when attempting to communicate to ACR
      • Evaluation Underflow error
      • Evaluation overflow is line xxx
      • Free Online Training Videos: Parker AcroBasic - Programming Basics
      • Hardware Position Capture for Encoder 8 and 9
      • Homing Application note for ACR9xxx controllers
      • How can I check the axis PPU setting?
      • How do I set the frequency in an ACR SINE move?
      • How does motion work in the ACR products (ACR7xxx, ACR9xxx, IPA, Aries-CE)
      • How fast is my servo axis moving?
      • How to Calculate the Gear Offset Parameter?
      • How to Find Torque or Current commanded from ACR
      • How to Simulate Motion (without drives or motors)?
      • How to home to a limit in AcroBasic
      • How to receive ASCII data
      • How to retrieve the raw SSI position from encoder?
      • How to use CAM ON when source is moving
      • How to use the In Motion Bit
      • INT command not working properly
      • INTCAP
      • Is the ComACRsrvr thread safe?
      • LISTEN / LRUN - How to see line numbers
      • MFLOPS vs. MIPS
      • Output on Position Toggle Mode
      • PID Parameters when using Steppers
      • Position to a Torque / Current Mode
      • Programmable Limit Switch (PLS) feature in the ACR9xxx and IPA
      • prohibited names for Axis aliases
      • Range Error on download for IF ENDIF statements
      • Reboot in startup program
      • Stopping motion in ACR controllers
      • System Pointer Address of ACR Global Variables, P0-P4095
      • Use of AXIS format
      • User Variables
      • Using ACR9xxx or IPA with LabView
      • Using CAM with PPU in user units (not counts)
      • Using Encoder 8 or 9 as SRC
      • Using JOG commands with AXIS identifier
      • Using an encoder or analog input as JOG SRC
      • VB generates Runtime Error 91
      • Variable data types and transfer to AB plc via Ethernet/IP
      • What ACR Global variables should I use in HMI applications?
      • What is the Binary Host Interface
      • What is the axis velocity
      • How to Wire Limit Sensors to ACR9xxx and ACR7000 Controller
      • ACR7000 Controller and ACR9000 Xpress Jog Teach Sample
      • Axis Flag update rate
      • Range Error when commanding long moves - Distance limit 2^31
    • PAC120+
    • PAC340+
    • PAC320 (Discontinued)+
    • 6K (Discontinued)+
  • General Technology Information+
  • Virtual Engineer+
  • Visualization and Human Machine Interface (HMI)+
  • Servo Drives and Servo Drive/Controllers+
  • Stepper Drives and Stepper Drive/Controller+
  • Gearheads+
  • AC and DC Drives and Inverters+
  • Servo Motors+
  • Step Motors+
  • Linear and Rotary Positioners+
  • Electric Cylinders+
  • T-Slot Aluminum Framing+
  • C3 + Xpress + ETH+
  • How can I stay updated on Parker electromechanical and drives product news?
  • Legacy (Discontinued)+
  • Other+
  • Memorandum: Information on EPA ban of Persistent bioaccumulative toxin (PBT)
Wiki Actions
  • Share
  • More
  • Cancel
Community Quick Links
  • Home
  • Technologies
    • Aerospace
      • Supplier Resource Center
    • Climate Control
    • Electromechanical Group
    • Filtration
    • Fluid and Gas Handling
    • Hydraulics
    • IoT
      • Mobile IoT
    • Pneumatics
    • Process Control
    • Sealing and Shielding
  • Other Groups
    • Parker Indego
      • Parker Indego Instructors
      • Parker Indego Therapists
      • Parker Indego Distributors
  • Community Blogs
  • Community Forums
  • Community Knowledge Bases
Follow Us
  • Follow Parker Hannifin on social media

Follow Parker Hannifin on social media:

Creating Watchdogs for Ethernet Connections

Print Friendly and PDF

Products: ACR9000, 9030,9040,9600,9630,9640, Aries Controller (AR-xxCE)

The standard Ethernet communication drivers (ComACRserver for PCs, Acroloop CIP Ethernet for HMI) include built-in mechanisms for guarding the connection and alerting the client or controller that the connection has been lost. The watchdogs in these drivers are initiated automatically.

In applications where the user is designing the Ethernet communication driver, the Management Connection Watchdog function is available. This function and more details about Ethernet communications to the ACR and Aries Controller controller can be found in the Ethernet Spec.

 The user application should connect to Port 5002 or Port 5006 as needed. This is the Command Connection.  (Port 5002 is an ASCII connection. Use this connection to send any Acrobasic command to the controller similar to the terminal emulator in ACR-View. Port 5006 is a managed binary connection that expects to see commands in a specifc format. 5006 is well suited for PC applications and constructing drivers. )

Then create an additional connection to Port 5004 (Management Connection).After connection to 5004, the client should send Watchdog packets  at regular intervals to the controller. The first time the packet is sent the associated Command Connection changes state to Watchdog protected. The controller will then expect to see repeated packets. The watchdog feature is designed both to “re-assure” the client that the controller is alive, and to detect the loss of client activity and respond by closing an ACR command socket and/or fast status socket. 

Client Support: In normal operation, the controller responds to a client watchdog packet by echoing the same packet back to the client.  The lack of echo tells the client application that the command connection has been lost.

Server: The controller server watchdog will detect the absence of client watchdog packets within a time period that is the product of the most recently specified (Timer * Ticker) and close the connections specified in the watchdog packet. 

 

 

 

 

 

Watchdog Packet:

Function

Size

Description

ID word

4 bytes

A value of 0x01 identifies this packet as a watchdog request

Watchdog Timer

4 bytes

Time interval in milliseconds for watchdog.  Zero disables the watchdog

Watchdog Ticker

4 bytes

Number of retries per time interval before watchdog times out.

IP address

4 bytes

The IP address of the client connections to be guarded

Port

4 bytes

The port number of the client Command connection to be guarded

Fast status port

4 bytes

The port number of the client fast status connection to be guarded

 

Example:

The IP address of the PC is 192.168.10.200 and uses Port 1234. Timer value is set to 2secs, ticker/retry is set to 4. Typically the port number of the PC is assigned dynamically when the connection is made.

Packet: 00 00 00 01  00 00 07 D0   00 00 00 04   C0 A8 0A C8   00 00 04 D2   00 00 00 00

 

Desc ID word Watchdog Timer Watchdog Ticker IP address Port  Fast status port
Value 1 2000 4 192.168.10.200 1234 0
Byte Value 00 00 00 01 00 00 07 D0 00 00 00 04 C0 A8 0A C8 00 00 04 D2 00 00 00 00

Note: Commands and replies on Port 5004 are high-ordered byte first.

  • Share
  • History
  • More
  • Cancel
Anonymous
Related
Follow Us
  • Follow Parker Hannifin on social media

Follow Parker Hannifin on social media:

Parker Hannifin Parker Hannifin

  • Products
  • About Parker
  • Investors
  • Community
  • Careers

Global Operations Global Operations

  • Divisions
  • Sales Companies
  • Worldwide Locations
  • Distribution Network
  • ParkerStore™ Network

Company Information Company Information

  • Newsroom
  • Event Calendar
  • Working with Parker
  • Product Brands
  • History

Global Support Center Global Support Center

  • Support
  • CAD
  • Where to Buy
  • Contact Parker
  • Manage Online Orders
© Parker Hannifin Corp 2022
  • Site Map
  • Safety
  • Privacy Policies
  • Terms and Conditions
  • Community Terms of Use
ENGINEERING YOUR SUCCESS.