Configure the PROFINET interface
① Status and error indicators
② Slot of the SIMATIC MMC card
③ Mode selection switch
Industrial Ethernet twisted pair cables for connecting other PROFINET devices
⑤ "Industrial Ethernet" twisted pair cable, used to interconnect PN interface X2
⑥ Programming equipment with STEP 7 software installed (PG)
⑦ Assembly guide rail
⑧ Power on/off
Step 1: Install the assembly rail and module
Installation sequence
From left to right: Power PS 307-CPU 317-2 PN/DP.
The configuration diagram shows an overview of the overall configuration.
Install assembly guide rails and ground them
1. Fasten the screw on the assembly guide rail (screw specification: M6). Make sure that there are at least 40 seats on each side of the assembly guide rail
mm gap.
When installing it to the grounding metal plate or grounding device mounting plate, ensure that the assembly guide rail is connected to the mounting surface
The connection has a low impedance.
2. Connect the guide rail to the protection conductor. For this purpose, an M6 protective conductor screw is provided on the assembly guide rail.
The cross-sectional area of the cable connecting the protective conductor is at least 10 mm2.
① Power supply (PS) module
② CPU 317-2 PN/DP
③ PROFINET port 1
The status of port 1 is indicated by a two-color LED (green/yellow) :
LED Green on: The link to the partner is active
LED turns yellow: Active Data transfer (RX/TX)
R: Ring port for setting a ring topology with media redundancy
④ PROFINET port 2
The status of port 2 is indicated by a two-color LED (green/yellow) :
LED Green on: The link to the partner is active
LED turns yellow: Active Data transfer (RX/TX)
R: Ring port for setting a ring topology with media redundancy
⑤ MAC address and 2D barcode
⑥ 2. Port X2 (PN), equipped with a dual-port switch
⑦ 1. Interface X1 (MPI/DP)
⑧ Power connection
⑨ Cable connecting the PS and CPU
⑩ Cable clamp
Step 2: Connect cables to the power supply and CPU
Operation procedure
1. Open the front panel of the power module and CPU.
2. Loosen the cable clip on the power supply.
3. Peel off the cover of the soft power cable.
4. Press the wire end casing correctly,
5. Then connect the CPU to the power supply (connect the blue cable to terminal M, connect the black cable to terminal L1, and connect the protection cable to terminal PE).
6. Tighten the cable clamp to position it.
7. Next, connect the power supply to the CPU. Use flexible cables with a cross-sectional area of 1 mm2.
Peel off about 6 mm of the outer skin at the end of the cable.
8. Clamp the upper end sleeve.
9. Connect the L+ terminals and M terminals on the power supply to the corresponding terminals on the CPU.
Step 3: Debug the hardware
Operation procedure
1. Connect the CPU (such as port 1 of PN interface X2) to the PG/PC. Use twisted pair cables with RJ45 connectors
Cable.
Result: The PG/PC has been connected to the CPU.
2. Connect the PROFINET I/O device, such as the ET 200S, to the CPU (for example, through the port of the PN interface X2)
2). Use a twisted pair cable with RJ45 connector.
Result: The I/O device is connected to the CPU.
3. Check that the SIMATIC MMC card is inserted into the CPU slot.
4. Close the front panel cover of the CPU and set the mode selection switch on the CPU to STOP.
5. Connect the power cable, and then connect the power module.
Result: Power supply 24V DC LED lights up.
All leds on the CPU light up and turn off after a short time. The SF LED and 5V DC LED are always on. when
When the CPU performs an automatic memory reset, the STOP LED blinks.
When finished, the STOP LED lights up.
6. Start PG/PC and run SIMATIC Manager from the Windows desktop.
The result: a window containing SIMATIC Manager opens.
Step 4: Set up the PG/PC interface
Operation procedure
1. Choose Start > SIMATIC > STEP 7 > Set PG/PC Interface (Start > SIMATIC > STEP 7 >
Customize PG/PC interface).
Result: A dialog box for setting PG/PC will open.
2. Select an access path. Then set the TCP/IP protocol for the network card you are using.
Click Properties. In the Properties dialog box, set the Assign Project Specific IP Address option
Item. Click OK twice to confirm.
Result: Your PG/PC Settings are applied
STEP 5: Configure the hardware in STEP 7's HW-Configuration
Create a new project in STEP 7
1. Choose File > New... (File > New ...) .
2. Enter a project name and click OK.
Result: A new project is created
Added a new S7-300 station
Choose Insert > Station > SIMATIC 300 Station (Insert > Station > SIMATIC 300 Station).
Result: The SIMATIC 300 (1) icon on the right side of the window will be highlighted.
Addition guide
1. On the right of the window, double-click the SIMATIC 300 (1) icon, and then double-click the hardware icon.
Result: The Hardware Configuration Editor (HW Config) opens.
2. Insert the hardware component from the hardware directory on the left of the window.
If no Catalog is displayed, use the menu command View > Catalog to activate it.
In the hardware directory, select SIMATIC 300 and then Rack 300. Drag the assembly rail onto HW
The top of the Config window.
Result: This pastes the assembly rail to the upper part of the HW Config window.
email:1583694102@qq.com
wang@kongjiangauto.com