CCW - Reading The Serial Number of A Micro800 Controller Programmatically
CCW - Reading The Serial Number of A Micro800 Controller Programmatically
Document ID QA24087
Summary
Question
Can you programmatically read the Serial Number of a Micro800 controller?
Environment
Connected Components Workbench (CCW)
Micro800 controllers
Answer
Yes, by reading the CIP Identity Object of the controller with a MSG_CIPGENERIC instruction with Path to itself.
Note: The serial number that is read from the Identity Object is not the serial number on the controller label. It is
the same Serial Number that you would see in RSLinx Classic under Device Properties when displayed in
hexadecimal format.
https://rockwellautomation.custhelp.com/app/answers/answer_view/a_id/575795/loc/en_US 1/5
12/22/23, 7:04 PM CCW: Reading the Serial Number of a Micro800 controller programmatically
https://rockwellautomation.custhelp.com/app/answers/answer_view/a_id/575795/loc/en_US 2/5
12/22/23, 7:04 PM CCW: Reading the Serial Number of a Micro800 controller programmatically
SN_ResData contains the serial number broken into 4 USINT values. To match the Serial Number that is shown
in the Device Properties in RSLinx Classic it is necessary to reverse the order of the array and configure CCW to
show variables in hexadecimal format.
https://rockwellautomation.custhelp.com/app/answers/answer_view/a_id/575795/loc/en_US 3/5
12/22/23, 7:04 PM CCW: Reading the Serial Number of a Micro800 controller programmatically
For additional information refer to Chapter 3: Use CIP Generic Client Messaging of Micro800 Programmable
Controllers: Getting Started with CIP Client Messaging, publication 2080-QS002B.
The CIP Identity Object is documented in the same publication, in Appendix D CIP Objects of Micro800
Programmable Controllers: Getting Started with CIP Client Messaging, publication 2080-QS002B.
Recently Viewed
Message between
MicroLogix 1400 Micro800 controllers:
Micro800 Implicit and
Modbus TCP master to Connections
Explicit Messaging
Micro850 Modbus TCP capability
slave
DISCLAIMER
https://rockwellautomation.custhelp.com/app/answers/answer_view/a_id/575795/loc/en_US 4/5
12/22/23, 7:04 PM CCW: Reading the Serial Number of a Micro800 controller programmatically
This knowledge base web site is intended to provide general technical information on a particular subject or
subjects and is not an exhaustive treatment of such subjects. Accordingly, the information in this web site is not
intended to constitute application, design, software or other professional engineering advice or services. Before
making any decision or taking any action, which might affect your equipment, you should consult a qualified
professional advisor.
ROCKWELL AUTOMATION DOES NOT WARRANT THE COMPLETENESS, TIMELINESS OR ACCURACY OF ANY OF THE
DATA CONTAINED IN THIS WEB SITE AND MAY MAKE CHANGES THERETO AT ANY TIME IN ITS SOLE DISCRETION
WITHOUT NOTICE. FURTHER, ALL INFORMATION CONVEYED HEREBY IS PROVIDED TO USERS "AS IS." IN NO EVENT
SHALL ROCKWELL BE LIABLE FOR ANY DAMAGES OF ANY KIND INCLUDING DIRECT, INDIRECT, INCIDENTAL,
CONSEQUENTIAL, LOSS PROFIT OR DAMAGE, EVEN IF ROCKWELL AUTOMATION HAVE BEEN ADVISED ON THE
POSSIBILITY OF SUCH DAMAGES.
ROCKWELL AUTOMATION DISCLAIMS ALL WARRANTIES WHETHER EXPRESSED OR IMPLIED IN RESPECT OF THE
INFORMATION (INCLUDING SOFTWARE) PROVIDED HEREBY, INCLUDING THE IMPLIED WARRANTIES OF FITNESS
FOR A PARTICULAR PURPOSE, MERCHANTABILITY, AND NON-INFRINGEMENT. Note that certain jurisdictions do
not countenance the exclusion of implied warranties; thus, this disclaimer may not apply to you.
https://rockwellautomation.custhelp.com/app/answers/answer_view/a_id/575795/loc/en_US 5/5