• Home
  • Investors
  • Contact Parker
  • Sign In / Register
Parker Community
  • Site
  • User
  • Site
  • Search
  • User
  • Products
  • Support
  • Divisions
  • Where to Buy
  • Careers
  • About Parker
Home Parker Community Technologies Electromechanical Group Electromechanical Knowledge Base SDO Read / Write PAC to/from Compax3 I31
Sign In / Register

Sign In

Register

  • Electromechanical Knowledge Base & Frequently Asked Questions
  • Motion and Machine Controllers-
    • ACR Controllers+
    • 6K (Legacy)+
    • PAC-
      • 3rd Party Samples+
      • Embedded Xpress+
      • Errors+
      • Hardware+
      • PAM IDE+
      • Programming Tips+
      • Web Visualization+
      • Quick Start and Online Training Videos
      • Adding New Devices
      • Auto Addressing enabled by default
      • Cam and Gear Program Sample & Video
      • Common PACIO Troubleshooting Tips
      • Compax3 Linear servo motor settings with PAC
      • Default IP Address 192.168.10.50 subnet 255.255.0.0 (X2 port)
      • Reading G Code from a file to develop a CNC machine
      • Error: Red triangle on EtherCAT axes/devices when ModBus or ProfiNet connects
      • FTP support
      • How can I send ASCII strings to or from the PAC?
      • How do I configure and gear to the PACIO-454-01 Module?
      • How do I upgrade a Parker Automation Manager (PAM) project from 1.3.0 to 1.4.0?
      • How do I use variables in G code?
      • How to Add ModbusTCP to PAC project (PAC as ModbusTCP slave)
      • How to Set and Get Time / Date / Time Zone Pre-1.4
      • How to Update Devices and their Descriptor files
      • How to Update PAC project without Parker Automation Manager software?
      • How to Update a PAC Firmware? Flashback instructions
      • How to Upload a Program?
      • How to Use the InteractX OPC Quick Client with the PAC
      • How to set up EtherNet/IP Communications with an Allen Bradley PLC
      • How to set Scaling for Parker Mechanics
      • How to use the Outputs on the Compax3-I31 or P series (EtherCAT)
      • IO settings for EtherCAT_Master: How to see IO update while in Stop
      • Log Data to a File
      • Minimum Internet Explorer version for Xpress and Visualization options
      • PAC CNC & Multi-Axis Capabilities, Samples & Video demos
      • PAC CNC visualization
      • PAC System Time Access and Edits
      • PAC Web Visualization with Internet Explorer: missing browser feature HTML5-Canvas Webvisu
      • PAC with .Net or LabView or InteractX: Using OPC DA Server
      • PAC with Modbus: What addresses for tags?
      • Reading Torque from Pseries drive
      • Remanent Variables: Retain vs Persistent Retain
      • Retentive Memory details
      • SDO Read / Write PAC to/from Compax3 I31
      • SMC_ERROR.SMC_FB_WASNT_CALLED_DURING_MOTION
      • Sample Continuous Function Chart CFC Program: time based counter
      • Sample Continuous Function Chart CFC Program: Basic Motion (Power, Home, Cycle)
      • Sample Ladder Logic LD Program: Basic Motion (Power, Home, Cycle)
      • Sample Ladder Logic LD Program: Time based counter
      • Sample SFC Program: time based counter
      • Sample Stuctured Text ST Program: Time Based Counter
      • Sample Structured Text ST Program: Basic Motion (Power, Home, Cycle)
      • Single Axis Sample Program with Visualization
      • Two Axis Sample Program with Visualization
      • Using the PAC as a Modbus TCP Master Device
      • Using the PAC as a Modbus TCP Slave Device
      • VIDEO: Run an AC30V an AC Induction motor via EtherCAT with a PAC
      • VIDEO: PAC with Compax3 EtherCAT part 1: EtherCAT connections & Device Selection
      • VIDEO: PAC with Compax3 EtherCAT part 2: Complete Configuration
      • VIDEO: PAC with Compax3 EtherCAT part 3: Setting EtherCAT Master and DS402 scaling
      • VIDEO: PAC with Compax3 EtherCAT part 4: Download & Test in C3 ServoManager
      • Video: Parker's PAC, the Automation Controller Based on IEC61131-3
      • What's the 16# in the axis scaling default of 16#10000?
      • Working with recipes in the PAC
      • Does the PAC have a first scan flag?
      • Error when switching Active Application
      • Using tappets during cam motion
      • WebVisualization not working in PAC terminal (PTA)
      • Can I open an edit and download a PAM 1.3.0 project using PAM 1.4.0?
      • Does PAC act as a OPC-UA server or client, or both?
      • How do I upgrade the PAC from OPC-DA to OPC-UA?
      • How do I use OPC-UA with the PAC?
      • PACIO-441-01 analog current input module
      • Sample code for PACIO-442-02 and PACIO-441-02 analog modules
      • What ports get used with PAC Ethernet connections?
      • C0032: Cannot convert type 'Unknown type: 'ADR(Device.Application.PLC_PRG.x)' to type 'POINTER TO BOOL'
      • Do I have to upgrade my PAC 1.3.0 Firmware to work with a PAM 1.4.0 project?
      • eCL Homing notes with PAC via EtherCAT
      • EtherCAT communication between the PAC and AC30 drive
      • How to add images to a visualization in WebVis
      • How to reset the EtherCAT bus
      • Parker Tap Adapter for EoE communications
      • User Management in the Parker Automation Controller
      • Using MC_TouchProbe with Compax3 Series Drives
      • Using MC_TouchProbe with P Series Drives
      • Webvis toolbox missing tabs (Codesys calls them tags) - Added alarms but no Alarms Display tool in toolbox.
  • 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+
  • OEM Products+
  • C3 + Xpress + ETH+
  • How can I stay updated on Parker electromechanical and drives product news?
  • Legacy (Discontinued)+
  • Other+
  • Other Groups
    • Parker Indego
      • Parker Indego Instructors
      • Parker Indego Therapists
      • Parker Indego Distributors
  • Technologies
    • Aerospace
    • Climate Control
    • Electromechanical Group
      • Parker IPS Design Center Community
    • Filtration
    • Fluid and Gas Handling
    • Hydraulics
    • IoT
      • Mobile IoT
    • Pneumatics
    • Process Control
    • Sealing and Shielding
  • Blogs
  • Forums
  • Knowledge Base
  • Home
  • All Blogs
  • Home
  • Electromechanical Blog
  • Electromechanical Group Forums
  • Electromechanical Knowledge Base
  • Electromechanical Group Members
  • Mentions
  • Electromechanical Group Sub-Groups
  • Tags
Follow Us
  • Follow Parker Hannifin on social media

Follow Parker Hannifin on social media:

SDO Read / Write PAC to/from Compax3 I31

Print Friendly and PDF

For objects that aren't part of the PDO cyclic data exchange on the EtherCAT cycle between the PAC and the Compax3, acyclic data exchange SDO is available to read & write.

This can be done within the PAC project with the functions  smc3_etc_writeParameter_coe and smc3_etc_readParameter_coe

Related FAQ: How to View or Monitor any Object in Optimization (Activate Object Tree)

 

Write Tuning Gains

Here's a CFC snippet changing the Stiffness gain [2100.2] to value of 99. It is a U16 so it's 2bytes DataLength.  The Index value is entered as 16# allowing hex value. (Without the 16#, the decimal value of 8448 would also be valid).

The object 2100.2 has a subindex of 2. This is written to one time when the Execute is triggered (rising edge).

From the C3 ServoManager online help:

Note this object is only Valid after VP. Thus the ValidParameter_Global [210.10] CANopen Index 0x2016.10 also needs to be set to a non-zero value. This allows multiple tuning gains to be changed and then only takes affect when the VP is triggered. 

Note tuning gains will revert to previous values after cycling 24vdc C3 logic power unless a Write to Flash [20.1] CANopen Index 0x2017 is set to non-zero value. Note a flash write limit of 100,000 cycles as per C3 help.

 

Read Analog Inputs

 

Note the AnalogInput0 [685.3] CANopen 0x2025 and AnalogInput1 [685.4] CANopen 0x2026 are scaled based on the  Normalization factor for voltages  [200.3]   If Normalization is 2 and the actual voltage is 2.45, the Value read back would be 245:

SDO_C3_AnalogInput_Normalization.jpg

 

Write Analog Outputs

SDO_c3_AnalogOutputs.jpg

[634.4] 0x2019 and [635.5] 0x201A are Int16 thus range from 32767 to -32768 for +10 to -10vdc. This presumes the monitor outputs haven't already been set to monitor other items (such as speed, torque, current or position). By default after firmware 9-20, these are available to write to. See above link as reference. For 1:1 relationship, gain at 10vdc should be 32767.9    The C3.AnalogOutput0_ActualValue [634.3] is scaled by a factor of 10. In above link and image, writing 16383 sets this output to +5volt.  This takes affect immediately (no VP).

 

Read Actual Torque / Current

The actual torque can be read with C3 object 683.13 (CANopen object 0x6077).

SDO_c3_readTorque.jpg

This is a USINT (16bit unsigned) so values can range from 0 to 65535, about 0 (so +-100 would be 100 to 65435).

This is "% rated current" divided by 100. This is the motor's rated current at rated speed.  Within the C3ServoManager, this info is on the Motor screen in the I31T11 configuration:

c3_motorratedcurrent.jpg

For current: Multiply resultant by C3 ServoManager's Rated Current (at 230, 400 or 480vac). This is the motor's rated current at rated speed; this is not to be confused with the stall current (at 0 speed); the motor's rated current is lower at higher speed due to spinning losses.

The motor's rated positive current limit (in mA) is 688.33 (CANopen object 0x2507.2)

The motor's rated negative current limit (in mA) is 688.34 (CANopen object 0x2507.3)

For torque: Multiply resultant by C3 ServoManager's Rated Torque (at 230, 400 or 480vac). This is the motor's rated torque at rated speed; this is not to be confused with the stall torque (at 0 speed); the motor's rated torque is lower at higher speed due to spinning losses.

The rated torque can be read by C3 object 670.9 (CANopen object 0x6076) and is in mNm (or mN for linear motors).

The max torque limit is C3 object 402.7 (CANopen object 0x6072).

Write Actual Torque / Current Limits

 

C3 object 402.3 (CANopen object 0x200B) is the current limit (positive).

C3 object 402.4 (CANopen object 0x200C) is the current limit (negative).

Users can write to these as well as reading these. However, they do require a Validate Parameter (VP).

See above Read Actual Torque / Current for relationship of torque & current.

 

Note

The Compax3-I31 object needs to have a CANopen number assigned to this as part of the firmware in the C3.

ex  Analog Input0 [685.3] is CANopen Index 0x2025 from the C3 ServoManager online help:

C3 EtherCAT Object List:  C3-i31_object.xlsx

SDO_Error.pdf

 

 

 

11/19/15jh

  • Share
  • History
  • More
  • Cancel
Related
  • Other Groups
    • Parker Indego
      • Parker Indego Instructors
      • Parker Indego Therapists
      • Parker Indego Distributors
  • Technologies
    • Aerospace
    • Climate Control
    • Electromechanical Group
      • Parker IPS Design Center Community
    • Filtration
    • Fluid and Gas Handling
    • Hydraulics
    • IoT
      • Mobile IoT
    • Pneumatics
    • Process Control
    • Sealing and Shielding
  • Home
  • All Blogs
  • Home
  • Electromechanical Blog
  • Electromechanical Group Forums
  • Electromechanical Knowledge Base
  • Electromechanical Group Members
  • Mentions
  • Electromechanical Group Sub-Groups
  • Tags
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 - Engineering Your Success
  • Site Map
  • Safety
  • Privacy Policies
  • Terms and Conditions
Ā© Parker Hannifin Corp 2021