D-39
FX Series PLC User's Manual - Data Communication Edition
Computer Link
6 Control Procedures and Setting Methods
6.3 How to Understand Control Procedure
A
Common Items
B
N:N Network
C
Parallel Link
D
Computer Link
E
Inverter
Communication
F
Non-Protocol
Communication
(RS/RS2 Instruction)
G
Non-Protocol
Communication
(FX
2N
-232IF)
H
Programming
Communication
I
Remote
Maintenance
Apx.
Discontinued
models
6.3 How to Understand Control Procedure
This section explains how to understand the transfer data shown in the later description of each function.
1. When the computer reads data from the PLC (computer ← PLC)
[1] Parts A and C indicate transfer from the computer to the PLC.
[2] Part B indicates transfer from the PLC to the computer.
[3] Create a program in the computer so that each data is transferred in turn from the left to the right, and
that the data is transferred in the order "A → B → C" as a whole.
(Example: In the part A, data is transferred in turn from the right starting from "ENQ".)
2. When the computer writes data to the PLC (computer → PLC)
[1] Part A indicates transfer from the computer to the PLC.
[2] Part B indicates transfer from the PLC to the computer.
[3] Create a program in the computer so that each data is transferred in turn from the left to the right, and
that the data is transferred in the order "A → B" as a whole.
(Example: In the part A, data is transferred in turn from the right starting from "ENQ".)
6.4 Basic Formats of Dedicated Protocol
There are two types of control procedures in dedicated protocols.
CR and LF are not added to each block in format 1. CR and LF are added to each block in format 4.
(The format names are the same as those used in the computer link units for A Series PLCs.)
This section explains the contents of control procedures and the contents of each item specified in the control
procedures in each format.
The basic format of control procedures (protocols) is as shown below:
→ For details, refer to Subsections 6.4.1 and 6.4.2.
*1. Whether or not the sum check code is added can be specified using a parameter.
*2. Whether or not the control code is added can be specified by selecting the protocol type.
Computer side
PLC side
Data
S
T
X
Data
A
C
K
Data
A
C
B
E
N
Q
Computer side
PLC side
Data
Data
A
C
K
A
B
E
N
Q
Control code
Message waiting time
Command
PLC number
Station number
Sum check code
Character
Control code CR LF
*1
*2