Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
0% found this document useful (0 votes)
28 views79 pages

f20518488 ETH-2 CF-EN.p65

Download as pdf or txt
Download as pdf or txt
Download as pdf or txt
You are on page 1/ 79

Programmable

Safety Systems PSS®-Range

PSS(1) ETH-2
Hardware

Operating Manual – Item No. 21 146-03


All rights to this documentation are reserved by Pilz GmbH & Co. KG. Copies may be made
for internal purposes.

Suggestions and comments for improving this documentation will be gratefully received.

The names of products, goods and technologies used in this documentation are registered
trademarks of the respective companies. Automation Workbench®, Pilz®, PIT®, PMI®,
PNOZ®, Primo®, PSS®, SafetyBUS p® are registered trademarks of Pilz GmbH & Co. KG.
Contents

Introduction 1-1
Validity of documentation 1-1
Overview of manual 1-2
Terminology 1-3
Definition of symbols 1-4

Overview 2-1
Module versions 2-1
Configuration software 2-1
Scope of delivery 2-1

Safety 3-1
Intended use 3-1
PSS CPU versions 3-1
EMCD 3-2
ESD 3-2
Warranty and liability 3-2
Disposal 3-2
Safety guidelines 3-3
Use of qualified personnel 3-3
Unit-specific safety regulations 3-3
Installation site and unit surroundings 3-4
Cable material and cable layout 3-4
Measures to protect against interference 3-4
Installation and device connection 3-4

Operating Manual: PSS(1) ETH-2 - Hardware 1


Contents

Function Description 4-1


Free addressing 4-1
Defining the start address 4-1
Defining the start address with PSS WIN-PRO 4-2
Module code 4-2
Connection options 4-3
Ethernet interface 4-3
Requirements of the connection cable and connector 4-3
Process data exchange 4-4
Configuration options 4-5
MAC address 4-6

Module 5-1
Front view 5-1
RJ45 interfaces 5-2
Interface assignment 5-2
RJ45 connection cable 5-2
Cable layout 5-4

Installation and Configuration 6-1


Installing the module in the module rack 6-1
Configuration 6-1

2 Operating Manual: PSS(1) ETH-2 - Hardware


Commissioning and Operation 7-1
Initial commissioning 7-1
Testing the components 7-1
Commissioning the ETH interface 7-2
DHCP Server available 7-2
No DHCP Server available 7-2
Module’s display elements 7-4
Fault diagnostics 7-5

Operating System Calls with SB254 8-1


Required PSS operating system version 8-1
Required configuration in the Ethernet Configurator 8-2
Overview 8-4
General functionality 8-4
FUNK=190 - Active job:
Send/receive process data (ETH-2) 8-5
Rules for the operating system call 8-5
Parameters for the operating system call 8-6
Structure and contents of the job configuration DB for
SB254, FUNK=190 8-7
Example of a call with SB254, FUNK=190 8-16
FUNK=192 - Activate ETH-2 status display 8-17
Rules for the operating system call 8-17
Parameters for the operating system call 8-18
Structure and contents of the status configuration DB for
SB254, FUNK=192 8-19
Example of a call with SB254, FUNK=192 8-21
FUNK=193 - Manual job initiation (ETH-2) 8-22
Rules for the operating system call 8-22
Parameters for the operating system call 8-23
Example of a call with SB254, FUNK=193 8-24

Operating Manual: PSS(1) ETH-2 - Hardware 3


Contents

FUNK=194 - Type of access to own IP settings (ETH-2) 8-25


Rules for the operating system call 8-25
Parameters for the operating system call 8-26
Structure and contents of the IP configuration data block for
SB254, FUNK=194 8-27
Example of a call with SB254, FUNK=194 8-30
Error messages 8-31

Technical Details 9-1


Address of the Ethernet User Group IAONA 9-2
Factory-set defaults on an ETH interface 9-3

Appendix 10-1
Changes in the documentation 10-1

4 Operating Manual: PSS(1) ETH-2 - Hardware


Introduction

This operating manual explains how to use and operate the


communications module
• PSS ETH-2 and
• PSS1 ETH-2

To fully understand this manual you will need to be conversant with the
information found in the general documentation for the PSS-range (System
Manual, Installation Manual for the modular PSS and Programming Manu-
al).

To fully understand the bus-specific requirements and correlations you will


need some knowledge of the design and management of Ethernet
networks.

The following Pilz software is required in order to configure the


communications module and connect it to Ethernet:
• Ethernet Configurator
Software used to configure a Pilz ETH-2 type Ethernet interface.

The Ethernet Configurator is part of the “PSS WIN-PRO” system software,


from Version 1.3.0.

This documentation is intended for instruction and should be retained for


future reference.

Validity of documentation

This documentation is valid for the PSS(1) ETH-2 centralised


communications module on a modular 3rd generation programmable
safety system.

It is valid until new documentation is published. The latest documentation is


always enclosed with the unit.

Operating Manual: PSS(1) ETH-2 - Hardware 1-1


Introduction

Overview of manual

The manual is divided into the following chapters:


1 Introduction
The introduction is designed to familiarise you with the contents,
structure and specific order of this manual.
2 Overview
This chapter provides information on the module’s most important
features and provides a brief overview of the application range.
3 Safety
This chapter must be read as it contains important information on
safety and intended use.
4 Function Description
The function description contains detailed information about the
module’s functionality.
5 Module
This chapter describes the interfaces, interface assignments for cable
layout and cable specifications.
6 Installation and Configuration
This chapter guides you through the module’s installation and
configuration.
7 Commissioning and Operation
This chapter will provide support during commissioning.
8 Operating system calls with SB254
9 Technical Details
10 Appendix

1-2 Operating Manual: PSS(1) ETH-2 - Hardware


Terminology

• The term “(Ethernet-) interface” is used as the generic term for the
Ethernet communications device of a PSS-range programmable safety
system.
On modular programmable safety systems from the PSS-range this
corresponds to the communications module for Ethernet.
On Ethernet-compatible compact programmable safety systems from the
PSS-range, this corresponds to the integrated communications device for
Ethernet.
If the description only relates to a specific interface type, the specific
product name will be used (e.g. PSS1 ETH-2).
• “ETH-2” is the description given to a type of Ethernet interface from Pilz.
The type description is part of the module or device name (e.g. PSS
ETH-2, PSS SB 3006 ETH-2).
• The term “module” or “PSS(1) ETH-2” is used as the generic term for all
applicable module versions. If the description is only valid for a particular
module version, its specific product name will be used (e.g. PSS ETH-2).
• The term “PSS” is used as the generic term for all applicable PSS
programmable safety systems.
If the description is only valid for a particular unit, its specific product
name will be used (e.g. PSS 3000, PSS 3100).

Operating Manual: PSS(1) ETH-2 - Hardware 1-3


Introduction

Definition of symbols

Information in this manual that is of particular importance can be identified


as follows:

DANGER!
This warning must be heeded! It warns of a hazardous situation that
poses an immediate threat of serious injury and death and indicates
preventive measures that can be taken.

WARNING!

This warning must be heeded! It warns of a hazardous situation that


could lead to serious injury and death and indicates preventive
measures that can be taken.

CAUTION!

This refers to a hazard that can lead to a less serious or minor injury plus
material damage, and also provides information on preventive measures
that can be taken.

NOTICE
This describes a situation in which the unit(s) could be damaged and also
provides information on preventive measures that can be taken.

INFORMATION
This gives advice on applications and provides information on special
features, as well as highlighting areas within the text that are of particular
importance.

1-4 Operating Manual: PSS(1) ETH-2 - Hardware


Overview

The PSS(1) ETH-2 communications module is used to connect a modular


PSS programmable safety system to Ethernet.

The module is designed for use on the standard bus of a modular PSS
programmable safety system

Module versions

Individual modules are available for use on a PSS 3000 and PSS 3100
module rack.
• The PSS ETH-2 module is used on the standard bus of a module rack
from the PSS 3000 series.
• The PSS1 ETH-2 module is used on the standard bus of a module rack
from the PSS 3100 series.

Beyond that there is no difference in the functionality of the two modules.

Configuration software

Various parameters must be stored in the communications module in order


