AS 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 X0.0 starts, the falling-edge detection of X0.1 is connected in series, the falling-edge detection of X0.2 is connected in parallel, and the coil Y0.0 is driven. 2. When both X0.0 and X0.1 switches from OFF to ON, or when X0.2 switches from OFF to ON, Y0.0 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