Chapter 5 Communication Program
5-1
Chapter 5 Communication Program
There is one communication function available in Pnet I/F module as described below.
5.1 Communication Program
5.1.1 Type of communication program
(1) High-speed link
High-speed link as a communication method between XGT PLC communication module and slave
module is used to exchange data or information with destination station periodically for a specific time,
through which the changed data of self station or the destination station can be referred to periodically
for efficient application to the operation system and execution of communication is available only with
simple parameters setting.
How to set parameter is, download the configuration data to the communication module by means of
“Pnet configuration tool. And then upload the downloaded file in the XG5000. And then, specify the self
station area and destination station area for sending/receiving in the high speed link parameter.
Download the specified parameters and let the link enabled to execute High-speed link communication.
Data size is available from the min. 1 byte (16 points) to 244 bytes for the communication,
communication period from the min. 20 ms up to 10 sec. based on the communication details. It is easy
to use because communication with destination station is available only through simple parameters
setting. And it is also useful for periodic process of lots of data at a time thanks to high processing
speed of the internal data.
(2) P2P
P2P is the communication method between XGT PLC communication module and slave module. It can
be used to read/write the data or information of slave at the point in time.
It can be effectively used to exchange the status information of other station or handle the alarm by
simple parameter settings.
How to set the parameter is as below,
1) In P2P parameter of XG5000, select data sending direction or alarm handling function.
2) Set slave
’s station number and data address, XGT PLC communication module address, condition
flag.
3) Download the P2P parameter and enable the link. Then P2P communication will be start.
Maximum 244 bytes sending and receiving data are available. It operates by condition flag that makes
it useful when user handle the temporary data.
(3) Configuration tool
In order to use a Pnet I/F module, you
have to configure the system by ‘SyCon’ and ‘N
confugurator
’ configuration tool and then download it to the Pnet I/F module
For detail on the setting method, refer to how to set the configuration tool
Note
(1) How to set XG5000 is same though CPU type is different.
1) CPU type: XGK, XGI, XGR system common
(2) P2P communication is available with XGL-PMEB only that supports PROFIBUS DPv1.
Содержание 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 ...