FP
Σ
Communication Function 1 Computer Link
8 - 4
8.1.2
Explanation of Operation when Using a Computer Link
Command and Response
Instructions pertaining to the PLC are called “commands”. These should be issued by
the computer, to the PLC.
Messages sent back to the computer from the PLC are called “responses”. When the
PLC receives a command, it processes the command regardless of the sequence
program, and sends a response back to the computer. The computer uses the response
to confirm the results of the command being executed.
MEWTOCOL-COM sketch
Communication is carried out in a conversational format, based on the MEWTOCOL-
COM communication procedures.
Data is sent in ASCII format.
The computer has the first right of transmission.
The right of transmission shifts back and forth between the computer and PLC each
time a message is sent.
4
The unit number of the PLC that
sent the response
5
Confirmation of whether or not the
processing was carried out suc-
cessfully
6
The type of command processed
7
If the command was used to read
data, the data that was read
8
If an error occurred and the com-
mand could not be processed suc-
cessfully, the content of the error
Command messages sent from
the PLC should contain the follow-
ing content:
Command messages should
contain the following content
when sent:
1
The unit number of the PLC
to which the command is
being sent
2
The type of command
3
Any settings and data re-
quired in order to execute
the command
Computer
Start
code
Command message
Destina-
tion
1
Text
2 3
Check
code
End
code
Transmission program
Reception processing program
The command and data are
sent to the PLC with the
specified unit number.
A response is returned, and proc-
essing is carried out based on the
content of the response, such as
retrieving any data that was sent.
Start
code
Source
4
Text
5 6 7 8
Check
code
End
code
Response message
FP
Σ
Figure 141: FP
Σ
MEWTOCOL-COM
Содержание 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...