Delta DVP-ES3 — 6.18.2 Explanation of Peripheral Instructions

DVP-ES3 Series Programming Manual Example 1. The ten external inputs starting from X0 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 3 2 4 5 6 7 8 9 24VDC Note: The digital input module is used in this example. 0 1 2 3 4 5 6 7 8 9 Numeric keys Binary-coded decimal value One-digit binary-coded decimal code _6 Overflowing 10 3 10 2 10 1 10 0 Binary-coded decimal value Binary value D0 2. If the keys connected to X5, X3, X0, and X1 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 X2 is pressed and before other keys are pressed, M12 is ON. The same applies to the other keys. 4. When a key connected to the input within the range between X0~X7 and X10~X11 is pressed, the corresponding output within the range between M10 and M19 is ON. 5. When one of the keys is pressed, M20 is ON. 6-510 2 X0 X1 X2 X3 X4 X5 X6 X7 X10 X11 S/S