Delta AS Series Programming Manual page 895

Hide thumbs Also See for AS Series:
Table of Contents

Advertisement

AS Ser ies Pro gra mm in g M anu al
Example
1.
The ten external inputs starting from X0.0 are connected to ten keys that represent 0–9 in the decimal system.
When M0 is ON, the instruction stores the value that you enter as a binary value in D0, and stores the output
signals in M10–M19.
0
1
X0.0
X0.1
Note: The digital input module AH16AM10N-5A is used in this example.
_6
Ov erflowi ng
2.
If the keys connected to X0.5, X0.3, X0.0, and X0.1 are pressed in the order shown in the timing chart, the
instruction stores the result 5,301 in D0. The maximum value that can be stored in D0 is 9,999. If the value
exceeds four digits, the first digit from the left overflows.
3.
After the key connected to the X0.2 is pressed and before other keys are pressed, M12 is ON. The same applies to
the other keys.
6 - 6 1 6
2
3
4
5
X0.3
X0.4
X0.5
X0.2
0
1
2
3
4
5
6
7
8
Binary -coded
decimal value
3
2
1
0
10
10
10
10
Binary -coded
decimal value
Binary
D0
value
6
7
8
9
X0.6
X0.7
X0.8
X0.9
Numeric keys
9
One- di gi t binary- coded
decimal code
24VDC
S/S

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents