Rockwell

Version 7.1 by Hunter on 2023/08/24 18:12

Rockwell

DF1

MicroLogix 1000/1100/1200/1400/1500; SLC 5/03 5/04 5/05; PLC-5

HMI Settings

ItemRecommended Note
ProtocolRockwell DF1 
ConnectionRS232 
Baud rate19200 
Stop bits1 
Data bits8 
ParityNone 
PLC Station No.1 
HMI Station No.0 

PLC Settings

DF1 Full Duplex protocol and CRC error check

Address List

TypeDevice registersFormatRangeNote
BitII ddd.dd0.0~255.15Only able to communicate with file number I1
OO ddd.dd0.0~255.15Only able to communicate with file number O0
BB nnhh.dd0.0~ffff.15Only able to communicate with file number B3
SS ddd.dd0.0~255.15Only able to communicate with file number S2
NN nnhh.dd0.0~ffff.15Only able to communicate with file number N7
WordSS ddd0~255Only able to communicate with file number S2
TSTS nnhh0~ffffOnly able to communicate with file number T4 (Timer Preset Value)
TPTP nnhh0~ffffOnly able to communicate with file number T4 (Timer Accumulator Value)
CSCS nnhh0~ffffOnly able to communicate with file number C5 (Counter Preset Value)
CPCP nnhh0~ffffOnly able to communicate with file number C5 (Counter Accumulator Value)
NN nnhh0~ffffOnly able to communicate with file number N7

Cable Wiring

AB.gif

DF1 Advanced

MicroLogix 1000/1100/1200/1400/1500; SLC 5/03 5/04 5/05; PLC-5

HMI Settings

ItemRecommended Note
ProtocolRockwell DF1 Advanced 
ConnectionRS232 
Baud rate19200 
Stop bits1 
Data bits8 
ParityNone 
PLC Station No.1 
HMI Station No.0 

PLC Settings

DF1 Full Duplex protocol and CRC error check

Address List

TypeDevice registersFormatRangeNote
BitI1I1ddd.dd0.0~255.15Only able to communicate with file number I1
O0O0ddd.dd0.0~255.15Only able to communicate with file number O0
S2S2ddd.dd0.0~255.15Only able to communicate with file number S2
B3B3ddd.dd0.0~255.15Only able to communicate with file number B3
BNBNddddd.dd0.0~99255.15

Bit data file B0~B99

First two digits is for file number

For example, BN13001.00 represents file number B13, address 001, the 0th bit. 

N7N7ddd.dd0.0~255.15Only able to communicate with file number N7
NNNNddddd.dd0.0~99255.15

Integer data file bit format N0~N99

First two digits is for file number

For example, NN13001.00 represents file number N13, address 001, the 0th bit. 

WordS2S2ddd0~255Only able to communicate with file number S2
T4ST4Sddd0~255Only able to communicate with file number T4 (Timer Preset Value)
T4PT4Pddd0~255Only able to communicate with file number T4 (Timer Accumulator Value)
TNSTNSddddd0~99255

Timer Preset Value

First two digits is for file number

For example, TNS99255 represents file number T99, address 255. 

TNPTNPddddd0~99255

Timer Accumulator Value

First two digits is for file number

For example, TNP99255 represents file number T99, address 255. 

C5SC5Sddd0~255Only able to communicate with file number C5 (Counter Preset Value)
C5PC5Pddd0~255Only able to communicate with file number C5 (Counter Accumulator Value)
CNSCNSddddd0~99255

Counter Preset Value

First two digits is for file number

For example, CNS99255 represents file number C99, address 255. 

CNPCNPddddd0~99255

Counter Accumulator Value

First two digits is for file number

For example, CNP99255 represents file number C99, address 255. 

N7N7ddd0~255Only able to communicate with file number N7
NNNNddd0~99255

Integer data file

First two digits is for file number

For example, NN99255 represents file number N99, address 255. 

Double WordF8F8ddd0~255Only able to communicate with file number F8
FNFNddddd0~99255

Floating point data file

First two digits is for file number

For example, FN99255 represents file number F99, address 255. 

LNLNddddd0~99255Long

Cable Wiring