to be able to exchange data between the PSS and other Ethernet
subscribers (communications protocols, IP address etc.). Use the Pilz
“Ethernet Configurator” software for this configuration. It is supplied with
the PSS WIN-PRO system software, from Version 1.3.0.
Various configurations may be made either in the Ethernet Configurator or
via an operating system call with SB254 (see Chapter 8).

Scope of delivery

The hardware package consists of:


• One module
- PSS ETH-2 or
- PSS1 ETH-2
• One operating manual
PSS(1) ETH-2 - Hardware Manual

Operating Manual: PSS(1) ETH-2 - Hardware 2-1


Overview

Notes

2-2 Operating Manual: PSS(1) ETH-2 - Hardware


Safety

Intended use

The module is intended for use as a communications module for Ethernet.


It must be used on the standard bus of the relevant modular PSS-range
programmable safety system. It may be inserted in slot 0 ... 8.

The PSS ETH-2 module may only be used on the standard bus of a
module rack from the PSS 3000 series.
The PSS1 ETH-2 module may only be used on the standard bus of a
module rack from the PSS 3100 series.

The configuration software “Ethernet Configurator” is available to configure


the module.

Specific data for the module is given in the chapter entitled “Technical
Details”. Use of the device outside the specifications given here will be
deemed as improper use.
Any component, technical or electrical modifications to the module will be
deemed as improper use.
Use of the module outside the areas described in this manual will be
deemed as improper use.
Intended use includes following the information in this manual.

PSS CPU versions

The module is supported by CPUs for modular programmable safety


systems from the PSS-range, from the following version numbers:
• PSS CPU3 from Version 2.0
• PSS1 CPU3 from Version 2.0
• PSS SB CPU3 from Version 2.0
• PSS1 SB CPU3 from Version 2.0

Operating Manual: PSS(1) ETH-2 - Hardware 3-1


Safety

EMCD

The module is designed for use in an industrial environment. Interference


may occur if used within a domestic environment.

ESD

Electrostatic discharge can damage components on the module. Ensure


against discharge before touching the module, e.g. by touching an earthed,
conductive surface or by wearing an earthed armband.

Warranty and liability

All claims to warranty and liability will be rendered invalid if:


• The module was used contrary to the purpose for which it was intended
• Damage can be attributed to not having followed the guidelines in the
manual
• Operating personnel are not suitably qualified.
• The housing was opened
• Any type of modification has been made (e.g. exchanging components
on the PCB boards, soldering work etc.).

Disposal

The module must be disposed of properly when it reaches the end of its
service life.

3-2 Operating Manual: PSS(1) ETH-2 - Hardware


Safety guidelines

These safety guidelines are an important part of this manual.


Failure to keep to these guidelines and safety requirements will render all
warranty, guarantee and liability claims invalid.

All health and safety / accident prevention regulations for the particular
area of application must also be observed. In particular, VDE and all local
regulations regarding safety measures should also be taken into account.

Use of qualified personnel

The safety system may only be assembled, installed, programmed,


commissioned, operated, maintained and decomissioned by
qualified personnel. Qualified personnel are people who, because they are:
• Qualified electrical engineers and
• Have received training from qualified electrical engineers,
are suitably experienced to operate devices, systems, plant and machinery
in accordance with the general standards and guidelines for safety
technology.

It is the company’s responsibility only to employ personnel who:


• Are familiar with the basic regulations concerning health and safety /
accident prevention
• Have read and understood the safety guidelines given in the manual.

Unit-specific safety regulations

Before you install or commission the system, you should refer to any
guidelines laid down by the plant manufacturer or operator.

Operating Manual: PSS(1) ETH-2 - Hardware 3-3


Safety

Installation site and unit surroundings

• Before installing or commissioning the module you must read the


“Safety Manual” in the “System Handbook” and the “Installation
guidelines” in the “Installation Manual for the modular PSS”.
• Keep as large a distance as possible between the PSS and sources of
electromagnetic interference (especially frequency converters) or make
sure the source of interference has sufficient screening.
• Ensure the maximum ambient and operating temperatures are not
exceeded.
• Avoid the build-up of heat.
• Protect the system from direct sunlight and dust.
• Ensure that neither liquids nor objects can enter the module at any time.
• Do not use chemicals close to the system.
• Do not position the system close to flammable materials.

Cable material and cable layout

NOTICE
Only use standard industrial Ethernet cable and connectors. Only use
double-shielded twisted pair cable and shielded RJ45 connectors.

Measures to protect against interference

Ensure the requirements for the industrial use of Ethernet are met (IEEE
802.3u).

Installation and device connection


• Always install the module when the supply voltage is switched off
• Always connect any cabling when the supply voltage is switched off.
• Data provided under “Technical Details” must be adhered to.

3-4 Operating Manual: PSS(1) ETH-2 - Hardware


Function Description

In conjunction with the module the PSS operates as an Ethernet


subscriber. Communication is possible via the following network protocols:
• TCP/IP
• UDP/IP
• Other protocols on request

Parallel communication is possible with the above protocols.

Data transfer occurs either at a transmission rate of 10 MBit/s (10BaseT)


or 100 MBit/s (100BaseTX).

Free addressing

The PSS addresses the module as an addressable module via the


addressable data area (XW).

On modules with an addressable data area, a start address must be


defined as well as the slot. An Ethernet module with an ETH-2 type
Ethernet interface occupies 4096 data words in the XW area, beginning
from the stated start address.

Defining the start address

If a modular PSS-range programmable safety system has one or more


addressable modules (e.g. PSS ETH-2, PSS DP-S), the following applies:

Start address = (Multiplier*1) x (Offset *2)

*1
Multiplier:
The multiplier must be a whole number in the range 0 ... 3.

*2
Offset:
Number of XWs on the interface with the largest XW requirement

Operating Manual: PSS(1) ETH-2 - Hardware 4-1


Function Description

Example:
Slot Interface Multiplier Start address
Type XW req’mnt
1 Ethernet (ETH-2) 4 096D 0 0D
2 Profibus 1 024D 3 12 288D

Defining the start address with PSS WIN-PRO

When using the PSS WIN-PRO system software, the start address is
defined in the PSS Configurator.

Module code

You can find the module code for the Ethernet interface in the “Technical
Details” section.
The PSS WIN-PRO system software automatically stores the relevant
module code for each addressable module in data block DB004. The
module is detected during the internal configuration test on start-up.

4-2 Operating Manual: PSS(1) ETH-2 - Hardware


Connection options

Ethernet interface

The module is connected to Ethernet via an integrated switch (5 ports).


The module’s Ethernet interface occupies one of the 5 ports internally. The
remaining 4 ports are free and are available at the front of the module
(Port 1 ... Port 4).

The switch is an autosensing switch. The switch automatically detects


whether data transfer is occurring at 10 MBit/s or 100 MBit/s.

The switch’s automatic crossover function means there is no need to


distinguish on the connection cable between patch cable (uncrossed data
line connection) and crossover cable (crossover data line connection). The
switch automatically creates the correct data line connection internally. It is
therefore possible to use patch cable as the connection cable for both end
devices and daisy chains.

The 4 free ports use RJ45 technology.

Requirements of the connection cable and connector

The following minimum requirements must be met:


• 10BaseT or 100BaseTX cable in accordance with the Ethernet standard
(min. Category 5)
• Double-shielded twisted pair cable for industrial Ethernet use
• Shielded RJ45 connectors (industrial connectors)

Operating Manual: PSS(1) ETH-2 - Hardware 4-3


Function Description

Process data exchange

Ports 1 to Port 4 on the internal switch enable process data to be


exchanged with other Ethernet subscribers within a network.

Ethernet

Hub/Switch Hub/Switch

Ethernet subscriber Ethernet subscriber

100 MBit/s 1
100 MBit/s 2

100 MBit/s 3
100 MBit/s 4

TRAFFIC
10/100 BASE T

1
PC with
LINK

Ethernet Configurator
TRAFFIC
2

LINK

TRAFFIC

3
LINK
TRAFFIC
4

LINK

100 MBit/s 1
100 MBit/s 2

PSS with PSS ETH-2 100 MBit/s


100 MBit/s
3
4

Connection via free ports


10/100 BASE T

TRAFFIC

PtoP
1
LINK
TRAFFIC
2

LINK

TRAFFIC

3
LINK
TRAFFIC
4

LINK

PSS with PSS ETH-2


