Ramsey PROFIBUS-DP Slave Protocol12


PROFIBUS-DP Slave Protocol Manual Ramsey
Micro-Tech 3000
Model 3105/3205
Belt Feeder Controller
 Installation 2.1 
General This chapter describes the installation procedure and hardware configuration for the PROFIBUS-DP interface option. If the PROFIBUS-DP option was installed at the factory, skip to Section
2.3. 2.2 Profibus-DP Interface Board 
The PROFIBUS-DP interface board (Figure 2-1) contains the Siemens SPC3 PROFIBUS-DP controller ASIC. The SPC3 controller is an integrated circuit provided by Siemens that handles the interface between the Micro-Tech 3000 (slave) and the master. No hardware configuration jumpers or switches are present on the PROFIBUS-DP board.
 2.2.1. Cable Type and Lenght 
Application
Different types of cables are available from Siemens for various applications when assembling PROFIBUS networks. Standard Siemens PROFIBUS LAN cable number 6XV1 830-0AH10 is available from Thermo Ramsey, part number 057415. Consult the Siemens PROFIBUS network manual 6GK1 970-5CA10-0AA1 for additional information.
RS 485 Repeater Application
An RS 485 repeater amplifies data signals on LAN cables and connects bus segments. An RS 485 repeater is required in the following situations:
1. When there are more than 32 stations connected to the bus.
2. When electrically isolated bus segments are required, or
3. When the maximum cable length of a segment (standard LAN cable) is exceeded (see Table 2-1).

TABLE 2-1 MAXIMUM CABLE LENGTH OF A SEGMENT (STANDARD LAN CABLE)Transmission Rate                  Maximum Cable Length of a Segment (in m)
 9.6 to 93.75 Kbps                  1000
187.50 Kbps                             800
500.00 Kbps                             400
1.50 Mbps                                 200
3.0 to 12.00 Mbps                     100
 Rules If you want to install the bus with RS 485 repeaters, the following rules apply:
1. A maximum of 9 RS 485 repeaters can be connected in series.
 2. The maximum cable length between two nodes must not exceed the values in Table 2-2. TABLE 2-2 MAXIMUM CABLE LENGTH BETWEEN TWO NODES (STANDARD LAN CABLES)Transmission Rate       Maximum Cable Length Between Two Nodes (in m) With RS 485 Repeaters
 9.6 to 93.75 Kbps                    10000
 187.50 Kbps                              8000
 500.00 Kbps                              4000
 1.50 Mbps                                  2000
 3.0 to 12.00 Mbps                      1000

 2.3 Profibus-DP Connector The bus connector should be rated for 12 Mbaud and contain a termination resistor that can be switched on or off. Siemens bus connector 6ES7 972-OBA20- OXAO is available from Thermo Ramsey, part number 057416. TABLE 2-3 BUS CONNECTOR SIEMENS LAN CABLE Bus Connector 9 Pin Sub “D” 1 Chassis Ground Braided Shield 2 --- 3 RxD/TxD-P Data Line B (Red) 4 Control-P (Receive/(not) Transmit) 5 Data Ground 6 Power (+5 VDC @ 100 mA max) Supplied by Micro-Tech 3000 7 --- 8 RxD/TxD-N Data Line A (Green) 9 ---
 2. Connect the green and red cable wires to the screw terminal block located in the connector. The two pairs of terminals for signal wires A and B are identical. The following scheme is recommended for a PROFIBUS LAN: Terminal A: green wire Terminal B: red wire NOTE: The same wires (green or red) must always be connected to the same terminal A or B in all bus terminals and with all bus connections, and be uniform throughout the segment. 3. Insure the braided shield is making metal-to-metal contact with the connector guide.
 2.3.2. Termination Power Up to 100 mA of isolated 5 VDC is available on J1, pin 6 to power bus termination or PROFIBUS optical link plugs.
 2.4 Profibus-DP Board Installation To install the PROFIBUS-DP board, proceed as follows:
1. Open the Micro-Tech wall mount enclosure and turn off power at the mains, or remove panel mount enclosure from the panel and remove top cover, allowing access to the mother board.
 2. Remove the hex head mounting screw from the connector end of the PROFIBUS-DP board (Figure 2-1).
