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)

Description
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 for
FMS Client
Sample program for
FMS Server
S7 S5    
CP343-5 CP5431 RW_FMS_CP343-5.zip ( 83 KB ) RW_FMS_CP5431.zip ( 3 KB )
CP343-5 IM318 (acyclic) RW_FMS_CP343-5_acyclic.zip ( 82 KB ) -
CP343-5 IM318
(cyclic)
RW_FMS_CP343-5_cyclic.zip ( 85 KB ) RW_FMS_IM318_cyclic.zip ( 2 KB )
CP443-5 CP5431 RW_FMS_CP443-5.zip ( 86 KB ) RW_FMS_CP5431.zip ( 3 KB )
CP443-5 IM318 (acyclic) RW_FMS_CP443-5_acyclic.zip ( 85 KB ) -
CP443-5 IM318 (cyclic) RW_FMS_CP443-5_cyclic.zip ( 82 KB ) RW_FMS_IM318_cyclic.zip ( 2 KB )
S5 S7    
CP5431 CP343-5 RW_FMS_CP5431_CP343-5.zip ( 3 KB ) RW_FMS_CP343-5.zip ( 55 KB )
CP5431 CP443-5 RW_FMS_CP5431_CP443-5.zip ( 3 KB ) RW_FMS_CP443-5.zip ( 60 KB )

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

FMS Client FMS Server Sample program for
FMS Client
Sample program for
FMS Server
PC S5    
CP5412 A2 CP5431 RW_FMS_CP5412.zip ( 41 KB ) RW_FMS_CP5431.zip ( 3 KB )
CP5412 A2 IM318 (acyclic) RW_FMS_CP5412_IM318.zip ( 41 KB ) -
CP5412 A2 SIMOCODE
(acyclic)
RW_FMS_CP5412_acyclic.zip ( 42 KB ) -
CP5412 A2 SIMOCODE
(cyclic)
RW_FMS_CP5412_cyclic.zip ( 44 KB ) -

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 for
FMS Client
Sample program for
FMS Server
S5 S7    
CP5431 CP343-5 IR_FMS_CP5431.zip ( 55 KB ) IR_FMS_CP343-5.zip ( 3 KB )
CP5431 CP443-5 IR_FMS_CP5431.zip ( 3 KB ) IR_FMS_CP443-5.zip ( 60 KB )

The document below contains

  • 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 on how to use the sample programs.
  • Other notes, tips and tricks, etc.

PB_communication_S5_and_S7_FMS_en.pdf ( 512 KB )

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

Entry ID Description
26583930 What properties, advantages and special features does the FMS protocol offer?
48457189 Where can you find sample programs and documentation for using the PROFIBUS DP protocol for data communication between SIMATIC S5 modules and SIMATIC S7 modules?
48352979 Where 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?
1158693 S7 CPs for PROFIBUS Configuration and Commissioning
1158418 SIMATIC NET NCM S7 for PROFIBUS / FMS Volume 2
1804226 SINEC CP 5430 TF with COM 5430 TF, CP 5431 FMS with COM 5431 FMS
12585718 SINEC CP 5431 FMS with COM 5431 FMS
30564821 Functions (FC) and Function Blocks (FB) for SIMATIC NET S7 CPs Programming Manual
20982954 CPU-CPU Communication with SIMATIC Controllers (Compendium)