AcccuSort 20A to ControlLogix via ProLinx gateway
Problem Solution Overview
We performed testing between the subject device and our ProLinx 4102-DFCM-ASCII3 product.
Solution Brief
Our testing generated the following results:
- We were able to successfully bridge communication with the ProLinx device between the device and Rockwell Automation`s Controllogix processor. (See below for configuration parameters used during the testing.)
- The AccuSort device programming software was used to setup initial communications settings and scanner trigger control settings. The Model 20 product supports several ASCII commands. These additional commands are not required for a successful connection. Accu-Setup Small Scanner Module 4.4 software was utilized to setup the scanner parameters for communication and trigger control.
The purpose of our testing is to assure a level of compatibility in the communications between the three products. Through this testing, we attempt to identify problem areas that may arise when implementing the interface in the field.
AccuSort Model 20A Configuration: The product testing was performed with the following port settings used for the device.
- Baud: 9600
- Parity: Even
- Stop: 2
- Data: 7
- Physical Connection: RS-232 (Model 20 Programming Kit 110 VAC PN 1000017369). - Connected to ProLinx - PORT 1.
The Model 20 scanner was setup using the AccuSort Accu-Setup Small Scanner Module 4.4 software. A sample configuration file used for the test, ProLinxModel20Continous.WSA has been provided below for download. The trigger method used was Software.
Configuration:
Port 0 (DF1) - Communication to Controllogix processor
For further understanding of these settings refer to the ProLinx DFCM DF1 Master/Slave Driver Manual
- Enabled: Yes
- Type: Master
- Local Station ID:
- Protocol: Full
- Termination Type: BCC
- Baud Rate: 38400
- Parity: No
- Data Bits: 8
- Stop Bits: 1
- Min Response Delay: 0
- RTS On: 0
- RTS Off: 1
- Use CTS Line: No
- Response Timeout: 500
- Retry Count: 2
- ENQ Delay: 0
- Minimum Command Delay: 10 - Error Delay Counter: 100
Port 0 DF1 Commands
Start
|
1 Enable
|
2
Internal Address
|
3
Poll Interval
|
4 Count
|
5
Swap Code
|
6 Node Address
|
7
Func Code
|
8
File Type
|
9 File
|
10 Elm
|
11
Sub Elm
|
|
1
|
0
|
1
|
10
|
0
|
0
|
501
|
N
|
7
|
0
|
|
|
1
|
200
|
1
|
100
|
0
|
0
|
509
|
N
|
8
|
0
|
|
End
The 501 command issues a read from the Controllogix processor, in which are the values generated by the ladder logic instructing the scanner to turn On/Off and perform the barcode scan. The 509 command performs a write to the N8 data table. This is the actual barcode data scanned. The sample Controllogix program linked below utilized SLC mapping.
Port 0 (ASCII)Communication to AccuSort Model 20
For further understanding of these settings refer to the ProLinx ? ASCII Generic Serial Communications Module manual
- Enabled: Yes
- RS Interface: 0 #0=RS-232
- Rx DB Start: 200
- Tx DB Start: 0
- Baud Rate: 9600
- Parity: e
- Data Bits: 7
- Stop Bits: 2
- RTS On: 0
- RTS Off: 0
- Handshaking: N
- Rx Termination Type: 1
- Rx Term Count: 2
- Rx Term Chars: 13 10 #(carriage return and line feed)
- Rx Packet Length: 10
- Rx Timeout: 5000
- Rx Delay: 1000
- Swap Rx Data Bytes: N
- Tx Timeout: 5000
- Tx Minimum Delay: 0 - Swap Tx Data Bytes: N
Port 0 DF1 Cable Connection:
The physical connection that was used during testing are as follows:
|
ProLinx Port 0 - DF1
|
|
Controllogix RS-232
|
|
DCD Pin 1
|
-----------------------------
|
DCD Pin 1
|
|
RXD Pin 2
|
-----------------------------
|
TXD Pin 3
|
|
TXD Pin 3
|
-----------------------------
|
RXD Pin 2
|
|
DTR Pin 4
|
-----------------------------
|
DSR Pin 6
|
|
GND Pin 5
|
-----------------------------
|
GND Pin 5
|
|
DSR Pin 6
|
-----------------------------
|
DTR Pin 4
|
|
RTS Pin 7
|
-----------------------------
|
CTS Pin 8
|
|
CTS Pin 8
|
-----------------------------
|
RTS Pin 7
|
For ease of installation, cabling between the ProSoft module and Controllogix was accomplished using A-B PN - 1747-OSCBC cable.
Port 0 ASCII Cable Connection:
The physical connection that was used during testing are as follows:
|
Model 20
|
|
ProLinx ASCII Port 0
|
|
GND Pin 1
|
-----------------------------
|
GND Pin 5
|
|
TXD Pin 2
|
-----------------------------
|
RXD Pin 2
|
|
RXD Pin 3
|
-----------------------------
|
TXD Pin 3
|
|
GND Pin 11 +5VDC Pin 15
|
|
|
For ease of installation, cabling between the ProSoft module and AccuSort Model 22 was accomplished using Model 20 Programming kit-110VAC PN 1000017369 cable.
|