Allen-Bradley 1785 PLC-5 Reference Manual Download Page 19

Addressing Reference

1785 PLC-5

16

Table F
Example Counter Addresses

To Address:

PLC Data Type:

Example Address:

Whole Counter Structure

structure

$C5:4

Counter Accumulated Word

signed word

$C5:7.ACC

Counter Preset Word

signed word

$C5:7.PRE

Counter Up Bit

bit

$C5:7.CU

Counter Down Bit

bit

$C5:7.CD

Counter Done Bit

bit

$C5:7.DN

Counter Overflow Bit

bit

$C5:7.OV

Counter Underflow Bit

bit

$C5:7.UN

Table G
Control Mnemonics

Mnemonic

Structure Member

Size

PLC Data Type

.EN

Enable

1 bit

bit

.EU

Enable Unloading

1 bit

bit

.DN

Done

1 bit

bit

.EM

Empty

1 bit

bit

.ER

Error

1 bit

bit

.UL

Unload

1 bit

bit

.IN

Inhibit Comparison

1 bit

bit

.FD

Found

1 bit

bit

.UL

Unload

1 bit

bit

.IN

Inhibit Comparisons

1 bit

bit

.LEN

Length

2 bytes

signed word

.POS

Position

2 bytes

signed word

Figure 16
Control Structure

15

14

13

12

11

10

9

8

7

6

5

4

3

2

1

0

17376–I

EN

EU

DN

Reserved

LEN – Length (–32,768 thru +32,767)

POS – Position (–32,768 thru +32,767)

EM ER UL

FD

IN

Summary of Contents for 1785 PLC-5

Page 1: ...Addressing Reference Manual 1785 PLC 5 Programmable Controllers Allen Bradley...

Page 2: ...publication SGI 1 1 Safety Guidelines for the Application Installation and Maintenance of Solid State Control available from your local Allen Bradley office describes some important differences betwe...

Page 3: ...ormation To help you find this information we have included change bars as shown to the left of this paragraph For This Specific Revised Information Refer to updated product and documentation referenc...

Page 4: ...r ASCII binary decimal floating point and integer files page 9 addressing structured data page10 A 1785 PLC 5 processor may include the following processors PLC 5 10t PLC 5 11t PLC 5 12t PLC 5 15t PLC...

Page 5: ...for the memory in the 1785 PLC 5 data table The logical ASCII formats for the memory addresses you can access are shown in subsequent figures for each section Figure 1 Memory Map of 1785 PLC 5 Process...

Page 6: ...rol Files Figure 13 Table K Figure 18 Table L Control Files Figure 13 Table G Figure 16 Table H Counter Files Figure 13 Table E Figure 15 Table F Floating point files Figure 7 Figure 11 Input File Fig...

Page 7: ...cimal for status file 0 77 Octal for token data files 0 584 Decimal for message files 0 398 Decimal for PID files 0 779 Decimal for ASCII string files 0 999 Decimal for all other file types Logical Ad...

Page 8: ...40 5 40L 0 27 octal for PLC 5 60 5 60L 5 80 Bit Number 0 17 Octal I O Group Number 0 7 Octal Logical Address Identifier File Separator Bit Separator if addressing a bit I 12 3 12 17399 I Word No Figu...

Page 9: ...e Bit Number 0 15 Decimal Word Number 0 128 Decimal Logical Address Identifier File Separator Bit Separator if addressing a bit S 7 12 17401 I Status file Identifier Note Word number is 0 31 on PLC 5...

Page 10: ...14 last scan of ladder or SFC step 15 processor started first program scan or the first scan of the next step in an SFC S 2 Switch Setting information bits 0 7 DH station number bits 11 12 are set ba...

Page 11: ...not in local rack 12 PII overlap 13 no command blocks exist to get PII 14 arithmetic overflow 15 SFC action overlap S 11 Major fault Bit Description 0 corrupted program file codes 10 19 1 corrupted a...

Page 12: ...the number of defined files or indirect reference to file 0 1 2 or bad file number 24 indirect reference to wrong file type 30 subroutine jump nesting level exceeded 31 too few subroutine parameters 3...

