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)
Summary of Contents for FP Series
Page 15: ...FP Functions and Restrictions of the Unit 1 2...
Page 25: ...FP Specifications and Functions of Control Unit 2 2...
Page 37: ...FP Expansion 3 2...
Page 44: ...Chapter 4 I O Allocation 4 1 I O Allocation 4 3...
Page 45: ...FP I O Allocation 4 2...
Page 51: ...FP Installation and Wiring 5 2...
Page 77: ...FP High speed Counter and Pulse Output Functions 6 2...
Page 133: ...FP High speed Counter and Pulse Output Functions 6 58...
Page 135: ...FP Communication Cassette 7 2...
Page 147: ...FP Communication Function 1 Computer Link 8 2...
Page 169: ...FP Communication Function 2 General purpose Serial Communication 9 2...
Page 205: ...FP Communication Function 2 General purpose Serial Communication 9 38...
Page 207: ...FP Communication Function 3 PLC Link Function 10 2...
Page 232: ...Chapter 11 Other Functions 11 1 Analog Potentiometer 11 3 11 2 Clock Calendar Function 11 4...
Page 233: ...FP Other Functions 11 2...
Page 239: ...FP Self Diagnostic and Troubleshooting 12 2...
Page 249: ...FP Self Diagnostic and Troubleshooting 12 12...
Page 251: ...FP Specifications 13 2...
Page 323: ...Index FP I 4...
Page 325: ...FP Record of changes R 2...