What should I do if the MCGS configuration is powered off and cleared?

Updated on society 2024-04-09
13 answers
  1. Anonymous users2024-02-07

    You can save the parameters to the ini file, and read the ini file through the startup policy every time you start the project, and read out the data you need.

    fileinireadvalue(strinifilename,strsection,stritem,objresult)

    Function significance: From the configuration file (..)ini file).

    Return value: Switching type.

    Parameters: strinifilename, character, file name of the configuration file;

    strsection, the character type, the name of the section in which the data is to be read;

    stritem, the character type, the name of the item to be read;

    objresult, the name of a numeric and character-based object, is used to save the read data;

    Examples: !fileinireadvalue("d:\","system","memory",result)。

    Instance description: Read the value of the memory item from the system section in the configuration file and put the value into the result data object.

    fileiniwritevalue(strinifilename,strsection,stritem,objresult)

    Function significance: to the configuration file (..)ini file).

    Return value: Switching type.

    Parameters: strinifilename, character, file name of the configuration file;

    strsection, the character type, the name of the section in which the data is to be written;

    stritem, the character type, the name of the item to be read and written;

    objresult, the name of a numeric and character-based object, which is used to save the written data;

    Examples: !fileiniwritevalue("d:\","system","memory",result)。

  2. Anonymous users2024-02-06

    That's because you didn't save the data,,, and it's OK to save the data under the settings

  3. Anonymous users2024-02-05

    Generally, the software has a sudden power failure to deal with it, generating a temporary file, which is the most modified content that you have recorded several times, to prevent the sudden power failure caused by the data is not saved and the loss is too large, you can rename it, open it to see, similar to your project, if you don't need it, you can delete it.

  4. Anonymous users2024-02-04

    Power back on, there is an extra file under the MCGS work folder, this is the zero-hour file when the system is running, if you don't exit normally, the temporary file will pop, which will not affect your normal operation. You can delete temporary files.

  5. Anonymous users2024-02-03

    It is generally a temporary document that has no impact on your project, so you don't have to worry about it.

  6. Anonymous users2024-02-02

    For example, if you clear a, you can use a=0.

  7. Anonymous users2024-02-01

    The 32-bit binary of your choice.

    It's an integer, so you enter a decimal number, and the decimal part can't give the d of the plc, so you enter it becomes, and you choose a 32-bit floating-point number.

    You can give the decimal part to the D of the PLC, and what you see in the PLC is tens of thousands, because you still look at the data in the form of integers, not in the form of floating-point numbers. You can view the data in the software's monitoring window.

    For example, the 32-bit data of this d0 is more than tens of thousands in the form of 32-bit integers.

    But in the form of 32-bit floating-point numbers, it is stupid spring mountain with decimals.

    If your MCGS gives d floating-point numbers, then you use D's finger in the mid-band PLC to be 32-bit floating-point commands.

    There are only embedded versions, and the universal version is only up to the highest.

    Hope...

  8. Anonymous users2024-01-31

    This is for the operation with the switch, the switch has two states, the state of the switch is on (can also be said to be 1, set), and the state of the switch is off (can also be said to be 0, reset). Therefore, set 1, that is, set, to set the state of the switch to on. Clear 0, that is, reset, and set the state of the switch to off.

    Negation is to negate the state of the switch, the original is on, it is set to off, the original is off, it is set to on. Press 1 to release 0, that is, when this button is pressed, the state of the switch is on, and when the button is released, the state of the switch is off. Pressing 0 to loosen 1 is the opposite of pressing 1 to release 0, when this button is pressed, the state of the switch is off, and when the button is released, the state of the switch is on.

  9. Anonymous users2024-01-30

    You can change the spike to save the parameters to the ini file, and every time you start the project, read the ini file through the start strategy, and the clan can read out the data you need. !FileiniReadValue(strinifilename,strsection,stritem,objresult) function meaning:

    From the configuration file (..)ini file). Rebate Value:

    Switching type. Parameters: strinifilename, character, file name of the configuration file; strsection, the character type, the name of the section in which the data is to be read; stritem, the character type, the name of the item to be read; objresult, the name of a numeric and character-based object, is used to save the read data; Examples: !

    fileinireadvalue("d:\","system","memory",result)。Example Description:

    Read the value of the memory item from the system section in the configuration file and put that value into the result deferred criterion object. !FileiniWriteValue(strinifilename,strsection,stritem,objresult) function meaning:

    To the configuration file (.).ini file). Rebate Value:

    Switching type. Parameters: strinifilename, character, file name of the configuration file; strsection, the character type, the name of the section in which the data is to be written; stritem, the character type, the name of the item to be read and written; objresult, the name of a numeric and character-based object, which is used to save the written data; Examples: !

    fileiniwritevalue("d:\","system","memory",result)。

  10. Anonymous users2024-01-29

    That's it, when the button is pressed once, the indicator light is on for 1s, flashes off for 2s, and stops flashing after pressing the button again.

    Hope...

  11. Anonymous users2024-01-28

    Use the save data to browse the widget and you can go to the mountain stove.

    Create a group object that can be saved (object members include object name, start time, end time, etc.), and use the event policy to trigger the saving of group object data. Then you can do it to the save family prudent data browsing component.

    There's a trigger like a data change action that starts assigning time to one variable and ends with time assigning time to another.

  12. Anonymous users2024-01-27

    It's very simple. You can browse the widget with save data.

    Create a group pair that can be saved (object members include object name, start time, end time, etc.), and use the event to trigger the saving of group object data. Then you can browse the save data widget.

  13. Anonymous users2024-01-26

    There should be a trigger such as a data change and a loss of acres.,The trigger starts to assign a variable to the time Chasen.,End the time to another variable.,You need to see for yourself.,I don't have much to say about the general state.。

Related questions
3 answers2024-04-09

1. If 12 points are deducted in a scoring cycle, the full score record can be eliminated and the normal use of the driver's license can only be restored after the license issuing vehicle management office or the illegal vehicle management office has passed the study and passed the test subject 1. >>>More

24 answers2024-04-09

When the battery bike is riding, the transmission is turned on to its maximum and the power is lost in a few seconds, just like the battery is out of power. >>>More

19 answers2024-04-09

A sudden power failure will damage the hard drive, so the files will be unreadable! The battery on the motherboard is to power the CMOS chip, it does not affect the hard disk, the battery on the motherboard can generally last three to five years, if your computer's time often slows down, you have to change the battery!

19 answers2024-04-09

You can buy less, even if the family wants to eat, buy it back and hide it, isn't it okay, you say give it to him, don't you give it to him? He is reluctant to eat, so to speak, give him food after eating, and the child will be happy for you to test him, but remember, it is best to eat something else after 1 and a half hours after eating, and do not eat too much every day, otherwise, it will hurt the spleen and stomach. >>>More

5 answers2024-04-09

If you want to start a business, it is recommended that you choose a suitable entrepreneurial project, see if you have the qualifications of the relevant project, and work hard after finding the right project. Of course, capital is also a problem to consider in the process of starting a business, and if you have limited start-up capital, you can solve it through small loans. >>>More