Page 1
I-7550 PROFIBUS to RS-232/422/485 Converter User's Manual High Quality, Industrial Data Acquisition, and Control Products i-7550 PROFIBUS to RS-232/422/485 Converter User Manual (Version 1.60) PAGE:1 ...
Page 2
Copyright by ICP DAS. All rights are reserved. Trademark The names used for identification only may be registered trademarks of their respective companies. List of Revision Date Author Version Revision 2012/04/03 Raiden 1.60 Release i-7550 PROFIBUS to RS-232/422/485 Converter User Manual (Version 1.60) PAGE:2 ...
1. Introduction PROFIBUS is a field bus communication system with a wide range of applications, particularly in the fields of factory and process automation. The I-7550 integrates devices with serial RS-232, RS-485 or RS-422 interfaces into a PROFIBUS DP network. Serial I/O devices, electronic scales, operator terminals, barcode readers and other automation devices can easily be connected to an existing PROFIBUS network.
− Shows the power state PWR LED − COM Port state: transmit or receive data ERR LED − Show error state RUN LED − Show communication state of PROFIBUS i-7550 PROFIBUS to RS-232/422/485 Converter User Manual (Version 1.60) PAGE:5 ...
2. Hardware 2.1 Block Diagram of the I-7550 RS-485 DRIVE Figure 2: Block diagram of the I-7550 2.2 Pin Assignment Figure 3: Pin assignment of the I-7550 i-7550 PROFIBUS to RS-232/422/485 Converter User Manual (Version 1.60) PAGE:6 ...
Page 7
Power supply ground for the first node and the last node +5V Power Supply for the first node and the last node Inverting Bus Line i-7550 PROFIBUS to RS-232/422/485 Converter User Manual (Version 1.60) PAGE:7 ...
COM port types to a serial device or serial network. 2.3.1 RS-232 Connection The RS-232 port of the I-7550 has got three pins. The wiring of the RS-232 device with the RS232 port of the I-7550 is shown in Figure 4.
Page 9
− the number of devices connected to the RS-422 bus is less than 10 Disabled − The I-7550 is a slave in RS-422 bus − the number of devices connected to the RS-422 bus exceeds 10 i-7550 PROFIBUS to RS-232/422/485 Converter User Manual (Version 1.60)
Page 10
Figure 7: The positions of pull high/low resistors in I-7550 module 2.3.3 RS-485 Connection The RS-485 wiring diagram is shown in Figure 8. The I-7550 converter can only act in the PROFIBUS network as a slave. In a RS- i-7550 PROFIBUS to RS-232/422/485 Converter User Manual (Version 1.60) PAGE:10 ...
Page 11
RS-485 bus is less than 10 − The I-7550 is a slave in RS-485 Disabled bus or − the number of devices connected to the RS-485 bus exceeds 10 i-7550 PROFIBUS to RS-232/422/485 Converter User Manual (Version 1.60) PAGE:11 ...
Page 12
Figure 9: Configuration of pull high/low resistor for the RS-485 port 2.3.4 PROFIBUS Connection The PROFIBUS interface of the I-7550 is a DB9 female connector. The connector uses the standard PROFIBUS 9 pin assignment. It is recommended to use a standard PROFIBUS cable and connector (DB9 male). As with every serial bus the rate of safe data transmission in a PROFIBUS network decreases with increasing distance between master and slave.
Page 13
Figure 11. Figure 10: PROFIBUS connection Terminator ON Terminator OFF Terminator Switch Figure 11: PROFIBUS connector i-7550 PROFIBUS to RS-232/422/485 Converter User Manual (Version 1.60) PAGE:13 ...
2.4 Setting the PROFIBUS Address The station address of I-7550 can be set by using either the dip switch or by writing it directly to the EEPROM. The dip switch covers a range from 0 to 255.
2.5 LED status indicator The I-7550 provides three LEDs to indicate the statuses of the I-7550 module. The position of LEDs and descriptions are shown in Table 9 and Figure 13.
Page 16
− PROFIBUS system has not been configured correctly. Normal operation PROFIBUS system has been configured correctly Data exchange mode Normal operation. I-7550 module is not in a data exchange mode. Figure 13: LED position i-7550 PROFIBUS to RS-232/422/485 Converter User Manual (Version 1.60) PAGE:16 ...
7550 enables the integration of single serial devices such as I/O devices, electronic scales, operator terminals, barcode readers and other automation devices which has a RS-232/RS-485/RS-422 interface into a PROFIBUS DP network. Figure 14: Mono-master system i-7550 PROFIBUS to RS-232/422/485 Converter User Manual (Version 1.60) PAGE:17 ...
Figure 15: Multi-master system 3.2 Communication Sequence To fully understand the I-7550 field of applications, its strength and limitation it is important to understand the way in which data is processed by the converter. Basically the converter has got four buffers (Figure 16): −...
Page 19
PROFIBUS master. The remaining data packet will not be sent. That means irrelevant of the amount of data received by the I-7550 converter the data length transmitted to the PROFIBUS master is always limited by configured length.
Page 20
This data is transferred to the PROFIBUS output buffer according to the setting done by the configuration program. Status information of this data package is added to the front of the string. Once data arrives at the I-7550 PROFIBUS output buffer the master can access this data in the next polling cycle.
Chapter 0 mentions that the converter can either take the position of a local master or that of a slave in the serial network (Figure 18) it is connected to. In the PROFIBUS network the I-7550 always remains a slave PROFIBUS slave and can not be used as a PROFIBUS master.
The PROFIBUS master sends and receives data in one telegram cycle. That is, the master sends output data to the slave (I-7550 module) and receives input data from the slave in a single cycle. The maximum length for each input and output data is 128 bytes.
Page 23
PROFIBUS master will only read the number of bytes set by the configuration tool. The master therefore does not receive all the data sent by the serial network. It lies in the responsibility of the system i-7550 PROFIBUS to RS-232/422/485 Converter User Manual (Version 1.60) PAGE:23 ...
Page 24
For every data string transferred from the COM port input buffer to the PROFIBUS output buffer the counter is incremented by one. After the master has read the data from the I-7550 PROFIBUS output buffer (Figure 19) the content of this buffer remains unchanged until a new data packet is copied from the COM port input buffer.
Page 25
Data Data output command (1. Byte): The PROFIBUS master is cyclically polling the I-7550 module. In a cycle the master sends data from its output buffer to the input buffer of the converter and in the same cycle reads data from the output buffer of the converter. If no new data is put on the master output buffer the master sends in each polling cycle the same data.
Page 26
− DC: When this bit is set (DC=1), diagnostic messages send by the I-7550 module will all be cleared. − CC: When this bit is set (CC=1) the I-7550 module sets the “Receive data count” (fourth byte of the input data area, Table 10) to zero.
Page 27
The container with the new and old data is being sent off to the I-7550 module. If the “Output data length” is greater than the new data then new data together with old invalid data will be dispatched at the COM port.
Timeout value (5. byte) The timeout is only relevant for the communication between the I-7550 converter and the serial network. The converter receives the response of a device in the serial network at the COM port as a continuous data stream. A...
Page 29
Modification of the setting is only possible when the communication between master and slave has stopped. Steps to set the output and input data length: Step 1: Load the following GSD file and BMP file of the I-7550 module into the PROFIBUS configuration tool: IPDS0B0D.gsd ICP_7550.bmp...
Page 30
Description Parameter 1200 2400 4800 9600 COM Port baud rate 19200 38400 57600 115200 None COM Port parity Even 7 data bit COM Port data length 8 data bit i-7550 PROFIBUS to RS-232/422/485 Converter User Manual (Version 1.60) PAGE:30 ...
Page 31
PROFIBUS output buffer of the converter. The PROFIBUS master will read the new data string from the I-7550 output buffer during the next send and request telegram.
Page 32
Single data strings transferred from the serial input buffer to the PROFIBUS output buffer: 1. String: 2. String 3. String If the PROFIBUS network is configured in such a way that the time interval i-7550 PROFIBUS to RS-232/422/485 Converter User Manual (Version 1.60) PAGE:32 ...
Page 33
PROFIBUS output buffer. Figure 25: Activating the data length mask The PROFIBUS configuration tool allows you only to activate the counter i-7550 PROFIBUS to RS-232/422/485 Converter User Manual (Version 1.60) PAGE:33 ...
Page 34
Once the response data length has been specified the I-7550 module will wait for the requested number of bytes to arrive at the COM port input buffer before the data string will be transferred to the PROFIBUS output buffer.
Page 35
“None” and the “Data Length” to “Disable” (Figure 26): Figure 26: Activating the timeout property The timeout is used by the I-7550 module to determine the end of a serial data string arriving at the COM port. If the time between two consecutive bytes...
Page 36
If this is the case data continuously streams into the COM input buffer but is not transferred to the PROFIBUS input buffer because the I-7550 module waits indefinitely for the message to end. Using the timeout option it is recommended that the interval time between every message arriving at the COM port should be greater than the transmission time of two bytes.
Network Figure 28: Converter is in a receiving mode 3.6 Diagnostic messages The I-7550 module has two types of diagnostic message. They are “System Setting Module Error” and “Input Data Error” (Table 14). Table 14: diagnostic messages Messages Description Not find system setting module.
I-7550 will overflow and I-7550 will send the diagnostic message “Input Data Error – FIFO overflow ” to PROFIBUS Master. b. When the I-7550 module can’t receive data in time from COM port, it will send the diagnostic message “Input Data Error – Data loss ” to PROFIBUS Master, please refer section 3.5.2 “COM Port Timeout Diagnostic”.
Page 39
Figure 29: Procedure for activating the converter on a PROFIBUS First configure the master with the help of the PROFIBUS configuration program and the GSD file (electronic device description file) of the I-7550 as explained in the previous chapter. Then change the PROFIBUS DP-master from the offline state to the operate state.
Page 40
LEDs of the converter. An error causes the slave to return to the wait parameter (Wait Prm) state and forces the master to repeat the parameterization and configuration procedure. i-7550 PROFIBUS to RS-232/422/485 Converter User Manual (Version 1.60) PAGE:40 ...
CD of the I-7550 module into the configuration utility SyCon. File->CopyGSD (Directory: -->CD: \PROFIBUS\ Converter\i-7550\GSD\) Step 2: Insert the I-7550 module as a new slave to the network: Insert -> Slave… Click on any area in the graphic window where the slave should be displayed.
Page 42
− Select the input length: In this example a length of 9 bytes is selected (Figure 33) − Select the output length: Here the length is set to 8 bytes (Figure 34) i-7550 PROFIBUS to RS-232/422/485 Converter User Manual (Version 1.60) PAGE:42 ...
Page 43
Figure 32: Select “System setting” Figure 33: Select an input length of 9 bytes i-7550 PROFIBUS to RS-232/422/485 Converter User Manual (Version 1.60) PAGE:43 ...
Page 44
A parameter can be assigned a new value by double clicking it. For this example the default setting is being used. Figure 35: Window for setting the parameters for the serial bus i-7550 PROFIBUS to RS-232/422/485 Converter User Manual (Version 1.60) PAGE:44 ...
4.2.1 Receiving Data from a Serial (RS232) Device Figure 36: System setup − Connect the RS232 port of the I-7550 module to a COM port of the PC and the PROFIBUS port to a PROFIBUS master (Figure 36). − Start the test utility “Send232” (Figure 37).
Page 46
5) Type “PROFIBUS” in the text field above the “Send” button (Figure 38). 6) Click “Send” button. After the string has been successfully sent, it will appear in the “Send” textbox. i-7550 PROFIBUS to RS-232/422/485 Converter User Manual (Version 1.60) PAGE:46 ...
Page 47
Figure 39: Creating a input watch window − Right click the “IOWatch” window and click “Start” in the popup window (Figure 40) to display the data input area (Figure 41) i-7550 PROFIBUS to RS-232/422/485 Converter User Manual (Version 1.60) PAGE:47 ...
Page 48
Table 15: Received data in the input area Module Byte Data type Representation Value Representation Value Input 0 Byte 0x00 0x00 Input 1 Byte 0x00 0x00 Input 2 Byte 0x09 0x09 Input 3 Byte 0x01 0x01 i-7550 PROFIBUS to RS-232/422/485 Converter User Manual (Version 1.60) PAGE:48 ...
Page 49
− Enter the string “PROFIBUS” in the data output area as shown in Figure 44 − Enter 8 for the data length (Figure 44) − Change the first byte to any other value Figure 42: Clearing the tree view i-7550 PROFIBUS to RS-232/422/485 Converter User Manual (Version 1.60) PAGE:49 ...
Page 50
The third byte describes the length of data the converter has to send to the RS232 device. The actual data send by the converter to the RS232 device starts at byte number 6. i-7550 PROFIBUS to RS-232/422/485 Converter User Manual (Version 1.60) PAGE:50 ...
5. Troubleshooting The troubleshooting list can help users to resolve the problems when using the I-7550. If the problem still can't be solved, please contact with technical staff of ICP DAS. Table 17 Errors and solutions Item Trouble state Solution The power supply of I-7550 is incorrect.
Need help?
Do you have a question about the I-7550 and is the answer not in the manual?
Questions and answers