
Chapter 8 Communication Functions
8-34
4) Example
•
Device M000 is increased by program per 1 second.
•
Writing M000 to output area P004 of slave
•
Reading slave’s output area P004
•
Writing it to master’s output area P009
The following example uses the above diagram to explain the operation of MASTER-K120S main unit.
•
The data of the master MASTER-K120S main unit is increased by INCP instruction and sent to be written on the output
contact point P004 of the slave MASTER-K120S main unit. And in return, the master MASTER-K120S main unit reads
the data that is written on the output contact point of the slave MASTER-K120S to write them on the output contact
point of extended digital input/output module, G7E-DR10A.
(1) Setting communication parameter of the master station and its program
①
Work on the master station 0.
②
Open a new project file and a new program for the master station.
③
Double click parameter item for parameter settings. If you click the Comm. button in parameter window in KGLWIN,
you can see the following window of the communication parameter.
MASTER-K120S main unit
(Slave : Station No. 31)
MASTER-K120S main unit
(Master : Station No. 0)
G7E-DR10A
1:1 built-in communication between MASTER-K120S
Содержание MASTER-K 120S Series
Страница 26: ...Chapter 4 Names of Parts 4 3 2 K7M DRT60U 3 K7M DT60U 4 1 2 40 points main unit Standard 1 K7M DR40U ...
Страница 27: ...Chapter 4 Names of Parts 4 4 2 K7M DRT40U 3 K7M DT40U 4 1 3 30 points main unit Standard 1 K7M DR30U ...
Страница 28: ...Chapter 4 Names of Parts 4 5 2 K7M DRT30U 3 K7M DT30U 4 1 4 20 points main unit Standard 1 K7M DR20U ...
Страница 29: ...Chapter 4 Names of Parts 4 6 2 K7M DRT20U 3 K7M DT20U 4 1 5 30 points main unit Economic 1 K7M DR30UE ...
Страница 138: ...Chapter 7 Usage of Various Functions 7 54 c Program ...
Страница 306: ...Appendix 3 External Dimensions App3 2 2 Slim type G7E DC08A G7E RY08A G7F ADHB G7F DA2V G7F RD2A ...