• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer
  • Advertise
  • Subscribe

Motion Control Tips

Automation • Motion Control • Power Transmission

  • News
    • Industry News
    • Editor Blogs
  • Controls
    • HMIs
    • PC-Based Controllers
    • PLCs + PACs
    • Stand-Alone Controllers
    • Software
  • Drives
    • Servo Drives
    • Stepper Drives
  • Encoders
    • Absolute Encoders
    • Incremental Encoders
    • Rotary Encoders
  • Mechanical
    • Bearings
    • Brakes + Clutches
    • Belt + chain
    • Couplings
    • Gears + Gearing
    • Lubrication
    • Shock + Vibration Mitigation
    • Springs + Rings + Seals
  • Linear
    • Actuators
    • Linear Motors
    • Linear Encoders
  • Motors
    • AC Motors
    • DC Motors
    • Brushless Motors
    • Gearmotors
    • Piezo Motors
    • Servo Motors
    • Stepper Motors
  • Systems
    • Conveyors + linear transport systems
    • Gantries + Stages
    • Rotary Tables
    • Grippers + End Effectors
    • Robotics
  • Networks
    • Connections + Sliprings
    • Fieldbuses
    • I/O
    • Sensors + Vision
  • Resources
    • FAQs
      • Motion Casebook
      • Motion Selection Guides
    • Suppliers
    • Video
You are here: Home / Controls / PLCs + PACs / FAQ: What is tag naming and the point of defining data types with PAC programming?

FAQ: What is tag naming and the point of defining data types with PAC programming?

December 23, 2016 By Lisa Eitel Leave a Comment

By Steve Meyer || Tag naming starts with naming the I/O in a control system. The names might only serve as a bookkeeping convenience for documenting in ladder programs, but in the complex environment of today’s PLC and PAC platforms, tag names are more significant. Tag names can serve as a referent for I/O points in totally different programming environments without requiring a programmer to rewrite code for this purpose.

In system-level software, it’s possible to share data with tag names. Many smart gateway products allow a common convention of letting programmers drag-and-drop data names from one intelligent host to another as a simplified technique for sharing information between platforms. Data values from one controller can be written into a neutral database and export to another controller as often as the data is updated. The underlying application handles all the details.

This approach derives from Visual Basic programming for data conventions, and is in hundreds of applications that manage data. Some complex relational database programs add and remove columns in Excel spreadsheets using this approach because it’s familiar and simple.

There are many examples of naming conventions in which a structure associates groups of I/O in a logical pattern — sometimes called a structured tag. Some use tag naming to differentiate I/O values and their states (which aren’t always the same). The structured-tag approach quickens program development and facilitates shared programming duties. Then program commenting and documentation are easier to understand as well.

Defining data types is in PACs is consistent with any computer programming environment.

One caveat: For a processor to correctly execute a floating-point math calculation, the PAC must have variable names defined by data type, or the operation won’t output correctly.

You Might Also Like

Filed Under: FAQs + basics, PLCs + PACs

Reader Interactions

Leave a Reply

You must be logged in to post a comment.

Primary Sidebar

LEARNING CENTER

Design World Learning Center

Motion Control Handbook

“mct
EXPAND YOUR KNOWLEDGE AND STAY CONNECTED
Get the latest info on technologies, tools and strategies for Design Engineering Professionals.

RSS Featured White Papers

  • Robotic Automation is Indispensable for the Logistics Industry’s Continued Growth and Success
  • Reliable Linear Motion For Packaging Machines
  • Polymers Outperform Metals In Precision Gearing

Footer

Motion Control Tips

DESIGN WORLD NETWORK

Design World Online
The Robot Report
Coupling Tips
Linear Motion Tips
Bearing Tips
Fastener Engineering.
Wire and Cable Tips

MOTION CONTROL TIPS

Subscribe to our newsletter
Advertise with us
Contact us
About us

Copyright © 2025 · WTWH Media LLC and its licensors. All rights reserved.
The material on this site may not be reproduced, distributed, transmitted, cached or otherwise used, except with the prior written permission of WTWH Media.

Privacy Policy | RSS