×
Siemens Industry Online Support
Siemens AG
Entry type: FAQ, Entry ID: 48066532, Entry date: 03/14/2011
(0)
Rate

Where can you find sample programs and documentation for using the PROFIBUS FMS protocol for data communication between SIMATIC S5 modules and SIMATIC S7 modules as well as for data communication between SIMATIC S5 modules and PCs?

  • Entry
  • Associated product(s)
This entry includes sample programs and documentation for using the PROFIBUS FMS (Fieldbus Message Specification) protocol for data communication between SIMATIC S5 modules and SIMATIC S7 modules as well as for data communication between SIMATIC S5 modules and PCs.

The following services of the PROFIBUS FMS protocol are used for data communication:

  • READ and WRITE
  • REPORT

READ and WRITE
Data communication between SIMATIC S5 modules and SIMATIC S7 modules is by way of PROFIBUS FMS using the Layer 7 services READ and WRITE.
 

FMS Client FMS Server Sample program
FMS Client
Sample program
FMS Server
S7 S5
CP343-5 CP5431

Registration required RW_FMS_CP5431.zip (83.8 KB)

CP343-5 IM318 (acyclic)

Registration required RW_FMS_CP343-5_acyclic.zip (82.8 KB)

-
CP343-5 IM318
(cyclic)

Registration required RW_FMS_CP343-5_cyclic.zip (85.6 KB)

Registration required RW_FMS_IM318_cyclic.zip (2.3 KB)

CP443-5 CP5431

Registration required RW_FMS_CP443-5.zip (86.3 KB)

Registration required RW_FMS_CP5431.zip (3.5 KB)

CP443-5 IM318 (acyclic)

Registration required RW_FMS_CP443-5_acyclic.zip (85.9 KB)

-
CP443-5 IM318 (cyclic)

Registration required RW_FMS_CP443-5_cyclic.zip (82.9 KB)

Registration required RW_FMS_IM318.zip (2.3 KB)
S5 S7
CP5431 CP343-5

Registration required RW_FMS_CP5431_CP343-5.zip (3.5 KB)

Registration required RW_FMS_CP343-5.zip (55.9 KB)

CP5431 CP443-5

Registration required RW_FMS_CP5431_CP443-5.zip (3.5 KB)

Registration required RW_FMS_CP443-5.zip (60.0 KB)

Table 1

Data communication between SIMATIC S5 module and PC is by way of PROFIBUS FMS using the Layer 7 services READ and WRITE.
 

FMS Client FMS Server Sample program
FMS Client
Sample program
FMS Server
PC S5
CP5412 A2 CP5431

Registration required RW_FMS_CP5412.zip (41.1 KB)

Registration required RW_FMS_CP5431.zip (3.5 KB)

CP5412 A2 IM318 (acyclic)

Registration required RW_FMS_CP5412_IM318C.zip (41.8 KB)

-
CP5412 A2 SIMOCODE
(acyclic)

Registration required RW_FMS_CP5412_acyclic.zip (42.1 KB)

-
CP5412 A2 SIMOCODE
(cyclic)

Registration required RW_FMS_CP5412_cyclic.zip (44.6 KB)

-

Table 2

REPORT
Data communication between SIMATIC S5 modules and SIMATIC S7 modules is by way of PROFIBUS FMS using the Layer 7 service REPORT.
 

FMS Client FMS Server Sample program
FMS Client
Sample program
FMS Server
S5 S7
CP5431 CP343-5

Registration required IR_FMS_CP5431.zip (55.9 KB)

Registration required IR_FMS_CP343-5.zip (3.7 KB)

CP5431 CP443-5

Registration required IR_FMS_CP5431.zip (3.7 KB)

Registration required IR_FMS_CP443-5.zip (60.0 KB)

Table 3

The document below includes the following:

  • An overview of the plant configuration used for creating the sample programs.
  • An introduction to the blocks required and their communication structure.
  • Details of the user programs of SIMATIC S5 and SIMATIC S7.
  • Information about operating the sample programs.
  • Other notes, tips and tricks, etc.

48066532_pb_communication_s5_and_s7_fms_en.pdf (519.9 KB)

Note
More information about communication with SIMATIC S5 and SIMATIC S7 is available in the Entry IDs below.
 

Entry IDDescription

26583930

What properties, advantages and special features does the FMS protocol offer?
48457189Where can you find sample programs and documentation for using the PROFIBUS DP protocol for data communication between SIMATIC S5 modules and SIMATIC S7 modules?
48352979Where can you find sample programs and documentation for communication from SIMATIC S5 modules to SIMATIC S7 modules by way of PROFIBUS using the FDL protocol?
1158693S7 CPs for PROFIBUS Configuration and Commissioning
1158418SIMATIC NET NCM S7 for PROFIBUS / FMS Band 2
1804226SINEC CP 5430 TF with COM 5430 TF, CP 5431 FMS with COM 5431 FMS
12585718SINEC CP 5431 FMS with COM 5431 FMS
62543517SIMATIC NET Program Blocks for SIMATIC NET S7-CPs - Programming Manual
20982954CPU-CPU Communication with SIMATIC Controllers (Compendium)

Table 4

Security information
In order to protect plants, systems, machines and networks against cyber threats, it is necessary to implement – and continuously maintain – a holistic, state-of-the-art industrial security concept. Siemens’ products and solutions constitute one element of such a concept. For more information about industrial security, please visit
http://www.siemens.com/industrialsecurity.