Mitsubishi — Chapter 8 Application Instructions API 100-149

8 Application Instructions API 100-149 API 146 Operands: S 1 : Target time of valve (absolute position) S 2 : Time from fully-closed to fully-open of valve (destination) D : Output device Explanations: 1. S 1 occupies 3 consecutive registers when in use. S 1 + 0 are for the user to store the designated value; S 1 + 1 (the current position of the valve) and S 1 + 2 are for storing the parameters recorded in the instruction and please DO NOT use and alter these two registers. 2. D occupies 2 consecutive output devices when in use. D + 0 is the “open” contact and D + 1 is the “close” contact. 3. This instruction only supports EH2/SV/EH3/SV2 and does not support EH. 4. The unit of time:

0.1 second. When the scan time of the program exceeds 0.1 second, DO NOT use this instruction to adjust the position of the valve. 5. Frequency of the output device: 10Hz. 6. When the time of S 1 + 0 > the fully-opened time set in S 2 , D + 0 will keep being On and D + 1 being Off. When the time of S 1 + 0 < 0, D + 0 will keep being Off and D + 1 being On. 7. When the instruction is enabled, the instruction will start to control the valve from “0” time position. Therefore, if less than 0 and execute the instruction for S 2 (time) before sending in the correct target control time.

the user cannot be sure whether the valve is at “0” before executing the instruction, please designate S 1 + 0 as Program Example 1: 1. The control valve Y0 Y1 DVP-PLC Application Manual 8-67 Mnemoni c Operands Function CVM Valve Control Type OP Bit Devices Word Devices Program Steps X Y M S K H KnX KnY KnM KnS T C D E F CVM: 7 steps S 1 * S 2 * * * D * * * PULSE 16-bit 32-bit ES EX SA SX SC EH SV EH3 SV2 ES EX SS SA SX SC EH3 ES EX SS SA SX SC EH SV EH3 SV2 SS EH SV SV2 Fully-closed Fully-open