94
9 PROGRAMMING
9.1 System Configuration Example
9
PROGRAMMING
This chapter describes the programming for the PROFIBUS-DP network.
Page 102 Program Example of Data Exchange Function
Page 103 Program Example of the Diagnostic Information Acquisition Function
Page 104 Program Example of the Acquisition Function of Extended Diagnostic Information
Page 105 Program Example of the Global Control Function
Page 109 Program Example of Acyclic Communication (Acyclic Communication)
Page 111 Program Example of the Alarm Acquisition Function
The Acyclic communication function cannot execute with global control function. When used in conjunction
with these functions, configure an interlock circuit in the program.
9.1
System Configuration Example
This section describes a program example for the PROFIBUS-DP network using the following system configuration.
System configuration
FDL address
Station types
No.0
DP-Master (FX5 CPU FX5-DP-M)
No.1
DP-Slave
No.2
DP-Slave
No.3
DP-Slave
FX5-DP-M No.0
No.1
No.2
No.3
Summary of Contents for FX5-DP-M
Page 1: ...MELSEC iQ F FX5 User s Manual PROFIBUS ...
Page 2: ......
Page 9: ...7 MEMO ...
Page 12: ...10 INDEX 168 REVISIONS 170 WARRANTY 171 TRADEMARKS 172 ...
Page 13: ...11 CONTENTS ...
Page 19: ...1 DESCRIPTION 17 1 MEMO ...
Page 100: ...98 9 PROGRAMMING 9 2 DP Master settings DP Slave FDL address 2 ...
Page 101: ...9 PROGRAMMING 9 2 DP Master settings 99 9 DP Slave FDL address 3 ...
Page 108: ...106 9 PROGRAMMING 9 8 Program Example of the Global Control Function ...
Page 109: ...9 PROGRAMMING 9 8 Program Example of the Global Control Function 107 9 ...
Page 110: ...108 9 PROGRAMMING 9 8 Program Example of the Global Control Function ...
Page 112: ...110 9 PROGRAMMING 9 9 Program Example of Acyclic Communication Acyclic Communication ...
Page 114: ...112 9 PROGRAMMING 9 10 Program Example of the Alarm Acquisition Function ...
Page 169: ...APPX Appendix 4 Processing Time 167 A MEMO ...
Page 175: ......