Connection via Port 1

Fig. 4-1: PSS as Ethernet subscriber - Overview of potential topology


(Example: PSS 3000 with PSS ETH-2)

The 4 free ports on the internal switch enable the following connections:
• Simultaneous point-to-point connection (PtoP) with max. 4 other Ethernet
subscribers. Fig. 4-1, for example, shows a PtoP connection between
two programmable safety systems from the PSS 3000 series.
• Connection to Ethernet via a hub (hub or switch) (see example in
Fig. 4-1).

4-4 Operating Manual: PSS(1) ETH-2 - Hardware


Configuration options

To configure an ETH-2 type Ethernet interface you will need a PC with an


Ethernet card and the Pilz Ethernet Configurator. There are two options for
configuring the Ethernet interface:
• Configuration via a point-to-point connection
The PC with the Ethernet Configurator is connected to the Ethernet
interface directly via one of the RJ45 interfaces.
• Configuration via Ethernet
The PC with the Ethernet Configurator can be any of the Ethernet
subscribers in the relevant company network (see example in Fig. 4-1).
Various configurations may be made either in the Ethernet Configurator or
via an operating system call with SB254 (see Chapter 8).

Operating Manual: PSS(1) ETH-2 - Hardware 4-5


Function Description

MAC address

The MAC address is the fixed, physical address of a subscriber on


Ethernet. On Pilz Ethernet modules it is possible to read the MAC address
from the front panel.

4-6 Operating Manual: PSS(1) ETH-2 - Hardware


Module

Front view

Status LEDs to
display the current transmission rate
(10MBit/s or 100 MBit/s)
100 MBit/s 1 Port 1
100 MBit/s 2 Port 2
100 MBit/s 3 Port 3
100 MBit/s 4
Port 4

10/100 BASE T

TRAFFIC

1
LINK
Free ports (Port 1 ... Port 4)
TRAFFIC on the integral autosensing switch for
2
connecting to Ethernet
LINK
plus
TRAFFIC Status LEDs on each port for
3 • Network connection (LINK)
LINK
TRAFFIC • Data traffic (TRAFFIC)
4

LINK

Labelling strip for MAC address

ETH-2

Fig. 5-1: Front view of module

Operating Manual: PSS(1) ETH-2 - Hardware 5-1


Module

RJ45 interfaces

The connection to Ethernet is made with an automatic crossover function


via the 8-pin RJ45 sockets on the autosensing switch.

Interface assignment

RJ45 socket PIN Standard Crossover


8-pin 1 TD+ (Transmit+) RD+(Receive+)
2 TD- (Transmit-) RD- (Receive-)
3 RD+(Receive+) TD+ (Transmit+)
4 n.c. n.c.
5 n.c. n.c.

8 1 6 RD- (Receive-) TD- (Transmit-)


7 n.c. n.c.
8 n.c. n.c.
n.c. = not connected
Fig. 5-2: Socket for RJ45 connector (view from the top)

RJ45 connection cable

RJ45 connector
8-pin

10BaseT cable or 100BaseTX cable


max. 100 m
8

1
Fig. 5-3: Configuration of RJ45 connector (viewed from below)

5-2 Operating Manual: PSS(1) ETH-2 - Hardware


Please note the following requirements of the connector and cable:

10BaseT cable

Bit rate 10 MBit/s


Max. segment length 100 m
Medium STP/UTP
(shielded/unshielded twisted pair) *1
2 pairs
Category 3, 4, 5 *2
Connection 8-pin RJ45 connector
Topology Point-to-point/hub
(hub, switch)

100BaseTX cable

Bit rate 100 MBit/s


Max. segment length 100 m
Medium STP/UTP
(shielded/unshielded twisted pair) *1
2 pairs
Category 5 *2
Connection 8-pin RJ45 connector
Topology Point-to-point/hub
(hub, switch)

*1

For use in an industrial environment, Pilz recommends double-shielded


twisted pair cable (S/STP). Only shielded RJ45 connectors should be
used.

*2

Twisted pair cables (TP cable) consist of twisted pair cables. Twisted pair
cables are divided into categories in accordance with their electrical
features (attenuation, cross-talk). Category 5 cables are specified for
transferring data with Pilz Ethernet interfaces.

Operating Manual: PSS(1) ETH-2 - Hardware 5-3


Module

The classification of TP cables is as follows:

Category 1 No performance criteria


Category 2 Up to 1 MHz (telephone)
Category 3 Up to 16 MHz (10BaseT)
Category 4 Up to 20 MHz
(Token-Ring, 10BaseT, 100BaseT4)
Category 5 Up to 100 MHz
(10BaseT, 100BaseT4, 100BaseTX)

TP cables for Ethernet applications generally have an impedance level of


100 Ohm.

Cable layout

The connection can be made via a 10BaseT cable or 100BaseTX cable


with uncrossed data line connection (patch cable).

RJ45 connector 10BaseT cable RJ45 connector


8-pin or 8-pin
100BaseTX cable

1 TD+ TD+ 1
2 TD- TD- 2
3 RD+ RD+ 3
6 RD- RD- 6

Fig. 5-4: 10BaseT/100BaseTX cable on which the data lines are uncrossed
(standard)

5-4 Operating Manual: PSS(1) ETH-2 - Hardware


Installation and Configuration

Installing the module in the module rack

Install the module as described in the “Installation Manual” for the modular
PSS.

CAUTION!
Electrostatic discharge can damage components on the module.
Ensure against discharge before touching the module, e.g. by touching an
earthed, conductive surface or by wearing an earthed armband.

You should also protect the module from electrostatic discharge (ESD)
during operation.

Configuration

To configure the module you will need the Pilz “Ethernet Configurator”
software. This is supplied with the PSS WIN-PRO system software, from
Version 1.3.0.

The configuration procedure is described in the configuration software's


online help.

Operating Manual: PSS(1) ETH-2 - Hardware 6-1


Installation and Configuration

Notes

6-2 Operating Manual: PSS(1) ETH-2 - Hardware


Commissioning and Operation

Initial commissioning

Testing the components

Before operating the module, ensure that the following points have been
met:
• The module must be inserted on the module rack, in a slot for PSS
standard modules.
For installation details please refer to the description in the “Installation
guidelines” (Modular PSS Installation Manual).
• The Ethernet structure must be designed correctly (open circuits
excluded etc.).
• The Ethernet must be configured correctly.

Operating Manual: PSS(1) ETH-2 - Hardware 7-1


Commissioning and Operation

Commissioning the ETH interface

To commission an ETH-2 type Ethernet interface we recommend one of


the following procedures:

DHCP Server available

The ETH-2 type Ethernet interface supports DHCP (Dynamic Host


Configuration Protocol) for assigning IP addresses. The IP address of the
Ethernet interface is assigned via the DHCP Server in accordance with the
DHCP configuration.
Please contact your network administrator for further information. Please
refer also to the section entitled “Factory-set defaults on an ETH interface”,
which can be found in the “Technical Details”. Information is also available
in the Ethernet Configurator’s online help.

No DHCP Server available

If there is no DHCP Server available, the Ethernet interface will need to be


assigned an IP address via the Ethernet Configurator. We recommend the
following procedure:
• Create a point-to-point connection
Create a point-to-point connection between the PC (Ethernet
Configurator) and the Ethernet interface (PSS)
• Check the connection
Check your PC’s IP address and make sure that the Ethernet interface
on your PC is active.
• Start
Start the PSS and the Ethernet Configurator.
• Determine the preset IP address on the Ethernet interface
In the window Online -> Online Connections..., click Scan... and enter
169.254.60 as the IP subnetwork address in the Scan subnetwork field.
Click Start Scan.
If the Ethernet Configurator finds the Ethernet interface in the stated
subnetwork, it will be shown in the list, stating the name, IP address and
MAC address.

7-2 Operating Manual: PSS(1) ETH-2 - Hardware


