Chapter 10 Program Example
10-14
10.2 Example of communication with XGL-PMEC
This example shows a program that is installed on No. 0 slot of XGT No. 0 base, sending and
receiving data to Smart I/O module(Station Number 4 and 1) and Extended Smart I/O Pnet(Station
2).
[Figure 10.2.1] I/O Structure and Sending/Receiving Data
Sending/Receiving Structure
Read Area
Save Area
Size (byte)
XGL-PMEC
(Master)
GPL-TR2A
Sending
%MW0(2byte)
-
2
GPL-D22A
Receiving
-
%MW200(2byte)
2
XPL-BSSA
XBE-TN32A
Sending %MW3000(4byte)
-
Sending(22byte)/
Receiving(20byte)
XBE-DC32A Receiving
-
%MW3011(4byte)
XBF-AD04A Receiving
-
%MW3013(8byte)
XBF-DV04A
Sending %MW3002(8byte)
-
XBF-DC04A
Sending %MW3006(8byte)
-
XBF-RD04A Receiving
-
%MW3017(8byte)
XBE-RY16A
Sending %MW3010(2byte)
-
[Table 10.2.1] High-Speed Link Sending/Receiving Map
In the table above, XGT CPU sends 2 byte data in %MW0 area to GPL-TR2A and 22 byte data
in %MW3000~3010 area to XPL-BSSA and saves 2 byte (16 points) input data of GPL-D22A
in %MW200 area of XGT CPU and 20 byte input data of XPL-BSSA in %MW3011~3020 area of
XGT CPU.
10.2.1 N Configurator settings
To exchange data between the systems as in [Figure 10.2.1], it is convenient for the user to
write high-speed link sending/receiving map. In addition, it is necessary to write high-speed link
parameters after setting Network Configuration through N Configurator and download to PLC in
order to send/receive data as in [Table 10.2.1].
Содержание 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 ...