Delta AH500 Programming Manual page 192

Hide thumbs Also See for AH500:
Table of Contents

Advertisement

Instruction code
PED/APED/OPED
Device
DX
DY
S
1
S
2
Symbol:
Explanation:
1.
PED/APED/OPED corresponds to LDP/ANDP/ORP. The only difference between
PED/APED/OPED and LDP/ANDP/ORP lies in the fact that users need to specify the bit
device S
in which the previous state of the contact is stored when PED/APED/OPED is
2
executed. Please do not use the device S
execution result will appear.
2.
The instruction APED is used to connect the rising-edge detection of the contact in series.
3.
The instruction OPED is used to connect the rising-edge detection of the contact in parallel.
4.
Only when PED/APED/OPED is scanned can the state of the device be gotten, and not until
PED/APED/OPED is scanned next time can whether the state of the device changes be
judged.
5.
PED/APED/OPED only can be used in the function block.
Example:
1.
The rising-edge detection of X0.0 starts, the rising-edge detection of X0.1 is connected in
series, the rising-edge detection of X0.2 is connected in parallel, and the coil Y0.0 is driven.
2.
When both X0.0 and X0.1 are switched from OFF to ON, or when X0.2 is switched from OFF
to ON, Y0.0 is ON for a scan cycle.
Operand
S
, S
1
2
X
Y
M
SM
: Specified device
PED
S
1
: For internal use
APED
S
2
OPED
repeatedly in the program. Otherwise, the wrong
2
Ch ap te r 5 Bas ic Instruc ti ons
Function
Starting the rising-edge
detection/Connecting the rising
edge-detection in series/Connecting the
rising-edge detection in parallel
S
T
C
HC
Bit
Bit
D
L
PR
5 - 1 3

Advertisement

Table of Contents
loading

Table of Contents