• 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 How to Add ModbusTCP to PAC project (PAC as ModbusTCP slave)
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:

How to Add ModbusTCP to PAC project (PAC as ModbusTCP slave)

Print Friendly and PDF

Related FAQ:  Using the PAC as a Modbus TCP Master Device

Related FAQ:  Using the PAC as a Modbus TCP Slave Device

A sample Xpress project is available here, select the project that matches your version of Parker Automation Manager:

PAM1.4: PAC_C3_XPR_Demo_PAM1.4

PAM1.0: PAC_C3_XPR_Demo_PAM1.0

Note this is different than the sample in the QuickStart FAQ, that is a newer version using the embedded Xpress option for the PAC with the PAC Terminal.

The project uses an Parker Interact Xpress XPR2 panel with its IP address set to similar network (192.168.10.xx subnet 255.255.0.0).

Read below for a walk through of the project:

1. Within Parker Automation Manager Integrated Development Environment (IDE) software, under Device (PAC320...) right-click to Add Device...

2. Under Ethernet Adapter, select Ethernet (3S):

 

3. After adding to project, right-click on Ethernet and select Add Device...

4. Under Modbus > ModbusTCP Slave Device, select ModbusTCP Slave Device:

5. On the ModbusTCP tab, Configured Parameters, uncheck TimeOut

If not, the PAC inputs (parameters and bits) can change after 2 seconds of a Timeout.

Default is 10 Holding Registers (inputs from PAC to Modbus Master) and 10 Input Registers (outputs from PAC to Modbus Master).

Minimum is 2 for each.

6. In the ModbusTCP Slave Device I/O Mapping tab, set the Always update variables to Enabled 2 (always in bus cycle task) and set the Bus cycle task to a slower task (not the EtherCAT_Master task which is the only task defined as default.) This task should be on the order of 20ms or slower depending upon the application requirements. Enabled 2 was added to SP5; update PAC software if this isn't part of the pulldown.

7.  Now you're free to select Modbus TCP Slave Device I/O Mapping tab to name your Inputs & Outputs.

Each Word is 16 bits. Each Word can be named or you can name each of the bits.

Double-click on the line and type Application. Note that it types forward. With typing Application and then '.' it will list variables you can map to.

Or you can click the ... on the right side (or press F2) to launch the input assistant. Here, searching GVL shows variables from the project's Global Variable List.

Alternately, you can import & export device names from a .csv file.

Select ModbusTCP and on the PC tower icon and right-click:

 

4/16/14jh

1NOV18 JD

  • 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