If the PC is not in the same subnetwork as the Ethernet interface, its
routing table will need to be expanded.
To do this, enter the following at command line level:
“route add 169.254.60.0 MASK 255.255.255.240 <IP address of PC>”
• Accept connection properties
Select the Ethernet interface from the list and click OK.
The active window is closed and the new online connection is entered in
the list of online connections.
• Activate online connection
Select the connection from the list of online connections and click
Activate....
You can recognise an active online connection by the way it is
highlighted in the list of online connections.
• Configure a suitable IP address for the Ethernet interface
Ask your network administrator for an IP address and subnet mask for
the Ethernet interface that will be suitable for your company network,
then create a new project using these details.
• Run download
Select Online -> Download Project Data -> Ethernet Interface...
The new IP address will overwrite the default IP address on the Ethernet
interface.
• Integrate the PSS into the company network
Connect the PSS to the company network via the Ethernet interface.

Please refer also to the section entitled “Factory-set defaults on an ETH


interface”, which can be found in the “Technical Details”. Information is also
available in the Ethernet Configurator’s online help.

Operating Manual: PSS(1) ETH-2 - Hardware 7-3


Commissioning and Operation

Module’s display elements

LEDs “LINK” and “TRAFFIC”


Various operating and fault statuses are displayed via the “LINK” and
“TRAFFIC” LEDs on each interface.

LED Signal Key


LINK Off No network connection
(green) Lights Network connection present
TRAFFIC Off No data traffic
(yellow) Flashes Data traffic present

LEDs “100 MBit/s”


Each interface is assigned an LED to display the current transmission rate.

LED Signal Port’s transmission rate


100 MBit/s 1 Off 10 MBit/s
...
Lights 100 MBit/s
100 MBit/s 4

7-4 Operating Manual: PSS(1) ETH-2 - Hardware


Fault diagnostics

Various fault diagnostic options are available for commissioning and


operation:
• Evaluation of the display elements (“LINK” and “TRAFFIC” LEDs) on the
relevant interface.
• Bus diagnostics via an Ethernet network analyzer
This type of bus diagnostics will require a corresponding standard
network analyzer for Ethernet.
• Evaluation of the PSS error stack or the messages from the Ethernet
Configurator.
• Diagnostics via the ST section of the PSS user program. You can poll
and output the operating status of the Ethernet interface through
operating system calls with SB254.

Operating Manual: PSS(1) ETH-2 - Hardware 7-5


Commissioning and Operation

Notes

7-6 Operating Manual: PSS(1) ETH-2 - Hardware


Operating System Calls with SB254

Required PSS operating system version

Operating system calls with SB254, FUNK=190, 192, 193 and 194 are
supported by PSS-range programmable safety systems from operating
system version 52.

Operating Manual: ETH-2 for Compact 3rd Generation PSS 8-1


Operating System Calls with SB254

Required configuration in the Ethernet Configurator

Data exchange via the various operating system calls with SB254 is
possible for the UDP/IP, TCP/IP and Modbus/TCP protocols. A connec-
tion's protocol is always defined in the Ethernet Configurator (see Ethernet
Configurator’s online help, under “Configure connection properties”).

To be able to use the operating system call with SB254, FUNK=190 in the
ST user program you will need to configure various properties in the
Ethernet Configurator.
Proceed as follows:
• Create a new job.
Example:

8-2 Operating Manual: ETH-2 for Compact 3rd Generation PSS


• When creating the job, configure the User program (PSS) option in the
Location source/destination addresses field.
(See example)

INFORMATION
• If you select the User program (PSS) option in the Location source/
destination addresses field in the Ethernet Configurator, you must use
the operating system call with SB254, FUNK=190 in the user program.
• If you select the Ethernet Configurator option in the Location source/
destination addresses field in the Ethernet Configurator, you may not
use the operating system call with SB254, FUNK=190 in the user pro-
gram.
• Both the job properties and the connection properties can be amended
later (see online help, under Configure job properties and Configure
connection properties).

Operating Manual: ETH-2 for Compact 3rd Generation PSS 8-3


Operating System Calls with SB254

Overview

The following table contains an overview of the operating system calls with
SB254, which are used for communication via an ETH-2 interface.

Input parameter Key


FUNK=190 Active job:
Send/receive process data (ETH-2)

FUNK=192 Activate ETH-2 status display

FUNK=193 Manual job initiation (ETH-2)


Additional job initiation during a PSS cycle (e.g.
for cycles in which time is critical)

FUNK=194 Access type to own IP settings (ETH-2)


Scan or overwrite own IP settings

General functionality

ETH-2 jobs are generally processed at the start of the PSS ST cycle. The
jobs are processed in accordance with the configured priority (see
Ethernet Configurator’s online help and the section entitled “Manual job
initiation (ETH-2)”).

The following assignment applies:


• “High” priority
The PSS processes the job within one PSS cycle.
• “Low” priority
The PSS processes jobs with “High” priority first. Jobs with “Low” priority
are processed afterwards or are put off until the next PSS cycle.

8-4 Operating Manual: ETH-2 for Compact 3rd Generation PSS


FUNK=190 - Active job: Send/receive process data (ETH-2)

This operating system call is used to actively send data to other Ethernet
subscribers and/or request and receive data from other Ethernet
subscribers.
This job type can be used in the following cases:
• To send and/or receive data with a known data source or a known data
destination (UDP/IP and TCP/IP protocols)
• To request and/or write data with a known data source and a known data
destination (Modbus/TCP protocol)

Rules for the operating system call

A configuration data block (job configuration DB) must be assigned to the


operating system call. The PSS ETH-2 interface takes various parameters
from the job configuration DB; these are required for the connection setup
and for data transfer.

The job is initiated by setting an activity bit. The address of the activity bit is
defined in the job configuration DB.

The following procedure is recommended:


• Scan the activity bit:
- Activity bit = 1: A job is active
- Activity bit = 0: The job is complete
• If activity bit = 0:
Set activity bit to “1” and then call up SB254, FUNK=190
The PSS resets the activity bit internally as soon as the job is complete.
The job is not complete until the relevant acknowledgement has been
received from the communication partner.
• The program section must be run cyclically for a new job to be initiated.
• If required, provide error evaluation and define an error reaction in the ST
user program (output parameter ERG of SB254).

Operating Manual: ETH-2 for Compact 3rd Generation PSS 8-5


Operating System Calls with SB254

Parameters for the operating system call

Function Function description


FUNK=190 Active job: Send/receive process data (ETH-2)

Enable parameters in DB004:


DW Value Description
200D <10D...255D> Number of job configuration DB
201D <0D...1001D> Number of the start data word in the job configuration
DB

Output parameter ERG (SB254):


Value Description
2D Operating system call is active
4D Operating system call completed without error
8D ETH-2 interface not ready
16D Error
Error
Enable parameters in DB000 in the case of an error:
DW Value Description
200 <10H..37H> <See section entitled “Error messages”>

8-6 Operating Manual: ETH-2 for Compact 3rd Generation PSS


Structure and contents of the job configuration DB for SB254, FUNK=190

Create the configuration data block with the following properties:


• Access right: Read/Write
• Length: Min. 22 data words

Address Format Contents Comment


<DW + (Example)
Offset>
0000 Y 255, 10 DL: Header-ID
Configure FFH (255D) as the header-ID
DR: Job number
Configure the same job number that you
configured for this job in the Ethernet
Configurator.

0001 F 004096 XW start address


Configure the same XW start address as the
start address you configured for the ETH-2
interface in the PSS Configurator.
Valid XW start addresses for ETH-2:
0D, 4096D, 8192D or 12288D
0002 F 000000 Location of the activity bit
0: The activity bit is set/reset via an ST flag
<10D ... 255D>: Number of the ST-DB in which
the activity bit is set/reset

0003 F 000035 Flag number/DW number of the activity bit


Valid entry when DW002 = 0:
<0D ... 63D>: Number of the ST flag
Valid entry when DW0002 = <A DB number>:
<0D ... 1023D>: Data word number

0004 F 000001 Bit address of the activity bit


Address identifier = ST flag bit:
<0D ... 31D>: Bit number of the ST flag
Address identifier = An ST-DB number:
<0D ... 15D>: Bit number in the ST-DW

(Continued overleaf)

Operating Manual: ETH-2 for Compact 3rd Generation PSS 8-7


Operating System Calls with SB254

Address Format Contents Comment


