2. Programming Concepts

Note:

1.The modified communication format will not be changed when PLC state turns from RUN to STOP.

2.If the PLC is powered OFF then ON again in STOP status, the modified communication format on COM1~COM3 will be reset to default communication format (9600, 7, E, 1).

Function Group Enable SPD function

Number

M1037, D1037

Contents:

 

1.M1037 and D1037 can be used to enable 8 sets of SPD instructions. When M1037 is ON, 8 sets of SPD instructions will be enabled. When M1037 is OFF, the function will be disabled.

2.The detected speed will be stored in the registers designated by D1037, e.g. if D1037 = K100, the user has to set up the value in D100, indicating the interval for capturing the speed value (unit: ms). In addition, the captured speed value will be stored in D101 ~ D108 in order.

When the function is enabled, C235~C242 will be occupied and unavailable in PLC execution process program.

M1002

M1

M1000

M1000

M1000

M1000

 

 

ZRST

C235

C242

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

MOV

K100

D1037

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

MOV

K1000

D100

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

M1037

 

 

 

 

 

 

 

 

 

 

 

PLSY

K10000

K0

Y0

 

 

 

 

 

 

 

 

 

 

 

PLSY

K9000

K0

Y1

 

 

 

 

 

 

 

 

 

 

 

PLSY

K8000

K0

Y2

 

 

 

 

 

 

 

 

 

 

 

PLSY

K7000

K0

Y3

 

 

 

 

 

 

 

 

 

 

 

 

 

 

END

 

 

 

 

 

 

Function Group Communication Response Delay

Number D1038

Contents:

1.Data response delay time can be set when PLC is a Slave in COM2, COM3 RS-485 communication. Unit: 0.1ms. 0~10,000 adjustable.

2 - 6 5

Page 97
Image 97
Delta DVP-ES2/EX2/SS2/SA2/SX2/SE manual Number M1037, D1037 Contents, Number D1038 Contents