3. Insert the PROFIBUS board in any available expansion slot on the mother board (see Figure 2-2).
4. Insert the hex head screw through the chassis and tighten. Figure 2-2 Micro-Tech 3000 Mother Board
5. Replace the panel mount top cover and reinstall the panel mount enclosure in the control panel.
6. Install the wired mating connector on the PROFIBUS board.
7. Turn power back on at the mains. The following screen appears when power is restored and remains on for 10 seconds. The screen disappears after ten seconds. If the question is not answered, the Micro- Tech 3000 assumes the answer is NO. HW (hardware) alarm is on and cannot be reset. The above screen appears each time power is cycled if the question is not answered. Answer YES because this is a hardware configuration change. Set-up data for the newly installed PROFIBUS-DP interface board must now be entered. Proceed to Chapter 3.0, Operation..
 Chapter 3 
 Operation 
3.1 General
The Micro-Tech 3000 is a menu driven machine that allows the operator easy access to the PROFIBUS-DP set-up scroll in Main Menu 5.
3.2 Micro-Tech 3000 Configuration Main Menu 5 is dedicated to the Micro-Tech 3000 communication options: COMM A serial communications, PROFIBUS-DP and PRINT. The PRINT scroll is only visible if the COMM A board is installed.
3.2.1 Slave Address and Buffer Dimensions The slave address and the buffer dimensions should be defined in the PROFIBUS,Repeatedly press the MENU key until Main Menu 5 appears.
3.2.2 PROFIB Scroll 1. Slave Address Defines the address of the Micro-Tech 3000 in the PROFIBUS net. Press the soft key under PROFIB and scroll down. Default: 1 Min: 1 Max: 126 Type in the address and press ENTER. In the next two scrolls, the operator can define independently the read and write buffer dimensions. This feature is very useful since it allows reducing the address space to the minimum need. The dimension should be entered in number of words. This number includes the header of the telegram taking four words (see Table 3-1), so the minimum is five words. PROFIBUS SCROLL 2 - Read buffer dim. Password: SERVICE 48 words ENTER - PROFIBUS SCROLL 3 - Write buffer dim. 48 words ENTER - MAIN MENU 3 - Press menu for more DIAG TEST - TEST SCROLL 9 - Test communication B 19.2 kb Wait Prm Default: 48 Min: 5 Max: 48 Type in the number of words and press ENTER. The following screen appears. Default: 48 Min: 5 Max: 48 Type in the number of words and press ENTER. Press RUN to return to the RUN menu or MENU for more menus. 3.2.3 Baud Rate The baud rate is automatically detected by the Micro-Tech 3000 and is displayed in Main Menu 3, TEST Scroll. Press the MENU key repeatedly until Main Menu 3 appears. MAIN MENU 3 - Press menu for more DIAG TESTMAIN Press the TEST key and scroll down. TEST SCROLL 9 - Test communication B 19.2 kb Wait Prm The baud rate and status are dynamically displayed. The status can be: WAIT PRM The Micro-Tech is waiting for the PARAMETER message. WAIT CFG The Micro-Tech is waiting for the CONFIGURATION message. DATA EXC The Micro-Tech is in the DATA EXCHANGE phase, configuration and parameterization have been completed successfully. If the baud rate displayed value changes continuously, it means there are problems on the line or the CPU is off. Press RUN to return to the RUN menu or MENU for more menus. 3.3 Data Transfer During the communication activity, the Micro-Tech 3000 will always act as slave, meaning it will respond to a request from a master device on the line, but will never attempt to send messages out. The PROFIBUS interface allows a remote intelligent device to read and write data from and to the Micro-Tech 3000. Data is organized in registers, these registers are collected in several groups, some of them are read only while others are write only groups. Groups are identified by a number, numbers from 0 are reserved for read groups, numbers from 100 are for the write groups. The master has the possibility to perform two types of operations: write data and read data. The first simply consists in sending to the Micro-Tech 3000 the values to write in the registers together with indications to identify what registers have to be written. In the second case, the procedure can be a little more complex since the reading operation can be proceeded by a write operation to tell the Micro-Tech 3000 what registers should be read. Write and read operations are explained in detail below.

Komentar

Postingan Populer