Introduction Of "Automation Studio - MTS Sensors Temposonics Powerlink V2 R Series Operation Manual

Magnetostrictive linear position sensors
Table of Contents

Advertisement

Temposonics
R-Series Powerlink V2
®
Operation Manual

6.2 Introduction of "Automation Studio"

The following is a description how to set the node ID of a Temposonic
R-Series sensor with Powerlink interface using "Automation Studio"
by B&R (Bernecker + Rainer Industrie-Elektronik Ges.m.b.H.).
6.2.1 Hardware setup
The sensor in this example is configured to node ID 32 (default value)
and connected to a control system X20IF1082-2 which is mounted to
a control system X20CP3485-1. The screenshot of the hardware setup
in "Automation Studio" is shown in Fig. 58.
Fig. 58: Hardware setup in "Automation Studio"
6.2.2 Defined data types
To implement a state machine an enumeration type has to be defined
that contains all used states (Fig. 59 and Fig. 60).
Fig. 59: Hardware setup in "Automation Studio"
Name
STATE_SEARCH_FOR_NODE
®
STATE_SET_NODE_ID
STATE_RESET_NODE
STATE_CHECK_NODE_ID
STATE_FINISHED
Fig. 60: Defined data types
I 34 I
Description
This is the initial state in this project. In this
state, PLC tries to read the vendor ID of
controlled nodes starting from node ID 1 up to
node ID 239 (all node IDs which are supposed to
be controlled nodes) until it detects a controlled
node with vendor ID 0x40 (MTS vendor ID).
PLC enters into this state when the operations of
STATE_SEARCH_FOR_NODE have been finished.
In this example the node ID of the first controlled
node found with vendor ID 0x40 is set to 1.
PLC enters into this state when the operations of
STATE_SET_NODE_ID have been finished. The
sensor has to be reset in order to communicate
using the new node ID. In this state a reset of
the sensor is done.
PLC enters into this state when the operations
of STATE_RESET_NODE have been finished.
The node ID of the sensor is read and stored to
a local variable.
PLC enters into this state when the operations
of STATE_CHECK_NODE_ID have been finished.

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Temposonics Powerlink V2 R Series and is the answer not in the manual?

Subscribe to Our Youtube Channel

Table of Contents