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

Motion Control Tips

Automation • Motion Control • Power Transmission

  • News
    • Industry News
    • Editor Blogs
    • Video
  • 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
  • FAQs
    • Motion Casebook
    • Motion Selection Guides
  • Suppliers
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 may also like:


  • FAQ: How to choose between PC-based and dedicated PLC motion…

  • PLC versus safety PLC
  • Ultra-Packaging-Veronica-vertical-cartoner
    FAQ: Are PACs just for process control or do they…

  • FAQ: How do programmable automation controllers (PACs) handle analog I/O…

  • FAQ: What is the difference between PLCs and programmable controllers…

Filed Under: FAQs + basics, PLCs + PACs

Reader Interactions

Leave a Reply

You must be logged in to post a comment.

Primary Sidebar

POWER TRANSMISSION REFERENCE GUIDE

DESIGN GUIDE LIBRARY

“motion
Subscribe Today

RSS Featured White Papers

  • Specifying electric rodless actuators: Ten tips for maximizing actuator life and system performance
  • The truth about actuator life: Screw drive survival
  • Top Ten Tips: How to specify electric rod-style actuators for optimal performance, reliability and efficiency

Footer

Motion Control Tips

DESIGN WORLD NETWORK

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

MOTION CONTROL TIPS

Subscribe to our newsletter
Advertise with us
Contact us
About us
Follow us on TwitterAdd us on FacebookAdd us on LinkedInAdd us on YouTubeAdd us on Instagram

Copyright © 2022 · 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