FP
Σ
9.4 Data Transmitted and Received with the FP
Σ
9 - 29
9.4
Data Transmitted and Received with the FP
Σ
The following four points should be kept in mind when accessing data in the FP
Σ
transmission and received buffers.
- Data in the transmission and received buffers, that is being sent and received, is in ASCII code.
- If the transmission format settings indicate that a start code will be used, the code STX (H02)
will automatically be added at the beginning of the data being sent.
- An end code is automatically added to the end of the data being sent.
- There is no end code on the data stored in the received buffer.
When sending data:
Data written to the transmission buffer will be sent just as it is.
Example:
When the data “12345” is transmitted as an ASCII code to a
device with RS232C port.
Data sent using the F95 (ASC) instruction should be converted
to ASCII code data.
Conversion of ASCII code
“ 1 2 3 4 5 ”
(Data to be transmitted)
Conversion of ASCII code
(1) (2) (3) (4) (5)
H 31 32 33 34 35
(Coded data)
Figure 193: FP
Σ
Conversion of ASCII code
If DT100 is being used as the transmission 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 byte and lower byte.
DT103
DT102
DT101
Upper byte
H35
H34
H33
H32
H31
(5)
(4)
(3)
(2)
(1)
Lower byte Upper byte Lower byte Upper byte Lower byte
Figure 194: FP
Σ
Example (transmission buffer)
Содержание FP Series
Страница 15: ...FP Functions and Restrictions of the Unit 1 2...
Страница 25: ...FP Specifications and Functions of Control Unit 2 2...
Страница 37: ...FP Expansion 3 2...
Страница 44: ...Chapter 4 I O Allocation 4 1 I O Allocation 4 3...
Страница 45: ...FP I O Allocation 4 2...
Страница 51: ...FP Installation and Wiring 5 2...
Страница 77: ...FP High speed Counter and Pulse Output Functions 6 2...
Страница 133: ...FP High speed Counter and Pulse Output Functions 6 58...
Страница 135: ...FP Communication Cassette 7 2...
Страница 147: ...FP Communication Function 1 Computer Link 8 2...
Страница 169: ...FP Communication Function 2 General purpose Serial Communication 9 2...
Страница 205: ...FP Communication Function 2 General purpose Serial Communication 9 38...
Страница 207: ...FP Communication Function 3 PLC Link Function 10 2...
Страница 232: ...Chapter 11 Other Functions 11 1 Analog Potentiometer 11 3 11 2 Clock Calendar Function 11 4...
Страница 233: ...FP Other Functions 11 2...
Страница 238: ...Chapter 12 Self Diagnostic and Troubleshooting 12 1 Self Diagnostic Function 12 3 12 2 Troubleshooting 12 5...
Страница 239: ...FP Self Diagnostic and Troubleshooting 12 2...
Страница 249: ...FP Self Diagnostic and Troubleshooting 12 12...
Страница 251: ...FP Specifications 13 2...
Страница 323: ...Index FP I 4...
Страница 325: ...FP Record of changes R 2...