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 ACR Binary Parameter Access Examples
Electromechanical Group
  • Technologies
  • More
Electromechanical Group
Electromechanical Knowledge Base ACR Binary Parameter Access Examples
  • 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:

ACR Binary Parameter Access Examples

Print Friendly and PDF

Supplement to ACR Programmers Guide,Binary Host Interface

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

Binary parameter access provides a method of reading from and writing to single system parameters on the controller. Unlike binary data packets, binary parameter access uses the actual parameter number. There are no groups or masks.
A parameter access header consists of a Header ID ( 0x00 ) followed by a Packet ID code and a 2-byte parameter. The Packet ID codes for the different types of packets are shown below. The following pages define each of the packets in detail.

Packet ID Codes  
Code Packet Type Description
0x88 Binary Get Long Receive long integer from controller
0x89 Binary Set Long Send long integer to controller
0x8A Binary Get Float Receive Float value from controller
0x8B Binary Set Float Send Float value to controller

When using the Binary Parameter Access, the parameter is converted to hex. The parameter is a 2-byte value sent low-order byte first. Here are some examples:

P12288(current position, axis0) converts to 30 00. Request is sent to controller as 00 88 00 30
P12546(actual position, axis1) converts to 31 02. Request is sent to controller as 00 88 02 31
P8193(vector velocity) converts to 2001.  Request is sent to controller as 00 8A 01 20

 

VB.Net example for formatting the byte packets

Imports System.BitConverter

 

PublicFunction GetLongPacket(ByVal iParm AsInteger) As System.Array
Dim bArr(3) As Byte
Dim byteParm(1) As Byte
bArr(0) = &H0
bArr(1) = &H88
byteParm = BitConverter.GetBytes(iParm)
System.Array.Copy(byteParm, 0, bArr, 2, 2)
Return  bArr
End Function
 
 

23-Mar-2012

  • 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.