Page 13: ...control bits Bit Description 0 Restart continuous SFC when reset processor restarts at first step in SFC When set processor continues with active step after power loss or change to RUN 1 Start up pro...

Page 14: ...full bits for racks 20 27 S 35 Rack control bits low 8 bits I O rack inhibit bits for racks 20 27 high 8 bits I O rack reset bits for racks 20 27 S 46 PII program file number S 47 PII module group S 4...

Page 15: ...can time for MCP A word 82 maximum scan time for MCP A word 83 file number for MCP B word 84 scan time for MCP B etc Figure 7 Format for Logical Addressing of ASCII Binary BCD Floating Point and Integ...

Page 16: ...13 12 11 10 9 8 7 6 5 4 3 2 1 0 MSD Most significant digit LSD Least Significant Digit PLC Data Type signed word Display BCD 4 digits per word 0 thru 9 000 17412 I MSD LSD Figure 11 Word of Floating P...

Page 17: ...iles 0 584 Decimal for message files 0 398 Decimal for PID files 0 779 Decimal for ASCII string files 0 999 Decimal for all other file types Logical Address Identifier File Separator Member Separator...

Page 18: ...bit T4 3 TT Timer Done Bit bit T4 3 TD Table E Counter Mnemonics Mnemonic Structure Member Size PLC Data Type CU Up Enable 1 bit bit CD Down Enable 1 bit bit DN Done 1 bit bit OV Overflow 1 bit bit UN...

Page 19: ...Underflow Bit bit C5 7 UN Table G Control Mnemonics Mnemonic Structure Member Size PLC Data Type EN Enable 1 bit bit EU Enable Unloading 1 bit bit DN Done 1 bit bit EM Empty 1 bit bit ER Error 1 bit...

Page 20: ...bit 2R6 0 EU Control Done Bit bit 2R6 0 DN Control Empty Bit bit 2R6 0 EM Control Error Bit bit 2R6 0 ER Control Unload Bit bit 2R6 0 UL Control Inhibit Bit bit 2R6 0 IN Control Found Bit bit 2R6 0 FD...

Page 21: ...irst scan Bit bit SC9 0 FS Last scan Bit bit SC9 0 LS Timer overflow Bit bit SC9 0 OV Step errored Bit bit SC9 0 ER Done Bit bit SC9 0 DN Table K Block Transfer Control Mnemonics Mnemonic Structure Me...

Page 22: ...PLC Data Type Example Address Whole B T Control Structure structure BT10 0 Requested word Count signed word BT10 0 RLEN Transmitted word Count signed word BT10 0 DLEN File type Number signed word BT10...

Page 23: ...Software A M Mode 1 bit bit CA Control Action 1 bit bit MO Station Mode auto manual 1 bit bit PE PID Equation Type 1 bit bit SP Set Point 4 bytes IEEE float KP Proportional Gain 4 bytes IEEE float KI...

Page 24: ...ias 4 bytes IEEE float MAXS Maximum Scaled Value 4 bytes IEEE float MINS Minimum Scaled Value 4 bytes IEEE float DB Dead Band 4 bytes IEEE float SO Set Output 4 bytes IEEE float MAXO Maximum Output Li...

Page 25: ...t 0 no 1 yes Bit 3 Output limiting 0 no 1 yes Bit 2 Control 0 direct 1 reverse Bit 1 Mode 0 automatic 1 manual Bit 0 Equation 0 independent 1 ISA 1 reserved 2 Setpoint SP 0 thru 4095 unscaled Smin thr...

Page 26: ...CO Continuous 1 bit bit EW Enabled Waiting 1 bit bit ERR Error Code 2 Bytes signed word RLEN Request Length 2 Bytes signed word DLEN Done Length 2 Bytes signed word DATA 0 thru DATA 51 Reserved Intern...

Page 27: ...Addressing Reference 1785 PLC 5 24 Figure 22 Message Control Block in Integer File 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 EN ST DN Error Code Reserved Internal Use 15 words ER CO EW TO NR...

Page 28: ...d The Netherlands Turkey United Arab Emirates United Kingdom United States Uruguay Venezuela Yugoslavia Allen Bradley Headquarters 1201 South Second Street Milwaukee WI 53204 USA Tel 1 414 382 2000 Fa...

Reviews: