![TREBING + HIMSTEDT GPA-NS-011236 Manual Download Page 15](http://html1.mh-extra.com/html/trebing-himstedt/gpa-ns-011236/gpa-ns-011236_manual_1154870015.webp)
ASCII | 3964R | RK512
Setting up the SPI 3
13
Installing the function blocks
Note!
The function blocks (FB’s) are only suitable for SIMATIC S5 and S7 controllers.
If you want to use another type of controller, you will need to create new function
blocks yourself. See online documentation for more information.
You can either check the function blocks with the example project, or start with installing
the respective function blocks in your existing project. You only need to open the respec-
tive example project with the corresponding SPS programming software (Step 5 or Step
7):
1. Test example project (no connection of serial client required):
– Start SPS programming software.
– Open the respective PLC project.
– Adapt the applied SPS hardware (the exact name of the applied hardware in the ex-
ample project is to be found in the »readme_e.txt« file).
– Execute SPS Erase Program.
– Load the project into the SPS.
After successful loading and subsequent SPS RUN, the LEDs RUN and PB will light on
the SPI 3 (see also: »Checking the PROFIBUS communication« on page 14). The TX
LED flashes.
2. Load function blocks in an existing project:
– Start SPS programming software.
– Open the respective PLC project.
– Copy the FB into your SPS program. Enter FB command parameters (see »Parameters
for data transfer for SIMATIC S5 or … SIMATIC S7«).
– Execute further steps for your SPS program (integrate SPI 3 in hardware catalogue,
select module, adjust SPI 3-specific parameters, create DB, command FB etc.).
– Proceed further as described in the handbook or online support of the SPS pro-
gramming software.
The SPI 3 is ready for use after installing the function blocks.