Delta DVP-ES3 — 5.2 Basic Instructions

DVP-ES3 Series Programming Manual Symbol LDF ANDF S : Specified device ORF _5 Explanation 1. LDF saves the current contents, and stores the contact falling-edge detection in the accumulative register. 2. ANDF connects the falling-edge detection of the contact in series. 3. ORP connects the falling-edge detection of the contact in parallel. 4. The system must scan LDF/ANDF/ORF to get the state of the device. Changes to the device state are not detected until LDF/ANDF/ORF is scanned the next time. 5. Use the corresponding NED, ANED, and ONED instructions in subroutines. Example 1.

The falling-edge detection of M0 starts, the falling-edge detection of M1 is connected in series, the falling-edge detection of M2 is connected in parallel, and the coil M20 is driven. 2. When both M0 and M1 switches from OFF to ON, or when M2 switches from OFF to ON, M20 is ON for a scan cycle. 5-10 Instruction code Operand Function LDF/ANDF/ORF S Starting the falling-edge detection/Connecting the falling-edge detection in series/Connecting the falling-edge detection in parallel Device DX DY X Y M SM S T C HC D S           BOOL WORD DWORD LWORD UINT INT DINT LINT REAL LREAL TMR CNT STRING Data type S 