(DW + (Example) (Continued)
Offset)
0005 M 0000 0000 0000 0011 Command code
Bit 0 = 1: Send data
The PSS ignores the receive data area
(DW0014 ... DW0021).
Bit 1 = 1: Receive data on request
The PSS ignores the send data area
(DW0005 ... DW0013).
Bit 0 = 1 and Bit 1 = 1: Send data and receive
data on request
The PSS evaluates the send data area and the
receive data area.
Bit 2 = 0: Use PSS syntax
Bit 2 = 1: Use address syntax of communication
partner
0006 H 0006 Send data, data source: Code for the data
source (PSS)
DW0005, Bit 2 = 0:
0001H: ST flag word/FS flag word
0002H: ST input word/FS input word
0003H: ST output word/FS output word
0004H: ST timer/FS timer
0005H: ST counter/FS counter
0006H: ST-DB
0007H: FS-DB
0008H: ST-XW
0009H: FS-XW (XW-PII)
000AH: FS-XW (XW-PIO)
DW0005, Bit 2 = 1 and Modbus/TCP:
0003H: 3x Register (word register, read only)
0004H: 4x Register (word register, read/write)
Please note:
A connection's protocol is defined in the
Ethernet Configurator.

(Continued overleaf)

8-8 Operating Manual: ETH-2 for Compact 3rd Generation PSS


Address Format Contents Comment
(DW + (Example) (Continued)
Offset)
0007 F 000030 Send data, data source: Number of the ST
or FS data block (PSS)
DW0006 = 0006H (ST-DB) or
DW0006 = 0007H (FS-DB):
Valid entry: 10D ... 255D
Otherwise:
DW0007 = 000000

0008 F 000000 Send data, data source: Start address


DW0006 = ST/FS flag word, ST/FS input word
or ST-FS output word:
Valid entry: See [1]
DW0006 = Modbus register 3x or 4x:
Valid entry: 1D ... 65535D
DW0006 = ST-DB or FS-DB or
DW0006 = ST-XW or FS-XW (XW-PII/XW-PIO):
Valid entry: See [2]

(Continued overleaf)

[1]:

Start address = 2 x double word number + (bit number/16)

Example:
Calculating the start address for MW64.16
Start address = (2 x 64) + (16/16) = 129D

[2]:

Start address = Number of DW or XW

Example:
Calculating the start address for data word DW0010D
Start address = 10

Operating Manual: ETH-2 for Compact 3rd Generation PSS 8-9


Operating System Calls with SB254

Address Format Contents Comment


(DW + (Example) (Continued)
Offset)
0009 F 000060 Send data, data source: Data length of send
data (PSS)
Entry in words
The valid entry depends on the configured code
for the data source (see DW0006).

0010 H 0004 Send data, data destination: Code for the


(Modbus Register 4x) data destination (communication partner)
DW0005, Bit 2 = 0:
0001H: ST flag word
0002H: ST input word
0003H: ST output word
0004H: ST timer
0005H: ST counter
0006H: ST-DB
0007H: FS-DB
0008H: ST-XW
DW0005; Bit 2 = 1 and Modbus/TCP:
0004H: 4x Register (word register, read/write)
Please note:
A connection's protocol is defined in the
Ethernet Configurator.

0011 H 0000 Send data, data destination: Number of the


ST or FS data block (PSS)
DW0010 = 0006H (ST-DB) or
DW0010 = 0007H (FS-DB):
Valid entry: 10D ... 255D
Otherwise:
DW0011 = 000000

(Continued overleaf)

8-10 Operating Manual: ETH-2 for Compact 3rd Generation PSS


Address Format Contents Comment
(DW + (Example) (Continued)
Offset)
0012 F 1024 Send data, data destination: Start address
(Modbus Register DW0010 = ST/FS flag word, ST/FS input word
4x 1204) or ST-FS output word:
Valid entry: See [1]
DW0010 = Modbus register 3x or 4x:
Valid entry: 1D ... 65535D
DW0010 = ST-DB or
DW0010 = FS-DB or
DW0010 = ST-XW:
Valid entry: See [2]

(Continued overleaf)

[1]:

Start address = 2 x double word number + (bit number/16)

Example:
Calculating the start address for MW64.16
Start address = (2 x 64) + (16/16) = 129

[2]:

Start address = Number of DW or XW

Example:
Calculating the start address for data word DW0010
Start address = 10

Operating Manual: ETH-2 for Compact 3rd Generation PSS 8-11


Operating System Calls with SB254

Address Format Contents Comment


(DW + (Example) (Continued)
Offset)
0013 F 000060 Send data, data destination: Data length of
send data (communication partner)
Entry in words
The valid entry depends on the configured code
for the data source (see DW0010).

0014 H 0004 Receive data, data source: Code for the data
source (communication partner)
DW0005, Bit 2 = 0:
0001H: ST flag word/FS flag word
0002H: ST input word/FS input word
0003H: ST output word/FS output word
0004H: ST timer/FS timer
0005H: ST counter/FS counter
0006H: ST-DB
0007H: FS-DB
0008H: ST-XW
0009H: FS-XW (XW-PII)
000AH: FS-XW (XW-PIO)
DW0005; Bit 2 = 1 and Modbus/TCP:
0003H: 3x Register (word register, read only)
0004H: 4x Register (word register, read/write)
Please note:
A connection's protocol is defined in the
Ethernet Configurator.

0015 H 0000 Receive data, data source: Number of the


ST or FS data block (PSS)
DW0014 = 0006H (ST-DB) or
DW0014 = 0007H (FS-DB):
Valid entry: 10D ... 255D
Otherwise:
DW0015 = 000000

8-12 Operating Manual: ETH-2 for Compact 3rd Generation PSS


Address Format Contents Comment
(DW + (Example) (Continued)
Offset)
0016 H 0000 Receive data, data source: Start address
DW0014 = ST/FS flag word, ST/FS input word
or ST-FS output word:
Valid entry: See [1]
DW0014 = Modbus register 3x or 4x:
Valid entry: 1D ... 65535D
DW0014 = ST-DB or
DW0014 = FS-DB or
DW0014 = ST-XW or
DW0014 = FS-XW (XW-PII/XW-PIO):
Valid entry: See [2]

(Continued overleaf)

[1]:

Start address = 2 x double word number + (bit number/16)

Example:
Calculating the start address for MW64.16
Start address = (2 x 64) + (16/16) = 129

[2]:

Start address = Number of DW or XW

Example:
Calculating the start address for data word DW0010
Start address = 10

Operating Manual: ETH-2 for Compact 3rd Generation PSS 8-13


Operating System Calls with SB254

Address Format Contents Comment


(DW + (Example) (Continued)
Offset)
0017 F 000060 Receive data, data source: Data length of
receive data (communication partner)
Entry in words
The valid entry depends on the configured code
for the data source (see DW0014).

0018 H 0006 Receive data, data destination: Code for the


data destination (PSS)
DW0005, Bit 2 = 0:
0001H: ST flag word
0002H: ST input word
0003H: ST output word
0004H: ST timer
0005H: ST counter
0006H: ST-DB
0007H: FS-DB
0008H: ST-XW
DW0005; Bit 2 = 1 and Modbus/TCP:
0004H: 4x Register (word register, read/write)
Please note:
A connection's protocol is defined in the
Ethernet Configurator.

0019 F 000189 Receive data, data destination: Number of


the ST or FS data block (PSS)
DW0018 = 0006H (ST-DB) or
DW0018 = 0007H (FS-DB):
Valid entry: 10D ... 255D
Otherwise:
DW0019 = 000000

(Continued overleaf)

8-14 Operating Manual: ETH-2 for Compact 3rd Generation PSS


Address Format Contents Comment
(DW + (Example) (Continued)
Offset)
0020 H 0000 Receive data, data destination: Start address
DW0014 = ST/FS flag word, ST/FS input word
or ST-FS output word:
Valid entry: See [1]
DW0014 = Modbus register 3x or 4x:
Valid entry: 1D ... 65535D
DW0018 = ST-DB or
DW0018 = FS-DB or
DW0018 = ST-XW:
Valid entry: See [2]

0021 F 000060 Receive data, data source: Data length of


receive data (communication partner)
Entry in words
The valid entry depends on the configured code
for the data source (see DW0018).

(Continued overleaf)

[1]:

Start address = 2 x double word number + (bit number/16)

Example:
Calculating the start address for MW64.16
Start address = (2 x 64) + (16/16) = 129

[2]:

Start address = Number of DW or XW

Example:
Calculating the start address for data word DW0010
Start address = 10

