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
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...