Login

Please login for an individual price calculation.

Forgot Password?

Always stay up to date

With our e-mailings you will receive regular information about products, events, services and Balluff.

REGISTER AS A COMPANY

We will check whether you already have a customer number with us in order to link your new online account with it.

Register
Products
Service & Support
Industries & Solutions
Company
Version 1.0
·
Last edited on 2024-02-20

NodeRed S7 Interface

1. Node Red Node

The following node is required for communication between Node Red and a Siemens controller.



This must be installed and is not part of the standard nodes (Internet connection required!)

https://flows.nodered.org/node/node-red-contrib-s7

1.1. Node S7 Endpoint

An endpoint (connection to the controller) must be created for use.

This is done in one of the S7 nodes under "add new S7 endpoint" (pen)

The following settings must be entered:

Address: IP address of the control unit

Port: Is set to 102 by default and should remain as this is the port used for communication

Rack: Make the settings as stored in the hardware configuration of the control unit

The following is a complete example setting:

1.2. Node S7 variables

Variables are also added in the endpoint settings of the S7 node.

The structure must be the same as that of the data block in the controller.
In detail, this means that the data block number (here 1), data type and offset must be the same.
The notation of the data type can be found in the node descriptions (see chapter "Node Red Node").

The following is an example of the "Bool" and "Byte" data type:



The variables can then be used in the nodes and are bound to the endpoint.

1.3. Node settings Input

The following setting is used in this example:

PLC: Endpoint which was created in the chapter "Node S7 Endpoint".

Variable: Selection of the variable that communicates via the data block.

1.4. Node settings Output

The following setting is used in this example:

PLC: Endpoint which was created in the chapter "Node S7 Endpoint".

Variable: Selection of the variable which communicates via the data block.

2.1. Data module for transmission

A data block is required for communication between Node Red and the controller.

The variables to be transferred must be entered in this.

Various data types can be used. For information see chapter "Node Red Node".

3. S7 15xx control system

The following setting must be activated in order to obtain full data transmission functionality with the 15xx control unit.

Settings -> Protection

3.1. Data module for transmission

With the 15xx controller, the "optimized block access" of the data block must be deactivated.

A data block is required for communication between Node Red and the controller.

The variables to be transferred must be entered in this.

Various data types can be used. For information see chapter "Node Red Node".

Energy consumption labeling
Energy consumption labeling

EPREL - European Product Database for Energy Labeling

Do you have any questions or suggestions? We are at your disposal.

For all questions concerning commercial topics such as quotations, orders, and delivery times, our inside sales department will be happy to support you: [email protected]

For Aftersales, Technical Support, Applications and
Product Inquiries we will be happy to support you: [email protected]

Feel free to contact us directly by telephone:

Inside Sales 859-727-2200 - press 1
Presales Tech Support 859-727-2200 - press 2
Aftersales Tech Support 859-727-2200 - press 3


Balluff Inc.

8125 Holton Dr.
Florence, KY 41042

Free sample product

In order to add a free sample product to the cart we will need to remove all the normal products from the cart. Are you sure you want to continue