Operating Manual: ETH-2 for Compact 3rd Generation PSS 8-15


Operating System Calls with SB254

Example of a call with SB254, FUNK=190

//The example uses the configuration of the job configuration DB (see page 7-7,
DW0002 ... DW0004)
//
//Start job: Set activity bit = 1 via the ST user program, giving:
//Activity bit = 1: The job is active
//Activity bit = 0: The job is complete (acknowledgement received from communication partner,
activity bit reset internally via PSS)

L M 20.00 //Start condition for the job


UN M 35.01 //Activity bit
S M 35.01

//Configure DB004 for SB254, FUNK=190


//(Active job: Send/receive process data)
A DB 004 //Select system data block DB004
L KF 000190 //Number of the job configuration DB
T DW 0200
L KF 000000 //Number of the first DW in the job configuration DB
T DW 0201

CAL SB 254

SB254
StBsCall

KF 000190 - W - FUNK ERG - W- MW 010.00

A DB 000 //Evaluate return parameter


L DW 0200 //Read error code
T MW 010.16

//If required, define error reaction via the ST user program


...

BE

8-16 Operating Manual: ETH-2 for Compact 3rd Generation PSS


FUNK=192 - Activate ETH-2 status display

The status display on the ETH-2 interface is switched off in its default
setting. This operating system call can be used to activate the status
display.

Rules for the operating system call

A data block (status DB) must be assigned to the operating system call.
The PSS ETH-2 interface records the status information of the jobs and
their respective connections in the status DB.

Operating Manual: ETH-2 for Compact 3rd Generation PSS 8-17


Operating System Calls with SB254

Parameters for the operating system call

Function Function
FUNK=192 Activate ETH-2 status display (ETH-2)

Enable parameters in DB004:


DW Value Description
200D <10D...255D> Number of the status DB
201D <0D...993D> Number of the start data word in the status DB
202D <Address> XW start address of the ETH-2 interface
Valid XW addresses: 0D, 4096D, 8192D or 12288D
Output parameter ERG (SB254):
Value Description
2D Operating system call is active
4D Operating system call completed without error
8D ETH-2 interface not ready
16D Error
Enable parameters in DB000 in the case of an error:
DW Value Description
200 <10H..37H> <See section entitled “Error messages”>

8-18 Operating Manual: ETH-2 for Compact 3rd Generation PSS


Structure and contents of the status configuration DB for SB254, FUNK=192

Create the data block with the following properties:


• Access right: Read/Write
• Length: Min. 30 data words

Address Format Contents Bit Key


<DW + (Example) Bit = 0: Not active
Offset> Bit = 1: Active
DW0000 H 01 00 Overall status for all jobs
0: No job active
1: Min. 1 job active
00 15 ... 01 Status of job 15 ... 1

DW0001 H 01 31 ... 00 Status of job 31 ... 16


Example: Job 16 is active
DW0002 --- Reserved Reserved ---

DW0003

DW0004

DW0005
DW0006
DW0007
DW0008
DW0009
(Continued overleaf)

Operating Manual: ETH-2 for Compact 3rd Generation PSS 8-19


Operating System Calls with SB254

Address Format Contents Bit Key


<DW + (Example) Bit = 0: Not active
Offset> Bit = 1: Active
DW0010 H 01 00 Overall status for all connections
0: No job active
1: Min. 1 job active
00 15 ... 01 Status of connection 15 ... 1
DW0011 H 0A 31 ... 00 Status of connection 31 ... 16
Example: Connections 17 and 19 of job
16 are active.
DW0012 --- Reserved Reserved ---
DW0013
DW0014
DW0015
DW0016
DW0017
DW0018
DW0019
DW0020
DW0021
DW0022
DW0023
DW0024
DW0025
DW0026
DW0027
DW0028
DW0029

8-20 Operating Manual: ETH-2 for Compact 3rd Generation PSS


Example of a call with SB254, FUNK=192

//Configure DB004 for SB254, FUNK=192


//(Activate status display)
A DB 004 //Select system data block DB004
L KF 000192 //Number of the status DB
T DW 0200
L KF 000000 //Number of the first DW in the status DB
T DW 0201
L KF 000000 //Configured XW start address for the ETH-2 interface
T DW 0202

CAL SB 254

SB254
StBsCall

KF 000192 - W - FUNK ERG - W- MW 010.00

A DB 000 //Evaluate return parameter


L DW 0200 //Read error code
T MW 010.16

//If required, define error reaction via the ST user program


...

BE

Operating Manual: ETH-2 for Compact 3rd Generation PSS 8-21


Operating System Calls with SB254

FUNK=193 - Manual job initiation (ETH-2)

This job type can be used when an additional call is required during the
PSS cycle, in cycles in which time is critical. As a result of the operating
system call, the process data is downloaded from the ETH-2 interface into
the PSS.

Rules for the operating system call

Use SB254, FUNK=193, if necessary in addition to SB254, FUNK=190.

8-22 Operating Manual: ETH-2 for Compact 3rd Generation PSS


Parameters for the operating system call

Function Function
FUNK=193 Manual job initiation (ETH-2)

Enable parameters in DB004:


DW Value Description
200D <Address> XW start address for the ETH-2 interface
Valid XW addresses: 0D, 4096D, 8192D or 12288D
201D <0 or 1> Job priority
0: Low priority
1: High priority

Output parameter ERG (SB254):


Value Description
2D Operating system call is active
4D Operating system call completed without error
8D ETH-2 interface not ready
16D Error
Enable parameters in DB000 in the case of an error:
DW Value Description
200 <10H..37H> <See section entitled “Error messages”>

Operating Manual: ETH-2 for Compact 3rd Generation PSS 8-23


Operating System Calls with SB254

Example of a call with SB254, FUNK=193

//Configure DB004 for SB254, FUNK=193


//(Activate status display)
A DB 004 //Select system data block DB004
L KF 004096 //Configured XW start address for the ETH-2 interface
T DW 0200
L KF 000001 //Job priority: High
T DW 0201

CAL SB 254

SB254
StBsCall

KF 000193 - W - FUNK ERG - W- MW 010.00

A DB 000 //Evaluate return parameter


L DW 0200 //Read error code
T MW 010.16

//If required, define error reaction via the ST user program


...

BE

8-24 Operating Manual: ETH-2 for Compact 3rd Generation PSS


FUNK=194 - Type of access to own IP settings (ETH-2)

This job type can be used in the following cases:


• To scan the IP settings of the ETH-2 interface
• To overwrite the IP settings of the ETH-2 interface
This operating system call can be used to overwrite the IP settings of the
ETH-2 interface via the ST user program. You can only use the operating
system call in this access type if you have selected Accept IP address
of user program for the job in the Ethernet Configurator under Project -
> Project Properties -> Communication tab.

Rules for the operating system call

A configuration data block (IP configuration DB) must be assigned to the


operating system call. The IP configuration DB contains the IP settings
which will be used to overwrite the settings on the ETH-2 interface.

INFORMATION
If you use operating system call SB254, FUNK=194 to overwrite the IP
address of the ETH-2 interface, you will need to restart the PSS in order
for the new IP address to take effect.

Operating Manual: ETH-2 for Compact 3rd Generation PSS 8-25


Operating System Calls with SB254

Parameters for the operating system call

Function Function
FUNK=194 Type of access to own IP settings (ETH-2)

Enable parameters in DB004:


DW Value Description
200D <10D...255D> Number of IP configuration DB
201D <0D...1001D> Number of the start data word in the IP configuration
DB

Output parameter ERG (SB254):


Value Description
2D Operating system call is active
4D Operating system call completed without error
8D ETH-2 interface not ready
16D Error
Error
Enable parameters in DB000 in the case of an error:
DW Value Description
200 <10H..37H> <See section entitled “Error messages”>

8-26 Operating Manual: ETH-2 for Compact 3rd Generation PSS


Structure and contents of the IP configuration data block for SB254, FUNK=194

Create the configuration data block with the following properties:


• Access right: Read/Write
• Length: Min. 11 data words

Address Format Contents Comment


(DW + (Example)
Offset)
0000 H FF01 DL: Header-ID
Configure FFH as the header-ID
DR: Access type
01H : Scan own ETH settings
02H : Overwrite own ETH settings
You can only overwrite the configured IP
address if you have selected Accept IP
address of user program for the job in the
Ethernet Configurator under Project -> Project
Properties -> Communication tab.

