Delta AS Series Programming Manual page 651

Hide thumbs Also See for AS Series:
Table of Contents

Advertisement

AS Ser ies Pro gra mm in g M anu al
API
Instruction code
1207
D
Device
X
S
D
n
Data
type
S
D
n
Symbol
_6
Explanation
1.
This instruction checks the state of the n
2.
The operand n used in the 16-bit instruction must be between 0–15. For 32-bit instructions, n must be between 0–
31.
3.
Only the 32-bit instructions can use the 32-bit counter, but not the device E.
Example
1.
When X0.0 is ON, Y0.1 is ON if the value of the 15
th
the 15
bit in D0 is 0.
2.
When X0.0 switches to OFF, the state of Y0.1 remains the same as before X0.0 switches to OFF.
6 - 3 7 2
BON
P
Y
M
S
T
C
S : Source device
D : Device where the check result is stored
n : Bit whose state is checked
th
Operand
S, D, n
HC
D
FR
SM
Pulse instruction
16-bit instruction
AS
bit in S, and stores the result in D.
th
bit in D0 is one. When X0.0 is ON, Y0.1 is OFF if the value of
Function
Checking the state of a bit
SR
E
K
16#
"$"
32-bit instruction
AS
AS
F

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents