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 - Industrial Electromechanical Industrial Knowledge Base Reading and Writing Allen Bradley Logix tags that are strings
Electromechanical - Industrial
  • Technologies
  • Electromechanical Group
  • Electromechanical - Industrial
  • More
  • Cancel
Electromechanical - Industrial
Electromechanical Industrial Knowledge Base Reading and Writing Allen Bradley Logix tags that are strings
  • Electromechanical – Industrial Support Forum
  • Electromechanical Industrial Knowledge Base
  • Members
  • Sub Groups
  • More
  • Cancel
  • New
Electromechanical - Industrial requires membership for participation - click to join
  • Electromechanical Knowledge Base & Frequently Asked Questions
  • Motion and Machine Controllers+
  • General Technology Information+
  • Virtual Engineer+
  • Visualization and Human Machine Interface (HMI)-
    • General Communications Driver-
      • Device Read Error with MicroLogix
      • GESNP / GESNPX 9030 / 9070 Serial Com configuration for Interact / PowerStation PA/PA2/P13 etc...
      • Modbus Device Compatibility with InteractX and Interact Xpress
      • Reading and Writing Allen Bradley Logix tags that are strings
      • Serial Communications Driver error on Com1 on boot of the runtime system.
    • Interact (Legacy)+
    • InteractX+
    • Interact Xpress+
    • IX / PCA+
    • IPX / IPC (Discontinued)+
    • PHM / PM1 Industrial Monitors (Discontinued)+
    • PA / PS / P1-P9 (DOS-based Interact HMI)+
    • PX / HPX InteractX HMIs (Discontinued)+
    • CE Declaration of Conformity for HMI
    • CTC/HMI: Connector Part Numbers
    • My HMI will not boot. Says no boot device found even after I ran the Flashback utility for my model HMI
    • Parker Factory Display Troubleshooting - Step 3 Error when clicking Design in your PFD Project
    • Latest versions of HMI software packages
    • Failed install / Can't install because of pending/suspended action. Can't uninstall and Installshield quits or throws an error and can not continue.
    • PowerStation Accessories - Mounting kits, Connectors, Protective Overlays
    • What HMI software runs on which models of HMI? (Consolidated History of HMI and Software Versions)
    • What software is on my Parker/CTC HMIs?
  • Servo Drives and Servo Drive/Controllers+
  • Stepper Drives and Stepper Drive/Controller+
  • Gearheads+
  • AC/DC Industrial Drives+
  • 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
      • Electromechanical - Industrial
      • Electromechanical – Mobile
    • Filtration
    • Fluid and Gas Handling
    • Hydraulics
    • IoT
      • Mobile IoT
    • Pneumatics
      • Pneumatic Industrial
      • Pneumatics Mobile
    • 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:

Reading and Writing Allen Bradley Logix tags that are strings

Print Friendly and PDF

The String tag in the Logix processor is actually two separate tags.

TagName.LEN

TagName.DATA

The .LEN tag is automatically updated buy the PLC and the Com Server as data is changed. It contains the number of characters (up to 82) that comprise the string.

The String maximum length is set for the tag but the data is dynamic length. To minimize the maintenance and communications overhead, not all the characters are overwritten

Data empty to start.

LEN is 0

Data has string 20 characters in length written so it now contains twenty ascii characters.

LEN is 20

Data has string 10haracters in length written but it still contains twenty ascii characters.

LEN is 10 and only the first 10 of the available 20 characters are sent in Data Tag

You do not write to .LEN, only the PLC and the Com server update it.

The .DATA tag is the actual variable length string data.

In your tags in Xpress or in InteractX only the tag name is imported and before you can use it in the application you need to add:

.DATA/82 if you have the max length set in the processor. Otherwise set it to the size limit in PLC 1-82 valid

Channel.device.TagName.Data/82

DM06042020

  • Xpress
  • logix
  • InteractX
  • tag
  • controllogix
  • Allen Bradley
  • CompactLogix
  • Share
  • History
  • More
  • Cancel
  • Sign in to reply
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 2023
  • Site Map
  • Safety
  • Privacy Policies
  • Terms and Conditions
  • Community Terms of Use
ENGINEERING YOUR SUCCESS.