7-44
Data to be sent/received with FP
Σ
Remember the following when accessing data in the FP
Σ
send and receive buffers:
•
If a header has been chosen in the communication format settings, the code STX (H02) will
automatically be added at the beginning of the data begin sent.
•
The data without the Code STX at the reception is stored in the receive buffer, and the “reception
done” flag turns on when the terminator (end code) is received.
However, if the code STX is added in the middle of the data, the number of received byte is cleared to
0, and the data is stored from the beginning of the receive buffer.
•
A terminator is automatically added to the end of the data being sent.
•
There is no terminator on the data stored in the receive buffer.
Sending data:
Data written to the send buffer will be sent just as it is.
Example:
The data “12345” is transmitted as an ASCII code to a device with RS232C port.
1. Data sent using the F95 (ASC) instruction should be converted to ASCII code data.
2. If DT100 is being used as the send buffer, data will be stored in sequential order in the data registers
starting from the next register (DT101), in two-byte units consisting of the upper and the lower byte.
Receiving data:
The data of the receive area being read is ASCII code data.
Example:
The data “12345
C
R
” is transmitted from a device with RS232C port.
•
If DT200 is being used as the receive buffer, received data will be stored in the registers starting from
DT201, in sequential order of first the lower byte and then the upper byte.
Содержание FP E Series
Страница 1: ......
Страница 16: ......
Страница 17: ...Chapter 1 Functions and Restrictions of the Unit ...
Страница 28: ...1 12 ...
Страница 29: ...Chapter 2 Specifications and Functions of the Unit ...
Страница 37: ...2 9 Circuit diagram C32 Y0 Y1 Y3 Y4 C28 Y0 Y1 Y3 Y4 Y2 Y5 to YF Y2 Y5 to YB ...
Страница 48: ...2 20 ...
Страница 49: ...Chapter 3 Expansion ...
Страница 56: ...3 8 Terminal layout diagram Note The numbers in the connector are for the first expansion ...
Страница 61: ...Chapter 4 I O Allocation ...
Страница 66: ...4 6 ...
Страница 67: ...Chapter 5 Installation and Wiring ...
Страница 90: ...5 24 ...
Страница 91: ...Chapter 6 High speed counter Pulse Output and PWM Output functions ...
Страница 116: ...6 26 ...
Страница 121: ...6 31 ...
Страница 125: ...6 35 Pulse output diagram ...
Страница 131: ...6 41 ...
Страница 139: ...6 49 ...
Страница 141: ...6 51 ...
Страница 144: ...6 54 Program Continued on the next page ...
Страница 145: ...6 55 ...
Страница 147: ...6 57 Program ...
Страница 151: ...Chapter 7 Communication Cassette ...
Страница 202: ...7 52 Procedure of communication In the following example the Micro Imagechecker is connected to COM1 port ...
Страница 210: ...7 60 The values of DT50 and DT51 are written in DT0 and 1 of PLC ...
Страница 238: ...7 88 ...
Страница 239: ...Chapter 8 Self Diagnostic and Troubleshooting ...
Страница 247: ......
Страница 248: ......
Страница 249: ...Chapter 9 Precautions During Programming ...
Страница 260: ...9 12 Example 2 Using the CT instruction between JP and LBL instructions ...
Страница 268: ...9 20 ...
Страница 269: ...Chapter10 Specifications ...
Страница 286: ......
Страница 287: ...Chapter 11 Dimensions ...
Страница 290: ...11 4 11 1 3 Expansion Unit FPG XY64D2T FPG XY64D2P FPG EM1 ...
Страница 293: ...Chapter 12 Appendix ...
Страница 297: ...12 5 ...
Страница 437: ...12 145 12 7 ASCII Codes ...
Страница 439: ......
Страница 440: ......