Page 1
Version 1 / 10/29/2015 for HW 1 & FW V1.04.000 and higher Manual order no.: 960-400-7BA31/en Systeme Helmholz GmbH | Hannberger Weg 2 | D-91091 Großenseebach | Germany Phone +49 9135 7380-0 | Fax +49 9135 7380-110 | info@helmholz.de | www.helmholz.com...
Page 2
(photocopy, microfilm, or any other methods)—even for training purposes or with the use of electronic systems—without written approval from Systeme Helmholz GmbH. All rights reserved in the event of the granting of a patent or the registration of a utility model.
1.6.8 Disclaimer of liability ....................... 11 1.6.9 Warranty ........................... 11 System overview ................12 General Information ....................12 The components that make up the TB20 I/O system ..........12 2.2.1 Bus coupler ........................12 2.2.2 Peripheral modules ......................12 2.2.3 Power and isolation module ..................... 13 2.2.4...
Page 4
Firmware update ....................... 50 Integrating the 1SI serial interface with the GSD file..........50 Using the serial 1SI serial interface with other PLCs ..........50 Parameterization ................51 ASCII protocol ......................51 TB20 – Serial interface 1SI | Version 1| 13.03.2019...
Page 5
Sequence for reading the V.24 signal status ..............76 8.3.4 Sequence for writing V.24 signals ..................77 8.3.5 Example sequence for XON/XOFF ................... 78 Error handling ................80 General technical specifications ..........82 TB20 – Serial interface 1SI | Version 1| 13.03.2019...
Page 6
Power base module ......................84 11.2 Front connectors ...................... 85 11.2.1 Front connector, 10-pin ....................85 11.2.2 Front connector, 20-pin ....................85 11.3 Electronic modules ....................85 11.4 Final bus cover ......................85 TB20 – Serial interface 1SI | Version 1| 13.03.2019...
Configuration, execution, and operating errors can interfere with the proper operation of the TB20 devices and result in personal injury as well as material or environmental damage. Only suitably qualified personnel may operate the TB20 devices!
If the hazard warning is ignored, people can be injured or harmed. Draws attention to sources of error that can damage equipment or the environment. Gives an indication for better understanding or preventing errors. TB20 – Serial interface 1SI | Version 1| 13.03.2019...
Communication with a higher-level control system is via a bus system / network and a TB20 bus coupler. Up to 64 modules from the TB20 range can be set up on a bus coupler. The bus couplers support hot-swapping for replacing modules during ongoing operation.
Observe the regional safety regulations. TB20 devices can be equipped with modules that can carry dangerously high voltages. The voltages connected to the TB20 devices can result in hazards during work on the TB20 devices. 1.6.3 Protection against electrostatic discharges...
Retrofits, changes, or modifications to the device are strictly forbidden. The TB20 is an operating means intended for use in industrial plants. During operation, the TB20 can carry dangerous voltages. During operation, all covers on the unit and the installation must be closed in order to ensure protection against contact.
System overview General Information The TB20 I/O system is an open, modular, and distributed peripheral system designed to be mounted on 35-mm DIN rails. It is made up of the following components: • Bus couplers • Peripheral modules • Power and isolation modules •...
The final bus cover protects the contacts on the last base module from accidental contact by covering the outer right-hand side of the base module. 2.2.6 Components in a module Each module consists of three parts: • Base module • Electronic module • Front connectors TB20 – Serial interface 1SI | Version 1| 13.03.2019...
(Digital In, Digital Out, Analog In, Analog Out, Power) from the TB20 system. It will only be possible to plug an electronic module into a base module if the position of the coding plug and the position of the coding socket match.
Insulation must be carried out according to VDE 0100/IEC 364 and performed in accordance with applicable national standards. The TB20 IO system has protection rating IP20. If a higher protection rating is required, the system must be installed in a housing or control cabinet. In order to ensure safe operation, the ambient temperature must not exceed 60 °C.
Finally, place the front connector on the electronic module from below in an inclined position and then gently push it onto the electronic module until the front connector fastener snaps into place with a soft click. TB20 – Serial interface 1SI | Version 1| 13.03.2019...
To remove the front connector, push the tab above the front connector upwards (see the picture below). This will push out the front connector, after which you can pull it out. TB20 – Serial interface 1SI | Version 1| 13.03.2019...
Page 20
To remove the electronic module, use your middle finger to push on the lever from above and then use your thumb and index finger to pull out the electronic module while holding the lever down (see the picture below). TB20 – Serial interface 1SI | Version 1| 13.03.2019...
Page 21
Step 3: Release the base module Use a screwdriver to release the base module. by turning the locking mechanism 90° counterclockwise. Step 4: Remove the base module Remove the base module by pulling it towards you. TB20 – Serial interface 1SI | Version 1| 13.03.2019...
TB20 modules can carry lethal voltage. Before starting any work on TB20 system components, make sure to de-energize all components, as well as the cables supplying them with power! During work when the system...
Page 23
To remove the electronic module, use your middle finger to push on the lever from above and then use your thumb and index finger to pull out the electronic module while holding the lever down (see the picture below). TB20 – Serial interface 1SI | Version 1| 13.03.2019...
Page 24
The electronic module must be snapped into place on the base module with a single continuous movement. If the electronic module is not snapped into place firmly and straight on the base module, bus malfunctions may occur. TB20 – Serial interface 1SI | Version 1| 13.03.2019...
Page 25
For more information on coding elements, please consult section 2.2.7. Step 4: Plug in the front connector TB20 – Serial interface 1SI | Version 1| 13.03.2019...
Step 2: Secure the coupler on the DIN rail Use the locking lever on the left side of the coupler to lock the coupler into position on the DIN rail. TB20 – Serial interface 1SI | Version 1| 13.03.2019...
Step 2: Remove the coupler Use your middle finger to push on the lever from above and use your thumb and index finger to pull out the coupler while holding the lever down. TB20 – Serial interface 1SI | Version 1| 13.03.2019...
Page 28
Step 3: Release the base module Use a screwdriver to release the base module. Step 4: Remove the base module Remove the base module by pulling it towards you. TB20 – Serial interface 1SI | Version 1| 13.03.2019...
3.6.2 Removal Pull the final bus cover along the module’s case and away from the DIN rail in order to remove it from the module. TB20 – Serial interface 1SI | Version 1| 13.03.2019...
Configuration/wiring EMC/safety/shielding The TB20 IO system complies with EU Directive 2004/108/EC (“Electromagnetic Compatibility”). One effective way to protect against disturbances caused by electromagnetic interference is to shield electric cables, wires, and components. When putting together the system and routing of the required cables, make sure to fully comply with all standards, regulations, and rules regarding shielding (please consult the relevant guidelines and documents published by the PROFIBUS User Organization as well).
1.5 mm² per terminal is not exceeded. The cables can be attached to the underside of the front connector with a cable tie. TB20 – Serial interface 1SI | Version 1| 13.03.2019...
The coupler and the modules are grounded via the shield contact to the DIN rail. The DIN rail must be grounded. The surface of the DIN rail must be clean and conduct electricity well. TB20 – Serial interface 1SI | Version 1| 13.03.2019...
Its electronic module and base module have the same light gray color as the front connector, ensuring that all power and isolation modules will stand out visually in the system and make it easy to clearly distinguish each individual power supply segment. TB20 – Serial interface 1SI | Version 1| 13.03.2019...
If the power supply for the coupler needs to be separate from the power supply for the I/O modules, a power and isolation module can be used right after the coupler. TB20 – Serial interface 1SI | Version 1| 13.03.2019...
This information can be read in a number of ways, one of which is using the “TB20 ToolBox” configuration and diagnosis program. The modules’ electronic nameplates not only make it possible to prevent configuration errors (setup), but also make maintenance (servicing) easier.
RS232C standard. Through the TB20 bus, parameter data and control commands are transmitted from the TB20 fieldbus coupler to the 1SI serial interface. The 1SI serial interface sends feedback data to the TB20 fieldbus coupler. The 1SI serial interface allows for a point-to-point connection with various modules with serial interface.
RS422/485 standard. Through the TB20 bus, parameter data and control commands are transmitted from the TB20 fieldbus coupler to the 1SI serial interface. The 1SI serial interface sends feedback data to the TB20 fieldbus coupler. The 1SI serial interface allows for a point-to-point connection with various modules with serial interface.
ASCII frame end detection Terminator, number of characters, inter-character delay (1–65535 ms) Frame length 1–224 characters Using RS232C escort signals Controlling/reading RS232C escort signals with FBs Flow control with RTS/CTS Flow control with XON/XOFF TB20 – Serial interface 1SI | Version 1| 13.03.2019...
ASCII frame end detection Terminator, number of characters, inter-character delay (1–65535 ms) Frame length 1–224 characters Using RS232C escort signals Controlling/reading RS232C escort signals with FBs Flow control with RTS/CTS Flow control with XON/XOFF TB20 – Serial interface 1SI | Version 1| 13.03.2019...
ON = 1SI serial interface ready to transmit OFF = does not transmit Clear to send Input Communication partner ready to receive? The 1SI serial interface responds on RTS=ON. Ring indicator Input Ring indicator (modem) TB20 – Serial interface 1SI | Version 1| 13.03.2019...
Cable assignment of point-to-point connection RS232 For the point-to-point connection to a RS-232 communication partner with 9-pin SUB-D terminal, a cable with the pin assignment in accordance with the following image is required. TB20 – Serial interface 1SI | Version 1| 13.03.2019...
Receive Data (B)- Input Receive data Ground By way of the configuration of the module, a termination with an internal 120Ω terminating resistor can be activated at the terminals Rx- und Rx+. TB20 – Serial interface 1SI | Version 1| 13.03.2019...
Cable assignment of point-to-point connection RS422 For the point-to-point connection to a RS422 communication partner with 9-pin SUB-D terminal, a cable with the pin assignment in accordance with the following image is required. TB20 – Serial interface 1SI | Version 1| 13.03.2019...
38,400 baud 250 m 76,800 baud By way of the configuration of the module, a termination with an internal 120Ω terminating resistor can be activated at the terminals D- and D+. TB20 – Serial interface 1SI | Version 1| 13.03.2019...
76,800 baud 200 m 115,200 baud By way of the configuration of the module, a termination with an internal 120Ω terminating resistor can be activated at the terminals D- and D+. TB20 – Serial interface 1SI | Version 1| 13.03.2019...
5.2.10 USB interface Function Firmware update · Protocol USB 1.01 Device, Full Speed · Terminal Mini-USB TB20 – Serial interface 1SI | Version 1| 13.03.2019...
IDLE mode (quickly flashing blue LED) indicates modules that have not been added to ongoing system operation by the coupler. One of the reasons that can cause this is an incorrect configuration (wrong module model in the slot). TB20 – Serial interface 1SI | Version 1| 13.03.2019...
Using the USB interface of the bus coupler, parameters can be configured for the 1SI serial interface. Firmware update A firmware update can be requested from the support department of Helmholz if required (e-mail: support@helmholz.de). Integrating the 1SI serial interface with the GSD file The serial interface 1SI can be incorporated into the project and parameterized with a GSD file (PROFIBUS) or GSDML file (PROFINET).
Transmitting data During transmission, the number of payload data bytes to be transmitted and the payload data are transferred by the TB20 master. In the payload data, any required start and end characters may need to be included. If the end criterion “Expiration of character delay time” needs to be configured with parameters, the 1SI serial interface keeps a pause between two frames during transmission.
TB20 master. If the end criterion “Receipt of a fixed number of characters” is set, expiration of the character delay time before reaching the parameterized number of characters generates a reception error, which is reported to the TB20 master.
If during transmission within the data output time the CTS line is not set to ON, or if CTS changes to OFF during the transmission process, the transmit job is aborted and an appropriate error is sent to the TB20 master. •...
If the receive buffer overflows with more than 4,096 bytes or 250 frames, the 1SI serial interface sets the RTS line to OFF. If the communication partner nonetheless continues to transmit, a corresponding error is sent to the TB20 master and the received data of the last frame is discarded.
If the receive buffer overflows with more than 4,096 bytes or 250 frames, the 1SI serial interface sends the XOFF character. If the communication partner nonetheless continues to transmit, a corresponding error is sent to the TB20 master and the received data of the last frame is discarded.
3 = Automatic detection working at different speeds. Baud rate Transmission speed in bits per 0 = 110 second 1 = 300 2 = 600 3 = 1200 TB20 – Serial interface 1SI | Version 1| 13.03.2019...
Page 57
Frame end 0 = character delay time Detecting the end of the reception frame 1 = reception of the end character Expiration of character delay 2 = number of characters time TB20 – Serial interface 1SI | Version 1| 13.03.2019...
Page 58
Only takes effect with the end Default: 0x0 criterion “Receipt of the end character.” Frame length upon Frame length for data with a 1–224 characters receipt fixed number of characters. Default: 100 TB20 – Serial interface 1SI | Version 1| 13.03.2019...
The block check sums character is transmitted as the last character. In the case of a DLE doubling (see chapter 7.3.2), the DLE character is incorporated twice into the BCC formation. TB20 – Serial interface 1SI | Version 1| 13.03.2019...
1SI adds the characters DLE, ETX and the block checksum BCC as end code and waits for an acknowledgment character (DEL). If the communication partner transmits the character DLE within the acknowledgment delay time, the data block has TB20 – Serial interface 1SI | Version 1| 13.03.2019...
Following the expiration of the configured number of transmission attempts to send the data block, the serial interface 1SI cancels the process and sends NAK to the communication partner. The serial interface 1SI also reports the error to the TB20 master. 7.3.8 Initialization conflict...
If the character delay time expires without receiving, the NAK character is sent to the communication partner. The serial interface 1SI also reports the error to the TB20 master. If during the establishing of the connection with STX there is no empty receive buffer available, a waiting period of 400 ms starts.
If the block can't be received following the configured number of transmission attempts, or if no further attempt is made during the block waiting period, the serial interface cancels the 1SI. The serial interface 1SI also reports the error to the TB20 master.
Termination 0 = No Internal termination with 120 Ohm. 1 = Yes (Irrelevant for RS232) Interface 1 = RS232 2 = RS422 TB20 – Serial interface 1SI | Version 1| 13.03.2019...
Page 65
The receive buffer is 0 = Delete the receive buffer upon automatically cleared startup when the operating 1 = Do not delete the receive buffer mode is changed from upon startup STOP to RUN TB20 – Serial interface 1SI | Version 1| 13.03.2019...
Page 66
0 = Low 1 = High The default settings are underlined. Process alarms: - None Diagnosis capabilities: - Configuration errors - Underflow / overflow buffer - Internal module error - Message errors TB20 – Serial interface 1SI | Version 1| 13.03.2019...
The first byte of the segment is a coordination byte, which serves to synchronize the transfer of the segment between the master and the 1SI serial interface; see the figure below. The other bytes of the I/O memory contain data of the job. TB20 – Serial interface 1SI | Version 1| 13.03.2019...
Page 68
Byte Content Coordination byte Data byte 0 Data byte 1 … … Data byte N n = 3, 7, or 31, depending on the module variant of the 1SI serial interface TB20 – Serial interface 1SI | Version 1| 13.03.2019...
(idle). After completion of the current error sequence, the aborted Rx frame is again reported or made available for collection by the user. TB20 – Serial interface 1SI | Version 1| 13.03.2019...
Definitions of the status words In the following examples of data transmissions, the 1SI serial interface uses the bytes 1 and 2 for the status message in some responses to the bus master. TB20 – Serial interface 1SI | Version 1| 13.03.2019...
Page 71
Order of the bytes in the word For data transfers between the bus master and the 1SI serial interface, the byte with the highest value is transmitted first in all 16-bit words (such as status and length). TB20 – Serial interface 1SI | Version 1| 13.03.2019...
User program reads the response from the 1SI serial interface Byte 0 Ack. No meaning Bus master repeats the first segment Byte 0 ‘o’ ‘l’ ‘z’ ‘t’ ‘b’ ‘2’ ‘0’ Data TB20 – Serial interface 1SI | Version 1| 13.03.2019...
Page 73
The bus master does not receive a new job; the outputs remain the same. The bus master waits for the last acknowledgment of the 1SI serial interface Byte 0 ‘m’ ‘o’ ‘d’ ‘u’ ‘l’ Data No meaning TB20 – Serial interface 1SI | Version 1| 13.03.2019...
Page 74
1SI serial interface Byte 0 nnnn Ack. No meaning The CPU of the bus master writes the idle code to the job and terminates the job. Byte 0 No meaning TB20 – Serial interface 1SI | Version 1| 13.03.2019...
The table is an example of receiving a message in the bus master from the 1SI serial interface. The character string “helmholz” is received. The I/O memory is 8 bytes. The bus cycle is less than the CPU cycle of the bus master, so that no latency time is created in the module.
After the first receive transaction is terminated, the 1SI serial interface returns to the idle state. Byte 0 nnnn Ack. Status No meaning The bus master ends the job. * Signal states TB20 – Serial interface 1SI | Version 1| 13.03.2019...
No meaning After the transaction is terminated, the 1SI serial interface returns to the idle state. Byte 0 nnnn Ack. Status No meaning The bus master ends the job. * Signal states TB20 – Serial interface 1SI | Version 1| 13.03.2019...
User program reads the response from the 1SI serial interface Byte 0 Ack. No meaning No error is displayed; the CPU of the bus master sends the third segment Byte 0 Waiting No meaning time for after XOFF - TB20 – Serial interface 1SI | Version 1| 13.03.2019...
Page 79
User program reads the response from the 1SI serial interface Byte 0 Ack. Status meanin The CPU of the bus master writes the idle code to the job and terminates the job. Byte 0 No meaning TB20 – Serial interface 1SI | Version 1| 13.03.2019...
Only 3964(R): Initialization conflict can't be remedied Occurs when both parties are set to high priority. 070C Only 3964(R): Initialization conflict can't be remedied Occurs when both parties are set to low priority. TB20 – Serial interface 1SI | Version 1| 13.03.2019...
Page 81
The receive buffer has reached a level greater than 2/3rds. 1B41 Number of bytes indicated at the parameter LEN of the FBs not permitted • Valid value range 1 to 224 bytes TB20 – Serial interface 1SI | Version 1| 13.03.2019...
0 °C to 60 °C Transport and storage temperature -20 °C to 80 °C Dimensions (H x W x D) 110 mm x 25 mm x 73 mm Weight Approx. 120 g Hot-pluggable TB20 – Serial interface 1SI | Version 1| 13.03.2019...
Page 83
The 14 mm standard base module is available in sets of five with order no. 600-900-9AA01. 11.1.2 25 mm width base module The 25 mm standard base module is available in sets of five with order no. 600-900-9AA21. TB20 – Serial interface 1SI | Version 1| 13.03.2019...
Page 84
11.1.4 Power base module The power base module is available in sets of five with order no. 600-900-9CA01. It can be used with the power module (600-700-0AA01) and with all bus couplers. TB20 – Serial interface 1SI | Version 1| 13.03.2019...
Page 85
Electronic modules are always sent as a complete assembly, including the corresponding base module and front connector. 11.4 Final bus cover The final bus cover is available in sets of five with order no. 600-920-9AA01. TB20 – Serial interface 1SI | Version 1| 13.03.2019...
Need help?
Do you have a question about the TB20 and is the answer not in the manual?
Questions and answers