Delta AS Series Programming Manual page 587

Hide thumbs Also See for AS Series:
Table of Contents

Advertisement

AS Ser ies Pro gra mm in g M anu al
API
Instruction
1015
Device
X
XnoA
XnoB
PhaseT
Exe
Data
type
XnoA
XnoB
PhaseT
Exe
Symbol
_6
Explanation
1.
This instruction is available for FW V1.06.10 or later.
2.
You can only use the CPU built-in input points from X0.0 to X0.11 fro XnoA and XnoB. And the number of the input
points can NOT be duplicated. When the input points used are not from X0.0 to X0.11 or the number of the input
points are duplicated, the instruction is not executed. And SM0 will be switched to ON. Error code SR0: 16#2003.
3.
When XnoA is rising-edge triggered, the timer starts timing immediately, not affected by the PLC scan cycle. When
XnoB is rising-edge triggered, the timer stops timing immediately, not affected by the PLC scan cycle. And the time
that is timed (unit: 1 us) will be stored in PhaseT, when this instruction is scanned by the PLC.
4.
When the timer starts and this instruction is scanned to execute, the Exe flag will be ON. When the timer stops and
this instruction is scanned to execute, the Exe flag will be OFF.
5.
Whenever this instruction is firstly activated, its initial action is to clear the value in PhaseT and set the Exe flag to
OFF.
6.
XnoA is always timed before XnoB. Even if XnoB is rising-edge triggered before XnoA is triggered. If you need
XnoB to be timed before XnoA, you need to re-define XnoA, XnoB and the input points in them.
7.
There is no limit to the number of times the instruction can be executed. And to use the same number of input points
is also no problem. But since PLC uses the number of input point for XnoA as the number of the internal timer. It is
NOT suggested to use two identical numbers of the input point for XnoA at the same time. Or the system will get
confused. And the timing result from the timer will be messed up.
6 - 3 0 8
PPDT
Y
M
S
T
C
: Phase A input
XnoA
: Phase B input
XnoB
Phase T : Time differences between two phases (32-bit integer)
: Timing flag
Exe
Operand
HCno ~ CurNo
HC
D
FR
SM
SR
Pulse Instruction
Description
Detecting the time difference between two
phases
E
K
16#
16-bit instruction
32-bit instruction
AS
"$"
F

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents