Chapter 10 Program Example
10-1
Chapter 10 Program Example
10.1 Example of Communication with PMEA
Pnet I/F module is installed No.0 slot of No.0 base and data is Send/Receive to SMART-I/O module (Station
number 4, Station number 3) and extendable SMART-I/O (Station number 6) respectively.
[Figure 10.1.1] I/O configuration and Send/Receive data
Send and Receive structure
Area to read
Area to save
Size (Byte)
XGL-PMEA
(Master)
GPL-TR2A
Send
%MW0(2byte)
-
2
GPL-D22A
Receive
-
%MW200(2 byte)
2
XPL-BSSA
XBE-TN32A
Send
%MW3000(4 byte)
-
Send(22 byte)/
Receive(20 byte)
XBE-DC32A
Receive
-
%MW3011(4 byte)
XBF-AD04A
Receive
-
%MW3013(8 byte)
XBF-DV04A
Send
%MW3002(8 byte)
-
XBF-DC04A
Send
%MW3006(8 byte)
-
XBF-RD04A
Receive
-
%MW3017(8 byte)
XBE-RY16A
Send
%MW3010(2 byte)
-
[Table 10.1.1] Send/Receive map of High-speed link
In the example above, XGI CPU transmits 2 byte of data in %MW0 area to GPL-TR2A and 22 byte of data
in %MW3000~3010 area to XPL-BSSA.
XGI CPU saves 2 byte of 16-point input data in GPL-D22A onto %MW200 area and 20 byte of input data in
XPL-BSSA onto %MW3011~3020 of XGK CPU.
Содержание 47200001
Страница 15: ...Table of Content 14 ...
Страница 51: ...Chapter 5 Communication Program 5 16 ...
Страница 55: ...Chapter 6 SyCon Setting 6 4 Select Yes 5 Configuration Setup Select Next ...
Страница 57: ...Chapter 6 SyCon Setting 6 6 3 Setup complete 6 Installed contents 1 Installed file ...
Страница 64: ...Chapter 6 SyCon Setting 6 13 3 Edit 4 Master Configuration Select Settings Master Configuration on menu ...
Страница 73: ...Chapter 6 SyCon Setting 6 22 ...
Страница 99: ...Chapter 7 N Configurator Setting 7 26 ...
Страница 115: ...Chapter 8 High speed Link 8 16 ...
Страница 127: ...Chapter 9 P2P 9 12 ...
Страница 154: ...Chapter 10 Program Example 10 27 Figure 10 2 24 Link Enable High speed link P2P ...
Страница 173: ...Chapter 10 Program Example 10 46 ...
Страница 183: ...Chapter 11 Troubleshooting 11 10 11 4 3 XG5000 abnormal connection ...
Страница 185: ...Chapter 11 Troubleshooting 11 12 ...
Страница 197: ...Appendix A 8 A 3 Dimensions XGL PMEA B C have same dimensions Unit mm ...
Страница 199: ...Warranty and Environment Policy 2 ...