0001 F 004096 XW start address


Configure the same XW start address as the
start address you configured for the ETH-2
interface in the PSS Configurator.
Valid XW start addresses for ETH-2 interfaces:
0D, 4096D, 8192D or 12288D
0002 Y 159,250 IP addrese
DW0002: High word, DW0003: Low word
(IP address in example: 159.250.16.10)
0003 Y 16,10 If DW0000 = FF01H:
As a result of the scan you will receive the IP
address of the ETH-2 interface.
If DW0000 = FF02H:
Enter the IP address you wish to use to
overwrite the existing IP address.

(Continued overleaf)

Operating Manual: ETH-2 for Compact 3rd Generation PSS 8-27


Operating System Calls with SB254

Address Format Contents Comment


(DW + (Example) (Continued)
Offset)
0004 Y 255,255 Subnet mask
DW0004: High word, DW0005: Low word
(Subnet mask in example: 255.255.255.0)
0005 Y 255,0 If DW0000 = FF01H:
As a result of the scan you will receive the
subnet mask for the ETH-2 interface.
If DW0000 = FF02H:
Enter the subnet mask you wish to use to
overwrite the existing subnet mask.

0006 Y 249,248 IP address of router


DW0006: High word, DW0007: Low word
(IP address in example: 249.248.247.0)
0007 Y 247,0 If DW0000 = FF01H:
As a result of the scan you will receive the IP
address of the router.
If DW0000 = FF02H:
Enter the router’s IP address, which is to be
used to overwrite the existing IP address.
Please note:
If there is no router, instead of the router’s IP
address you should configure the IP address of
the ETH-2 interface (= own IP address)

0008 F 018080 Port number of the configuration port


(factory-set default = 18080D)
If DW0000 = FF01H:
As a result of the scan you will receive the port
number of the configuration port.
If DW0000 = FF02H:
Enter the port number of the configuration port,
which is to be used to overwrite the existing port
number.

(Continued overleaf)

8-28 Operating Manual: ETH-2 for Compact 3rd Generation PSS


Address Format Contents Comment
(DW + (Example) (Continued)
Offset)
0009 F 001025 Port number through which PSS WIN-PRO
can access a PSS via Ethernet
(factory-set default =1025D)
If DW0000 = FF01H:
As a result of the scan you will receive the port
number for PSS WIN-PRO functionality.
If DW0000 = FF02H:
Enter the port number which is to be used to
overwrite the existing port number.

0010 F 000000 Enable/Do not enable DHCP


0: Do not enable DHCP
1: Enable DHCP
If DHCP = 1:
The configured IP address (see DW002 and
DW003) is ignored.

Operating Manual: ETH-2 for Compact 3rd Generation PSS 8-29


Operating System Calls with SB254

Example of a call with SB254, FUNK=194

//Configure DB004 for SB254, FUNK=194


//(Active job: Send/receive process data)
A DB 004 //Select system data block DB004
L KF 000194 //Number of the job configuration DB
T DW 0200
L KF 000000 //Number of the first DW in the job configuration DB
T DW 0201

CAL SB 254

SB254
StBsCall

KF 000194 - W - FUNK ERG - W- MW 010.00

A DB 000 //Evaluate return parameter


L DW 0200 //Read error code
T MW 010.16

//If required, define error reaction via the ST user program


...

BE

8-30 Operating Manual: ETH-2 for Compact 3rd Generation PSS


Error messages

On operating system calls with FUNK=190, FUNK=192, FUNK=193 and


FUNK=164, data block DB000 may contain the following error messages:

Function Function description


FUNK=190 Error messages for the operating system calls
FUNK=192 FUNK=190 - Active job: Send/receive process data (ETH-2)
FUNK=193 FUNK=192 - Activate ETH-2 status display
FUNK=194 FUNK=193 - Manual job initiation (ETH-2)
FUNK=194 - Type of access to own IP settings (ETH-2)

Output parameter ERG (SB254):


Value Description
16D Error
Enable parameters in DB000:
DW Value Description
200D 10H SB254, FUNK=190:
No ETH-2 interface available
11H SB254, FUNK=192:
No ETH-2 interface available
12H SB254, FUNK=193:
No ETH-2 interface available
13H SB254, FUNK=194:
No ETH-2 interface available
14H SB254, FUNK=190:
Invalid DB number in DB004, DW200D
Valid DB number: 10D ... 255D
15H SB254, FUNK=192:
Invalid DB number in DB004, DW200D
Valid DB number: 10D ... 255D
16H SB254, FUNK=194:
Invalid DB number in DB004, DW200D
Valid DB number: 10D ... 255D

(Continued overleaf)

Operating Manual: ETH-2 for Compact 3rd Generation PSS 8-31


Operating System Calls with SB254

Output parameter ERG (SB254):


Value Description
16D Error
Enable parameters in DB000:
DW Value Description
200D 17H SB254, FUNK=193:
Invalid XW start address in DB004,
DW200D;
Accept the XW start address from the PSS
configuration (valid XW start address: 0D,
4096, 8192 or 12288D)
18H SB254, FUNK=193:
Invalid entry for “Priority” in DB004,
DW201D;
Valid entry:
0 = High and low priority
1 = High priority only
19H SB254, FUNK=192:
Invalid XW start address in DB004,
DW202D;
Accept the XW start address from the PSS
configuration (valid XW start address: 0D,
4096D, 8192D or 12288D).
1AH SB254, FUNK=190:
The configured DB in DB004, DW200D is
not available on the PSS;
Adapt the DB number or download the data
block
1BH SB254, FUNK=192:
The configured DB in DB004, DW200D is
not available on the PSS;
Adapt the DB number or download the data
block
1CH SB254, FUNK=194:
The configured DB in DB004, DW200D is
not available on the PSS;
Adapt the DB number or download the data
block

(Continued overleaf)

8-32 Operating Manual: ETH-2 for Compact 3rd Generation PSS


Output parameter ERG (SB254):
Value Description
16D Error
Enable parameters in DB000:
DW Value Description
200D 1DH SB254, FUNK=190:
The configured DB in DB004, DW200D is
too short;
Extend the DB (min. 22 data words)
1EH SB254, FUNK=192:
The configured DB in DB004, DW200D is
too short;
Extend the DB (min. 29 data words)
1FH SB254, FUNK=194:
The configured DB in DB004, DW200D is
too short;
Extend the DB (min. 23 data words)
20H SB254, FUNK=190:
Invalid header-ID in the job configuration
data block;
Assign FFH to DL of DW<0 + Offset >
21H SB254, FUNK=190:
Invalid job number in the configuration data
block;
valid values in DR<0 + Offset>: 1D ... 64D
22H SB254, FUNK=190:
Invalid XW address in configuration data
block DW<1 + Offset>;
Accept the XW address from the PSS
configuration (valid XW address: 0D, 4096D,
8192D or 12288D)
23H SB254, FUNK=190:
Invalid address for the activity bit in the
configuration data block;
Valid values in DW<3 + Offset >:
For ST flags: 0D ... 63D
For ST-DB: DW0000D ... 1023D

(Continued overleaf)

Operating Manual: ETH-2 for Compact 3rd Generation PSS 8-33


Operating System Calls with SB254

Output parameter ERG (SB254):


Value Description
16D Error
Enable parameters in DB000:
DW Value Description
200D 24H SB254, FUNK=190:
The bit number configured for the activity bit
in configuration data block DW<4 + Offset>
is invalid;
Valid values (ST flag word): 0D ... 31D
25H SB254, FUNK=190:
The address ID configured for the activity
bit in job configuration data block DW<2 +
Offset> is invalid;
Valid values:
0 = Address ID for ST flags
10D ... 255D = An ST-DB number
26H SB254, FUNK=190:
The bit number configured for the activity
bit in job configuration data block DW<4 +
Offset> is invalid;
Valid values (DW of an ST-DB): 0D ... 15D
27H SB254, FUNK=190:
The ST-DB configured for the activity bit in
job configuration data block DW<2 +
Offset> is not available on the PSS;
Create the stated ST-DB and download it to
the PSS
28H SB254, FUNK=190:
The ST-DB configured for the activity bit in
job configuration data block DW<2 +
Offset> is not writable;
Configure ST-DB as read/write and
download to the PSS

