Mitsubishi — 5.13.1 Backing a Main Program up onto an SD Card

Chapter 5 Applied Instructions 5.13 Other Motion Control Function Blocks 5.13.1 Backing a Main Program up onto an SD Card 1. Motion control function block The motion control function block T_SDProgWrite is used to back a main program up onto an SD card. The value of the FileName input pin indicates a filename. 2. Input pins/Output pins 5-239 Input pin Name Function Data Setting value Time when a value is valid type Execute A main program is backed up when there is a transition in the Execute input pin’s signal from low to high.

BOOL True/False - FileName Filename WORD K0~4095 The value of the FileName input pin is valid when there is a transition in the Execute input pin’s signal from low to high. State of output pin Name Function Data type Time when there is Time when there is a transition in an output pin’s signal from high to low a transition in an output pin’s signal from low to high Done The execution of the motion control function block is complete. BOOL  There is a transition in the Done output pin’s signal from low to high when the making of a backup of a main program is complete.

 There is a transition in the Done output pin’s signal from high to low when there is a transition in the Execute input pin’s signal from high to low.  If the Execute input pin is set to False when motion is complete, the Done output pin will be set to False in the next cycle.