EasyManua.ls Logo

Rockwell Automation Allen-Bradley Logix 5000 Series User Manual

Rockwell Automation Allen-Bradley Logix 5000 Series
94 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #57 background imageLoading...
Page #57 background image
CIP Services and User-created Tags
Chapter 2
Rockwell Automation Publication 1756-PM020F-EN-P - January 2019 57
In this example, the first and second members have the same offset. This is
typical of how BOOL members are mapped into UDTs. The first member is
the host member for the data described by the second member. The second
member, which is the visible member, is seen in the Logix Designer
application Data Monitor.
See also
Analysis on page 53
This description applies only to UDTs, not Module-Defined,
Add-On-Defined or Predefined structures.
BOOLs in UDTs are typically mapped to a previous SINT (whose name
begins with the prefix ZZZZZZZZZZ) in the structure data stream. This
SINT does not appear in the Logix Designer application Data Monitor view.
With SINT host members, if more than eight contiguous BOOLs are defined,
multiple adjacent SINTs are created to hold them. The bits are mapped into
each SINT beginning with bit 0 thru bit 7 for contiguous BOOLS. If BOOLS
are defined non-contiguously in a UDT, they are mapped to more than one
host member. The Member Offset in the Template identifies where the host
SINT is located and the bit order of the BOOL in the SINT is determined by
the order of the bit in the structure. The host member is sent on the wire
when the tag is accessed, but the visible BOOL is only present in the
structure definition to enumerate the value and is not part of what is sent on
the wire.
Logix BOOL arrays are multiples of BOOL[32] and are implemented as a
DWORD array.
To better understand structure encoding, see the information on structured
definitions in the Logix 5000 Controllers Import/Export Manual
, publication
1756-RM084.
See also
Analysis on page 16
This example illustrates reading a structure to understand how data transmits.
This example also shows the value for the accessed tag.
The MachineSummary structured tag is a STRUCT_B type tag. The
members of the MachineSummary tag have these values:
pilot_on = 1
hourlyCount[0] = 0x00
hourlyCount[1] = 0x01
hourlyCount[2] = 0x02
More about BOOLS in UDTs
Step 4: Determine the data
packing of the members of
a structure when accessed
as a whole

Table of Contents

Question and Answer IconNeed help?

Do you have a question about the Rockwell Automation Allen-Bradley Logix 5000 Series and is the answer not in the manual?

Rockwell Automation Allen-Bradley Logix 5000 Series Specifications

General IconGeneral
SeriesLogix 5000
CategoryController
Programming LanguagesLadder Diagram (LD), Function Block Diagram (FBD), Structured Text (ST), Sequential Function Chart (SFC)
Communication ProtocolsEtherNet/IP, ControlNet, DeviceNet
Programming SoftwareStudio 5000
Supported I/ODigital, Analog, Specialty (e.g., motion, temperature)
Processor TypeVaries by model (depends on specific model)
Communication PortsEthernet, USB, serial (depends on model)
Operating Temperature0°C to 60°C (32°F to 140°F)
Power SupplyVaries by model (e.g., 24V DC, 120/240V AC)
CertificationsUL, CE, ATEX

Summary

Important user information

Safety Warnings and Definitions

Explains safety icons like WARNING, ATTENTION, and SHOCK HAZARD, and their implications.

Summary of Changes

New or Enhanced Features

Details new or updated information and features introduced in this manual release.

Chapter 1 CIP services

CIP Data Types

Explains atomic, structure, and array data types used in CIP communication.

Services Supported by Logix 5000 Controllers

Lists vendor-specific CIP services that operate on tags within the controller.

Chapter 2 CIP Services and User-created Tags

Step 1: Find user-created controller scope tags

Describes retrieving symbol name and type attributes for controller tags.

Step 3: Determine the structure makeup

Explains how to read template instance attributes for structure details.

Step 4: Determine the data packing

Details understanding how structure members are arranged in memory for access.

Chapter 3 CIP Addressing Examples

Atomic Members of Predefined Data Types

Provides examples of accessing atomic data types using CIP addressing methods.

Access User-Defined Structures

Demonstrates accessing user-defined structures using Symbolic Segment Addressing.

Chapter 4 CIP Over the Controller Serial Port

Unconnected Messaging (UCMM) through PCCC

Details using PCCC command 0B for serial port requests.

Connected Explicit Messages through PCCC

Explains using PCCC command 0A for explicit message connections.

Chapter 5 PCCC Commands

PLC-2 Communication Commands

Describes commands for accessing Logix 5000 tags via PLC-2.

PLC-5 Communication Commands

Details commands for accessing data using PLC-5 addressing methods.

SLC Communication Commands

Covers commands for accessing data using SLC logical addressing.

Rockwell Automation support

Installation assistance

Provides contact details for technical support during product installation.

Documentation feedback

How to provide suggestions for improving the document.

Related product manuals