FP
Σ
Communication Function 2 General-purpose Serial Communication
9 - 4
Outline of operation
To send data to and receive it from an external device using the general-purpose serial
communication function, the “Data transmission” and “Data reception” functions
described below are used. The
F159 (MTRN)
instruction and the “Reception done” flag
are used in these operations, to transfer data between the FP
Σ
and an external device.
Data transmission
Data to be output is stored in the data register used as the transmission buffer (DT), and
when the
F159 (MTRN)
instruction is executed, the data is output from the COM. port.
Data writing
Device with
RS232C port
Data register (DT)
FP
Σ
Data transmission using
F159(MTRN)
instruction
The end code specified by the system register is
automatically added to the data that has been
sent.
The maximum volume of data that can be sent is
2,048 bytes.
Figure 163: FP
Σ
Data transmission
Data reception
Input data from the COM. port is stored in the received buffer specified by the system
register, and the “Reception done” flag goes on. Data can be received whenever the
“Reception done” flag is off.
FP
Σ
Data register (DT)
Reception done
flag: on
Data receiving
Device with
RS232C port
When data is received, the “Reception done” flag
is controlled by the
F159 (MTRN)
instruction.
No end code is included in the stored data.
The maximum volume of data that can be received
is 4,096 bytes.
Figure 164: FP
Σ
Data reception
Содержание 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...