FP
Σ
User's Manual
8.6 Program Controlled Communication
203
When sending data, operation is as follows:
F159_MTRN is executed to send data to the external device. When F159_MTRN is executed:
1. The "transmission done" flag turns to FALSE.
2. The start code is sent automatically.
3. The number of bytes to be sent is set in offset 0 of the send buffer.
4. The characters a and b are sent to the external device.
- The end code is automatically added to the data sent.
- While F159_MTRN
is being executed, no data can be received. (The
"transmission done" flag is FALSE.)
5. When the specified number of bytes has been sent, the "transmission done" flag turns
to TRUE.
6. Now, F159_MTRN can be executed again. When F159_MTRN is executed:
- Steps 1 to 5 are repeated. This time, the characters c, d, and e are sent.
8.6.6 1:1
Communication
This section describes 1:1 program controlled communication in which the FP
Σ
acts as a
master. The examples below contain the wiring diagrams for the connection to a Micro-
Imagechecker and to another FP series PLC.
System register settings
By default, the COM port is set to MEWTOCOL-COM mode. For 1:1 program controlled
communication, the system registers should be set as shown below.
•
Settings for TOOL port
No.
Name
Set value
412
TOOL port - communication mode
Program controlled
413
TOOL port - communication format
Data length:
7 bits/8 bits
Parity:
None/Odd/Even
Stop bit:
1 bit/2 bits
End code:
CR/CR+LF/None/ETX
Start code:
No STX/STX
415
TOOL port - baud rate
2400–115200bit/s
420
TOOL port - receive buffer starting address
0–32762 (initial value: 0)
421
TOOL port - receive buffer capacity
0–2048 words (initial value: 0 words)
Содержание FPS Series
Страница 7: ......
Страница 17: ......
Страница 18: ...Chapter 1 Safety Measures...
Страница 21: ......
Страница 22: ...Chapter 2 Overview...
Страница 32: ...Chapter 3 CPU Types...
Страница 47: ...CPU Types FP User s Manual 30 LD Body...
Страница 51: ...CPU Types FP User s Manual 34 POU Header and LD Body...
Страница 55: ...CPU Types FP User s Manual 38 LD Body...
Страница 57: ......
Страница 58: ...Chapter 4 Expansion...
Страница 73: ......
Страница 74: ...Chapter 5 I O Allocation...
Страница 81: ......
Страница 82: ...Chapter 6 Installation and Wiring...
Страница 104: ...FP User s Manual 6 4 Input and Output Wiring 87 A FP 1 Output terminal 2 Load 3 Inductor COM 2 1 3...
Страница 115: ......
Страница 116: ...Chapter 7 High Speed Counter and Pulse Output...
Страница 169: ......
Страница 170: ...Chapter 8 Communication...
Страница 227: ...Communication FP User s Manual 210 LD Body ST Body...
Страница 233: ...Communication FP User s Manual 216 POU Header LD Body...
Страница 236: ...FP User s Manual 8 6 Program Controlled Communication 219 POU Header LD Body 1 2...
Страница 237: ...Communication FP User s Manual 220 2 2 ST Body...
Страница 266: ...Chapter 9 Security Functions...
Страница 273: ......
Страница 274: ...Chapter 10 Other Functions...
Страница 277: ......
Страница 278: ...Chapter 11 Troubleshooting...
Страница 289: ......
Страница 290: ...Chapter 12 Appendix...