Fieldbus Message Specification FMS
Client - Server Principle
FMS Services
FMS Data Types
SIMATIC NET
Siemens AG 1995. All rights reserved.
Datum: 01.10.96
Datei.Nr: KS5L2_FM.1
Siemens AG Page 1 KO-KS5L2
AUT 951 Fieldbus Message Specification
Client - Server Principle (Model)
Client Server (VFD)
Job for object 1
Object 1
Job for object 2 Object 2
Job for object 3
Object 3
SIMATIC NET
Siemens AG 1995. All rights reserved.
Datum: 01.10.96
Datei.Nr: KS5L2_FM.2
Client The client communicates with the server via an FMS link (application
association). It issues jobs to the server.
Server The server handles the client's jobs. It uses an object list to manage its
objects.
Objects All client jobs are ultimately addressed to the objects in the server.
The possible object types are as follows:
Variable,
Domain (data area or code section),
Program invocation,
Event.
The objects have attributes and are identified by an index.
VFD Virtual Field Device, general term for the server.
Siemens AG Page 2 KO-KS5L2
AUT 951 Fieldbus Message Specification
FMS Services
User services:
Variable Access
(Reading and writing variables)
Domain Management
(Loading logically connected data areas (domains))
Program Invocation
(Combining domains to make a program and controlling
program execution)
Event Management
(Services for user-controlled response to events)
Management services:
VFD Support
(Services providing information about the device)
Object List Management
(Reading/writing the object list)
Context Management
(Establishing, clearing, cancelling connections)
SIMATIC NET
Siemens AG 1995. All rights reserved.
Datum: 01.10.96
Datei.Nr: KS5L2_FM.3
Siemens AG Page 3 KO-KS5L2
AUT 951 Fieldbus Message Specification
FMS Mandatory Services
Mandatory services:
Initiate Establish connection
Abort Clear/Cancel connection
Reject Reject unpermitted services
(Context Management)
Identify Read out manufacturer, type, profiles, version
Status Read out device/user status
(VFD Support)
Get OL Read one, several or all object descriptions
from the object list
(Object List Management)
These services are mandatory for all PROFIBUS devices
VFD Virtual Field Device
SIMATIC NET
Siemens AG 1995. All rights reserved.
Datum: 01.10.96
Datei.Nr: KS5L2_FM.4
Siemens AG Page 4 KO-KS5L2
AUT 951 Fieldbus Message Specification
Client FMS Jobs
Jobs issued to the Virtual Field Device (VFD)
FMS-Identify Identify virtual field device
FMS-Status Read status of virtual field device
Jobs issued to objects
FMS-Read Read variable
FMS-Write Write variable
FMS-Information Report Report variable
SIMATIC NET
Siemens AG 1995. All rights reserved.
Datum: 01.10.96
Datei.Nr: KS5L2_FM.5
Siemens AG Page 5 KO-KS5L2
AUT 951 Fieldbus Message Specification
FMS Data Types
Boolean
True or False
Integer
8, 16 or 32 bits
Unsigned
8, 16 or 32 bits
Floating-Point
To IEEE Standard 754
Visible String
To ISO Standard 646
Octet String
Binary coding
Bit String
According to PROFIBUS standard, converted from
octet units to bit units
SIMATIC NET
Siemens AG 1995. All rights reserved.
Datum: 01.10.96
Datei.Nr: KS5L2_FM.6
Siemens AG Page 6 KO-KS5L2
AUT 951 Fieldbus Message Specification
Extended FMS Data Types
Array
n elements of the same data type
Boolean, Integer, Unsigned, Floating Point
Visible String, Octet String, Bit String
Individual elements can be accessed by specifying
the subindex
Structure (Record)
n elements of different data types
Boolean, Integer, Unsigned, Floating Point
Visible String, Octet String, Bit String
Individual components can be accessed by
specifying the subindex
SIMATIC NET
Siemens AG 1995. All rights reserved.
Datum: 01.10.96
Datei.Nr: KS5L2_FM.7
Siemens AG Page 7 KO-KS5L2
AUT 951 Fieldbus Message Specification