PLC Startup Guide - NIC52-RE based PROFIdrive Example

To begin, we assume that the NXHX 90-MC is already preprogrammed. If you have any difficulties while programming, please look for more detailed information on Confluence, or contact our service team.

PLC example project compatible with PROFIdrive Example https://hilscher.atlassian.net/wiki/x/IYC1Dw can be downloaded at PDRV-AC1-S1500-NETX90MC-NIC52-V4.0.0.0

PLC example project compatible with PROFIdrive Example https://hilscher.atlassian.net/wiki/x/m4CXK can be downloaded at PDRV-AC1-S1500-NETX90MC-NIC52-V4.0.1.0

Preparing the NIC52-RE Evaluation Board

  1. Download the NetHost from the relevant link netX Diagnostic and Remote Access 2023-05-1 and unzip it, netHost can be found in the folder “2023-05-1\Windows Executable\netHost”:

  2. Download the files to be downloaded to NIC52-RE from the relevant link and unzip it: NIC52-PNS-BACKUP

  3. Connect the USB to RS-232 DB9 Female Serial Adapter Cable to NIC52-RE’s Diagnostic Interface (Figure 3).

  1. Connect the power adapter to the NIC52-RE.

  2. Run the netHost.exe (Figure 1).

Figure 1 - Run the netHost.
  1. Click Device → Open from the menu bar (Figure 2).

Figure 2 - Open the device connection connection.
  1. Download the PORT Channel 0 backup.

    1. Download the firmware file (wait until the update is completed) (Figure 3).

b. Download the *.nxd file (wait until the update is completed) (Figure 4).

c. Download the *.cfg file (wait until the update is completed) (Figure 5).

  1. Download the PORT Channel 1 backup (Figure 6).

  1. Download the PORT Channel 2 backup (Figure 7).

  1. Download the PORT Channel 3 backup (Figure 8).

Preparing the NIC52-RE based PROFIdrive Example

  1. Make the connections as shown in Figure 9.

Figure 9 - The block diagram of the Demo System

 

  1. NETX90-MC board is seen in Figure 2. The SYS LED(denoted by 4) should be solid green. Otherwise, it should be understood that the firmware is not running. When the connection with the PLC is established, the COM0(SYSTEM FAILURE) LED(denoted by 25) and COM1(BUS FAILURE) LED(denoted by 26) should be turned off. If the COM1 LED is solid red, check the network cabling and PLC communication. If it is blinking RED, the board’s IP address couldn’t be assigned by the PLC.So check the device name you have set (Follow steps 14 and 15, respectively).

  1. NIC52-RE Evaluation Board Drawing is seen in Figure 11. When the connection with the PLC is established, the COM LED should be turned off. If the COM LED is constantly lit red, check the network cabling and PLC communication. If it is blinking RED, the board’s IP address couldn’t be assigned by the PLC. So check the device name you have set (Follow steps 13 and 15, respectively).

  1. Attach the Siemens SD Card to the S7-1500 PLC (Figure 12).

  1. Power on the S7-1500T PLC, programmed NETX90-MC, and NIC52-RE boards.

  2. Open the front cover on the PLC’s display and turn to switch to the RUN position.

  3. Download and extract the project's latest version “PDRV-AC1-S1500-NETX90MC-NIC52“ (Figure 13).

  1. Open the project with TIA Portal 15.1 (Figure 14).

  1. Stop the PLC through TIA Portal (Figure 15).

  2. Upload the Project to the PLC through TIA Portal (Figure 7).

  1. Run the PLC through TIA Portal (Figure 16).

  1. If no Profinet Device Name is assigned to the PLC, assign the new device name.

  2. Change the NIC52-RE’s Profinet Device Name - nic52pns (Figure 17).

  3. Change the NETX90-MC’s Profinet Device Name - netx90repns (Figure 17).

  1. Reset the power of all devices (NIC52-RE, NETX90-MC, and S7-1500T).

  2. After the initialization processes of the devices and the calibration process of the motor, the demo will be started.

DIP Index

Speed[RPM] - (Left side DIP switches)

Meaning

1

12.5%

Set motor speed to 12.5%.

2

25.0%

Set motor speed to 25%.

3

37.5%

Set motor speed to 37.5%.

4

50%

Set motor speed to 50%.

5

62.5%

Set motor speed to 62.5%.

6

75%

Set motor speed to 75%.

7

87.5%

Set motor speed to 87.5%.

8

100%

Set motor speed to 100%.

Table 1- Speed[RPM] control DIP switches

DIP Index

Control - (Right side DIP switches)

Meaning

1

Start

0 - Stop motor, 1 - Start motor

2

Dir

Motor DIrection: 0-CCW / 1-CW.

3

-

-

4

-

-

5

-

-

6

-

-

7

Reset

Reset ProfiDrive: 0-Reset disable, 1-Reset enable.

8

Power Enable

ProfiDrive Power: 0-Disabled, 1-Enable

Table 2- ProfiDrive control DIP switches

  1. At startup, all Control DIP switches should be set to 0. Then, the "Power enable" and "Start" switches should be made 1 respectively. In order for the motor to rotate, the desired RPM value must be set from the left-side DIP switches(Figure 1, Table 1, and Table 2).

  2. Blinking of the 2 LEDs in the middle of the RPM LED group indicates an error status. In this case, follow the steps below:

    1. Turn off all Control DIP switches. (Figure 1, Table 1)

    2. Turn the Reset DIP switch on, wait a few seconds, and turn it off again. (Figure 1, Table 1)

    3. Turn on the Power Enable DIP switch. (Figure 1, Table 1)

    4. Turn on the Start DIP switch. (Figure 1, Table 1)

    5. Set the desired speed from the Speed DIP switch group. (Figure 1, Table 2)