3 Functions of Devices in DVP-PM M1002 Function Group: Communication Response Delay Number: D1038 Explanations: Data response delay time can be set when DVP-PM used as Slave in COM2 RS-485 communication. Unit: 10ms. 0~3,000 (0~30 sec) adjustable. Set value should be smaller than the value in D1000. If the set value is out of the valid range, D1038 will be set as 0. Function Group: Fixed Scan Time Number: M1039, D1039 Explanations: 1. When M1039 is ON, program scan time is determined by D1039. When program execution is completed, next scan will be activated only when the fixed scan time is reached. If D1039 is less than actual scan time, it will scan by the actual program scan time.
M1000 Scan time is fixed to 20ms 2. The fixed scan time will also be stored in D1010 ~ D1012. Function Group: Setting up the No. of OX Subroutine Number: M1074, D1868 Explanations: D1868 designates the No. of OX subroutine to be executed, please refer to the following example for the setting steps. 1. Set b14 or b15 of D1868 to be “1”, or b14 = b15 = 1 (only one of the three conditions to be met). In addition, write K99 (= H’63) into b0 ~ b13 of D1868, i.e. set OX as OX99. To conclude, we write H’8063 into D1868. 2. After step 1 is finished, set up M1074, and the OX program designated by D1868 will be enabled. 3. Program example:
DVP-PM Application Manual 3-39 MOV H87 D1120 SET M1120 SET M1143 M1039 Fix scan time MOV P K20 D1039 MOV P K20 D1039