Allen-Bradley(Rockwell)

Version 21.1 by Leo Wei on 2023/08/24 14:11

Allen-Bradley(Rockwell)

DF1 Advanced  Serial

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

1) V-Box Settings

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

2) 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 N7
FNFNddddd0~99255

Floating point data file

First two digits is for file number

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

LNLNddddd0~99255Long

3) Cable Wiring

ABRS232.gif

 

MicroLogix Serial

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

1)V-BOX setting

ItemSettingsNote
ProtocolAllen-Bradley DF1 Advanced 
ConnectionRS232 
Baud rate19200 
Data bit8 
ParityNone 
Stop bit1 
PLC station No.1 

2)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

3)Configure the communication protocolimage-20220824152928-1.png

4)Configure the communication protocol

image-20220824110724-1.png

Micro850_FreeTag Ethernet

This example introduces the establishment of Ethernet communication between Wecon V-box and CompactLogix L1769. It is introduced through three parts: PLC software configuration, V-box software configuration, and hardware wiring.

Software configuration of PLC

1)PLC programming software

image-20220714162600-1.png

2)New PLC project

Click New Project and select the PLC model.

image-20220714162617-2.png

 

image-20220714162652-4.png

3)Set Ethernet parameters

Follow the steps below to configure Ethernet parameters

PLC IP address:192.168.40.101

default gateway:192.168.40.1

subnet mask:255.255.255.0

image-20220714162713-5.png

 

V-box software configuration

1)V-box programming software

 image-20220714162725-6.png

2)Configure device network

Click the Configuration Download buttonimage-20220714115308-8.png , It is used to configure the device network, update the device time, obtain the device machine code, check the device network, etc.

In the example below, the IP address of V-Box is configured as 192.168.40.66, and the networking method is 4G connection 

image-20220714162737-7.png

 

3)V-net add device

Open VNET client software → add device. As shown in the figure below, click "+" in the order of steps, and the Add Device window will pop up, enter the device machine code/product code, device password, and device alias to add the device.   image-20220714162752-8.png

 

4)Set communication port parameters

In the device list on the left, find the Vbox that communicates with the L1769, click it and select configuration,communication port configuration in the main interface to add a communication protocol. 

image-20220714162805-9.png

The communication port is selected as Ethernet, the device type is selected as Allen-Bradley, the protocol is Allen-BradleyMicro850_FreeTag EthemetIP, and the IP is the internal IP address of the L1769 PLC. The port number is 44818.

image-20220824164346-1.png

After adding the protocol Allen-BradleyMicro850_FreeTag, clickimage-20220714143838-2.png icon add label.image-20220714162827-11.png

5)Engineering production

According to your own needs, use the V-NET client software to edit the required data monitoring points.

image-20220714162841-12.png

hardware connection

1)Hardware wiring diagram

This example introduces Wecon V-box with Allen-Bradley L1769 PLC to establish communication through Ethernet. The connection diagram is as follows:

image-20220714162856-13.png

The above are all the steps for establishing Ethernet communication between Wecon V-box with CompactLogix L1769 PLC.

Micro850_FreeTag Ethernet(new)

This example introduces the establishment of Ethernet communication between Wecon V-box and 2080-LC50-48QWB,Micro850. It is introduced through three parts: PLC software configuration, V-box software configuration.

Software configuration of PLC

1)PLC programming software:Connected Components Workbench™

software.png

2)New PLC project

Click New Project and select the PLC model.

project create.png

3)Set Ethernet parameters

Follow the steps below to configure Ethernet parameters

PLC IP address:192.168.39.56

default gateway:192.168.39.1

subnet mask:255.255.255.0

Ethernet.png

4)connect PLC

When downloading the setting, need to change the status of the PLC to PRG

conne ab plc.png

V-box software configuration

1)V-box programming software

v-net client vers.png

2)Set communication port parameters

In the device list on the left, find the Vbox that communicates with the L1769, click it and select configuration,communication port configuration in the main interface to add a communication protocol. 

V-NET_Client_t2Rg2wpSoY.png

The communication port is selected as Ethernet, the device type is selected as Allen-Bradley, the protocol is Allen-BradleyMicro850_FreeTag EthemetIP, and the IP is the internal IP address of the L1769 PLC. The port number is 44818.

V-NET_Client_communication.png

Export variables from PLC, select CSV file, comma delimited. 

export1.png

CCW.Shell_E5Cwj4tUL3.png

After adding the protocol Allen-BradleyMicro850_FreeTag, clickimage-20220714143838-2.png icon add label.

V-NET_Client_TNBuqy7T5r.png

3)Engineering production

According to your own needs, use the V-NET client software to edit the required data monitoring points.

V-NET_Client_KOR0AHEA4M.png

 

Ethernet DF1

download link