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
Item | Recommended | Note |
---|---|---|
Protocol | Allen Bradley DF1 Advanced | |
Connection | RS232 | |
Baud rate | 19200 | |
Stop bits | 1 | |
Data bits | 8 | |
Parity | None | |
PLC Station No. | 1 | |
HMI Station No. | 0 |
2) Address List
Type | Device registers | Format | Range | Note |
---|---|---|---|---|
Bit | I1 | I1ddd.dd | 0.0~255.15 | Only able to communicate with file number I1 |
O0 | O0ddd.dd | 0.0~255.15 | Only able to communicate with file number O0 | |
S2 | S2ddd.dd | 0.0~255.15 | Only able to communicate with file number S2 | |
B3 | B3ddd.dd | 0.0~255.15 | Only able to communicate with file number B3 | |
BN | BNddddd.dd | 0.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. | |
N7 | N7ddd.dd | 0.0~255.15 | Only able to communicate with file number N7 | |
NN | NNddddd.dd | 0.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. | |
Word | S2 | S2ddd | 0~255 | Only able to communicate with file number S2 |
T4S | T4Sddd | 0~255 | Only able to communicate with file number T4 (Timer Preset Value) | |
T4P | T4Pddd | 0~255 | Only able to communicate with file number T4 (Timer Accumulator Value) | |
TNS | TNSddddd | 0~99255 | Timer Preset Value First two digits is for file number For example, TNS99255 represents file number T99, address 255. | |
TNP | TNPddddd | 0~99255 | Timer Accumulator Value First two digits is for file number For example, TNP99255 represents file number T99, address 255. | |
C5S | C5Sddd | 0~255 | Only able to communicate with file number C5 (Counter Preset Value) | |
C5P | C5Pddd | 0~255 | Only able to communicate with file number C5 (Counter Accumulator Value) | |
CNS | CNSddddd | 0~99255 | Counter Preset Value First two digits is for file number For example, CNS99255 represents file number C99, address 255. | |
CNP | CNPddddd | 0~99255 | Counter Accumulator Value First two digits is for file number For example, CNP99255 represents file number C99, address 255. | |
N7 | N7ddd | 0~255 | Only able to communicate with file number N7 | |
NN | NNddd | 0~99255 | Integer data file First two digits is for file number For example, NN99255 represents file number N99, address 255. | |
Double Word | F8 | F8ddd | 0~255 | Only able to communicate with file number N7 |
FN | FNddddd | 0~99255 | Floating point data file First two digits is for file number For example, FN99255 represents file number F99, address 255. | |
LN | LNddddd | 0~99255 | Long |
3) Cable Wiring
MicroLogix Serial
MicroLogix 1000/1100/1200/1400/1500; SLC 5/03 5/04 5/05 PLC-5
1)V-BOX setting
Item | Settings | Note |
Protocol | Allen-Bradley DF1 Advanced | |
Connection | RS232 | |
Baud rate | 19200 | |
Data bit | 8 | |
Parity | None | |
Stop bit | 1 | |
PLC station No. | 1 |
2)Address List
Type | Device registers | Format | Range | Note |
Bit | I | I d.d | 0.0~255.15 | |
O | O d.d | 0.0~255.15 | ||
B | B nnhh.dd | 0.0~ffff.15 | nn: block number (hex) | |
S | S d.d | 0.0~255.15 | ||
N | N nnhh.dd | 0.0~ffff.15 | nn: block number (hex) | |
Word | S | S d | 0~255 | |
TS | TS nnhh | 0~ffff | nn: block number (hex) | |
TP | TP nnhh | 0~ffff | ||
CS | CS nnhh | 0~ffff | ||
CP | CP nnhh | 0~ffff | ||
N | N nnhh | 0~ffff | ||
C | C nnhh | 0~ffff | ||
T | T nnhh | 0~ffff | ||
R | R nnhh | 0~ffff |
3)Configure the communication protocol
4)Configure the communication protocol
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
2)New PLC project
Click New Project and select the PLC model.
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
V-box software configuration
1)V-box programming software
2)Configure device network
Click the Configuration Download button , 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
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.
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.
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.
After adding the protocol Allen-BradleyMicro850_FreeTag, click icon add label.
5)Engineering production
According to your own needs, use the V-NET client software to edit the required data monitoring points.
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:
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™
2)New PLC project
Click New Project and select the PLC model.
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
4)connect PLC
When downloading the setting, need to change the status of the PLC to PRG
V-box software configuration
1)V-box programming software
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.
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.
Export variables from PLC, select CSV file, comma delimited.
After adding the protocol Allen-BradleyMicro850_FreeTag, click icon add label.
3)Engineering production
According to your own needs, use the V-NET client software to edit the required data monitoring points.