
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.
Summary of Contents for MEWNET-F
Page 9: ...Chapter 1 Functions and Restrictions of the Unit ...
Page 19: ...Chapter 2 Part Names and Functions ...
Page 40: ...2 22 ...
Page 41: ...Chapter 3 Unit Specifications ...
Page 52: ...3 12 ...
Page 53: ...Chapter 4 Installation and Wiring ...
Page 62: ...4 10 ...
Page 63: ...Chapter 5 Connection for the Remote I O System ...
Page 75: ...Chapter 6 Remote I O Map ...
Page 84: ...6 10 ...
Page 85: ...Chapter 7 Operation Modes for Controlling MEWNET F ...
Page 97: ...Chapter 8 Control by MEWNET F ...
Page 108: ...8 12 Flowchart ...
Page 110: ...8 14 ...
Page 111: ...Chapter 9 Troubleshooting ...
Page 120: ...9 10 ...
Page 121: ...9 11 9 5 2 When the ALARM LED is ON ...
Page 122: ...9 12 9 5 3 When the Communication LED on the Master Unit does Not Flash Normally ...
Page 123: ...9 13 When the COMM LED is OFF ...
Page 124: ...9 14 When the COMM LED is ON ...
Page 125: ...9 15 9 5 4 When the Communication LED on a Slave Station does Not Flash Normally ...
Page 126: ...9 16 When the COMM LED is OFF ...
Page 127: ...9 17 When the COMM LED is ON ...
Page 128: ...9 18 9 5 5 When the CPU does Not Operate ...
Page 129: ...9 19 9 5 6 When the Input Output Function of a Slave Station does Not Work ...
Page 130: ...9 20 9 5 7 When the Memory Access Function for the Advanced Unit s Memory does Not Work ...
Page 134: ...9 24 ...
Page 135: ...Chapter 10 Dimensions ...
Page 136: ...10 2 10 1 FP2 Multi wire Link Unit AFP2720 10 2 FP3 Remote I O Master Unit AFP3742 ...
Page 137: ...10 3 10 3 FP2 Remote I OSlave Unit AFP2745 10 4 FP3 Remote I OSlave Unit AFP3745 ...
Page 141: ...10 7 10 8 FP0 I O Link Unit AFP0732 ...
Page 142: ...10 8 ...
Page 143: ...Chapter 11 Appendix 1 I O Link With FP1 ...
Page 147: ...11 5 11 3 Part Names and Functions ...
Page 159: ...Chapter 12 Appendix 2 I O Link With FP0 ...
Page 164: ...12 6 ...
Page 166: ......
Page 167: ......
Page 168: ...FAF 35E 1 200803 http www mew co jp ac e fasys 2008 ...