DVP-ES3 Series Programming Manual Function keys: When A is pressed, M0 stays ON. When D is pressed, M0 switches OFF, and M3 stays ON. If several function keys are pressed, the key which is pressed first has priority. F E D C B A 2. Output signals: When a key within the range between A and F is pressed, M6 is ON. When a key within the range between 0 and 9 is pressed, M7 is ON. 3. When the conditional contact M10 switches to OFF, the value that was stored in D0 is unchanged. However, M0–M7 are switched OFF. 4. The external wiring: _6 Note: The transistor output m odule is used in this example. Additional remarks 1.
When this instruction is executed, a too long or a too short scan cycle time will cause the state of the switches to be read incorrectly. Use the following tips to solve the issue. When the scan cycle is too short, the I/O may not be able to respond in time and cannot read the correct states of the inputs. You can set a fixed scan time to solve this issue. When the scan cycle is too long, the switch may become slow to react. You can write this instruction to a timer interrupt task to set a fixed time to execute this instruction. 2. If you declare the operand S in ISPSoft, the data type is ARRAY [4] of BOOL. 3. If you declare the operand D1 in ISPSoft, the data type is ARRAY [4] of BOOL.
4. If you declare the operand D3 in ISPSoft, the data type is ARRAY [8] of BOOL. 6-514 M5 M4 M3 M2 M1 M0 F B 7 3 24VDC + B 7 3 7 3 3 X0 X1 X2 X3 S /S Y0 Y1 Y2 Y3 C0