Delta plc and encoder connection

Delta’s EH series PLC has a set of high-speed counter inputs, X0, X1, X2, X3.

Use C251 two-phase two inputs X1=A, X2=B,
At C252, X0=A, X1=B, X2=R
X253=A, X1=B, X2=R, X3=S at C253
A=A phase, B=B phase, R=reset, S=start
Just connect the line and write the counter program directly.

X10 is reset and X11 is active. (X0, X1 need not be connected after the encoder is connected, the program does not need to write these two components)

K5 is the set value. If you need dynamic setting, use register D– instead, set D– on the touch screen to modify or add a program to change D–value in PLC.

If you want to set the actual speed, distance, number of turns, etc., use the arithmetic program to change the D value.

For example, if the C251 value is 100 when the machine is turned one turn, you need to set the rotation of 20 turns to drive the Y0 output. Then add an arithmetic program:

LD M1000 “System Operation Instructions”

MUL K100 D200 D210 “Multiplication”

LDP X12 “Upgrade button”

INC D200 “Register plus 1 instruction”

LDP X13 “down button”

DEC D200 “Register minus 1 instruction”

D200 is the number of turns you set, D210 replaces the above K5 (the setting value of high-speed counter C251), X12 external button is adjusted once every turn, and X13 external button is pressed once to adjust one turn.

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.