Chapter 4 Basic Instructions The usage of LDP is similar to that of LD, but the action of LDP is different from that of LD. LDP reserves the present contents, and stores the state of the rising edge-triggered contact specified to an accumulation register. Explanation Ladder diagram Instruction code: Description: Example X0.1 Y0.1 Connecting the Form A contact X0.1 in series OUT Y0.1 Driving the coil Y0.1 AND X0.1 Additional remark Please refer to the specifications for the model used for more information about the operand ranges which can be used.
If the state of a rising edge-triggered contact in an AH500 series motion controller is ON before the AH500 series motion controller is powered, it is TRUE after the AH500 series motion controller is powered. The usage of LDF is similar to that of LD, but the action of LDP is different from that of LD. LDF reserves the present contents, and stores the state of the falling edge-triggered contact specified to an accumulation register. Explanation Ladder diagram Instruction code: Description:
Example X0.1 Y0.1 AND X0.1 Connecting the Form A contact X0.1 in series OUT Y0.1 Driving the coil Y0.1 4-11 Instruction code Operand Function LDP S Starting rising-edge detection Device Xn.n Yn.n M S K 16# F KnM KnS D W T C V Z S X0.0 X Starting the detection of the LDP X0.0 state of the rising edge-triggered contact X0.0 Instruction code Operand Function LDF S Starting falling-edge detection Device Xn.n Yn.n M S K 16# F KnM KnS D W T C V Z S X0.0 X Starting the detection of the LDF X0.0 state of the falling edge-triggered contact X0.0