Use the COM>DF1 Scan function to enable an Enhanced Vision to be accessed by devices using the DF1 AB protocol.
Note that:
- the Vision can act ONLY as a slave device,
- communication is half-duplex.
|
|
Allen-Bradley project |
Controller Properties
Ladder program: Message Configuration
Communication:
|
The serial port does not require any specific configuration.

|
Parameter |
Purpose |
|
Com Port |
Select any port. |
|
DF1: Unit ID |
This must be the ID number assigned in the Allen-Bradley project. |
|
DF1: Busy Bit |
ON while communication is active. |
|
DF1 RX Counter |
The number of received requests. |
Vision supports 7 DF1 commands:
Echo – the PLC returns the exact data received.
Unprotected Read – from the DT.
Unprotected Write – to DT.
Protected Write using 2 Address Fields – Write operands vector*.
Protected Read using 2 Address Fields – Read operands vector*.
Protected Write using 3 Address Fields – Write operands vector.
Protected Read using 3 Address Fields – Read operands vector.
* Does not support Timers and counters
File number / Type conversion table
|
Unitronics terminology |
File Type
|
File Number |
Sub Element |
Example using operand index - # |
|
Output |
O |
0-3 |
0 |
O0:# |
|
Inputs |
I |
0-3 |
0 |
I1:# |
|
MB |
B |
0-39 |
0 |
B2:# |
|
XB |
B |
40-79 |
0 |
B43:# |
|
SB |
B |
80-119 |
0 |
B90:# |
|
MI |
N |
0-39 |
0 |
N7:# (N7:0=MI1792) |
|
XI |
N |
40-79 |
0 |
N41:# (N41:0=XI256) |
|
SI |
N |
80-119 |
0 |
N90:# |
|
MF |
F |
0 |
0 |
F0:#(F0=MF0) |
|
ML |
L |
0-39 |
0 |
L9:# |
|
XL |
L |
40-79 |
0 |
L59:# |
|
SL |
L |
80-119 |
0 |
L99:# |
|
MDW |
L |
120-159 |
0 |
L127:# |
|
XDW |
L |
160-199 |
0 |
L177:# |
|
SDW |
L |
200-239 |
0 |
L208:# |
|
Counter Preset |
C |
0 |
1 |
C0:#.PRE |
|
Counter Current |
C |
0 |
2 |
C0:#.ACC |
|
Counter Bit |
C |
0 |
13 |
C0:#.DN |
|
Timer Preset |
T |
0 |
1 |
T0:#.PRE |
|
Timer Current |
T |
0 |
2 |
T0:#.ACC |
|
Timer Bit |
T |
0 |
13 |
T0:#.DN |
|
Notes ♦ |
In the event that operand types share file types (MI/XI/SI), each operand type receives 40 file numbers. |
|
Command Name |
Purpose |
|
Echo |
Tests Link. Field: Data to be Received. |
|
Unprotected Read |
Reads from PLC Data Tables 1 Field:
|
|
Unprotected Write |
Writes to PLC Data Tables 2 Fields:
|
|
Protected Read, |
Reads operand vector. 4 fields:
This command cannot read timers and counters (for this, use a command with 3 address fields) Refer to the table in section 1 for File number / Type details |
|
Protected Write, |
Writes to operand vector. 5 fields:
This command cannot read timers and counters (for this, used command with 3 address fields) Refer to the table in section 1 for File number / Type details |
|
Protected Read, |
Reads operands vector. 5 fields:
Refer to the table in section 1 for File number / Type details |
|
Protected Write, |
Writes to operands vector. 6 fields:
Refer to the table in section 1 for File number / Type details |
|
|
|