Inntele

MrPLC Member
  • Content count

    791
  • Joined

  • Last visited

Everything posted by Inntele

  1. Structured Text Programing

    May be I can help you? What do you want to get as result?
  2. Structured Text Programing

    Miracles ... It is impossible to help you with advice, because is need to see your FB code. The IEC Developer produces best compilation of FBs, if these are written in Melsec IL and/or are used with the parameter "Use macrocode".
  3. Function block Commander SK (Emerson)

    Hi, I have sent you the personal message. Please, check your box.
  4. Loadcells and Q-series PLC's

    This module we expected still from 2002 and constantly explained to Mitsubishi that it is necessary. Q61LD is just announced, so I'm think it might be available in market no earlier than six months.
  5. Loadcells and Q-series PLC's

    It's an interesting information
  6. Loadcells and Q-series PLC's

    Theoretically you could use Q64AD-GH for this purpose. But really is more right to connect this weight-sensor to PLC via the special tenso-converter, because you need the power supply source with high precision and the better to use AC-mode of supply/measuring. The tenso-converter may be equipped with an analog output (an example, 0-10V or 4-20 mA) or with RS-interface (such as RS232 or RS485).
  7. GX Configurator DP: Extended user parameters

    At run-time settings the communication in Profibus-DP must be stopped! All parameters, written into Master, are transfered to Slaves at the run of communication.
  8. GX Configurator DP: Extended user parameters

    Perhaps this is problems with integration of GSD-file in GX Configurator-DP GSD-database, because of GSD-file contents. I had the similar problem with the third party equipment: in GX Configurator-DP the GSD-file was integrated without problem, but it was integrated in Step 7 with problem. You could look on the contents of GSD-file (by Windows Notepad) and to correct it according to other files which are integrated in GSD-database without problem.
  9. The better to use D-registers for recipes storage, because area of R-registers is especially "sharpened" for archive creation. Also perhaps you'll not get a direct access to R-registers from HMI (I checked it with HMI E-series of Beijer).
  10. Array index in GX developer

    Yes, if you work in IEC Ladder, you can not use a variable other type which different from type of variable, appointed for input or output of the instruction (or function, or function block). Therefore after compiling you'll get a code with MELSEC commands that are matched to type of variables. From other hand, such "mistake" in MELSEC IL compilator lets me to do own function blocks for any instructions. Often this is necessary if software developer did mistakes in manufacturer library or in standard library.
  11. Array index in GX developer

    Hi Mitsu, In fact, GX IEC Developer also does not check data type, if you write a POU in Melsec IL language. I.e. you can specify any type of data, for example, an array of INT, and to use that start address in commands, where is used a double word or a pair of double-words as operand. In some cases it is even better because it helps avoid unnecessary commands which clearly would have appeared when compiling in Ladder Diagram. An example, I have to calculate a ratio with an integer input and with an integer fraction (multiplier/divider) and to write the result output of integer type too: Input = INT = D0 Multiplier = INT = D1 Divider = INT = D2 Output = INT = D3 Temp = ARRAY OF INT [0..3] = D512 LD TRUE MUL Input Multiplier Temp DDIV Temp Divider Temp MOV Temp Output After compilation: LD M8000 MUL D0 D1 D512 DDIV D512 D2 D512 MOV D512 D3
  12. Q series PLC link system

    Hi PoTeToJB, For case that you have described in the topic, is not necessary to use the ring network and redundancy, because you necessary an exchange information from an each slave to the master only and no need to exchange information between slaves. The best topology of network in this case will PLC2-PLC1-PLC3, i.e. when PLC1 is in the middle of network. However for other cases is possible to use different combination (the separate master-module and separate segment between slaves, the topology PLC1-PLC2-PLC3 and reserve master in the slave rack, and so on). To give concrete advice for such situations is need more information from you.
  13. Q series PLC link system

    Hi, The best way to use CC-Link.
  14. Fx0-14MR-ES

    OUT T0 K10, where K10 is equivalent to 1 sec, because T0 timers is with 0,1sec. resolution.
  15. Rolling Average / exponential smoothing

    As promised, the library was expanded with universal FB for rolling average, for which the length of the array can be assigned arbitrarily in the range from 1 to 512 FB_Rolling_Average.zip
  16. Rolling Average / exponential smoothing

    Hi Ben, I have updated the library for rolling average by new function block in which the array head address is user-defined and the array lenght is variable from a number of 128, 192, 256, 320, 384, 448, 512. FB_Rolling_Average.zip Below you can see screenshot of test. Is important to remember, the range of System Variables should not cross with the array addreses.
  17. Rolling Average / exponential smoothing

    Hi, This is the IEC user library includes FB for the rolling average with the array of 512 words (plus two elements additionally), which automatically being appointed during compilation from the system variables area, defined in menu Extras - Options - Project Options - System Variables of GX IEC Developer software. FB_Rolling_Average.zip
  18. Rolling Average / exponential smoothing

    However, it's not a problem, I can do the similar FB with "open" array, which start address will be user-defined
  19. Rolling Average / exponential smoothing

    Thank you for good words, 'kaare_t' In fact, very many of the functional blocks of Beijer are closed by password. Moreover, in their libraries is an icon "copyright". And if someone would decide to place their functional blocks on his web page, or to extradite them for its intellectual property, hardly Beijer will look at it through the fingers and an intruder waits for the inevitable punishment! Here I upload my FBs onto alien resourse, which is open, and I can not to control its dissemination. I can not be sure that some sort of crafty man or malicious person does not use the results of my intellectual labor to enrich themselves, issued these results as own. This is especially true of people without talent and with great vanity... Another problem is "innovators". They edit any ready work and then loud say "it does not work". For these reasons, I don't want to open those programs... Àlas abovementioned persons are also presents on this web-site (somebody whom I know) The program of this function block is very simple. And I'm absolutely sure that the closing program not a hindrance for you and you exactly know how to write it from "zero".
  20. Program Function List for Q-series PLC

    Hi Duffanator, Already I wrote you in your previous topic that "The detailed information ... you can find in this document QCPU Programming Manual (Common Instructions 1/2) that you can download from Mitsubishi official website." Aren't you satisfied the information contained in that document?
  21. Rolling Average / exponential smoothing

    Now you have the library with the ready FB, which you could install and then use this function in your project. And it's available for other programmers usage in their projects. The FB's programm is written in Ladder Diagram, but you couldn't look on it, because the library is closed by password. You can see the download code in MELSEC IL by menu "Tools - Show MELSEC code of network" only. This is classical practice. All FBs are closed usually, including of manufacturer, standard or user library of the Beijer company, because it is know-how. Is not necessary to look on the program code, you can insert it in your program and forget about it, because it already was tested and works fine.
  22. Rolling Average / exponential smoothing

    Hi Ben, Sorry, I did mistake, but it can be solve very easy Today I'll publish the universal FB with the filter up to 512 words. Wait for, please
  23. Rolling Average / exponential smoothing

    If you'll use WSFLP_M with M8013 strobe you get refresh of data in the array every second. Also if after WSFLP_M will be MEANP_M every second you get an averaged data . An example,
  24. Rolling Average / exponential smoothing

    Hi, The special function block for rolling average, which you need, is absent in IEC Developer. For FX3U exists MEAN command that calculates the average value of data written in array (the appropriate function is in IEC Developer). Simultaneously, for FX3U exist WSFL and WSFR commands that write new words string (or new single word) into array with deleting of old data. Therefore, you can solve your task with combination of these commands . Maximum lenght of array of the averaging data should not exceed of 512 word. May be, later I'll prepare and publish ready function block for this purpose.
  25. Mitsubushi FX3U-2HSY -ADP Modules

    Dear 'Dennis A', Is it difficult for you to go on the Mitsubishi official website to download and read the manual how to work with positioning and the high-speed adapters?