17.03.2014 Views

DVP-ES2-EX2-SS2-SA2-SX2-Operation Manual

DVP-ES2-EX2-SS2-SA2-SX2-Operation Manual

DVP-ES2-EX2-SS2-SA2-SX2-Operation Manual

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

2. Programming Concepts<br />

Note:<br />

1. The modified communication format will not be changed when PLC state turns from RUN to<br />

STOP.<br />

2. If the PLC is powered OFF then ON again in STOP status, the modified communication<br />

format on COM1~COM3 will be reset to default communication format (9600, 7, E, 1).<br />

Function Group<br />

Number<br />

Contents:<br />

Enable SPD function<br />

M1037, D1037<br />

1. M1037 and D1037 can be used to enable 8 sets of SPD instructions. When M1037 is ON, 8<br />

sets of SPD instructions will be enabled. When M1037 is OFF, the function will be disabled.<br />

2. The detected speed will be stored in the registers designated by D1037, e.g. if D1037 = K100,<br />

the user has to set up the value in D100, indicating the interval for capturing the speed value<br />

(unit: ms). In addition, the captured speed value will be stored in D101 ~ D108 in order.<br />

※ When the function is enabled, C235~C242 will be occupied and unavailable in PLC<br />

execution process program.<br />

M1002<br />

ZRST C235 C242<br />

MOV K100 D1037<br />

MOV K1000 D100<br />

M1<br />

M1000<br />

M1000<br />

M1000<br />

M1000<br />

PLSY<br />

PLSY<br />

PLSY<br />

PLSY<br />

M1037<br />

K10000 K0 Y0<br />

K9000 K0 Y1<br />

K8000 K0 Y2<br />

K7000 K0 Y3<br />

END<br />

Function Group<br />

Number<br />

Contents:<br />

Communication Response Delay<br />

D1038<br />

1. Data response delay time can be set when PLC is a Slave in COM2, COM3 RS-485<br />

communication. Unit: 0.1ms. 0~10,000 adjustable.<br />

2-65

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!