Compact 5000 I/O Serial Module: User Manual
Compact 5000 I/O Serial Module: User Manual
Original Instructions
Activities including installation, adjustments, putting into service, use, assembly, disassembly, and maintenance are
required to be carried out by suitably trained personnel in accordance with applicable code of practice.
If this equipment is used in a manner not specified by the manufacturer, the protection provided by the equipment may
be impaired.
In no event will Rockwell Automation, Inc. be responsible or liable for indirect or consequential damages resulting from
the use or application of this equipment.
The examples and diagrams in this manual are included solely for illustrative purposes. Because of the many variables and
requirements associated with any particular installation, Rockwell Automation, Inc. cannot assume responsibility or
liability for actual use based on the examples and diagrams.
No patent liability is assumed by Rockwell Automation, Inc. with respect to use of information, circuits, equipment, or
software described in this manual.
Reproduction of the contents of this manual, in whole or in part, without written permission of Rockwell Automation,
Inc., is prohibited.
Throughout this manual, when necessary, we use notes to make you aware of safety considerations.
WARNING: Identifies information about practices or circumstances that can cause an explosion in a hazardous
environment, which may lead to personal injury or death, property damage, or economic loss.
ATTENTION: Identifies information about practices or circumstances that can lead to personal injury or death, property
damage, or economic loss. Attentions help you identify a hazard, avoid a hazard, and recognize the consequence.
IMPORTANT Identifies information that is critical for successful application and understanding of the product.
SHOCK HAZARD: Labels may be on or inside the equipment, for example, a drive or motor, to alert people that dangerous
voltage may be present.
BURN HAZARD: Labels may be on or inside the equipment, for example, a drive or motor, to alert people that surfaces may
reach dangerous temperatures.
ARC FLASH HAZARD: Labels may be on or inside the equipment, for example, a motor control center, to alert people to
potential Arc Flash. Arc Flash will cause severe injury or death. Wear proper Personal Protective Equipment (PPE). Follow ALL
Regulatory requirements for safe work practices and for Personal Protective Equipment (PPE).
Preface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .7
Summary of Changes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Additional Resources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
Chapter 1
Compact 5000 I/O Serial Module Controller and Software Compatibility . . . . . . . . . . . . . . . . . . . . . . . . . 10
Overview Module Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Local I/O or Remote I/O Modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Local I/O Modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Remote I/O Module. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Chapter 2
Compact 5000 I/O Serial Module Ownership . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Operation Construct a System. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
Local I/O modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
Remote I/O modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
5069-ARM Address Reserve Module . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
Power the Module. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
5069-FPD Field Potential Distributor . . . . . . . . . . . . . . . . . . . . . . . . . . 20
Configure Modules. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
Connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
Chapter 3
Compact 5000 I/O Serial Module General. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
Features Software Configurable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
Requested Packet Interval . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
Fault and Status Reporting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
Module Inhibiting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
Electronic Keying. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
Status Indicators . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
Module Firmware . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
Common Module Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
Control Line Menu. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
Generic ASCII Data Exchange . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
Data Sent with the Serial Port . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
Generic ASCII Transmit Functions. . . . . . . . . . . . . . . . . . . . . . . . . 32
Generic ASCII Transmit Methods. . . . . . . . . . . . . . . . . . . . . . . . . . 32
Data Received from the Serial Port . . . . . . . . . . . . . . . . . . . . . . . . . . 33
Generic ASCII Receive Functions . . . . . . . . . . . . . . . . . . . . . . . . . . 35
Generic ASCII Receive Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
Modbus Master Data Exchange . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
Modbus Master Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
Command Disable function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
Modbus Slave Data Exchange . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
Modbus Slave Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
DF1 Protocols . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
Using Modems that Support DF1 Communication Protocols . 41
Modem Control Line Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
Configuration Considerations for RTS Send and Off Delays . . 45
DF1 Point-to-Point Protocol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
DF1 Master Protocol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
Configuring a Master Station for Standard Polling Mode . . . . . 47
Minimum DF1 Half-Duplex Master ACK Timeout. . . . . . . . . . 51
Determining Minimum Master Serial Port ACK Timeout . . . . 51
Create Polling Lists . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
Monitor Active Stations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
Configuring a Message-Based Mode
DF1 Half-Duplex Master Station . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
Configuring a Master Station for Message-based Polling Mode 55
DF1 Slave Protocol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59
Configuring the Controller as a Slave Station . . . . . . . . . . . . . . . . 59
DF1 Radio Modem Protocol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61
Designing Communication for DF1 Radio Modem Protocol. . 62
DF1 Data Exchange . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65
DF1 Point to Point Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66
DF1 Master Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66
DF1 Slave Parameters. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67
DF1 Radio Modem Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67
DH-485 Data Exchange . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68
DH-485 Functions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69
Chapter 4
Compact 5000 I/O Serial Module Before You Begin. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71
Configuration Add a New Module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72
Discover Local I/O Modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72
Discover Remote I/O Modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74
New Local I/O Modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76
New Remote I/O Module. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78
Edit the Module Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80
General Category. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80
Connection Category . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89
Module Info Category . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104
View the Module Tags. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105
Chapter 5
Troubleshoot Your Module Module Status Indicator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 107
Compact 5000 I/O Serial Module Status Indicators. . . . . . . . . . . . . 108
Appendix A
Module Tags Name Conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109
Generic ASCII and Modbus Slave Name Conventions . . . . . . 109
Modbus Master Name Conventions . . . . . . . . . . . . . . . . . . . . . . . 110
DF1 Name Conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 110
DH-485 Name Conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 110
Access the Tags . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111
Channel Configured Generic ASCII Tags. . . . . . . . . . . . . . . . . . . . . . 112
Channel Configured for Generic ASCII . . . . . . . . . . . . . . . . . . . . . . . 113
Input Tags . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 113
Output Tags . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 116
Channel Configured for Modbus Master. . . . . . . . . . . . . . . . . . . . . . . 117
Input Tags . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 117
Output Tags . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 119
Channel Configured for Modbus Slave. . . . . . . . . . . . . . . . . . . . . . . . . 120
Input Tags . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121
Output Tags . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 122
Channel Configured for DF1—Point to Point . . . . . . . . . . . . . . . . . 123
Input Tags . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 124
Output Tags . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 124
Channel Configured for DF1—Master . . . . . . . . . . . . . . . . . . . . . . . . 125
Input Tags . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 126
Output Tags . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 126
Channel Configured for DF1—Slave . . . . . . . . . . . . . . . . . . . . . . . . . . 127
Input Tags . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 127
Channel Configured for DF1—Radio Modem . . . . . . . . . . . . . . . . . 128
Input Tags . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 128
Output Tags . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 128
Channel Configured for DH-485 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 129
Input Tags . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 129
Appendix B
Modbus Command Codes Master Command List Function Codes . . . . . . . . . . . . . . . . . . . . . . . . 131
Read Coil Status (Function Code 01) . . . . . . . . . . . . . . . . . . . . . . 131
Read Input Status (Function Code 02) . . . . . . . . . . . . . . . . . . . . . 133
Read Holding Registers (Function Code 03). . . . . . . . . . . . . . . . 134
Read Input Registers (Function Code 04) . . . . . . . . . . . . . . . . . . 135
Force Single Coil (Function Code 05). . . . . . . . . . . . . . . . . . . . . . 136
Preset Single Register (Function Code 06) . . . . . . . . . . . . . . . . . . 138
Force Multiple Coils (Function Code 15) . . . . . . . . . . . . . . . . . . 139
Preset Multiple Registers (Function Code 16) . . . . . . . . . . . . . . 140
Appendix C
Programming Example Generic ASCII Sample Code. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 141
Transmit and Receive Channel Configurations . . . . . . . . . . . . . 141
Sample Code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 142
Modbus Sample Code Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . 144
Modbus Master Command List. . . . . . . . . . . . . . . . . . . . . . . . . . . . 144
Modbus Slave Address Mapping Table . . . . . . . . . . . . . . . . . . . . . 144
Modbus Sample Code Configuration Example. . . . . . . . . . . . . . 144
Modbus Master Sample Code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 145
Modbus Slave Sample Code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 145
Example MSG Control Blocks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 147
Appendix D
ASCII Conversion Tables ASCII Conversions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 151
Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .153
This manual describes how to use Compact 5000™ I/O serial module in
Logix 5000™ systems.
IMPORTANT The Compact 5000 I/O Serial module is only compatible with the
following controllers:
• CompactLogix™ 5380
• Compact GuardLogix® 5380
• CompactLogix 5480
• ControlLogix® 5580
• GuardLogix® 5580
Additional Resources These documents contain additional information concerning related products
from Rockwell Automation.
Resource Description
Compact 5000 I/O Serial Module Install Instructions, Describes how to install the Compact 5000 I/O Serial
publication 5069-IN022 Module.
5069 Compact I/O EtherNet/IP Adapter Installation Describes how to install and wire the
Instructions, publication 5069-IN003 Compact 5000 I/O EtherNet/IP adapters.
Compact 5000 I/O Modules Specifications Technical Data, Provides specifications, wiring diagrams, and module
publication 5069-TD001 block diagrams Compact 5000 I/O modules
5000 Series I/O Modules in Logix5000 Control Systems User Describes how to use 5000 Series I/O modules.
Manual, publication 5000-UM004
5000 Series Analog I/O Modules in Logix 5000 Control Describes how to use Compact 5000 I/O analog
Systems User Manual, publication 5000-UM005 modules.
5000 Series High-speed Counter Modules in Logix 5000 Describes how to use the Compact 5000 I/O.
Control Systems User Manual, publication 5000-UM006
EtherNet/IP Communication Modules in 5000 Series Describes how to use Compact 5000 I/O EtherNet/IP
Control Systems User Manual, publication ENET-UM004 adapters.
CompactLogix 5380 and Compact GuardLogix 5380 Describes how to use CompactLogix 5380 and
Controllers User Manual, publication 5069-UM001 Compact GuardLogix 5380 controllers.
ControlLogix 5580 and GuardLogix 5580 Controllers User Describes how to use ControlLogix 5580 and
Manual, publication 1756-UM543 GuardLogix 5580 controllers.
Electronic Keying in Logix 5000 Control Systems Describes how to use electronic keying in Logix 5000
Application Technique, publication LOGIX-AT001 control system applications.
DF1 Protocol and Command Set Reference Manual, Describes how to use electronic keying in Logix 5000
publication 1770-RM516 control system applications.
SCADA System Application Guide, publication AG-UM008 Application guide for SCADA systems.
ControlLogix DH-485 Communication Module, Describes how to use the ControlLogix DH-485
publication 1756-UM532 Communication Module.
Industrial Automation Wiring and Grounding Guidelines, Provides general guidelines for installing a Rockwell
publication 1770-4.1 Automation industrial system.
Product Certifications website: [Link]/certifications Provides declarations of conformity, certificates, and
other certification details.
Topic Page
Controller and Software Compatibility 10
Module Overview 11
Local I/O or Remote I/O Modules 12
The Compact 5000™ I/O serial module provides two independent channels
that function as network interface via RS232C, RS422 or RS485 to serial
devices communicating on Generic ASCII, Modbus RTU/ASCII, DF1 or
DH-485 protocol.
The module has two channels that are independent of each other. The channels
can transmit data to and receive data from serial devices using the following
communication mode:
• Generic ASCII
• DF1
• DH-485
IMPORTANT Use Studio 5000 Logix Designer® Version 31 or greater. You must install an
Add-On Profile to use the serial module. To find the Add-On Profile, go to the
Product Compatibility and Download Center (PCDC).
DF1 and DH-485 must use Channel 1 and be local.
The serial module with firmware revision 2.011 and later with Add-On
profile version 2.01 supports DH-485 and DF1 protocols DF1 Point to Point,
DF1 Master, DF1 Slave, and DF1 Radio modem.
Controller and Software When you use Compact 5000™ I/O serial module in Logix 5000™ controller
control system, the Compact 5000 I/O Serial module is compatible with the
Compatibility following controllers:
• CompactLogix™ 5380
• Compact GuardLogix® 5380
• CompactLogix™ 5480
• ControlLogix® 5580 (remote only)
• GuardLogix® 5580 (remote only)
IMPORTANT The serial module is not compatible with the 5069-AEN2TR. See the Product
Compatibility and Download Center (PCDC) for more information.
Table 1 - Compact 5000 I/O Modules Controller and Software Compatibility Requirements
Controllers
Logix Designer
Location System Cat. Nos. Application
Local I/O CompactLogix 5380 5069-L320ER, 5069-L320ERMK, 5069-L330ERMK, 5069-L340ERM, 5069-L350ERMK, 5069-L306ER, Version 31.00.00 or later
modules 5069-L306ERM, 5069-L310ER, 5069-L310ERM, 5069-L310ER-NSE, 5069-L310ERS2, 5069-L320ERM,
5069-L320ERMK, 5069-L330ER, 5069-L330ERM, 5069-L330ERMK, 5069-L340ER, 5069-L350ERM,
5069-L350ERMK, 5069-L380ERM, 5069-L3100ERM
5069-L46ERMW Version 32.00.00 or later
CompactLogix 5480
5069-L430ERMW, 5069-L450ERMW, 5069-L4100ERMW, 5069-L4200ERMW Version 32.01.00 or later
Compact GuardLogix 5380 5069-L306ERS2, 5069-L306ERMS2, 5069-L310ERS2, 5069-L310ERMS2, 5069-L320ERS2, Version 31.00.00 or later
5069-L320ERS2K, 5069-L320ERMS2, 5069-L320ERMS2K, 5069-L330ERS2, 5069-5069-L330ERS2K,
L330ERMS2, 5069-L330ERMS2K, 5069-L340ERS2, 5069-L340ERMS2, 5069-L350ERS2,
5069-L350ERS2K, 5069-L350ERMS2, 5069-L350ERMS2K, 5069-L380ERS2, 5069-L380ERMS2,
5069-L3100ERS2, 5069-L3100ERMS2
Remote I/O CompactLogix 5380 5069-L320ER, 5069-L340ERM, 5069-L306ER, 5069-L306ERM, 5069-L310ER, 5069-L310ERM, 5069- Version 31.00.00 or later
modules(1) L310ER-NSE, 5069-L310ERS2, 5069-L320ERM, 5069-L330ER, 5069-L330ERM, 5069-L340ER, 5069-
L350ERM, 5069-L380ERM, 5069-L3100ERM
5069-L46ERMW Version 32.00.00 or later
CompactLogix 5480
5069-L430ERMW, 5069-L450ERMW, 5069-L4100ERMW, 5069-L4200ERMW Version 32.01.00 or later
Compact GuardLogix 5380 5069-L306ERS2, 5069-L306ERMS2, 5069-L310ERS2, 5069-L310ERMS2, 5069-L320ERS2, Version 31.00.00 or later
5069-L320ERS2K, 5069-L320ERMS2, 5069-L320ERMS2K, 5069-L330ERS2, 5069-5069-L330ERS2K,
L330ERMS2, 5069-L330ERMS2K, 5069-L340ERS2, 5069-L340ERMS2, 5069-L350ERS2,
5069-L350ERS2K, 5069-L350ERMS2, 5069-L350ERMS2K, 5069-L380ERS2, 5069-L380ERMS2,
5069-L3100ERS2, 5069-L3100ERMS2
ControlLogix® 5580 1756-L83E, 1756-L85E, 1756-L81E, 1756-L82E, 1756-L84E Version 31.00.00 or later
GuardLogix 5580 1756-L81ES, 1756-L82ES, 1756-L83ES, 1756-L84ES Version 31.00.00 or later
(1) Serial module is not compatible with 5069-AEN2TR.
Module Overview The module provides the communication connections to the serial devices.
5
6
Local I/O or Remote You can use Compact 5000 I/O modules as local or remote
I/O modules, with some restrictions that are based on the module and controller
I/O Modules type. Compatibility requirements apply and are described in Controller and
Software Compatibility on page 10.
IMPORTANT Compact 5000 I/O Serial modules can function as local I/O modules in
the following:
• CompactLogix 5380 control systems
• Compact GuardLogix 5380 control systems
• CompactLogix 5480 control systems
When a Compact 5000 I/O Serial module resides in a separate location from the
controller, it is a remote I/O module. Remote Compact 5000 I/O modules are
accessible over an EtherNet/IP network via a Compact 5000 EtherNet/IP
adapter.
Remote Compact 5000 I/O modules are installed to the right of the adapter and
exchange data across the remote system backplane. The data is exchanged with
the controller over the EtherNet/IP network.
IMPORTANT Compact 5000 I/O Serial modules can function as remote I/O modules in
the following:
• CompactLogix 5380 control systems
• Compact GuardLogix 5380 control systems
• CompactLogix 5480 control systems
• ControlLogix 5580 control systems
• GuardLogix 5580 control systems
DF1 and DH-485 modes are not supported remotely.
Notes:
Topic Page
Ownership 15
Construct a System 16
5069-ARM Address Reserve Module 18
Power the Module 19
5069-FPD Field Potential Distributor 20
Configure Modules 21
Ownership Every I/O module in a Logix 5000™ control system must be owned by a
controller, also known as the owner-controller. When the Compact 5000 I/O
modules are used in a Logix 5000 control system, the owner-controller performs
the following:
• Stores configuration data for every module that it owns.
• Can reside in a location that differs from the Compact 5000 I/O modules.
• Sends the I/O module configuration data to define module behavior and
begin operation in the control system.
Construct a System Before you use your serial module, you must complete tasks based on whether the
modules are local or remote I/O modules:
5069-ARM Address Every Compact 5000 I/O module has a unique node address in a system. As
modules are installed, the node addresses increment. The Logix Designer
Reserve Module application project includes modules in the I/O Configuration that correspond
to the physical modules.
If a module is not available during initial system installation and operation, you
can use a 5069-ARM address reserve module to reserve the slot in the system.
That is, you install the 5069-ARM address reserve module to reserve the node
address. The address reserve module remains installed until the I/O module is
available.
When you install the address reserve module, you also make sure that the
subsequently-installed modules are at the correct node address.
You use the corresponding entry in the Logix Designer application project to
reserve the node address. That is, when you add modules to the I/O
Configuration tree in the project, you add an address reserve module at the node
address that matches the physical module location.
Figure 4 - Compact 5000 I/O System with 5069-ARM Address Reserve Module
5069-ARM Address Reserve Module
Power the Module Compact 5000 I/O modules receive the following power types from first
component in the system, that is, the controller or adapter:
• System-side Power - Powers the system and lets modules transfer data and
execute logic.
IMPORTANT The Compact 5000 I/O Serial Module does not use SA power.
However, verify that the module is installed in a position where
SA power uses DC voltage.
Power begins at the left-most device in the system and passes across the Compact
5000 I/O module internal circuitry via power buses, that is, a MOD power bus.
The left-most device is either a controller or an EtherNet/IP adapter, depending
on whether the Serial module is a local or remote I/O module.
For more information on how to power local Compact 5000 I/O modules, see
the following:
• CompactLogix 5380 and Compact GuardLogix 5380 Controllers User
Manual, publication 5069-UM001
• CompactLogix 5480 Controller User Manual, publication 5069-UM002
5069-FPD Field The controller or adapter, based on whether the module is a local or
remote I/O module, is the primary source of field-side power, that is, SA power,
Potential Distributor in the system. However, you can use a 5069-FPD field potential distributor to
break field-side power distribution in a system and establish a new SA power bus.
Field-side power passes across the internal circuitry of the Compact 5000 I/O
modules beginning with the controller or the adapter. The field potential
distributor blocks the passage of field-side power from the left and functions as a
new field-side power source for the modules to the right.
Figure 5 - Compact 5000 I/O System with 5069-FPD Field Potential Distributor
5069-FPD Field Potential Distributor
For more information on how to power local Compact 5000 I/O modules, see
the following:
• CompactLogix 5380 and Compact GuardLogix 5380 Controllers User
Manual, publication 5069-UM001
• CompactLogix 5480 Controller User Manual, publication 5069-UM002
Configure Modules You must create a Logix Designer application project for the Logix 5000
controller that owns the Compact 5000 I/O Serial modules. The project includes
module configuration data for the Compact 5000 I/O Serial module.
The Compact 5000 I/O modules can operate immediately after receiving the
configuration data.
Connections
During module configuration, you must define the module. In the Module
Definition parameters for most Compact 5000 I/O modules, you must choose a
Connection type. A connection is a real-time data transfer link between the
owner-controller and the module that occupies the slot that the configuration
references.
The owner-controller monitors its connection with a module. Any break in the
connection, for example, the loss of power to the system, causes a fault. The Logix
Designer application monitors the fault status tags to indicate when a fault occurs
on a module.
Unlike other Compact 5000 I/O modules that make one connection to the
owner-controller, the Compact 5000 I/O Serial module can have multiple
connections based on how the module channels are configured.
The Serial module is required to use the Data connection type in the Module
Definition dialog box. However, the module has two channels that you must
configure independently of each other. You can disable a channel or choose a
mode, that is, the Generic ASCII, Modbus Master, Modbus Slave, DF1 or
DH-485 mode.
Table 3 shows the total number of connections for all protocol combinations.
Table 3 - I/O Connections For Each Protocol Combination
CH0 Protocol Choice (Cannot select DF1 or DH-485)
Disabled Generic ASCII Modbus Slave Modbus Master
CH1 Protocol Disabled 0 connection 1 connection 1 connection 2 connections
Generic ASCII 1 connection 2 connections 2 connections 3 connections
Modbus Slave 1 connection 2 connections 2 connections 3 connections
Modbus Master 2 connections(1) 3 connections 3 connections 4 connections
DF1 Point to Point 1 connection 2 connections 2 connections 3 connections
DF1 Master 1 connection 2 connections 2 connections 3 connections
DF1 Slave 1 connection 2 connections 2 connections 3 connections
DF1 Radio Modem 1 connection 2 connections 2 connections 3 connections
DH-485 1 connection 2 connections 2 connections 3 connections
(1) The Modbus Master can have 1 or 2 connections depending on the command list configuration.
Notes:
Topic Page
General 25
Generic ASCII Data Exchange 31
Modbus Master Data Exchange 36
Modbus Slave Data Exchange 39
DF1 Protocols 41
DH-485 Data Exchange 68
General The Compact 5000 I/O serial module supports these module-wide features:
• Software Configurable
• Requested Packet Interval
• Fault and Status Reporting
• Module Inhibiting
• Electronic Keying
IMPORTANT DF1 and DH-485 protocols use channel 1 only and must be local.
Software Configurable
You use the Logix Designer application to configure the module, monitor system
operation, and troubleshoot issues. You can also use the Logix Designer
application to retrieve the following information from any module in the system:
• Serial number
• Firmware revision information
• Product code
• Vendor
• Error and fault information
• Diagnostic information
By minimizing the need for tasks, such as setting hardware switches and jumpers,
the software makes module configuration easier and more reliable.
You set the RPI value during initial module configuration and can adjust it as
necessary after module operation has begun.
IMPORTANT If you change the RPI while the project is online, the connection to the
module is closed and reopened in one of the following ways:
• You inhibit the connection to the module, change the RPI value, and
uninhibit the connection.
• You change the RPI value. In this case, the connection is closed and
reopened immediately after you apply the change to the module
configuration.
For more information on guidelines for specifying RPI rates, see the
Logix 5000™ Controllers Design Considerations Reference Manual, publication
1756-RM094.
Table 4 - RPI Range
Protocol Setting Range of RPI
Generic ASCII 2 ms…750 ms (by 0.1 ms)
Modbus Master 6 ms…750 ms (by 0.1 ms)
Modbus Slave 6 ms…750 ms (by 0.1 ms)
DF1 Point to Point 2 ms…750 ms (by 0.1 ms)
DF1 Master 2 ms…750 ms (by 0.1 ms)
DF1 Slave 2 ms…750 ms (by 0.1 ms)
DF1 Radio Modem 2 ms…750 ms (by 0.1 ms)
DH-485 2 ms…750 ms (by 0.1 ms)
IMPORTANT • If the RPI is not a multiple of 0.1 ms, round the number down to
the closest multiple value of 0.1 ms. For example, if the RPI is
2.37 ms, round to 2.3 ms.
• Depending on the software version, you can set each channel
value separately.
• When using Immediate Output (IOT) instruction, remember to add a 1
ms execution dwell time before each subsequent execution.
The Compact 5000 I/O serial modules report fault and status data along with
channel data. Fault and status data is reported in the following ways:
For more information on fault reporting, see the full chapter, Troubleshoot Your
Module on page 107.
Module Inhibiting
• You write a configuration for an I/O module but inhibit the module to
help prevent it from communicating with the owner-controller. The owner
does not establish a connection and the configuration is not sent to the
module until the connection is uninhibited.
In this case, you can inhibit the module and the connection to the module
does not exist.
• You use a program that includes a module that you do not physically
possess yet. You do not want the controller to look for a module that does
not yet exist. In this case, you can inhibit the module in your program until
it physically resides in the proper slot.
Electronic Keying
Electronic Keying reduces the possibility that you use the wrong device in a
control system. It compares the device that is defined in your project to the
installed device. If keying fails, a fault occurs. These attributes are compared.
Attribute Description
Vendor The device manufacturer.
Device Type The general type of the product, for example, I/O module.
Product Code The specific type of the product. The Product Code maps to a catalog number.
Major Revision A number that represents the functional capabilities of a device.
Minor Revision A number that represents behavior changes in the device.
Carefully consider the implications of each keying option when selecting one.
More Information
Status Indicators
Each Compact 5000 I/O serial module has a status indicator on the front of the
module that lets you check the health and operational status of a module. The
status indicator displays vary for each module.
Module Firmware
The Compact 5000 I/O serial modules are manufactured with module firmware
installed. If updated module firmware revisions are available in the future, you
can update the firmware.
Updated firmware revisions are made available for various reasons, for example,
to correct an anomaly that existed in previous module firmware revisions.
You access updated firmware files through the Product Compatibility and
Download Center (PCDC). At the PCDC, you can use the module catalog
number to check for firmware updates. If the catalog number is not available, no
updates exist.
When you are required to connect to a dial-up modem, see Table 6 that explains
the duplex setting in the serial port.
Table 6 - Control Line Menu
Modem Duplex Status Controller Your Function Choice Continuous Carrier
Not using a modem — No Handshaking —
Using a modem Modems in a point-to-point link are full-duplex — Full-duplex
Master Modem is a full-duplex while slave Master Controller Full-duplex
modem is half-duplex.
— Slave Controller Half-duplex Select the continuous carrier checkbox.
All modems in the system are half-duplex. — Half-duplex Clear the continuous carrier checkbox
(default).
Generic ASCII The following illustrations show different data exchanges using the serial module.
Data Exchange
Data Sent with the Serial Port
Data is sent out of the serial port using the following steps:
1. The controller sends out the consumed packet with an incremented TxID.
2. The serial module puts the packet into the TxBuffer.
3. The serial module takes the oldest data from the TxBuffer and sends it out
to the target.
5069-SERIAL
TxBuffer
Consume Data TxID The Latest Data Binary
Update Data
Transmit Data TxFIFO UART
TxID
RPI Comes Transmit Data
Non-Update
Binary
Ignore Data
The Oldest Data
Data
Send
Data Receive
Data
Controller
Target
In Generic ASCII mode, you can define any kind of data to be transmitted to
communicate to serial devices. Some examples are barcode scanners, dial up
modems, serial printers, temperature controllers, and so on.
Table 7 - Generic ASCII Transmit Functions
Parameter Definition Available Options
Swap Mode Select whether swapping will be done or what swapping method is to be • No Change (default)
used before the module sends output data to the Serial Port or after the • Word Swap - After executing a word swap on 32-bit hex value
module receives input data from the Serial Port. 11112222, the result is 22221111.
• Byte Swap - After executing a byte swap on 32-bit hex value
11223344, the result is 22114433.
• Word and Byte Swap - After executing a word and byte swap on 32-bit
hex value 11223344 the result is 44332211.
Termination Mode/ Selecting the termination mode of each channel. Choose to ignore or • Ignore End Delimiter (default) - Transmits packet based on number of
Delimiter include the delimiter. bytes specified only.
• Exclude Delimiter - Determines end of data when it finds the
Termination Delimiter characters, but doesn’t transmit the
Termination Delimiter bytes with the packet.
• Include Delimiter - Determines end of data by Termination Delimiters
and transmits them.
Termination Delimiter 1 Configure the channel's termination delimiter. • 7 bit $00…$7F
• 8 bit $00…$FF
Termination Delimiter 2 Configure the channel's termination delimiter. • 7 bit $00…$7F
• 8 bit $00…$FF ($FF = disabled)
1. For this method, configure Termination Mode for Ignore End Delimiter.
2. After copying the characters into the [Link] output tag array, write
the number of characters into the [Link] output tag, then
increment the [Link] output tag.
TIP Include transmits the packet with termination delimiter characters, and
exclude does not.
Immediate Mode
After the serial port receives data, it processes the data using the following steps.
5069-SERIAL
RxBuffer
Receive
Data
Send
Data
Controller Target
The serial port works in a handshake mode using the following steps.
5069-SERIAL
Produce RxBuffer
Data
Produce Update The Oldest Record Binary
Data Switch Data
Decided Record RxFIFO UART
Receive Send
Data Data
RPI
Comes
Controller
Target
Echo Mode The module sends all bytes received from Serial Port immediately to the • 0 = Disable (default)
serial port by 1 byte, and sends produced data to the controller. • 1 = Enable
Enables retransmission of all received characters.
Delete Mode If the mode is ignored, it is handled as regular ASCII data. Choosing CRT • 0 = Ignore (default) - echoes DEL character same as any other
means that the module does not send previous data and is replaced by character
three characters. Choosing printer means that the module does not send • 1 = CRT - receives DEL character, echoes backspace, space, backspace
previous data and is replaced by one character. • 2 = Printer - receives DEL character, echoes ‘/’ followed by previous
character
Read Buffer Size Max buffer length supported. • 1…256 (default = 256)
When receiving the ASCII packet based on a fixed number of characters, the
number of characters is configured in the Read Buffer Size parameter.
• For this method, configure Termination Mode for Ignore End Delimiter.
When receiving the ASCII packed based on timeout since the last character was
received, the timeout in milliseconds is configured in the Message Timeout
parameter.
• For this method, configure Termination Mode for Ignore End Delimiter.
When receiving the ASCII packed based on Termination delimiters at the end of
the packet, if termination mode is “Include”, then the termination bytes remain
appended to the end of the data copied into the [Link] input tag. If the
termination mode is “Exclude”, then the termination bytes are stripped off.
Modbus Master For the Modbus Master data exchange, the following definitions apply:
Data Exchange • Write—the Modbus Master writes data to the Modbus Slave.
• Read—the Modbus Master reads data from the Modbus Slave.
The Compact 5000 I/O Serial Module can get Modbus Data from
Produced/Consumed Data command, every RPI.
Config Tag
Command List Command List Table
Config Data
CH0 CH1
Modbus Slave
Config Tag
Command List Command List Table
Config Data
CH0 CH1
Modbus Slave
In Modbus mode, the serial module supports both Modbus ASCII and Modbus
RTU to connect to Modbus enabled devices like flowmeters, power meters or
remote RTU talking on Modbus RTU/ASCII.
Table 9 - Modbus Master Configuration Parameters
Parameter Definition Available Options
Modbus Selecting communication method of Modbus of each channel. • 0 = RTU (default)
Format • 1 = ASCII
– Intervals of up to one second may elapse between characters within
the message. Unless the user has configured a longer timeout, an
interval greater than 1 second means that an error has occurred.
Response The Maximum Delay time of each channel until it receives a response for Modbus • 0…3600000 (x1 ms) (default = 200)
Timeout Master Command from Modbus Slave.
When the maximum time has passed, the Modbus Master determines the Modbus
Slave did not respond.
Broadcast The Wait time of each channel until the Modbus Slave finishes processing according • 0…3600000 (x1 ms) (default = 200)
Pause to broadcasted command from the Modbus Master.
Modbus Master does not send the next command until this time has passed.
Inter-frame Maximum delay time to receive Data of each channel • 0 is not a valid value. Use Table 10 and Table 11 to determine the
Timeout minimum value.
Retry Count This parameter specifies the number of times a command is retried if it fails. If • 0…127 (default = 0)
Master Port does not receive a response after the last retry, the Slave devices
communication is suspended on the port for Error Delay Counter scans.
In Firmware revision 2.011 and later, the user is now able to disable a Modbus
Master command at runtime by controlling the disable switch bit in the output
array of the Modbus Master channel. A total of 50 bits are available with each bit
representing a Modbus Master command. A disabled command would have the
corresponding [Link] bit set. To disable a Modbus
command, turn ON the disable corresponding bit in the output array. Example:
Command 0 disable bit is referring to the Oxx.Command00Disable bit.
Modbus Slave For the Modbus Slave data exchange, the following definitions apply:
Data Exchange • Write—the Controller and Modbus Master can write data to the
Modbus Slave.
• Read—the Modbus Master reads data from the Modbus Slave.
Config Tag
Mapping Table Virtual Device Application
Config Data
CH0 CH1
Command with
Response
Write Data
Modbus Master
Config Tag
Mapping Table Virtual Device Application
Config Data
CH0 CH1
Modbus Master
DF1 Protocols The serial module with firmware revision 2.011 and later with Add-On profile
version 2.01 supports DF1 protocols DF1 Point to Point, DF1 Master,
DF1 Slave, and DF1 Radio modem. The combination of the revision and Add-
On profile enables the serial module to connect to remote devices such as SLC,
MicroLogix 1400, and 1769-L32E.
The details of these protocols can be found in the DF1 Protocol and Command
Set Reference Manual, publication 1770-RM516.
IMPORTANT DF1 and DH-485 protocols use channel 1 only and must be local.
When the 5069-SERIAL is the initiator of the dial-up connection, use the native
tag similar to the Generic ASCII mode to send out the ‘AT’ dial-up string
(example: ATDT 555-1212). To hang up the connection, use the DTR signal in
the output tag.
Leased-Line Modems
Leased-line modems are used with dedicated phone lines that are typically leased
from the local phone company. The dedicated lines may be point-to-point
topology supporting full-duplex communications between two modems or in a
point-to-multi-point topology supporting half-duplex communications between
three or more modems. In the point-to-point topology, configure the serial
module for DF1 full-duplex protocol with the control line parameter set to “Full-
Duplex Modem.” In the point-to-multi-point topology, configure the serial
module for DF1 half-duplex master or slave protocol with the control parameter
set to “Half-Duplex Modem without Continuous Carrier.” See DF1 Half-Duplex
Slave on page 43 for details on the operation of the RS-232 modem control
signals when “Half-Duplex Modem without Continuous Carrier” is selected.
Radio Modems
Line Drivers
Line drivers, also called short-haul modems, do not actually modulate the serial
data, but rather condition the electrical signals to operate reliably over long
transmission distances (up to several miles). The Allen-Bradley AIC+ Advanced
Interface Converter is a line driver that converts an RS-232 electrical signal into
an RS-485 electrical signal, increasing the signal transmission distance from 50 to
4000 feet. In a point-to-point line driver topology, configure the serial module
for DF1 full-duplex protocol. In a point-to-multipoint line driver topology,
configure the serial module for DF1 half-duplex master or slave protocol. If these
line drivers require RTS/CTS handshaking, configure the control line parameter
to “Half-Duplex Modem without Continuous Carrier.”
The following explains the operation of the serial module when you configure the
RS-232 channel for the following applications.
DF1 Full-Duplex
When configured for DF1 full-duplex, the following control line operation
takes effect:
• No Handshaking Selected—DTR is always active (high) and RTS is
always inactive (low). Receptions and transmissions take place regardless
of the states of DSR, CTS, or DCD inputs. Only make this selection when
the serial module is directly connected to another device that does not
require handshaking signals.
• Full-Duplex Modem Selected—DTR and RTS are always active except:
– If DSR goes inactive, both DTR and RTS are dropped for 1 to 2
seconds, then reactivated. While DSR is inactive, the state of DCD is
ignored. Neither receptions or transmissions are performed.
– If DCD goes inactive while DSR is active, then receptions are not
allowed. If DCD remains inactive for 9 to 10 seconds, DTR is set
inactive. DTR is raised again in 5 to 6 seconds.
Reception requires DSR and DCD to be active. Transmission requires all three
inputs (CTS, DCD, and DSR) to be active.
When configured for DF1 half-duplex slave, the following control line operation
takes effect:
• No Handshaking Selected—DTR is always active and RTS is always
inactive. Receptions and transmissions take place regardless of the states
of DSR, CTS, or DCD inputs. Only make this selection when the
processor is directly connected to another device that does not require
handshaking signals.
• Half-Duplex Modem with Continuous Carrier Selected—DTR is always
active and RTS is only activated during transmissions (and any
programmed delays before or after transmissions). The handling of DCD
and DSR are the same as with Full-Duplex Modem. Reception requires
DSR and DCD to be active. Transmissions require CTS, DCD, and DSR
to be active.
• Half-Duplex Modem without Continuous Carrier Selected—This is the
same as Half-Duplex Modem with Continuous Carrier except monitoring
of DCD is not performed. DCD is still required for receptions, but is not
required for transmissions. Transmissions still require CTS and DSR.
When configuring for DF1 half-duplex master, the following control line
operation takes effect:
• No Handshaking Selected—DTR is always active and RTS is always
inactive. Receptions and transmissions take place regardless of the states
of DSR, CTS, or DCD inputs. Only make this selection when the
processor is directly connected to another device that does not require
handshaking signals.
• Full-Duplex Modem Selected—DTR and RTS are always active except at
the following times:
– If DSR goes inactive, both DTR and RTS are dropped for 1 to 2
seconds then reactivated. While DSR is inactive, the state of DCD
is ignored. Neither receptions or transmissions are performed.
– If DCD goes inactive while DSR is active, then receptions are not
allowed. If DCD remains inactive for 9 to 10 seconds, then DTR
is set inactive. If DSR remains active, then DTR is raised again in
5 to 6 seconds.
Reception requires DSR and DCD to be active. Transmission requires all three
inputs (CTS, DCD, and DSR) to be active.
• Half-Duplex Modem without Continuous Carrier Selected—DTR is
always active and RTS is only active during transmissions (and any
programmed delays before and after transmissions). The serial module
does not monitor DCD.
If DSR goes inactive, RTS is dropped. While DSR is inactive, neither receptions
or transmissions are performed.
Reception requires DSR to be active. Transmission requires two inputs, CTS and
DSR, to be active.
Through your programming software, the parameters RTS Send Delay and RTS
Off Delay give you the ability to set how long RTS is on before transmission and
how long to keep it on after transmission is complete. These parameters only
apply when you select half-duplex modem with or without continuous carrier.
For maximum communication throughput, leave these parameters at zero.
For use with half-duplex modems that require extra time to turnaround or key-up
their transmitter even after they have activated CTS, the RTS Send Delay
specifies (in 20 millisecond increments) the amount of delay time after activating
RTS to wait before checking to see if CTS has been activated by the modem. If
CTS is not yet active, RTS remains active, and as long as CTS is activated within
one second, the transmission occurs. After one second, if CTS is still not
activated, then RTS is set inactive and the transmission is aborted.
For modems that do not supply a CTS signal but still require RTS to be raised
before transmission, jumper RTS to CTS and use the shortest delay possible
without losing reliable operation.
Certain modems will drop their carrier link when RTS is set inactive even though
the transmission has not been finished. The RTS Off Delay parameter specifies
in 20 millisecond increments the delay between when the last serial character is
sent to the modem and when RTS is deactivated. This gives the modem extra
time to transmit the last character of a packet.
IMPORTANT • For almost all modem applications, the RTS Off Delay should be left at 0.
Never Select an RTS Off Delay that is greater than the RTS Send Delay in
the other devices on the network, or you can incur two devices that try
to transmit simultaneously
The DF1 Point to Point protocol is used when connecting from the controller to
one DF1 device (or another controller).
Studio 5000
PCCC Message
Modem Modem
Telephone or
Direct Line
MLX, PLC5 (Only one station), SLC, and so on.
IMPORTANT DF1 and DH-485 protocols use channel 1 only and must be local.
The DF1 Master protocol is used when connecting from the controller to
multiple devices.
In DF1 Master protocol, RS-485 and Serial Radio Modem can be used.
RS-485
Studio 5000
IMPORTANT DF1 and DH-485 protocols use channel 1 only and must be local.
1. Open the Logix Designer project that includes the serial module.
2. Right-click the module and choose Properties. Configure Channel 1 to
DF1 Master if it is not configured to DF1 Master
3. Verify that DF1 Master is selected under channel one. Configure Channel
1 to DF1 Master if it is not configured to DF1 Master.
10. Click OK to accept the changes and click Yes to close the dialog box.
Define the parameters in the following table when configuring a serial module as
a master station using standard-communication mode to talk to
slave stations.
Field Description Default
Station Address The station address for the serial port on the DF1 master. Enter a valid DF1 address (0…254). 0
Transmit Retries Specifies the number of times a message is retried after the first attempt before being declared undeliverable. 3
Enter a value 0…127.
ACK Timeout Specifies the amount of time you want the controller to wait for an acknowledgment to its message transmission. 50(1000 ms)
Enter a value 0…32767. Limits are defined in 20 ms intervals.
Polling Mode • Message based—Do not allow the slave to initiate messages Default is Message-
• Message based—Allow the slave to initiate messages Based (Allow the Slave to
• Standard—Multiple message transfers per node scan initiate message)
• Standard—Single message transfer per node scan
Master Transmit If you want the master station to: Between Station
• Send all master station-initiated MSG instructions to the slave stations before polling the next slave station in the poll list, Polls
choose Between Station Polls. This method verifies that master station-initiated messages are sent in a timely and regular
manner (after every slave station poll).
• Only send master station-initiated MSG instructions when the master’s station number appears in the polling sequence;
choose In Poll Sequence. With this method, sending master station-initiated messages are dependent upon where and how
often the master station appears in the poll list. To achieve the same goal as the Between Station Polls method, the master-
station’s address would have to appear after every slave-station’s address.
Normal Poll Contains the total number of stations to poll under Normal Poll that will allow the serial module to auto-create the following
Node Count tags for control and monitoring.
• Latest Normal Poll Node in Local:x:[Link]
• Maximum Normal poll node in Local:x:O1:[Link]
• Slave station address tags (depending on the number of stations that are entered in the Normal Poll Node Count) in
Local:x:O1:[Link][y]
Normal Poll The number of normal stations the master station polls after polling all stations in the priority poll array. 0
Group Size
Priority Poll Contains the total number of stations to poll under Priority Poll that will allow the serial module to auto-create the following –
Node Count tags for control and monitoring.
• Latest Priority Poll Node in Local:x:[Link]
• Maximum Priority poll node in Local:x:O1:[Link]
• Slave station address tags (depending on the number of stations that are entered in the Normal Poll Node Count) in
Local:x:O1:[Link][y]
Error Detection Select BCC or CRC error detection. BCC
Configure all stations to use the same type of error checking.
BCC—The serial module sends and accepts messages that end with a BCC byte for error checking. BCC is quicker and easier to
implement, but does not detect as many errors as CRC
CRC—the serial module sends and accepts messages with a 2-byte CRC for error checking. CRC is a more effective error
detection algorithm.
Enable Duplicate Select whether the serial module should detect and ignore duplicate messages. Enabled
Detection
The timeout must be long enough that after the master has transmitted the last
character of the poll packet, there is enough time for a slave to transmit (and the
master receive) a maximum sized packet before the time expires.
To determine the minimum ACK Timeout, you must first calculate the
transmission time by multiplying the maximum sized data packet for your
serial module by the modem rate in ms/byte. For an example, we will assume
communications with SLC 5/03 slaves (103 data words or 224 ms.
For approximate modem transmission rates, see the following table.
Next, you must determine the average slave program scan time. For this example,
lets assume an average slave program scan time of 20 ms. Remember, program
scan time will vary by application.
Table 14 - Approximate modem transmission rates
Modem bps Approximate ms/byte
4800 2 ms/byte
9600 1 ms/byte
19200 0.5 ms/byte
Finally, you must determine the larger of two values, either the configured slave
RTS Send Delay or the turnaround time of the slave modem. To find the RTS
Send Delay time, navigate to the module definition page and select channel 1 to
open the configuration screen. The RTS Send Delay time is in intervals of 20 ms,
so with a value of 3 in the box, the RTS Send Delay time would be 20 ms
multiplied by 3. Using this value (60 ms) for our example, and assuming that the
turnaround time of the modem is 50 ms (which will vary by modem) you would
choose to use the RTS Send Delay time of 60 ms for your calculation.
Having determined the maximum message transmission time (224 ms), the
average slave program scan time (20 ms) and the largest of either RTS Send Delay
(60 ms) or the modem turnaround time, the minimum ACK timeout is simply
the sum of these values.
Parameter Example Values (in ms)
Max message transmission time 224
Average program scan time 20
RTS Send Delay 60 Use only the largest of
modem turnaround time 50 these two values
After defining your polling tags and group size, create polling lists by entering the
station address of each slave station into either the normal poll node tag
(Local:x:O1:[Link][y]) or priority poll node tag
(Local:x:O1:[Link][y]). Place each station address in an
individual word in a poll tag (normal or priority).
Figure 15 - Polling list example—Contains two stations: addresses 8 and 9 in Priority Poll.
Station 9 is being polled.
With message-based mode, you do not have an active station file that you can use
to monitor station status. Also, you cannot implement slave station-to-slave
station messaging over the telemetry network.
1. Open the Logix Designer project that includes the serial module.
2. Right-click the module and choose Properties. Configure Channel 1 to
DF1 Master if it is not configured to DF1 Master.
3. Verify that DF1 Master is selected under channel one. Configure Channel
1 to DF1 Master if it is not configured to DF1 Master.
10. Click OK to accept the changes and click Yes to close the dialog box.
The DF1 Slave protocol is used when the serial module is connecting to the DF1
Master device.
In DF1 Slave protocol, RS-485 and Serial Radio Modem can be used.
MLX,
PLC5,
SLC,
and so on.
IMPORTANT DF1 and DH-485 protocols use channel 1 only and must be local.
1. Open the Logix Designer project that includes the serial module.
2. Right-click the module and choose Properties.
5. Click DF1 Slave under the Channel 1 category on the Module Properties
dialog box to configure DF1 Slave port settings.
Serial Port Protocol parameters and defaults can be found in the following table.
Use the following table to understand the communication parameters you need
to specify on the Channel Configuration screen.
Field Description Default
Station Address The station address for the serial port on the DF1 slave. Enter a valid DF1 address (0…254). 0
Transmit Retries The number of times the slave station retries a message after the first attempt before the station declares the message undeliverable. 3
Enter a value 0…127.
Slave Poll Specifies the amount of time the slave station waits to be polled by a master before indicating a fault. Enter a value 0…32767. Limits are 3000 (60,000 ms)
Timeout defined in 20 ms intervals. See ‘Configuring Slave Poll Timeout’ for further details.
EOT Suppression Select whether to suppress sending EOT packets in response to a poll. The default is not to suppress sending EOT packets. Do not suppress
Error Detection Select BCC or CRC error detection. BCC
Configure all stations to use the same type of error checking.
BCC—The serial module sends and accepts messages that end with a BCC byte for error checking. BCC is quicker and easier to
implement, but does not detect as many errors as CRC
CRC—the serial module sends and accepts messages with a 2-byte CRC for error checking. CRC is a more effective error
detection algorithm.
Enable Duplicate Select whether the serial module should detect and ignore duplicate messages. Enabled
Detection
The DF1 Radio Modem protocol is used when connecting from the controller to
multiple devices over Radio Modems. (This Radio Modem should not analyze/
translate protocol by itself )
MLX, PLC5, SLC, and so on. MLX, PLC5, SLC, and so on.
IMPORTANT DF1 and DH-485 protocols use channel 1 only and must be local.
When designing communication using DF1 Radio Modem protocol, you must
consider the capabilities of both the controllers and radio modems. The DF1
Radio Modem protocol can only be used with controllers that support and are
configured for this protocol.
If your radio modem can handle full-duplex data port buffering and radio
transmission collision avoidance, you can use peer-to-peer message initiation
capability in every node (i.e., the ladder logic in any node can trigger a MSG
instruction to any other node at any time). For messaging between nodes that are
outside of radio transmission/reception range of each other, you may use either
the Store and Forward capability of the protocol or the repeater capability of the
radios.
If your radio modem cannot handle full-duplex data port buffering and radio
transmission collision avoidance, you can still use DF1 Radio Modem protocol in
a Master/Slave configuration, with message initiation limited to one master
node. If you still require slave node message initiation, then you must use the DF1
Half-Duplex protocol.
The primary advantage of using DF1 Radio Modem protocol for radio modem
networks is in the transmission efficiency. Each read/write transaction
(command and reply) requires only one transmission by the initiator (to send the
command) and one transmission by the responder (to return the reply). The
number of transmissions is minimized, radio power is minimized, and
throughput is maximized. In contrast, DF1 Half-Duplex protocol requires five
transmissions for the DF1 Master to complete a read/write transaction with a
DF1 Slave. See Figure 20 on page 63 the DF1 Radio Modem protocol.
An efficiency trade-off exists in that the DF1 Radio Modem protocol does not
provide immediate feedback (ACK) to the initiator to indicate that the
responder successfully received the communications packet without error.
The Store and Forward capability of the DF1 Radio Modem protocol allows
messages between nodes that are outside of radio transmission/reception range of
each other to be routed through intermediary nodes that are within range. Each
of the intermediary nodes needs a Store and Forward table. The configuration
must indicate, based on the source and destination addresses in the message
packet, which packets to receive (store) and then rebroadcast (forward). The
following section explains how the Store and Forward function is configured.
Data Table
The Store and Forward Table occupies a 16-word binary data table tag
Local:x:[Link]. Each bit in this file
corresponds to a DF1 Radio Modem node address. To configure a 5069-SERIAL
to Store and Forward message packets between two other nodes, the bits
corresponding to the addresses of those other two nodes must be set. For
instance, if node 2 is used to Store and Forward message packets between nodes 1
and 3, then both bits Bx/1 and Bx/3 would have to be set in the Store and
Forward Table (Figure 21). You can set bit 255 to enable Store and Forward of
broadcast packets, as well.
Note3
Note1
CMD1 CMD1
(1st Re broadcast) Note2 (2nd Re broadcast)
DF1 Data Exchange For the DF1 data exchange, the following definitions apply:
• Write—the Controller can write data to DF1.
• Read—the Controller reads data from the DF1.
MSG Instruction
PLC5 Typed Write Consumed Data
PLC3 Typed Write
PLC2 Unprotected Write Heartbeat
PCCC Object
SLC Type Write
Produced Data
Run/Program Mode
Another Protocol DF1
CH0 CH1
DF1 PLC2
PLC5 SLC5
PLC3
MSG Instruction
PLC5 Typed Read Consumed Data
PLC3 Typed Read Heartbeat
PLC2 Unprotected Read PCCC Object
SLC Type Read
Produced Data
Run/Program Mode
Another Protocol DF1
CH0 CH1
DF1 PLC2
PLC5 SLC5
PLC3
DH-485 Data Exchange For the DF1 data exchange, the following definitions apply:
• Write—the Controller can write data to DH-485.
• Read—the Controller reads data from the DH-485.
MSG Instruction
PLC5 Typed Write Consumed Data
PLC3 Typed Write Heartbeat
PLC2 Unprotected Write PCCC Object
SLC Type Write
Produced Data
Run/Program Mode
Another Protocol DH-485/485CIF
CH0 CH1
DH-485 PLC2
PLC5 SLC5
PLC3
MSG Instruction
PLC5 Typed Read Consumed Data
PLC3 Typed Read
Heartbeat
PLC2 Unprotected Read PCCC Object
SLC Type Read
Produced Data
Run/Program Mode
Another Protocol DH-485/485CIF
CH0 CH1
Response with
Command
Read Data
DH-485 PLC2
PLC5 SLC5
PLC3
DH-485 Functions
Table 19 - DH-485 Configuration Parameters
Parameter Definition Available Options
Station Address Station address of the channel. • 0…31
Max Station Address Specifies the maximum station address of all devices on the • 0…31 (default = 31)
DH-485 network.
Token Hold Factor Number of transmissions plus retries that a node holding a token • 1…4 (default = 1)
can send onto the data link each time that it receives the token.
Error Detection Detects error protocols. • 0 = BCC
• 1 = CRC (default)
Enable Duplicate Detection When enabled, duplicate messages are acknowledged and • 0 = Disabled (default)
discarded. • 1 = Enabled
IMPORTANT DF1 and DH-485 protocols use channel 1 only and must be local.
Notes:
This chapter describes how to configure your Compact 5000™ I/O serial module
in a Logix Designer application project.
Topic Page
Add a New Module 72
Edit the Module Configuration 80
View the Module Tags 105
Before You Begin You must complete the following tasks before you can configure the module:
IMPORTANT Use Studio 5000 Logix Designer® Version 31 or greater. You must install an
Add-On Profile to use the serial module. To find the Add-On Profile, go to the
Product Compatibility and Download Center (PCDC).
Serial firmware V1.011 supports Generic ASCII, Modbus Master and
Modbus Slave. Serial firmware revision 2.011 and later with Add-On
Profile 2.01 supports Generic ASCII, Modbus Master, Modbus Slave, DF1
and DH-485 protocols.
DF1 and DH-485 are only supported locally on Channel 1.
Add a New Module There are two methods to add modules to your Logix Designer
Application project.
5. At the warning dialog box, make sure that Inhibit module connection is
selected and click Yes.
TIP If you inhibit the module connection, you must remember to
uninhibit the connection later. See Connection Category on page 89
TIP This example shows how to add a local I/O module when the Logix Designer
application project is offline.
You can add new modules when the project is online, if desired. In this case,
the steps are similar to the steps described in Discover Local I/O Modules on
page 72. One exception is that, in step 1, you choose New Module instead of
Discover Modules.
The New Module dialog box appears with a list of categories on the left
side. The number and type of categories varies by module type.
3. You can click OK to use the default configuration as shown or edit the
module configuration. The rest of this chapter describes how to edit
module configuration categories.
Edit the Module Click the category names in the New Module dialog box to view and change the
configuration parameters.
Configuration
IMPORTANT This chapter shows how to edit configuration when you add the module to
the Logix Designer application project.
If you access the module configuration after it is added to the project, the
dialog box is named Module Properties. The same categories are displayed
as the categories displayed on the New Module dialog box.
Some Compact 5000 I/O modules categories are specific to the module type.
The following categories apply to all Compact 5000 I/O modules and are
described in this section.
• General Category
• Connection Category
General Category
The General category appears first when you create a module. The parameters in
this category are the same for all Compact 5000 I/O modules.
Module Definition parameters are available on the General tab of the Module
Properties dialog box in the Logix Designer application project. The module
definition can only be edited during offline mode.
To access the module definition parameters, click change on the general screen.
IMPORTANT On the module definition screen, you will see two options at the top for
moving the commands up and down. If either of these buttons are used,
make sure that the user program is adjusted to reflect the new location of
the command or the program will show and error.
For more information about Master Command List Function Codes, see Appendix B.
Slave Address Node Address of the Modbus Slave device (1…247 and 0 for broadcast).
Modbus Address Offset (0-based) Offset to the actual Modbus Address. Holding Register address of 400003 is equal to 00003 in the Modbus Address offset. (0…65535).
Data Length Number of data points being read (1…125 for registers, 1…2000 for Coil and discrete inputs) or written (1…123 for registers, 1…1968
for Coil.
Poll Interval • 0 – keeps repeating as fast as possible.
• 1…32,767– the time, in seconds, for the command to be sent periodically in Continuous mode.
Swap Mode • No Change – no swapping of data
• Word Swap – Words are swapped before sending out, for example, 11112222 = 22221111
• Byte Swap – each byte is swapped. For example, 11223344 = 22114433
• Word and Byte swap – both word and byte is swapped.
Fault Enable • Check to write the Fault Value into the received data if this Read Command fails. This does not apply to write commands.
Fault Value • User-defined value to replace received data.
IMPORTANT On the module definition screen, you will see two options at the top for
moving the commands up and down. If either of these buttons are used,
make sure that the user program is adjusted to reflect the new location of
the command or the program will show and error.
Data Index
This value indicates the offset of the register type address in controller tags that
allow the serial module to read or write required data to or from the controller.
Each register type has a predefined array size that can be used for the Modbus
Slave as indicated in the Modbus Slave Address Table Limits. For example, a
Holding register has the limit of 100 INT. The array size is 0…99 and the Data
index is 0…99 when the Holding register is used depending on the size and the
location where you want to store the information.
If you exceed the data limit, an error can occur. This error would appear as
in Figure 28.
• Local:1:[Link][0…2] = 400003…400005
• Local:1:[Link][3…9] = 432000…432006
• Local:1:[Link][10…99] = 400999…410088
• Local:1:[Link][0].0…[0].7 = 000000…000007
• Local:1:[Link][1].0 = 000010
• Local:1:[Link][2].0…[4].0 = 0320000…032016
• Local:1:[Link][5].0…[15].7 = 000999…001086
Connection Category
• Set the RPI rate. For more information on the RPI, see page 26.
• Inhibit the module. For more information on inhibit the module, see
page 27.
TIP The Module Fault area of the Connection category is useful during module
troubleshooting. For more information on the Module Fault area, see
page 107.
Generic ASCII
Figure 29 - Generic ASCII Connection
Figure 31…Figure 33 show the communication port that defines the baud rate,
serial media setting, and receive and transmit settings.
For module function definitions, see Common Module Functions on page 30.
Figure 36 and Figure 37 show the detailed communication settings for Modbus
Master and Modbus Slave.
For Modbus Slave function definitions, see Modbus Slave Functions on page 40.
Figure 40 and Figure 41 show the communication port that defines the baud rate
and transmission settings.
For DF1 Point to Point function definitions, see DF1 Point to Point Parameters
on page 66
DF1 Master
Figure 42 - Connection
Figure 44 and Figure 45 show the communication port that defines the baud rate
and transmission settings.
For DF1 Master function definitions, see DF1 Master Parameters on page 66
DF1 Slave
Figure 46 - Connection
Figure 48 and Figure 49 show the communication port that defines the baud rate
and transmission settings.
For DF1 Master function definitions, see DF1 Slave Parameters on page 67
Figure 52 and Figure 53 show the communication port that defines the baud rate
and transmission settings.
For DF1 Master function definitions, see DF1 Radio Modem Parameters on
page 67
DH-485
Figure 54 - Connection
Figure 56 and Figure 57 show the communication port that defines the baud rate
and transmission settings.
The Module Info category displays module and status information about the
module when the project is online. You can use this category to complete the
following:
View the Module Tags When you create a module, the Logix Designer application creates a set of tags
that you can view in the Tag Editor. Each configured feature on your module has
a distinct tag that is available for use in the controller program logic.
For more information on module tags, see Module Tags on page 109.
Notes:
Module Status Indicator Table 24 describes the Module (MOD) Status indicator on Compact 5000 I/O
Serial modules
Table 24 - Module Status Indicator - Compact 5000 I/O Module
Indicator State Description Recommended Action
Off The module is not powered. None if your application does not use the module
If your application uses the module and it is expected to be operating, complete the following:
• Confirm that the system is powered.
• Confirm that the module is installed properly.
Steady green The module has a connection to the owner- None
controller and is operating normally.
Flashing green The following conditions exist: Complete the following:
• Both channels are disabled. • Troubleshoot your Logix Designer application to determine what is preventing a connection from
• The module is powering up. the module to the controller and correct the issue.
• The module has powered up successfully. Confirm that the system conditions require the controller to be in Remote Run mode or Run mode,
• One of the following: transition the controller to one of those modes.
The module does not have a connection to the
controller. A connection can result from missing,
incomplete, or incorrect module configuration.
Steady red The module experienced a nonrecoverable fault. Complete the following actions:
1. Cycle power to the module.
If the status indicator remains in the steady red state, replace the module.
Flashing red One of the following conditions exists: Complete one of the following:
• A module firmware update is in progress. • Let the firmware update progress complete.
• A module firmware update attempt failed. • Reattempt a firmware update after one fails.
• The device has experienced a recoverable fault. • Use the Logix Designer application to determine the cause of the module fault.
• A connection to the module has timed out. The Connection and Module Info categories of the modules configuration indicate the fault type.
Note: Continuously executing IOT instruction can To clear a recoverable fault, complete one of the following:
cause loss of connection. An interval of at least 1 ms – Cycle module power.
between IOT instruction execution is necessary. – Click Reset Module in the Logix Designer application project via the Module Info category of the
Module Properties dialog box.
If the fault does not clear after cycling power and clicking Reset Module, contact Rockwell
Automation® Technical Support.
• Use the Logix Designer application to determine if a connection has timed out. The Connection
category in the Module Properties for the module indicates the module state, including if a
connection has timed out.
If a connection has timed out, determine the cause and correct it. For example, a cable failure can cause
a connection timeout.
Compact 5000 I/O Serial Figure 58 shows the Compact 5000 I/O serial Module Status indicators.
Module Status Indicators Figure 58 - Compact 5000 I/O Serial Status Indicators
Module Tags
Topic Page
Access the Tags 111
Channel Configured Generic ASCII Tags 112
Channel Configured for Generic ASCII 113
Channel Configured for Modbus Master 117
Channel Configured for Modbus Slave 120
Channel Configured for DF1—Point to Point 123
Channel Configured for DF1—Master 125
Channel Configured for DF1—Slave 127
Channel Configured for DF1—Radio Modem 128
Channel Configured for DH-485 129
Name Conventions The module tags use defined naming conventions. The conventions are as
follows:
• Module name
• Slot number
• Tag type and channel number—If Generic ASCII or Modbus Slave is used
in the Module Definition for the channel.
• Tag type, channel number, and number of connections—If Modbus
Master is used in the Module Definition for the channel.
• Parameter
The following is an example for a Generic ASCII or Modbus Slave tag name. The
conventions for the example, ‘SERIAL_PROJECT:1:[Link]’, would be
the following:
• SERIAL_PROJECT= name of the module
• 1 = slot number
• I0 = tag type (input) and channel number (0)
– The possible tag types are I (input) and O (output)
– The possible channel numbers are 0 or 1
• RunMode = Parameter
The following is an example for a Modbus Slave tag name. The conventions for
the example, ‘SERIAL_PROJECT:1:[Link]’, would be the following:
• SERIAL_PROJECT= name of the module
• 1 = slot number
• I00 = tag type (input) and channel number (0), connection number(0)
– The possible tag types are I (input) and O (output)
– The possible channel numbers are 0 or 1
– The possible connection numbers are 0 or 1
• RunMode = Parameter
The following is an example for a DF1 tag name. The conventions for the
example, ‘Local:1:[Link]’, would be the following:
• Local= name of the module
• 1 = slot number
• I1 = tag type (input), channel number (1)
– The possible tag types are I (input) and O (output)
– The channel number is 1
• RunMode = Parameter
The following is an example for a DH-485 Master tag name. The conventions for
the example, ‘Local:1:[Link]’, would be the following:
• Local= name of the module
• 1 = slot number
• I 1= tag type (input), channel number (1)
– The possible tag types are I (input) and O (output)
– The channel number is 1
• RunMode = Parameter
Access the Tags You can view tags from the Tag Editor.
Channel Configured This section describes the tags that are created when you choose the Generic
ASCII option for a channel in the module definition dialog box as shown in the
Generic ASCII Tags following graphics.
Table 26 describes the input tags of channel 1 configured to the Generic ASCII.
Output Tags
This screen capture shows the tags that are described in the following table.
Table 27 describes the output tags of channel 1 configured to the Generic ASCII
Channel Configured for This screen capture shows the tags that are described in the following tables.
Modbus Master
Input Tags
In the following table, the xx in the tag names represents the channel number
because the module has two channels, and both channels support the use of
Modbus Master.
TIP The yy in the tag names represents the Modbus Master command number
and the zzzzzz represents the Modbus data address.
Output Tags
In the following table, the xx in the tag name represents the channel number
because the module has two channels, and both channels support the use of
Modbus Master.
TIP The yy in the tag names represents the Modbus Master command number
and the zzzzzz represents the Modbus data address.
Channel Configured for This screen capture shows the tags that are described in the following tables.
Modbus Slave
Input Tags
Table 30 - Modbus Slave Input Tags
Name Data Type Definition Valid Values
[Link] BOOL Channel’s operating state • 0 = Idle
• 1 = Run
[Link] BOOL Indicates if a connection is running. • 0 = Connection running
The module sets this tag to 0 when connected. If the module is not • 1 = Connection not running
connected, it changes the tag to 1.
[Link] BOOL Indicates if any diagnostics are active or if the prognostics threshold is • 0 = No diagnostics active
reached. • 1 = One or more diagnostics are active or the
prognostics threshold is reached
[Link] SINT Increments for each time a distinct diagnostic condition is detected, -128…+127
and when a distinct diagnostic condition transitions from detected to The value of 0 is skipped except during module
not detected. power-up.
Set to zero by product reset or power cycle. Wraps from 255 (-1) to 1
skipping zero.
[Link] BOOL Indicates that channel data is inaccurate and cannot be trusted for use in • 0 = Good
the application. • 1 = Bad, causing fault
If the tag is set to 1, you must troubleshoot the
module to correct the cause of the inaccuracy.
IMPORTANT: Once the condition that causes
the tag to change to 1 is removed, the tag
automatically resets to 0.
[Link] BOOL Indicates that the channel data can be inaccurate but the degree of • 0 = Good data
inaccuracy is not known. • 1 = Uncertain data
If the tag is set to 1, you must troubleshoot the
module to correct the cause of the inaccuracy.
IMPORTANT: Once the condition that causes
the tag to change to 1 is removed, the tag
automatically resets to 0.
[Link].CRC_LRCError BOOL Status shows that CRC (LRC) Error is occurred or not • 0 = Non-occurrence
• 1 = Occurrence
[Link] BOOL Status that shows whether a parity error has occurred or not. • 0 = Non-occurrence
• 1 = Occurrence
[Link] BOOL Status shows that user requests out of Modbus Register Address • 0 = Non-occurrence
• 1 = Occurrence
[Link] BOOL Status shows that whether Over Run is occurred or not in ASIC. • 0 = Non-occurrence
• 1 = Occurrence
[Link] BOOL Shows if there was a framing error. • 0 = Non-occurrence
• 1 = Occurrence
[Link] INT Acknowledges the sequence number. • -32768…+32767
[Link] INT Any Modbus change will update this counter. • -32768…+32767
[Link][x](1) INT Produce Data that are written by Modbus Master as Data in Produce Tag. • -32768…+32767
[Link][x](2) SINT Produce Data that are written by Modbus Master as Data in Produce Tag. • -128…+127
(1) X represents any possible value 0…99
Output Tags
Table 31 - Modbus Slave Output Tags
Name Data Type Definition Valid Values
[Link] BOOL Channel’s operating state • 0 = Idle
• 1 = Run(5)
[Link] INT Sequence number for updating slave data from controller • -32768…+32767
[Link][x](1) INT Location of holding register values defined by user for the serial • -32768…+32767
module
[Link][x](2) SINT Location of slave coil values defined by user for the serial module • -128…+127
(3)
[Link][x] INT Location of input register values defined by user for the serial • -32768…+32767
module
[Link][x](4) SINT Location of discrete input values defined by user for the serial • -128…+127
module
(1) X represents any possible value 0…99
(5) The Run bit is to start the update of the output (O) tags values into the Serial module. The serial module will always respond to the external Modbus master, but they will be using the old values if the
RUN bit is not enabled but new data is on the output O tag.
Channel Configured for This screen capture shows the tags that are described in the following tables.
DF1—Point to Point
Input Tags
Table 32 - DF1 Point to Point Input Tags
Name Data Type Definition Valid Values
[Link] BOOL Channel’s operating state • 0 = Idle
• 1 = Run
[Link] BOOL Indicates if a connection is running. • 0 = Connection running
The module sets this tag to 0 when connected. If the module is not • 1 = Connection not running
connected, it changes the tag to 1.
[Link] BOOL Indicates if any diagnostics are active or if the prognostics threshold • 0 = No diagnostics active
is reached. • 1 = One or more diagnostics are active or the
prognostics threshold is reached
[Link] SINT Increments for each time a distinct diagnostic condition is detected, • -128…+127
and when a distinct diagnostic condition transitions from detected The value of 0 is skipped except during module
to not detected. power-up.
Set to zero by product reset or power cycle. Wraps from 255 (-1) to 1
skipping zero.
[Link] BOOL Indicates whether the CTS is active. • 0 = Inactive
• 1 = Active
[Link] BOOL Indicates whether the RTS is active. • 0 = Inactive
• 1 = Active
[Link] BOOL Indicates whether the DSR is active. • 0 = Inactive
• 1 = Active
[Link] BOOL Indicates whether the DCD is active. • 0 = Inactive
• 1 = Active
[Link] BOOL Indicates whether the DTR is active. • 0 = Inactive
• 1 = Active
[Link] BOOL Determine if instruction message is processing • 0 = Not Processing
• 1 = Processing
[Link] SINT Feedback from the latest Transmit Transaction ID. • -128…+127
[Link] SINT Notification of receiving by updating number. • -128…+127
[Link] INT Length of Produce Data of each channel. • 1…128
[Link][x] SINT (128) Received data from serial port. • -128…+127
Output Tags
Table 33 - DF1 Point to Point Output Tags
Name Data Type Definition Valid Values
[Link] SINT This ID is incremented when you want to transmit data from the serial • -128…+127(1)
port.
[Link] BOOL Signal level of DTR line sent out when rising edge of EXEC bit is detected. • 0 = Inactive
• 1 = Active
[Link] BOOL Signal level of the RTS line sent out when rising edge of EXEC bit is • 0 = Inactive
detected. • 1 = Active
[Link] BOOL If EXEC bit changes 0 to 1, FW will output a signal level that is set in the • 0 = Inactive
DTR/RTS tag. • 1 = Active
[Link] INT Length of Transmitted Data of each channel. • 1…128
[Link][x] SINT (128) Output data from module. • -128…+127
(1) The value of 0 must be skipped except during module power-up.
Channel Configured for This screen capture shows the tags that are described in the following tables.
DF1—Master
Input Tags
Table 34 - DF1 Master Input Tags
Name Data Type Definition Valid Values
[Link] BOOL Channel’s operating state • 0 = Idle
• 1 = Run
[Link] BOOL Indicates if a connection is running. • 0 = Connection running
The module sets this tag to 0 when connected. If the module is not • 1 = Connection not running
connected, it changes the tag to 1.
[Link] BOOL Indicates if any diagnostics are active or if the prognostics threshold • 0 = No diagnostics active
is reached. • 1 = One or more diagnostics are active or the
prognostics threshold is reached
[Link] SINT Increments for each time a distinct diagnostic condition is detected, • -128…+127
and when a distinct diagnostic condition transitions from detected The value of 0 is skipped except during module
to not detected. power-up.
Set to zero by product reset or power cycle. Wraps from 255 (-1) to 1
skipping zero.
[Link] BOOL Indicates whether the CTS is active. • 0 = Inactive
• 1 = Active
[Link] BOOL Indicates whether the RTS is active. • 0 = Inactive
• 1 = Active
[Link] BOOL Indicates whether the DSR is active. • 0 = Inactive
• 1 = Active
[Link] BOOL Indicates whether the DCD is active. • 0 = Inactive
• 1 = Active
[Link] BOOL Indicates whether the DTR is active. • 0 = Inactive
• 1 = Active
[Link] BOOL Determine if instruction message is processing. • 0 = Not Processing
• 1 = Processing
[Link] SINT (32) Determine if station is active. • 0 = Inactive
• 1 = Active
[Link] BOOL Shows if there was a priority polling error. • 0 = Non-occurrence
• 1 = Occurrence
[Link] BOOL Shows if there was a normal polling error. • 0 = Non-occurrence
• 1 = Occurrence
[Link] BOOL Shows if the Normal Poll Group size is greater than the Max Normal • 0 = Non-occurrence
Poll Node. • 1 = Occurrence
[Link] INT Address of Priority Poll Node currently being polled. • -32768…+32767
[Link] INT Address of Normal Poll Node currently being polled. • -32768…+32767
Output Tags
Table 35 - DF1 Master Output Tags
Name Data Type Definition Valid Values
[Link] INT Defines the maximum number of nodes in the Priority Poll Node. • -32768…+32767
[Link] INT Defines the maximum number of nodes in the Normal Poll Node. • -32768…+32767
[Link] SINT This ID is incremented when you want to update the polling list in the serial module. • -128…+127
[Link](1) INT[N] Defines the poll sequence the DF1 Master polls for priority node. –
(1)
[Link] INT[M] Defines the poll sequence the DF1 Master polls for normal node. –
(1) If you configure the polling in the module definition, there will be two more tag array generated. The array is dynamically generated depending on what you configure in the definition.
Channel Configured for This screen capture shows the tags that are described in the following tables.
DF1—Slave
Input Tags
Table 36 - DF1 Slave Input Tags
Name Data Type Definition Valid Values
[Link] BOOL Channel’s operating state • 0 = Idle
• 1 = Run
[Link] BOOL Indicates if a connection is running. • 0 = Connection running
The module sets this tag to 0 when connected. If the module is not • 1 = Connection not running
connected, it changes the tag to 1.
[Link] BOOL Indicates if any diagnostics are active or if the prognostics threshold • 0 = No diagnostics active
is reached. • 1 = One or more diagnostics are active or the
prognostics threshold is reached
[Link] SINT Increments for each time a distinct diagnostic condition is detected, • -128…+127
and when a distinct diagnostic condition transitions from detected The value of 0 is skipped except during module
to not detected. power-up.
Set to zero by product reset or power cycle. Wraps from 255 (-1) to 1
skipping zero.
[Link] BOOL Indicates whether the CTS is active. • 0 = Inactive
• 1 = Active
[Link] BOOL Indicates whether the RTS is active. • 0 = Inactive
• 1 = Active
[Link] BOOL Indicates whether the DSR is active. • 0 = Inactive
• 1 = Active
[Link] BOOL Indicates whether the DCD is active. • 0 = Inactive
• 1 = Active
[Link] BOOL Indicates whether the DTR is active. • 0 = Inactive
• 1 = Active
[Link] BOOL Determine if instruction message is processing • 0 = Not Processing
• 1 = Processing
Channel Configured for This screen capture shows the tags that are described in the following tables.
DF1—Radio Modem
Input Tags
Table 37 - DF1 Radio Modem Input Tags
Name Data Type Definition Valid Values
[Link] BOOL Channel’s operating state • 0 = Idle
• 1 = Run
[Link] BOOL Indicates if a connection is running. • 0 = Connection running
The module sets this tag to 0 when connected. If the module is not • 1 = Connection not running
connected, it changes the tag to 1.
[Link] BOOL Indicates if any diagnostics are active or if the prognostics threshold • 0 = No diagnostics active
is reached. • 1 = One or more diagnostics are active or the
prognostics threshold is reached
[Link] SINT Increments for each time a distinct diagnostic condition is detected, • -128…+127
and when a distinct diagnostic condition transitions from detected The value of 0 is skipped except during module
to not detected. power-up.
Set to zero by product reset or power cycle. Wraps from 255 (-1) to 1
skipping zero.
[Link] BOOL Indicates whether the CTS is active. • 0 = Inactive
• 1 = Active
[Link] BOOL Indicates whether the RTS is active. • 0 = Inactive
• 1 = Active
[Link] BOOL Indicates whether the DSR is active. • 0 = Inactive
• 1 = Active
[Link] BOOL Indicates whether the DCD is active. • 0 = Inactive
• 1 = Active
[Link] BOOL Indicates whether the DTR is active. • 0 = Inactive
• 1 = Active
[Link] BOOL Determine if instruction message is processing. • 0 = Not Processing
• 1 = Processing
Output Tags
Table 38 - DF1 Radio Modem Output Tags
Name Data Type Definition Valid Values
[Link] INT (16) Defines the stations that need to be involved in the Store and Forward function. • 0 = Inactive
• 1 = Active
Channel Configured This screen capture shows the tags that are described in the following tables.
for DH-485
Input Tags
Table 39 - DH-485 Input Tags
Name Data Type Definition Valid Values
[Link] BOOL Channel’s operating state • 0 = Idle
• 1 = Run
[Link] BOOL Indicates if a connection is running. • 0 = Connection running
The module sets this tag to 0 when connected. If the module is not • 1 = Connection not running
connected, it changes the tag to 1.
[Link] BOOL Indicates if any diagnostics are active or if the prognostics threshold • 0 = No diagnostics active
is reached. • 1 = One or more diagnostics are active or the
prognostics threshold is reached
[Link] SINT Increments for each time a distinct diagnostic condition is detected, -128…+127
and when a distinct diagnostic condition transitions from detected The value of 0 is skipped except during module
to not detected. power-up.
Set to zero by product reset or power cycle. Wraps from 255 (-1) to 1
skipping zero.
[Link] BOOL Indicates whether the CTS is active. • 0 = Inactive
• 1 = Active
[Link] BOOL Indicates whether the RTS is active. • 0 = Inactive
• 1 = Active
[Link] BOOL Indicates whether the DSR is active. • 0 = Inactive
• 1 = Active
[Link] BOOL Indicates whether the DCD is active. • 0 = Inactive
• 1 = Active
[Link] BOOL Indicates whether the DTR is active. • 0 = Inactive
• 1 = Active
[Link] BOOL Determine if instruction message is processing • 0 = Not Processing
• 1 = Processing
Notes:
Topic Page
Read Coil Status (Function Code 01) 131
Read Input Status (Function Code 02) 133
Read Holding Registers (Function Code 03) 134
Read Input Registers (Function Code 04) 135
Force Single Coil (Function Code 05) 136
Preset Single Register (Function Code 06) 138
Force Multiple Coils (Function Code 15) 139
Preset Multiple Registers (Function Code 16) 140
This function allows you to obtain the ON/OFF status of logic coils (Modbus 0x
range) used to control discrete outputs from the addressed slave only. Broadcast
mode is not supported with this function code. In addition to the slave address
and function fields, the message requires that the information field contain the
initial coil address to be read (Starting Address) and the number of locations that
are interrogated to obtain status data.
The following table is a sample read output status request to read coils 0020 to
0056 (37 coils) from slave device number 11.
TIP This is the structure of the message being sent out to the Modbus network.
The following byte values are in hexadecimal display.
Node Address Function Code Data Start Point Data Start Point Number of Points Number of Points Error Check Field
High Low High Low (2 bytes)
0B 01 00 13 00 25 CRC
Response
An example response to Read Coil Status is as shown in the following table. The
data is packed one bit for each coil. The response includes the slave address,
function code, quantity of data characters, the data characters, and error
checking. Data is packed with one bit for each coil (1 = ON, 0 = OFF). The low-
order bit of the first character contains the addressed coil, and the remainder
follows. For coil quantities that are not even multiples of eight, the last characters
are completed with zeros at high-order end. The quantity of data characters is
always specified as quantity of RTU characters, that is, the number is the same
whether RTU or ASCII is used.
Because the slave interface device is serviced at the end of a controller's scan, data
reflects coil status at the end of the scan. Some slaves limit the quantity of coils
provided each scan; thus, for large coil quantities, multiple PC transactions must
be made using coil status from sequential scans.
Node Address Function Code Byte Count Data Coil Data Coil Data Coil Data Coil Data Coil Error Check
Status 20…27 Status 28…35 Status 36…43 Status 44…51 Status 52…56 Field
(2 bytes)
0B 01 05 CD 6B B2 OE 1B CRC
Query
This function allows you to obtain the ON/OFF status of discrete inputs
(Modbus 1x range) in the addressed slave. PC Broadcast mode is not supported
with this function code. In addition to the slave address and function fields, the
message requires that the information field contain the initial input address to be
read (Starting Address) and the number of locations that are interrogated to
obtain status data.
The following table is a sample read input status request to read inputs 10197 to
10218 (22 coils) from slave number 11.
TIP This is the structure of the message being sent out to the Modbus network.
The following byte values are in hexadecimal display.
Node Address Function Code Data Start Point Data Start Point Number of Points Number of Points Error Check Field
High Low High Low (2 bytes)
0B 02 00 C4 00 16 CRC
Response
An example response to Read Input Status is as shown in the following table. The
data is packed one bit for each input. The response includes the slave address,
function code, quantity of data characters, the data characters, and error
checking. Data is packed with one bit for each input (1=ON, 0=OFF). The
lower-order bit of the first character contains the addressed input, and the
remainder follows. For input quantities that are not even multiples of eight, the
last characters are completed with zeros at high-order end. The quantity of data
characters is always specified as a quantity of RTU characters, that is, the number
is the same whether RTU or ASCII is used.
Because the slave interface device is serviced at the end of a controller's scan, the
data reflect input status at the end of the scan. Some slaves limit the quantity of
inputs provided each scan; thus, for large coil quantities, multiple PC
transactions must be made using coil status for sequential scans.
Node Address Function Code Byte Count Data Discrete Input Data Discrete Input Data Discrete Input Error Check Field
10197…10204 10205…10212 10213…10218 (2 bytes)
0B 02 03 AC DB 35 CRC
Due to the quantity of input statuses that are requested, the last data field that is
shown as 35 HEX = 0011 0101 (binary) contains the status of only 6 inputs
(10213…102180) instead of 8 inputs. The two left-most bits are provided as
zeros to fill the 8-bit format.
Query
This function allows you to retrieve the contents of holding registers 4xxxx
(Modbus 4x range) in the addressed slave. The registers can store the numerical
values of associated timers and counters that can be driven to external devices.
The addressing allows retrieving up to 125 registers at each request; however, the
specific slave device can have restrictions that lower this maximum quantity. The
registers are numbered form zero (40001 = zero, 40002 = one, and so on). The
broadcast mode is not allowed.
The following example reads registers 40108…40110 (three registers) from slave
number 11.
TIP This is the structure of the message being sent out to the Modbus network.
The following byte values are in hexadecimal display.
Node Address Function Code Data Start Registers Data Start Registers Data Number of Data Number of Error Check Field
High Low Registers High Registers Low (2 bytes)
0B 02 00 6B 00 03 CRC
Response
The addressed slave responds with its address and the function code, followed by
the information field. The information field contains 1 byte describing the
quantity of data bytes to be returned. The contents of the registers requested
(DATA) are two bytes each, with the binary content right justified within each
pair of characters. The first byte includes the high-order bits and the second, the
low-order bits.
Because the slave interface device is normally serviced at the end of the
controller's scan, the data reflect the register content at the end of the scan. Some
slaves limit the quantity of register content provided each scan; thus for large
register quantities, multiple transmissions are made using register content from
sequential scans.
In the example below, the registers 40108…40110 have the decimal contents 555,
0, and 100 respectively.
Node Address Function Code Byte Count High Data Low Data High Data Low Data High Data Low Data Error Check
Field
(2 bytes)
0B 03 06 02 2B 00 00 00 64 CRC
Query
This function retrieves the contents of the controller's input registers from the
Modbus 3x range. These locations receive their values from devices that are
connected to the I/O structure and can only be referenced, not altered from
within the controller. The addressing allows retrieving up to 125 registers at each
request; however, the specific slave device can have restrictions that lower this
maximum quantity. The registers are numbered for zero (30001 = zero, 30002 =
one, and so on). Broadcast mode is not allowed.
The following example requests the contents of register 30009 in slave number
11.
TIP This is the structure of the message being sent out to the Modbus network.
The following byte values are in hexadecimal display.
Node Address Function Code Data Start Point Data Start Point Data Number of Data Number of Error Check Field
High Low Points High Points Low (2 bytes)
0B 04 00 08 00 01 CRC
Response
The addressed slave responds with its address and the function code followed
by the information field. The information field contains 1 byte describing the
quantity of data bytes to be returned. The contents of the registers requested
(DATA) are 2 bytes each, with the binary content right justified within each
pair of characters. The first byte includes the high-order bits and the second,
the low-order bits.
Because the slave interface is normally serviced at the end of the controller's
scan, the data reflect the register content at the end of the scan. Each PC limits
the quantity of register contents provided each scan; thus for large register
quantities, multiple PC scans are required, and the data that is provided is from
sequential scans.
In the following example, the register 30009 contains the decimal value 0.
Node Address Function Code Byte Count Data Input Register Data Input Register Error Check Field (2
High Low bytes)
0B 04 02 00 00 CRC
Query
This Function Code forces one coil (Modbus 0x range) either ON or OFF. Any
coil that exists within the controller can be forced to either state (ON or OFF).
However, because the controller is actively scanning, unless the coil is disabled,
the controller can also alter the state of the coil. Coils are numbered from zero
(coil 0001 = zero, coil 0002 = one, and so on). The data value 65,280 (FF00
HEX) sets the coil ON and the value zero turns it OFF; all other values are illegal
and do not affect that coil.
The use of slave address 00 (Broadcast Mode) forces all attached slaves to modify
the desired coil.
TIP Functions 5, 6, 15, and 16 are the only messages that are recognized as valid
for broadcast.
TIP This is the structure of the message being sent out to the Modbus network.
The following byte values are in hexadecimal display.
Node Address Function Code Data Start Bit High Data Start Bit Low Number of Bits High Number of Bits Low Error Check Field
(2 bytes)
0B 05 00 AC FF 00 CRC
Response
The forcing of a coil via Modbus function 5 happens regardless of whether the
addressed coil is disabled or not (In ProSoft products, the coil is only affected if
you implement the necessary Ladder Logic).
IMPORTANT The Modbus protocol excludes standard functions for testing or changing the
DISABLE state of discrete inputs or outputs. Where applicable, this can be
accomplished via device-specific Program commands (In ProSoft products,
this is only accomplished through Ladder Logic programming).
Coils that are reprogrammed in the controller logic program are not
automatically cleared upon power-up. Thus, if such a coil is set ON by function
Code 5 and (even months later), an output is connected to that coil, the output is
‘hot’.
Query
This Function Code allows you to modify the contents of a Modbus 4x range in
the slave. This code writes to one register only. Any holding register that exists
within the controller can have its contents changed by this message. However,
because the controller is actively scanning, it can also alter the content of any
holding register at any time. The values are provided in binary up to the
maximum capacity of the controller. Unused high-order bits must be set to zero.
When used with slave address zero (Broadcast mode), all slave controllers load
the specified register with the contents specified.
TIP • Functions 5, 6, 15, and 16 are the only messages that are recognized as
valid for broadcast.
• This is the structure of the message being sent out to the Modbus
network. The following byte values are in hexadecimal display.
The following example is a request to write the value ‘3’ to register 40002 in slave
11.
Node Address Function Code Data Start Bit High Data Start Bit Low Preset Data Present Data Error Check Field
Register High Register Low (2 bytes)
0B 06 00 01 00 03 CRC
Response
The response to a preset single register request is to retransmit the query message
after the register has been altered.
Node Address Function Code Data Register High Data Register Low Preset Data Register Preset Data Register Error Check Field
High Low (2 bytes)
0B 06 00 01 00 03 CRC
Query
This function forces each coil (Modbus 0x range) in a consecutive block of coils
to a desired ON or OFF state. Any coil that exists within the controller can be
forced to either state (ON or OFF). However, because the controller is actively
scanning, unless the coils are disabled, the controller can also alter the state of the
coil.
Coils are numbered from zero (coil 00001 = zero, coil 00002 = one, and so on).
The desired status of each coil is packed in the data field, one bit for each coil (1=
ON, 0= OFF). The use of slave address 0 (Broadcast Mode) forces all attached
slaves to modify the desired coils.
TIP Functions 5, 6, 15, and 16 are the only messages that are recognized as valid
for broadcast.
The following example forces 10 coils starting at address 20 (13 HEX). The two
data fields, CD =1100 and 00 = 0000 000, indicate that coils 27, 26, 23, 22, and
20 are to be forced on.
TIP This is the structure of the message being sent out to the Modbus network.
The following byte values are in hexadecimal display.
Node Function Code Coil Address Coil Address Number of Number of Byte Count Force Force Error Check Field
Address High Low Coils High Coils Low Data Data Low (2 bytes)
High 28…29
20…27
0B 0F 00 13 00 0A 02 CD 01 CRC
Response
The normal response to a function 16 query is to echo the address, function code,
starting address and number of registers to be loaded.
Node Address Function Code Coil Address High Coil Address Low Number of Coils High Number of Coils Low Error Check Field
(2 bytes)
0B 0F 00 13 00 0A CRC
Query
The Function Code allows you to modify the contents of a Modbus 4x range in
the slave. This writes up to 125 registers at a time. Since the controller is actively
scanning, it can alter the content of any holding register at any time.
TIP Functions 5, 6, 15, and 16 are the only messages that are recognized as valid
for broadcast.
TIP This is the structure of the message being sent out to the Modbus network.
The following byte values are in hexadecimal display.
Node Function Data Start Data Start Number of Number of Byte High Low High Low Error Check
Address Code Address Address Points High Points Low Count Data Data Data Data Field
High Low (2 bytes)
0B 10 00 01 00 02 04 00 0A 01 02 CRC
Response
The normal response to a function 16 query is to echo the address, function code,
starting address and number of registers to be loaded.
Node Address Function Code Data Start Data Start Address Number of Points Number of Points Error Check Field
Address High Low High Low (2 bytes)
0B 10 00 01 00 02 CRC
Programming Example
Topic Page
Generic ASCII Sample Code 141
Modbus Master Command List 144
Modbus Slave Address Mapping Table 144
Modbus Sample Code Configuration Example 144
Generic ASCII Sample Code The following images show sample code for Generic ASCII Transmit data and
Generic ASCII Receive data.
Sample Code
Modbus Sample Code The following images show sample code configuration for Modbus Master and
Modbus Slave communication.
Configuration
Example MSG The following is coding examples to create MSG Read and Write control blocks:
Control Blocks • Logix write message to another Logix controller example.
• Read MSG from a Logix to a Logix Controller example.
• Write MSG from a logix to a PLC-5 or SLC 500 controller example.
• Read MSG from a Logix to a PLC-5 or SLC 500 controller example.
• Write MSG instruction from a Logix to an SLC or MicroLogix controller
example.
• Read MSG instruction from a Logix to an SLC or MicroLogix Controller
Figure 63 - Write MSG from a logix to a PLC-5 or SLC 500 controller example.
PLC-5
Figure 64 - Read MSG from a Logix to a PLC-5 or SLC 500 controller example.
Figure 65 - Write MSG instruction from a Logix to an SLC or MicroLogix controller example.
ASCII Conversions The following table defines the conversions between decimal, octal, hex, and
binary values and the ASCII character or control associated with that value.
C G
generic ASCII
compatibility
input tags 113
Logix 5000 controllers with Compact 5000 I/O output tags 116
digital modules 10
configuration parameters 30
generic ASCII 32 L
modbus master 37
modbus slave 40, 66, 67, 69 local I/O modules 12
configure the module 21 Logix 5000 controllers
connections 21 compatibility with Compact 5000 I/O digital
multiple connections 22 modules 10
create a new module Logix Designer application
discover local I/O modules 72 tag editor 111
discover remote I/O modules 80 view module tag 105
new local I/O modules 87
new remote I/O module 87
connections 21 M
multiple connections 22 modbus master
construct the system 16
data exhange
controller organizer read command 37, 39, 65, 68
monitor tag 105 write command 36, 37
view module tag 105 input tags 117
output tag 119
modbus master sample code 145
D modbus slave
data exchange data exhange 39
received from serial port 33 read command 37
sent to serial port 31 write command 37
disable keying 28 input tags 121, 124, 126, 127, 129
output tags 122, 124, 126, 128
modbus slave sample code 145
E module definition
edit the module configuration 87 dialog box 81
module location
connection category 89
general category 80 local I/O modules 12
module definition 81 module status indicator 107
module info category 104 description, digital I/O module 107
electronic keying module tag
compatible module 28 viewing 105
disable keying 28 module tags
exact match 28 tag editor 111
F N
fault reporting 27 new local I/O modules 87
O
ownership 21
P
Power Compact 5000 I/O Serial Module
system-side power 19
programming example 141
R
remote I/O module 13
S
serial module
diagram 11
parts 11
serial module status indicators 108
software compatibility 10
software configurable 25
status reporting 27
V
view the module tags 105
Technical Support Center Knowledgebase Articles, How-to Videos, FAQs, Chat, [Link]
User Forums, and Product Notification Updates.
Local Technical Support Phone Locate the phone number for your country. [Link]
Numbers [Link]
Direct Dial Codes Find the Direct Dial Code for your product. Use the [Link]
code to route your call directly to a technical support
engineer.
Literature Library Installation Instructions, Manuals, Brochures, and [Link]
Technical Data. [Link]
Product Compatibility and Download Get help determining how products interact, check [Link]
Center (PCDC) features and capabilities, and find associated
firmware.
Documentation Feedback
Your comments will help us serve your documentation needs better. If you have any suggestions on how to improve this
document, complete the How Are We Doing? form at [Link]
documents/du/ra-du002_-[Link].
Rockwell Automation maintains current product environmental information on its website at [Link]
Allen-Bradley, Compact I/O, Compact 5000 I/O, CompactLogix, ControlLogix, GuardLogix, Logix 5000, Rockwell Automation, Rockwell Software, and Studio 5000 Logix Designer are trademarks of Rockwell Automation, Inc.
CIP and EtherNet/IP are a trademark of ODVA, Inc.
Trademarks not belonging to Rockwell Automation are property of their respective companies.
Rockwell Otomasyon Ticaret A.Ş., Kar Plaza İş Merkezi E Blok Kat:6 34752 İçerenköy, İstanbul, Tel: +90 (216) 5698400