Inntele

MrPLC Member
  • Content count

    791
  • Joined

  • Last visited

Everything posted by Inntele

  1. Mitsubishi FMOV instruction

    You are right, often ZRST is more demonstrative. I use both command in programs, but ZRST especially good if is necessary to reset big array of bits.
  2. FX3u-485-BD & IMS MDrive 23 Plus

    Dear Crossbow, At first lines in the program should be a copy all inputs into markers. The main goal of this is allow to write simulator for equipment that is controlled by program, because is impossible to assign value for input. It relates to a culture of programming the same as writing comments, and it must be the rule for any program, even which will not contain a simulator.
  3. FX3u-485-BD & IMS MDrive 23 Plus

    LeDude, About structure from 3219 step. You use the inverse M8000, therefore 0D0A symbols are not added to the message. About structure from 3295 step. You use M8000 instead of M8003, therefore the RS2 instruction will not initialized in first scan. Because your program has not comments, it is impossible to understand what you like to do... To use X device inside of program is bad habit too.
  4. Mitsubishi FMOV instruction

    Because the quantity of destination words in FMOV K0 K4M0 K1 instruction is equal to 1, it's full equivalent to MOV K0 K4M0. MOV is faster instruction then ZRST
  5. FX2N programm memory extension

    Goody is right. But likely deletion of NOP commands may not solve this problem. Therefore you can use an external memory card or to look how to do the program shorter. An example, five years ago I did the program for steam boiler on FX2N, where whole program has occupied about 2K steps. If you interested in reduction program and wish to get consultation, you can talk with me directly. Good luck
  6. Communicate between MX component and QJ71C24N-R2

    Sorry, now I haven't time to check all settings but already I see differences between a parity status. The differences are highlighted color.
  7. Communicate between MX component and QJ71C24N-R2

    The best way is to use MC Protocol. 1. Connect PLC with PC via CPU programming port. 2. Set up the QJ71C24N-... communication channels by switches settings of the module in Project-PLC Parameters with GX Developer or GX IEC Developer software. 3. Download project with updated PLC parameters into PLC and run it. 4. Connect PLC with PC via QJ71C24N-... RS232 channel. 5. Create new connection in MX Components between PC and PLC with MC Protocol.
  8. FX3U and GM106

    If you'll sent me the configuration of communication between FX3U and GM106, we can discuss the problem together.
  9. Of course, you can calculate frequency of pulses with SPD and then to multiply value for calculation of current flowrate. The output of SPD function is an ARRAY with two elements.
  10. Ben, I'll try to find these programs on my PC, but I can to do it any later, because I'm a little bit busy now. Also I can do the appropriate function block for IEC Developer. Do you want to calculate current flowrate or total consumption, or both of them?
  11. Hi Ben, See this topic http://forums.mrplc.com/index.php?showtopic=18267
  12. I have to disappoint you. It is impossible to count anything or is impossible to control the output when PLC does not work.
  13. FX3u-485-BD & IMS MDrive 23 Plus

    When you got an incoming message from MDrive, M8403 bit indicate it. But you are reset immediately this bit in the beginning of scan, and below you do it again.
  14. CC-Link clarification needed

    NovalutionGSi, do not dramatize the situation, it is difficult, but it may be solved. Sometime often we restored the electrical schematics by analyzing PCB. Restore the algoritm from program code is easier...
  15. CC-Link clarification needed

    Though troublesome, but is possible try to understand the uploaded programs, and then add new algorithms.
  16. Input inversion

    With what PLC do you work? Because for FX2N and FX3U the CML instruction is applicable according to your purpose. FX1S and FX1N does not support this functions.
  17. View comments for variables

    DUT (Data Unit Type) is a complex variable, which can combine several variables relating to the sensors, actuators, etc. (e.g. level sensor, motor, frequency invertor ...). Thus you can create a standard description with set of parameters for defined unit. An example, DUT_Analog_Input: Signal -- INT Signal_Min -- INT Signal_Max -- INT Value_Min -- INT Value_Max -- INT Error -- BOOL You can use such DUT variables in GVL and in FB Header in whole and then to use a single element of DUT in program with name in following format DUT_Name.Variable_Name, an example Frequency_Invertor.Run Also you can create an ARRAY OF DUT. This procedure allow to create standard variables and FB and then to create very structured and readable program.
  18. View comments for variables

    Sorry that misled, not noticed that you are talking about IEC Developer. Honestly have never experienced the difficulties associated with the need to view the comments to the variables, since I always use DUT and in this case the variable names make it clear to understand what about they meant.
  19. View comments for variables

    See main menu View: Alias - to see symbolic names of the variables Comment - to see comments to the variables Statement - to see string comments which starts with ";" Note - to see comments to the executable instructions
  20. The way to program using GX Works2

    Yes, you are right absolutely.
  21. Convert S7 STL to Mitsubishi PLC?

    I can not see how to do this work in GX Developer. Therefore, may be another specialist, which is present at this forum, could take up this work?
  22. Convert S7 STL to Mitsubishi PLC?

    It's serious work. I could try to do it for a certain renumeration. If you agree, you can send a letter onto my e-mail with description of the task and with the amount which you plan to spend for this task.
  23. FIFO control with FX3U

    It is very simple task. But you are right, here is need to use FIFO with SFWR and SFRD instructions. In the document about which I wrote you could find all necessary information how to work with these instructions.
  24. FIFO control with FX3U

    It's without problem, plcdp. If you need serious help with certain result, I need to know conditions of the task, the volume of my work and the amount
  25. FIFO control with FX3U

    Hi, I didn't understand why are you need FIFO control for this task... But yes, SFWR and SFRD commands are FIFO organization commands if you want to write and to read a single value. If you want only to write value or array of values you can use WSFL or WSFR instructions. The work of both type of commands is described in detail in the document: FX3U/FX3UC/FX3G ProgrammingManual (Basic & Applied Instructions Edition) JY997D16601 Version F.