Programming/animating Twido via existing RS485 bus.

Description:
- This document describes the possibility to connect Twidosoft to Twido on existing RS485 bus for programming or monitoring purposes using Modbus communication protocol. Primary (built-in) or additional RS485 communication adapter may be used.

Hardware
One or more Twido controllers (optionally with additional RS485 communication adapter installed.)
TSXPCX1031 serial programming cable Or TSXPCX3030 USB programming cable
mini-DIN female connector
Software
MS Windows XP SP1 / SP2
Twidosoft v3.2
Twido fw. 3.20

1. Tested configuration

You will need an adapter (mini-DIN to free wires) in order to connect TSXPCX 1031/3030 programming cable to screw terminal block.
Adapter wiring:

Create an adapter using spare mini DIN female connector.

Use pins 1, 2, 7 (data+, data-, GND). It’s necessary to connect external 5V DC power supply to pins 8 (5V) & 7 (GND) to supply the RS232<->RS485 converter inside the cable. It’s possible to use 5V from PS/2, USB or Twido’s mini DIN connector

Notes: -When connecting to Port 1, pins 5 (DPT) and 7 (0V - GND) must be interconnected, otherwise Twido sets the port for communication with Twidosoft (Address 1, 19200kb/s, no Parity) and ignores the user setting.

-Other modbus devices than Twido may also be present on the network.

2. Setting up connection in Twidosoft

You will need to modify the connection preferences: File – Preferences – Connections Management


Connection type: Serial for TSXPCX1031 serial programming cable
USB for TSXPCX3030 USB programming cable

IP / Phone: Corresponding COM or USB port
P-Unit / Address: @ - This setting lets you choose the address before every connection.
Baud rate, Parity, Stop Bits....: Use the exact setting of the network you wish to connect to.
Confirm the changes, select your connection from the drop-down menu and confirm again.

3. Connection

Set the rotary switch on programming cable into position 1 – OTHER MULTI.
Click on the connect button.
Select the address of PLC you want to connect to.
Confirm.

Note: The line must be silent while connected with Twidosoft. If there is any other communication, the connection will fail.
This connection is not suitable for firmware update (possible only through Port 1 with default comm. setting). Communication failure would result in a permanent damage to the controller