When using the DF1 port on the SLC-503,504 the DF1 port must be setup correctly using the SL-500 APS programming software. Set the following parameters:
- Baud Rate set to suit the baud rate of the MicroScan interface.
- Set the Error check to BCC.
- Set the Parity to NONE.
(In the APS software, Goto Processor Functions, then Channel config, then Channel 0 System Config).
CONNECTION CABLE (no handshaking)
IBM PC DB25 connector | SLC DF1 port DB 9 connector |
2 | 2 |
3 | 3 |
7 | 5 |
Shield (Metal case) | Shield (Metal case) |
Connect 4-6 at PLC end |
MAXIMUM LENGTH = 15 Metres.
To test the cable, use the APS software, and connect to the PLC using the Full Duplex DF-1 driver.
The data access in the SLC 500 is limited to the following data files:
Data File | Read | Write |
Bit (B) | Yes | Yes |
Integer (N) | Yes | Yes |
To read/write data out of the other SLC files areas, a common data area set up as integers or bits must be used and a part of the PLC ladder logic used to perform a block transfer to the appropriate file area.
The interface AB515 driver is used to connect to a SLC 50X via a KF-3 unit and link coupler mounted in the PLC rack. The connection from KF-3 to PLC is DH-485. The connection from Computer to KF-3 is RS232.
This driver is called “SLC 50X” in the new setup program.
Connection Drawing & Node numbers.
The Computer, KF-3 and SLC 50X all have different node numbers.
Node Number | Function |
PLC | This is set inside the PLC, and is the node number used when assigning a line or tag to the PLC. |
KF-3 | This is set inside the KF-3 and is the node number is used by the KF-3 when talking to the PLC and sending a reply back to the computer. This node number must be unique on the DH-485 network. |
Computer | The Computers node number (which is by default set to 7) is the node number the computer uses when talking to the KF-3. This node number must be different from the node number of the PLC and the node number of the KF-3. This can be changed by using the WIN.INI settings dialog box in the old ABSETUP.EXE AB Interface setup program. |
SETUP OF THE KF-3 UNIT
DH-485 PARAMETERS
Parameter | Name | Value |
0 | DH 485 Node address | Node number of KF-3 on DH 485 network, set to a unique number. |
1 | DH-485 Baud Rate | Baud rate on DH-485 connection, 19200 = 19. |
2 | Diagnostic Command Execution | Set to 01 (on) |
3 | RS232 Baud Rate | Set to match baud rate in computer , 9600 baud = 96 , same as baud rate set under SLC 50X in System Setup dialog box, PLC Interface |
4 | RS232 Parity | Off = 00 |
5 | DF1 Device Category | DF-1 full duplex = 0 |
6 | Error Detection | BCC = 0 |
7 | Flow Control | Disabled = 0 |
8 | Duplicate Message Detection | Enabled = 1 |
CHECKING THE COMMUNICATIONS
Communications can be checked by looking at the LED’s on the KF-3 box and by checking the data in the Interfaces TX and RX windows.
If the DH-485 link between the KF-3 and PLC fails, there will still be data strings in the RX window, but these will be error strings from the KF-3 telling the Computer no PLC has been found.
A Sample of the TX and RX data can be made by displaying both the TX and RX windows and clicking “Save RX & TX Data” from the monitor menu. The data will be saved in the PLC5RX.TXT file in the IN2000 directory, Leave on for at least 5 minutes to build up enough strings to make analysis worthwhile. Click “Save RX & TX Data” off when complete.
Use DF1 half duplex and CRC error checking.