Sign In
Upload
Manuals
Brands
Allen-Bradley Manuals
Controller
MicroLogix 1400
Allen-Bradley MicroLogix 1400 Manuals
Manuals and User Guides for Allen-Bradley MicroLogix 1400. We have
2
Allen-Bradley MicroLogix 1400 manuals available for free PDF download: Instruction Manual, User Manual
Allen-Bradley MicroLogix 1400 Instruction Manual (694 pages)
Programmable Controllers
Brand:
Allen-Bradley
| Category:
Controller
| Size: 10.1 MB
Table of Contents
Table of Contents
5
Preface
13
Common Techniques Used in this Manual
15
Purpose of this Manual
15
Who Should Use this Manual
15
Chapter 1 I/O Configuration Embedded I/O
16
Related Documentation
16
Rockwell Automation Support
16
I/O Configuration
18
Micrologix 1400 Expansion I/O
19
Micrologix 1400 Expansion I/O Memory Mapping
20
I/O Addressing
29
I/O Forcing
31
Input Filtering
31
Analog Inputs
32
Analog Outputs
34
Latching Inputs
35
Configure Expansion
37
Controller Memory and File Types
39
Types Data Files
40
Chapter 2
49
Protecting Data Files During Download
49
Static File Protection
51
Password Protection
52
Clearing the Controller Memory
53
Allow Future Access Setting (OEM Lock)
54
Web View Disable
54
LCD Edit Disable
55
Chapter 3 Function Files Overview
58
Function Files
58
Real-Time Clock Function File
59
RTA - Real Time Clock Adjust Instruction
61
Memory Module Information Function File
62
Base Hardware Information Function File
64
Communications Status File
65
Ethernet Communications Status File
82
Input/Output Status File
91
Publication 1766-RM001A-EN-P - October
92
Instruction Set
93
Using the Instruction Descriptions
94
Chapter 5 High-Speed Counter Overview
101
Programmable Limit Switch Overview
101
High-Speed Counter (HSC) Function File
102
High-Speed Counter Function File Sub-Elements Summary
104
HSC Function File Sub-Elements
105
HSL - High-Speed Counter Load
132
RAC - Reset Accumulated Value
133
Programmable Limit Switch (PLS) File
134
Chapter 6
141
PTO - Pulse Train Output
141
Pulse Train Output Function
141
Pulse Train Outputs (PTOX) Function File
145
Pulse Train Output Function File Sub-Elements Summary
146
PWM - Pulse Width Modulation
160
Pulse Width Modulation (PWMX) Function File
161
PWM Function
161
Pulse Width Modulated Function File Elements Summary
162
XIC - Examine if Closed XIO - Examine if Open
169
Chapter 7
171
OTE - Output Energize
171
OTL - Output Latch OTU - Output Unlatch
172
ONS - One Shot
173
OSR - One Shot Rising OSF - One Shot Falling
174
Chapter 8
177
Timer Instructions Overview
177
TON - Timer, On-Delay
181
TOF - Timer, Off-Delay
182
RTO - Retentive Timer, On-Delay
183
How Counters Work
184
CTU - Count up CTD - Count down
187
RES - Reset
188
Chapter 9
192
Using the Compare Instructions
192
EQU - Equal NEQ - Not Equal
193
GRT - Greater than LES - Less than
193
GEQ - Greater than or Equal to LEQ - Less than or Equal to
194
MEQ - Mask Compare for Equal
195
LIM - Limit Test
196
Math Instructions
199
Chapter 10 Using the Math Instructions
200
Updates to Math Status Bits
202
Using the Floating Point (F) Data File
203
ADD - Add SUB - Subtract
207
DIV - Divide
207
MUL - Multiply
207
ABS - Absolute Value
208
CLR - Clear
208
NEG - Negate
208
SCL - Scale
210
SCP - Scale with Parameters
211
SIN - Sine
213
SQR - Square Root
213
COS - Cosine
216
TAN - Tangent
218
ASN - Arc Sine
220
ACS - Arc Cosine
222
ATN - Arc Tangent
223
DEG - Radians to Degrees
225
RAD - Degrees to Radians
227
LN - Natural Log
229
LOG - Base 10 Logarithm
231
XPY - X Power y
233
CPT - Compute
236
Chapter 11
239
RHC - Read High Speed Clock
239
RPC - Read Program Checksum
241
TDF - Compute Time Difference
242
Application Specific Instructions
239
Chapter 12 Using Decode and Encode Instructions
245
Conversion Instructions
245
DCD - Decode 4 to 1-Of-16
246
ENC - Encode 1-Of-16 to 4
247
Publication 1766-RM001A-EN-P - October
247
FRD - Convert from Binary Coded Decimal (BCD)
248
TOD - Convert to Binary Coded Decimal (BCD)
252
GCD - Gray Code
255
Chapter 13 Using Logical Instructions
257
Updates to Math Status Bits
258
AND - Bit-Wise and
259
OR - Logical or
260
XOR - Exclusive or
261
NOT - Logical NOT
262
Chapter 14 MOV - Move
263
MVM - Masked Move
266
Chapter 15 CPW - Copy Word
270
Chapter 15 File Instructions CPW - Copy Word
270
COP - Copy File
271
FLL - Fill File
273
BSL - Bit Shift Left
274
BSR - Bit Shift Right
276
FFL - First In, First out (FIFO) Load
279
FFU - First In, First out (FIFO) Unload
281
LFL - Last In, First out (LIFO) Load
284
LFU - Last In, First out (LIFO) Unload
286
SWP - Swap
288
Chapter 16 Sequencer Instructions SQC- Sequencer Compare
290
Chapter 16 SQC- Sequencer Compare
290
SQO- Sequencer Output
293
SQL - Sequencer Load
296
Chapter 17 JMP - Jump to Label
299
JSR - Jump to Subroutine
300
LBL - Label
300
SBR - Subroutine Label
300
RET - Return from Subroutine
301
SUS - Suspend
301
TND - Temporary End
301
END - Program End
302
MCR - Master Control Reset
302
Publication 1766-RM001A-EN-P - October
303
Input and Output Instructions IIM - Immediate Input with Mask
305
Chapter 18
307
IOM - Immediate Output with Mask
307
REF- I/O Refresh
308
Chapter 19 Information about Using Interrupts
309
Using Interrupts
309
INT - Interrupt Subroutine
314
User Interrupt Instructions
314
STS - Selectable Timed Start
315
UID - User Interrupt Disable
316
UIE - User Interrupt Enable
317
UIF - User Interrupt Flush
318
Using the Selectable Timed Interrupt (STI) Function File
320
Using the Event Input Interrupt (EII) Function File
324
Chapter 20 The PID Concept
331
Process Control Instruction
331
The PID Equation
332
PD Data File
333
PID - Proportional Integral Derivative
334
Input Parameters
335
Output Parameters
339
Tuning Parameters
341
Runtime Errors
351
Analog I/O Scaling
352
Application Notes
353
Application Examples
358
Chapter 21 General Information
363
Instruction Types and Operation
364
Protocol Overview
365
String (ST) Data File
366
Control Data File
367
ACL - ASCII Clear Buffers
369
AIC - ASCII Integer to String
370
AWA - ASCII Write with Append
371
AWT - ASCII Write
374
ABL - Test Buffer for Line
376
ACB - Number of Characters in Buffer
377
ACI - String to Integer
378
ACN - String Concatenate
380
AEX - String Extract
381
Publication 1766-RM001A-EN-P - October
382
AHL - ASCII Handshake Lines
383
ARD - ASCII Read Characters
385
ARL - ASCII Read Line
386
ASC - String Search
388
ASR - ASCII String Compare
389
Timing Diagram for ARD, ARL, AWA, and AWT Instructions
391
Using In-Line Indirection
391
ASCII Instruction Error Codes
392
ASCII Character Set
394
ASCII Instructions
363
Communications Instructions Messaging Overview
395
Chapter 22
398
SVC - Service Communications
398
MSG - Message
400
The Message Element
401
Timing Diagram for the MSG Instruction
409
Communication Servicing Selection and Message Servicing Selection
412
MSG Instruction Ladder Logic
413
Local Messages
415
Configuring a Local Message
416
Local Messaging Examples
425
Remote Messages
441
Configuring a Remote Message
444
Configuring a Multi-Hop Remote Message on Ethernet/Ip Communication Channel
447
Configuring a Micrologix 1400 CIP Generic Message Via Ethernet
463
MSG Instruction Error Codes
468
Special Function with MSG Instruction
470
Configure MSG Setup Screen to Send SMTP Message
476
Chapter 23 Overview
481
Socket Interface Architecture
481
Communicate with the Socket Object Via a MSG Instruction
487
Programming Considerations
491
Socket Object Services
493
Possible Error Codes for Socket Services
510
Chapter 24 RCP - Recipe
513
Data Logging
520
Queues and Records
520
Configuring Data Log Queues
525
Publication 1766-RM001A-EN-P - October
526
DLG - Data Log Instruction
527
Micrologix 1400 Memory
527
Data Log Status File
528
Retrieving (Reading) Records
530
Accessing the Retrieval File
531
Conditions that will Erase the Data Retrieval File
534
Chapter 25 LCD Overview
535
LCD Function File
536
LCD Function File Sub-Elements Summary
537
LCD Function File Sub-Elements
538
LCD - LCD Instruction
544
Appendix A
547
Programming Instructions Memory Usage and Execution Time
547
Scan Time Calculation
552
Appendix B Status File Overview
554
Status File Details
555
Identifying Controller Faults
579
Appendix C Contacting Rockwell Automation for Assistance
587
Appendix D Communication Protocol
590
DF1 Full-Duplex Protocol
594
DF1 Half-Duplex Protocol
595
DF1 Radio Modem Protocol
606
Modbus RTU Protocol
613
ASCII Driver
625
Ethernet Driver
627
Knowledgebase Quick Starts # 17444 "Quick Start" Pulse Train Output (PTOX)
631
17446 "Quick Start" Pulse Width Modulation (PWMX)
634
17447 "Quick Start" High Speed Counter (HSC)
636
17465 "Quick Start" Message (MSG)
640
17501 "Quick Start" Selectable Timed Interrupt (STI)
644
17503 "Quick Start" Real Time Clock (RTC)
646
17558 "Quick Start" User Interrupt Disable (UID)
648
18465 "Quick Start" RTC Synchronization between Controllers
649
Publication 1766-RM001A-EN-P - October
649
18498 "Quick Start" Data Logging (DLG)
652
Appendix 26 Binary Numbers
663
Hexadecimal Numbers
665
Hex Mask
667
Glossary
669
Advertisement
Allen-Bradley MicroLogix 1400 User Manual (404 pages)
Brand:
Allen-Bradley
| Category:
Controller
| Size: 12.38 MB
Table of Contents
Firmware Revision History
3
Summary of Changes
3
Table of Contents
5
Preface
13
Purpose of this Manual
13
Related Documentation
14
Who Should Use this Manual
13
Common Techniques Used in this Manual
14
Chapter 1
15
Hardware Features
15
Hardware Overview
15
Component Descriptions
16
Micrologix 1400 Memory Module and Built-In Real-Time Clock
16
1762 Expansion I/O
17
Communication Cables
18
Programming
18
Communication Options
19
Agency Certifications
21
Chapter 2
21
Compliance to European Union Directives
21
EMC Directive
21
Low Voltage Directive
22
Install Your Controller
21
Installation Considerations
22
Safety Considerations
23
Hazardous Location Considerations
23
Disconnecting Main Power
24
Safety Circuits
24
Power Distribution
25
Periodic Tests of Master Control Relay Circuit
25
Power Considerations
25
Isolation Transformers
25
Power Supply Inrush
25
Loss of Power Source
26
Input States on Power down
26
Other Types of Line Conditions
26
Master Control Relay
27
Using Emergency-Stop Switches
28
Schematic (Using IEC Symbols)
29
Schematic (Using ANSI/CSA Symbols)
30
Preventing Excessive Heat
27
Installing a Memory Module
30
Using the Battery
31
Connecting the Battery Wire Connector
32
Controller and Expansion I/O Spacing
33
Controller Mounting Dimensions
33
Mounting the Controller
34
DIN Rail Mounting
35
Panel Mounting
36
1762 Expansion I/O Dimensions
37
Mounting 1762 Expansion I/O
37
DIN Rail Mounting
37
Panel Mounting
38
Connecting Expansion I/O
39
Chapter 3 Wiring Requirements
41
Wiring Recommendation
41
Wire Without Spade Lugs
42
Wire with Spade Lugs
42
Wire Your Controller
41
Using Surge Suppressors
43
Recommended Surge Suppressors
44
Grounding the Controller
45
Wiring Diagrams
46
Terminal Block Layouts
47
Sinking and Sourcing Wiring Diagrams
50
1766-L32BWA, 1766-L32AWA, 1766-L32BXB, 1766-L32BWAA, 1766-L32AWAA, 1766-L32BXBA Wiring Diagrams
50
Controller I/O Wiring
52
Minimizing Electrical Noise
52
Wiring Your Analog Channels
53
Analog Channel Wiring Guidelines
54
Minimizing Electrical Noise on Analog Channels
55
Grounding Your Analog Cable
56
Expansion I/O Wiring
56
Digital Wiring Diagrams
56
Analog Wiring
64
Chapter 4
73
Communication Connections
73
Supported Communication Protocols
73
Default Communication Configuration
74
Using the Communications Toggle Functionality
74
Changing Communication Configuration
75
Connecting to the RS-232 Port
77
Making a DF1 Point-To-Point Connection
78
Using a Modem
79
Connecting to a DF1 Half-Duplex Network
82
Connecting to a RS-485 Network
84
DH-485 Configuration Parameters
85
Recommended Tools
87
DH-485 Communication Cable
87
Connecting the Communication Cable to the DH-485 Connector
88
Grounding and Terminating the DH-485 Network
89
Connecting the AIC
90
Cable Selection Guide
91
Recommended User-Supplied Components
94
Safety Considerations
95
Install and Attach the AIC
95
Powering the AIC
96
Connecting to Ethernet
97
Ethernet Connections
98
Using the LCD
99
Chapter 5 Using the LCD Operating Principles
100
Main Menu and Default Screen
103
Operating Buttons
105
Using Menus to Choose Values
105
Selecting between Menu Items
105
Cursor Display
106
Setting Values
107
Operating Principles
100
I/O Status
107
Viewing I/O Status
108
Monitor User Defined Target Files
109
Target User Defined File Number (TUF)
109
Monitoring a Bit File
110
Monitoring Integer Files
114
Monitoring Double Integer Files
119
Monitor Floating Point Files
125
Monitor System Status Files
125
Using the Mode Switch
126
Controller Modes
127
Changing Mode Switch Position
127
Using a User Defined LCD Screen
129
User Defined LCD Screen
130
Configuring Advanced Settings
131
Changing Key in Mode
132
Key in Modes
132
Ethernet Network Configuration
134
Viewing Ethernet Status
134
Configuring the IP Address
136
Configuring the Ethernet Port
140
Configuring Ethernet Protocol Setup
142
Using Communications Toggle Functionality
134
Using Trim Pots
145
Trim Pot Operation
145
Changing Data Value of a Trim Pot
146
Trim Pot Configuration in LCD Function File
147
Error Conditions
147
Viewing System Information
148
Viewing Fault Code
149
Saving/Loading Communication EEPROM
150
Saving Communication EEPROM
150
Loading Communication EEPROM
153
LCD Setup
153
Configuring Contrast Value
154
Configuring the Backlight
155
Protocol Configuration
156
Modbus RTU Slave Node Address
156
Chapter 6
161
Operation at Power-Up and Entering a Run or Test Mode
161
Writing Data to the Real-Time Clock
161
RTC Battery Operation
162
Real-Time Clock Operation
161
Memory Module Operation
162
User Program , User Data, Datalog and Recipe Back-Up
163
Program Compare
163
Data File Download Protection
163
Memory Module Write Protection
163
Removal/Insertion under Power
164
Memory Module Information File
164
Program /Data Download
164
Program /Data Upload
164
Chapter 7 Editing User
165
A Download Is Required before Starting Online Editing
165
Types of Online Editing
166
Edit Functions in Runtime Online Editing
167
Edit Functions in Program Online Editing
167
Appendix A
169
Specifications for Inputs
169
Working Voltage
174
Expansion I/O Specifications
175
Digital I/O Modules
175
Analog Modules
181
Rockwell Automation Publication 1766-UM001I-EN-P - June
182
Appendix B
189
Lithium Battery (1747-BA)
189
Installation
189
Battery Handling
191
Storage
191
Transportation
191
Disposal
193
Micrologix 1400 Replacement Kits
189
Appendix C
195
Controller Status LED Indicators
195
Status Indicators on the LCD
196
I/O Status Indicators on the LCD
197
Normal Operation
197
Error Conditions
197
Understanding the Controller Status Indicators
195
Controller Error Recovery Model
198
Analog Expansion I/O Diagnostics and Troubleshooting
200
Module Operation and Channel Operation
200
Power-Up Diagnostics
200
Critical and Non-Critical Errors
201
Module Error Definition Table
201
Error Codes
202
Calling Rockwell Automation for Assistance
203
Appendix D
205
Install Controlflash Software
205
Prepare the Controller for Firmware Upgrade
206
Preparing for Firmware Upgrade
205
Using Controlflash for Firmware Upgrade
207
Controlflash Error Messages
217
Missing or Corrupt os State
219
Recovering from Missing or Corrupt os State
220
Appendix E
221
Communication Interface
221
DF1 Full-Duplex Protocol
221
DF1 Half-Duplex Protocol
222
DF1 Half-Duplex Operation
222
Considerations When Communicating as a DF1 Slave
224
On a Multi-Drop Link
224
Using Modems with Micrologix Programmable Controllers
224
Communication Protocol
225
DH-485 Configuration Parameters
226
Devices that Use the DH-485 Network
226
Important DH-485 Network Planning Considerations
227
Example DH-485 Connections
231
Ascii
233
Distributed Network Protocol (DNP3)
233
Modbus Communication Protocol
233
Appendix F Channel Configuration for DNP3 Slave
235
Channel 0 and Channel 2 Link Layer Configuration
237
Channel 1 Link Layer Configuration
238
DNP3 Slave Application Layer Configuration
240
Channel 0 and Channel 2 Link Layer Configuration Parameters
242
Channel 1(Ethernet) Link Layer Configuration Parameters
246
DNP3 Slave Application Layer Configuration Parameters
251
Micrologix 1400 Distributed
235
DNP3 Slave Application Layer
264
Function Codes
265
Internal Indications
270
DNP3 Objects and Micrologix 1400 Data Files
270
DNP3 Data Files
274
DNP3 Configuration Files
275
DNP3 Binary Input Object
279
DNP3 Binary Output Object
281
DNP3 Double Bit Binary Input Object
284
DNP3 Counter Object
286
DNP3 Frozen Counter Object
289
DNP3 Analog Input Object
291
DNP3 Analog Output Object
295
DNP3 BCD Object
297
DNP3 Data Set Object
299
Object Quality Flags
309
DNP3 Device Attribute Object
312
Event Reporting
315
Generating Events
315
Control Generating Event
320
Reporting Event by Polled Response
321
Reporting Event by Unsolicited Response
322
Collision Avoidance
324
Time Synchronization
325
Download a User Program Via DNP3 Network
326
Default Directories and Files
327
Generating *.IMG Files Using Rslogix 500/Rslogix Micro
327
Rules for File Authentication
329
Rules for Downloading a User Program
330
Rules for Uploading a User Program
331
Rockwell Automation Publication 1766-UM001I-EN-P - June
331
Rules for Initializing a User Program
332
Rules for Uploading Communication Status Files
332
Starting and Stopping User Programs (Mode Change) Via DNP3
332
Network
332
Initialize User Program
333
Start User Program
333
Stop User Program
333
Diagnostics
334
Diagnostics for Ethernet Channel (Channel 1)
340
Diagnostics for Secure Authentication
347
Function Codes
349
Implementation Table
351
Micrologix 1400 Controllers and Ethernet Communication
365
Appendix G
366
Micrologix 1400 Performance Considerations
366
Micrologix 1400 and PC Connections to the Ethernet Network
367
Ethernet Network Topology
367
Connecting an Ethernet Switch on the Ethernet Network
367
Cables
368
Ethernet Connections
370
Duplicate IP Address Detection
371
Configuring the Ethernet Channel on the Micrologix 1400
372
Configuration Using Rslogix 500/Rslogix Micro Programming
374
Configuration Via BOOTP
374
Using the Rockwell Automation BOOTP/DHCP Utility
375
Software
374
Using a DHCP Server to Configure Your Processor
377
Using Subnet Masks and Gateways
378
Manually Configuring Channel 1 for Controllers on
379
Subnets
379
Micrologix 1400 Embedded Web Server Capability
379
System Loading Calculations
381
Appendix H System Loading Example Calculations
382
System Loading Worksheet
383
Current Loading
383
Calculating Heat Dissipation
385
Advertisement
Related Products
Allen-Bradley 1785-L11B
Allen-Bradley 1769-L30ERM
Allen-Bradley 1769-L33ER
Allen-Bradley 1769-L19ER-BB1B
Allen-Bradley 1789 SoftLogix
Allen-Bradley 1769-L23E-QBF1 CompactLogix 5323E-QB1
Allen-Bradley Pico 1760-L12AWA
Allen-Bradley ControlLogix System 1756-L55M Series
Allen-Bradley 1305-AA08A
Allen-Bradley 1512BT
Allen-Bradley Categories
Control Unit
Controller
I/O Systems
Power Supply
Switch
More Allen-Bradley Manuals
Login
Sign In
OR
Sign in with Facebook
Sign in with Google
Upload manual
Upload from disk
Upload from URL