Control Flow PLC Link
850
FH/FZ5 Processing Item Function Reference Manual
Timing Chart (Control Flow PLC Link)
To execute a command using a Control Flow PLC Link processing item during a measurement flow, control the
sensor controller paying attention to the timing of the signals from the external device. Refer to the timing chart
below.
Example: The measurement command is executed by PLC L
i
nk, and the processing unit data setting command
is executed by Control Flow PLC Link processing during measurement.
1. Set the command code and command parameters to be executed by the user (PLC). (In the above
e
x
ample, this is the measurement command.)
2. The user (PLC) turns ON the control command
execution signal (EXE
signal).
3. The sensor controller turns ON the processing busy signal (BUSY signal).
4. When the processing unit is executed inside the measurement flow, the sensor controller turns ON the
mea
s
uring command standby signal (XWAIT signal).
5. The user (PLC) sets the command code to be executed during measurement and the command
p
a
rameters, during measurement, and turns ON the measuring command execution signal (XEXE signal).
(In the above example, this is the Set Unit Data command.)
6. The sensor controller turns ON the measuring com
m
and executing signal (XBUSY signal).
7. After setting the command code executed during measurement, the response code, and response data,
the se
nsor controller turns ON the flow command completion signal (XFLG signal), and turns OFF the
measuring command executing signal (XBUSY signal).
8. The user (PLC) turns OFF the flow command execution
signal (XEXE signal
). If the signal does not turn
OFF within the set timeout time, the control flow advances directly to step 14.
9. The sensor controller turns OFF the measuring command completion signal (XFLG signal).
123 Unit judgement in timeout Set/Get
0: NG
1: OK
5000 Wait state clear command Set only
1: Clear the wait state
No. Data name Set/Get Data range
ON
OFF
CMD-CODE
Command code
CMD-FLG
Command execution completion signal
RES-DATA
Response data
CMD-XWAIT
Flow command wait signal
CMD-XEXE
Flow command execution signal
CMD-XBUSY
Flow command busy signal
CMD-XFLG
Flow command completion signal
CMD-CODE
Command code
RES-CODE
Response code
CMD-PARAM
Command parameter
CMD-EXE
Control command execution signal
BUSY
Busy signal
ON
OFF
ON
OFF
ON
OFF
ON
OFF
ON
OFF
ON
OFF
ON
OFF
ON
OFF
ON
OFF
ON
OFF
ON
OFF
151413121110987654321