
8-11
Example 2: Memory access with handshaking
Use a serial data unit to perform a self-looping communication via the RS232C interface "CH1".
The unit performs handshaking using the input "X" contacts and output "Y" contacts for data
communication.
1) Sending the data stored in DT100 to DT114 (15 words) of the CPU via CH1 of the serial data unit
installed on slave station.
2) Data sent from CH1 will be received at the same CH1 of serial data unit.
3) Read teh ata received at the CH1, and the data will be stored in the DT200 to DT214 of the CPU.
Program the above operaiton.
When programming, note the following.
1. Be sure to examine the program for memory access instructions so that the control transfers to the
next access only while R9035 is ON.
2. When you use a serial data unit on the [MEWNET-F], be sure to create the program taking the
ON/OFF timing of the control relays (X or Y) into considerations.
(Example) Program for performing handshaking smoothly
There are some differences in the operations between the normal memory access instruction F150/F151
and the memory access instruction F152/F153 for the advanced unit on a slave station.When executing
the memory access instructions F152 or F153, not the following:
Operation of F150/F151
When an F150 or F151 instruction is executed, the CPU access to the advanced unit is performed at the
moment that the instruction is executed. With this operation, the serial data unit's handshaking control
can be performed with programming the control relays (X or Y) at the higher step address.
Operation of F152/F153
When an F152 or F153 instruction is executed, the CPU access to the master unit is performed at teh
moement. However, the data transfer between the master unit and the advanced unit are performed
after the End instruction.While this operation, the serial data unit's handshaking control should be
performed after the special relay R9035turns ON.
3. Since two or more F152/F153 instructions can not be performed at one time, the program should be
created not to execute two or more F152/F153 instructions at a time with using the special relay R9035
and step laddar instructions.
Содержание MEWNET-F
Страница 9: ...Chapter 1 Functions and Restrictions of the Unit ...
Страница 19: ...Chapter 2 Part Names and Functions ...
Страница 40: ...2 22 ...
Страница 41: ...Chapter 3 Unit Specifications ...
Страница 52: ...3 12 ...
Страница 53: ...Chapter 4 Installation and Wiring ...
Страница 62: ...4 10 ...
Страница 63: ...Chapter 5 Connection for the Remote I O System ...
Страница 75: ...Chapter 6 Remote I O Map ...
Страница 84: ...6 10 ...
Страница 85: ...Chapter 7 Operation Modes for Controlling MEWNET F ...
Страница 97: ...Chapter 8 Control by MEWNET F ...
Страница 108: ...8 12 Flowchart ...
Страница 110: ...8 14 ...
Страница 111: ...Chapter 9 Troubleshooting ...
Страница 120: ...9 10 ...
Страница 121: ...9 11 9 5 2 When the ALARM LED is ON ...
Страница 122: ...9 12 9 5 3 When the Communication LED on the Master Unit does Not Flash Normally ...
Страница 123: ...9 13 When the COMM LED is OFF ...
Страница 124: ...9 14 When the COMM LED is ON ...
Страница 125: ...9 15 9 5 4 When the Communication LED on a Slave Station does Not Flash Normally ...
Страница 126: ...9 16 When the COMM LED is OFF ...
Страница 127: ...9 17 When the COMM LED is ON ...
Страница 128: ...9 18 9 5 5 When the CPU does Not Operate ...
Страница 129: ...9 19 9 5 6 When the Input Output Function of a Slave Station does Not Work ...
Страница 130: ...9 20 9 5 7 When the Memory Access Function for the Advanced Unit s Memory does Not Work ...
Страница 134: ...9 24 ...
Страница 135: ...Chapter 10 Dimensions ...
Страница 136: ...10 2 10 1 FP2 Multi wire Link Unit AFP2720 10 2 FP3 Remote I O Master Unit AFP3742 ...
Страница 137: ...10 3 10 3 FP2 Remote I OSlave Unit AFP2745 10 4 FP3 Remote I OSlave Unit AFP3745 ...
Страница 141: ...10 7 10 8 FP0 I O Link Unit AFP0732 ...
Страница 142: ...10 8 ...
Страница 143: ...Chapter 11 Appendix 1 I O Link With FP1 ...
Страница 147: ...11 5 11 3 Part Names and Functions ...
Страница 159: ...Chapter 12 Appendix 2 I O Link With FP0 ...
Страница 164: ...12 6 ...
Страница 165: ...Record of changes Manual No Date Desceiption of changes FAF 35E 1 Mar 2008 First edition ACG M0028 1 FAF 35 13 ...
Страница 166: ......
Страница 167: ......
Страница 168: ...FAF 35E 1 200803 http www mew co jp ac e fasys 2008 ...