
6.6 Latch Function
6.6.1 Continuous Latch by LT_REQ2 Bit
6
Function/Command Related Parameter
s
6-15
Latch Status
Latch completion can be confirmed by the following status.
[SVCMD_STAT]
L_CMP2: L_CMP2 is set to "1" for one communication cycle every time the external signal is
input.
[EX_STATUS] EX_STATUS is allocated to OMN1 (Pn824) or OMN2 (Pn825).
(Pn824 = 84h or Pn825 = 84h)
L_SEQ_NO (D8-D11):The latch sequence signal number (
≤
n) on completion of latching of the
current position
(Added on completion of position latching)
L_CMP_CNT (D0-D7): The continuous latch count (
≤
m)
(Added on completion of position latching when the latch sequence sig-
nal n is input.)
Latched Position Data
The latest latched position data at completion of latching can be obtained by using the follow-
ing monitor.
The previously latched position data can be obtained by using the following optional monitors.
Operation Example
An example of a continuous latch operation using two latch sequence signals EXT1 and EXT2
is illustrated below.
(The parameters are set as follows: Pn850 = 2, Pn851 = 2 or more, Pn852 = 0021h, Pn853 =
any)
Name
Code
Remark
Feedback Latch Position
LPOS2
The latest latch signal input position
Name
Code
Remark
Optional Monitor 1
OMN1
Pn824 = 81h:
Previous latch (sequence) signal 2 input position (LPOS2)
Optional Monitor 2
OMN2
Pn825 = 81h:
Previous latch (sequence) signal 2 input position (LPOS2)
L_
S
EQ_NO
(EX_
S
TATU
S
)
L_CMP_CNT
(EX_
S
TATU
S
)
L_CMP2
(
S
TATU
S
)
LPO
S
2
(Monitor)
0
1
2
0
0
1
2
1
2
0
LT_REQ2 = 1
LT_REQ2 = 0
Communication
cycle
EXT1 input
s
ignal
EXT2 input
s
ignal
Time from LT_REQ2 = 1
reception to latch
operation
s
tart: 250
μ
s
Interval between
latch
s
ignal
s
: 500
μ
s
min.