(Continued overleaf)

8-34 Operating Manual: ETH-2 for Compact 3rd Generation PSS


Output parameter ERG (SB254):
Value Description
16D Error
Enable parameters in DB000:
DW Value Description
200D 29H SB254, FUNK=190:
The address configured for the activity bit in
job configuration data block DW<3 +
Offset> is outside the configured ST-DB;
Either adapt the address or extend the ST-
DB
2AH SB254, FUNK=190:
Invalid configuration in job configuration
data block DW<5 + Offset>;
Only the following bits may be set:
Bit 0: Send data
Bit 1: Receive data on request
Bit 2: Use address syntax of
communication partner
2BH SB254, FUNK=190:
Invalid configuration in job configuration
data block DW<5 + Offset>;
At least one of the bits must be set:
Bit 0: Send data
Bit 1: Receive data on request
2CH SB254, FUNK=190:
The ST-DB configured for the activity bit in
job configuration data block DW<2 +
Offset> has since been deleted;
Do not enable the activity bit during a
program download, or switch the PSS ST
section to a STOP condition while the
program is downloaded

(Continued overleaf)

Operating Manual: ETH-2 for Compact 3rd Generation PSS 8-35


Operating System Calls with SB254

Output parameter ERG (SB254):


Value Description
16D Error
Enable parameters in DB000:
DW Value Description
200D 2DH SB254, FUNK=190:
The DW configured for the activity bit in job
configuration data block DW<3 + Offset> is
outside the configured ST-DB, because the
ST-DB has since been shortened;
Do not enable the activity bit during a
program download, or switch the PSS ST
section to a STOP condition while the
program is downloaded
2EH SB254, FUNK=190:
The job number configured in job
configuration data block DR of DW0000<0
+ Offset> is not configured in the ETH-2;
Create the job in the Ethernet Configurator
and download to the ETH-2
2FH SB254, FUNK=190:
The activity bit configured in job
configuration data block DW<2 + Offset> ...
DW<4 + Offset> has been reset manually
by the user;
Check whether a separate activity bit has
been configured for each job. Check
whether the activity bit has been reset
accidentally.
30H SB254, FUNK=190:
The job configuration data block contains
an error in data words DW<6 + Offset> ...
DW<21 + Offset>;
Check the address ranges

(Continued overleaf)

8-36 Operating Manual: ETH-2 for Compact 3rd Generation PSS


Output parameter ERG (SB254):
Value Description
16D Error
Enable parameters in DB000:
DW Value Description
200D 31H SB254, FUNK=192:
The configured DB in DB004, DW200D is
not writable;
Check DB number or configure DB as read/
write and download to the PSS
32H SB254, FUNK=194:
Invalid header-ID in the configuration data
block;
Assign FFH to DL of DW<0 + Offset>
33H SB254, FUNK=194:
Invalid command in configuration data block
DL of DW<0 + Offset>;
Valid commands:
0: Scan own IP settings
1: Overwrite own IP settings
34H SB254, FUNK=194:
Invalid XW start address in IP configuration
data block DW0<1 + Offset>;
Accept the XW start address from the PSS
configuration (valid XW start address: 0D,
4096D, 8192D or 12288D).
35H SB254, FUNK=194:
Invalid DHCP setting in the IP configuration
data block;
Valid setting in DW<10 + Offset>:
0: Do not enable DHCP
1: Enable DHCP

(Continued overleaf)

Operating Manual: ETH-2 for Compact 3rd Generation PSS 8-37


Operating System Calls with SB254

Output parameter ERG (SB254):


Value Description
16D Error
Enable parameters in DB000:
DW Value Description
200D 36H SB254, FUNK=194:
Cannot overwrite the configured IP address
because write access to the IP address has
been blocked through the configuration in
the Ethernet Configurator (see Ethernet
Configurator’s online help Project ->
Configure project properties -> Accept IP
address from user program)

8-38 Operating Manual: ETH-2 for Compact 3rd Generation PSS


Technical Details

Technical Details PSS ETH-2 PSS1 ETH-2


Current consumption 950 mA
Power dissipation 5W
Ethernet
Connection 4 x RJ45
(switch with 5 ports, 4 of which are free ports)
Status indicator 2 LEDs per Ethernet connection
Transmission rate 10 MBit/s or
100 MBit/s (autosensing)
MAC address Pre-configured when supplied
IP address Configurable via Ethernet Configurator
Communications structure Depends on the protocol
Data transfer Depends on the configuration
Operating data
Module code B720H
XW area 4096 words
Mechanical data
Space requirement 1 slot
Weight 950 g 300 g
Environmental data
Protection type (EN 60529, 02/00) IP20
Ambient temperature 0 ... +60 °C
(EN 60068-2-14, 11/99)
Storage temperature (EN 60068-2-1/-2, 07/94) -25 ... +70 °C
Climatic suitability Max. 93 % r.h. at 40 °C
(EN 60068-2-78, 10/01)
Condensation Not permitted
Vibration (EN 60068-2-6, 04/95) Frequency range: 10 ... 57 Hz
Amplitude: 0.075 mm
Frequency range: 57 ... 100 Hz
Acceleration: 1g
Shock
EN 60068-2-27, 03/93 15g, 11 ms
EMC EN 61000-6-2, 10/01
EN 61000-6-4, 10/01

Operating Manual: PSS(1) ETH-2 - Hardware 9-1


Technical Details

Order reference
System PSS 3000 PSS 3100
Description PSS ETH-2 PSS1 ETH-2
Order no. 301 160 302 160

Address of the Ethernet User Group IAONA

IAONA Europe e.V.


Office / IAF
Universitätsplatz 2
D-39106 Magdeburg
Germany

Telefax: +49 (0) 391 / 67 - 12 404


Phone: +49 (0) 391 / 67 - 11 828
E-mail: info@iaona-eu.com
Internet: www.iaona-eu.com

9-2 Operating Manual: PSS(1) ETH-2 - Hardware


Factory-set defaults on an ETH interface

The factory-set defaults are listed in the following table:

Project or Default setting Key


connection
property
DHCP Activated The IP address of the ETH
interface is assigned via the
DHCP Server in accordance
with the DHCP configuration.

IP address One unconfigured 169.254.60.1 If there is only one unconfigured


(no DHCP Server ETH interface on the ETH interface on the network, it
available) network assigns itself the stated IP
address.

Several unconfigured 169.254.60.1 If there are several


ETH interfaces on the . . . unconfigured ETH interfaces on
network 169.254.60.14 the network, the ETH interface
assigns itself an IP address
from the stated address range.

Subnet mask 255.255.255.240 The ETH interface assigns itself


(no DHCP Server the stated subnet mask.
available)
Port number of the 18080 Port number for establishing an
configuration port online connection
Port number for the 502 The connection uses the stated
Modbus/TCP port
protocol
Port number for the 1024 The connection uses the stated
TCP/IP protocol port
Port number for the 1024 The connection uses the stated
UDP/IP protocol port.
Port number for PSS 1025 The connection uses the stated
WIN-PRO port.
functionality via
Ethernet

Operating Manual: PSS(1) ETH-2 - Hardware 9-3


Technical Details

Notes

9-4 Operating Manual: PSS(1) ETH-2 - Hardware


Appendix

Changes in the documentation

Changes in version 21 146-02

Old New Change


page page
- 7-1 ff. New Chapter 8: “Operating System Calls with SB254”

Changes in version 21 146-03

Old New Change


page page
8-19 8-19 Access right amended: "Read/Write"

Operating Manual: PSS(1) ETH-2 - Hardware 10-1


Appendix

Notes

10-2 Operating Manual: PSS(1) ETH-2 - Hardware


... www
In many countries we are www.pilz.com
represented by our subsidiaries
and sales partners.
Technical support
Please refer to our Homepage +49 711 3409-444
for further details or contact our
headquarters.
21 146-03, 2006-12 Printed in Germany

Pilz GmbH & Co. KG


Sichere Automation
Felix-Wankel-Straße 2
73760 Ostfildern, Germany
Telephone: +49 711 3409-0
Telefax: +49 711 3409-133
E-Mail: pilz.gmbh@pilz.de

You might also like