AB.gif

MicroLogix

MicroLogix 1000/1100/1200/1400/1500; SLC 5/03 5/04 5/05 PLC-5

HMI Settings

ItemSettingsNote
ProtocolAllen-Bradlley MicroLogix 
ConnectionRS232 
Baud rate19200 
Data bit8 
ParityNone 
Stop bit1 
PLC station No.1 

Address List

TypeDevice registersFormatRangeNote
BitII d.d0.0~255.15 
OO d.d0.0~255.15 
BB nnhh.dd0.0~ffff.15nn: block number (hex)
SS d.d0.0~255.15 
NN nnhh.dd0.0~ffff.15nn: block number (hex)
WordSS d0~255 
TSTS nnhh0~ffffnn: block number (hex)
TPTP nnhh0~ffff
CSCS nnhh0~ffff
CPCP nnhh0~ffff
NN nnhh0~ffff
CC nnhh0~ffff
TT nnhh0~ffff
RR nnhh0~ffff

Cable Wiring

12.PLC Protocol_html_58205bdf82c06d4.png

EtherNet/IP(CompactLogix Series)

Allen-Brandly Compact Logix Free Tag

HMI Settings

ItemsSettingsNote
ProtocolEtherNet/IP(CompactLogix Series) 
ConnectionEthernet 
Port No.44818 

PLC Setting

Create new tags

12.PLC Protocol_html_a748a27dcf7f1124.png

Export tags to CSV file. ([Tools] » [Export] » [Tags and Logic Comments])

12.PLC Protocol_html_151379170bb8ff3e.png

Import labels, please open [Communication] window and click [Import label];

Select csv file, all tags will be displayed as belows;

12.PLC Protocol_html_af192e54dee96f38.png

✎Note:

Because in different region, the separation symbol is different, we suggest you check this before you want to import your tags. To open csv file as text format.

12.PLC Protocol_html_33df1d63ebe53726.png

The directory of changing system settings: [Control Panel] -> [Date, Time, Language,and Regional Options] -> [Change the format of numbers, dates, and times]->[Customize]-> [List separator]. Please select [,] and export CSV file after setting.

Communication settings in HMI

Enable HMI Ethernet in [Project Settings];

12.PLC Protocol_html_43b671f18153910d.png

Set PLC IP in [Device IP] settings;

12.PLC Protocol_html_27870d373581892e.png

Cable Wiring

12.PLC Protocol_html_2297240b57346b2a.png

MicroLogix 1200

The operational address is determined by the connection of Allen-Bradley PLC to HMI. For extension modules or other special conditions, refer to allen-Bradley PLC instruction manual. The following is an example of allen-bradley MicroLogix1200.

  • Bit address I: The address ranges from 0.0 to 255.15. The value of the data before the decimal point ranges from 0 to 255 (decimal). The value from 0 to 15 after the decimal point is the sub address (decimal).
  • Bit address B: The address ranges from 000.0 to fff.15. The first f from left to right represents the block number (hexadecimal); The second and third f from left to right represent the word address (hexadecimal). The value 0 to 15 after the decimal point reprensents the sub address (decimal).
  • Word address S: The word address ranges from 0 to 255 (decimal).
  • Word address TS: The address ranges from 000.0 to ffff. The first and second f from left to right represents the block number (hexadecimal); The third and fourth f from left to right represent the word address (hexadecimal). 

✎Note: Register address TP, CS, CP, N, F and TS address edit are same. D indicates decimal, and F indicates hexadecimal. Different PLC models may support different registers. See the following table.

PLC bit address typeAddress formatAddress range
Idd.ddI 0.0 ~ 255.15
Odd.ddO 0.0 ~ 255.15
Bfff.ddB 000.0 ~ fff.15
Sdd.ddS 0.0 ~ 255.15
Nffff.ddN 000.0 ~ fff.15
PLC word address typeAddress formatAddress range
SdddS0 ~ 255
TSffffTS0 ~ FFFF
TPffffTP0 ~ FFFF
CSffffCS0 ~ FFFF
CPffffCP0 ~ FFFF
NffffN0 ~ FFFF
FffffF0 ~ FFFF