![Panasonic FP0R Series Скачать руководство пользователя страница 106](http://html.mh-extra.com/html/panasonic/fp0r-series/fp0r-series_user-manual_262684106.webp)
7-22
Explanation of data table
The data table for transmission starts at the data register specified in S.
-
Use an F0 (MV) or F95 (ASC) instruction to write the data to be transmitted to the transmission data
storage area specified in S.
Transmission process
When the execution condition of the F159 (MTRN) instruction turns on and the “transmission done” flag
R9039 is on, operation is as follows:
1. The number of transmission data [N] is preset in the start address of send buffer [S]. The “reception
done” flag R9038 is turned off, and the reception data number is cleared to 0.
2. The set data is transmitted in order from the lower-order byte in S+1 of the table.
-
During transmission, the “transmission done” flag R9039 turns off.
-
If system register 413 is set to header (start code) with STX, the header is automatically added to the
beginning of the data.
-
The terminator (end code) specified in system register 413 is automatically added to the end of the data.
3. When all of the specified quantity of data has been transmitted, the S value is cleared to 0 and the
“transmission done” flag R9039 turns on.
When you do not wish to add the terminator (end code) during transmissions:
-
Specify the number of bytes to be transmitted using a negative number.
-
If you also do not wish to add a terminator to received data, set system register 413 to “Terminator -
None”.
Programming example:
The following program transmits 8 bytes of data without adding the terminator.
Key Point:
-
Do not include the terminator (end code) in the transmission data. The terminator is added
automatically.
-
When “STX exist” is specified for the header (start code) in system register 413, do not add the header
to the transmission data. The header is added automatically.
Содержание FP0R Series
Страница 1: ......
Страница 6: ...iv ...
Страница 14: ...xii ...
Страница 15: ...Chapter 1 Functions and Restrictions of the Unit ...
Страница 24: ...1 10 ...
Страница 25: ...Chapter 2 Specifications and Functions of Control Unit ...
Страница 38: ...2 14 ...
Страница 39: ...Chapter 3 Expansion ...
Страница 45: ...3 7 3 4 Terminal layout diagram Model No Terminal layout diagrams E8RS E8RM E16RS E16RM E8YRS ...
Страница 48: ...3 10 ...
Страница 49: ...Chapter 4 I O Allocation ...
Страница 53: ...Chapter 5 Installation and Wiring ...
Страница 73: ...Chapter 6 Preparation of USB Port ...
Страница 77: ...6 5 5 Click Finish on the following screen to be displayed ...
Страница 79: ...6 7 4 Double click on FP0R 5 Click Update Driver ...
Страница 84: ...6 12 ...
Страница 85: ...Chapter 7 Communication ...
Страница 139: ...7 55 Sample program For Type II Use a program as below to directly specify a MODBUS address ...
Страница 141: ...Chapter 8 High speed Counter Pulse Output and PWM Output Functions ...
Страница 142: ...8 2 ...
Страница 199: ...Chapter 9 Security Functions ...
Страница 211: ...Chapter 10 Other Functions ...
Страница 217: ...Chapter 11 Self Diagnostic and Troubleshooting ...
Страница 227: ...Chapter 12 Precautions During Programming ...
Страница 242: ...12 16 ...
Страница 243: ...Chapter 13 Specifications ...
Страница 254: ...13 12 ...
Страница 255: ...Chapter 14 Dimensions and Others ...
Страница 260: ...14 6 14 1 5 Power Supply Unit Unit mm 14 1 6 I O Link Unit Unit mm 14 1 7 When Using DIN Rail Unit mm ...
Страница 262: ...14 8 ...
Страница 263: ...Chapter 15 Appendix ...
Страница 344: ...15 82 15 7 ASCII Codes ...
Страница 346: ......
Страница 347: ......
Страница 348: ......