Inntele

MrPLC Member
  • Content count

    791
  • Joined

  • Last visited

Everything posted by Inntele

  1. MOV_M

    Everything is very easy and it is written in programming manual. Any bit variables can be addressed as single bit or as a group of 4 bits (tetrad). The constant before the bit address in operand is a quantity of tetrads. Maximum you can address 16 bits (4 tetrade) with 16-bit command, such as MOV_M. An example, K1Y50 is mean 4 bits from Y50 to Y53, K2Y50 is mean 8 bits from Y50 to Y57, K3Y50 is mean 12 bits from Y50 to Y5B, K4Y50 is mean 16 bits from Y50 to Y5F, and in your case K1Y57 is mean 4 bits from Y57 to Y5A. I hope my explaination is extremely simple and will be crystal clear for you.
  2. 32Bit FIFO Q-System

    Hi Dariusch, Use and enjoy Using MELSEC IL language for writing functional blocks, not only provide the necessary functions with optimal code, but also allows to correct mistakes made by developers of IEC libraries. The single restriction is not possibility of array usage. Inntele
  3. 32Bit FIFO Q-System

    See the solution of this task for IEC Developer in attachment below. DFIFO.rar
  4. POU Language conversion

    This is possible to do only manually.
  5. 32Bit FIFO Q-System

    As a method, which is an alternative to suggested by JRoss, the 32-bit word can be divided into two 16-bit words (on high- and low-order part) and then each part synchronously write in/read from own FIFO. After reading two 16-bit words can be combined into single 32-bit word.
  6. FX1N timer accuracy

    Dear Veganic, About timer's accuracy is written in 4.9.5 section of the document FX Series Programmable Controllers Programming Manual JY992D88101D. If you need to organize a timer with high accuracy, you could use T63 timer as described in 10.9.1 section of the abovementioned manual.
  7. How the 'heck' is '/ ' supposed to work

    Short comment. When I worked with Siemens, I used "inverse" instruction very often , because it occupies 1 byte (compared with "load" or "load inverse" instruction , which occupies 3 byte). The given advantage is absent In Mitsubishi PLC (both type of commands occupy 1 step), a execution time is also equal.
  8. How the 'heck' is '/ ' supposed to work

    Hi Goody, This is inverse function (the equivalent of basic instruction, named INV). The command inverts the result of a last logic operation. It's more often uses if is need to build a long and complex logical chain, as you can see in example below: I'm not recommend to built such structures because the program loses its readability. The long chain may be divided into several simpler ones. And it is always better.
  9. Read invicual bit in a Word/Int on FX?

    This is standard BON instruction (FNC44). Although will be better to use MOV D0 K1M0 (or other similar devices in PLC) and then to check status of marker.
  10. Values 1.2 or 2.4 are not decimal, these are floating point values. It is naturally that you get integer part of number only.
  11. Syncronising two variables

    OK. I also think, it is time to move from words to deeds
  12. Syncronising two variables

    Sorry. I've checked, unlike E-Designer v7.20, where I did it, in v7.50 is impossible to set/reset/momentary a bit only according to input of new value. Therefore now is need to organize it in PLC.
  13. Syncronising two variables

    I don't know, what HMI do you use (from Beijer or from Mitsubishi, or from the third party). For E-series/E1000-series it may be to do either without macro (this is typical function for tag in E-designer), or with macro.
  14. MX components and FX3U

    I'll answer for him funfrok meant to choice FX2N instead of FX3U in connection's setup for MX Components. Although I think that such change is not equivalent, because the version of PLC transferred and checked by protocol.
  15. Syncronising two variables

    Veganic, see information which was added in my previous post. In each PLC must be following: = DX DY OR First Scan (M8002 for FX, SM402 for Q) SET Change Bit
  16. Syncronising two variables

    You can do without Dhmi and "tie" the value in HMI to DY directly. Also you can use "off" active state of change bit, because initially the variable value must be synchronized with one of PLC: An example, the initial sinchronization with Q. Set Change bit in FX (change is absent) DY Q --> DX FX --> DY FX --> DX Q If DX Q = DY Q set Change bit in Q. When new value is being written from HMI, simultaneously the appropriate bit must be reset from this HMI (without PLC program code!).
  17. Syncronising two variables

    Some not. This bit breaks the connection between the DX and DY in the PLC, which made dubbing (PLC1) and prohibits the change of variable from HMI in the opposite controller until the cycle DY-DX-DY-DX is not finished and DX will be equal again to DY in PLC1. Thus no one PLC will not have priority.
  18. Syncronising two variables

    Hi, I did solve the similar task for Profibus-DP network. It can be done with "change" bit which has to be set simultaneously with change of variable value. The specific decision depends on type of X and Y remote device (an example, HMI is connected directly to CC-Link or HMI is connected to network via PLC, etc).
  19. Mitsubishi Q PLC Profibus Communication

    Because Q-series supports an autorefresh function (data exchange from/to slaves between CPU and Profibus master module is being performed without program) you no need PLC program for Profibus communication. Therefore it is unimportant what programming software do you use. In the manual for GX Configurator-DP you can find information how to adjust autorefresh.
  20. HMI to HMI

    You can use following connection: 1. To connect E1101 RS232 port with PLC (up to 15m). There are two way: a) via SC09 cable to PLC Programming port (perhaps instead of SC09 is possible to use the Sergey Troizky cable ) or b) via RS232-RS232 cross cable to FX... RS232 adapter (an example, FX3U-232BD) . 2. To connect E1101 RS422 port (set in transparent mode) with E910 RS422 port (up to 1200m): cable between E1101 RS422 and screw terminal - 4-x twisted pair cable - cable between screw terminal and E910 RS422.
  21. Mitsubishi Q plc - Internet

    No need to complicate the task, plug PLC through QJ71E71-100 to an Ethernet, then configure the GX Developer connection on the remote computer and you can program your PLC remotely. Only may be some problem with online programming (when PLC run).
  22. Mitsubishi Q plc - Internet

    I also first heard about this product, but after I read the materials I can say that this product is designed for remote access to the PLC, if the PLC is not directly connected to an Ethernet network, and connects to a computer on an Ethernet network via programming port.
  23. Mitsubishi Q plc - Internet

    Max, There are not differences between direct Ethernet connection and VPN, if to talk about PLC programming. See menu Online-Transfer Setup, it seems there all crystal clear.
  24. FX3u-485-BD & IMS MDrive 23 Plus

    I understood it. But this may be associated either with the port settings or with the polarity of the line. You spoke about SD LED is lit only and not spoke that MDrive performs command. If MDrive performs command, the problem is not associated with a line's polarity.
  25. FX3u-485-BD & IMS MDrive 23 Plus

    LeDude, I did the example only, because I didn't know what do you want to do with the answer, therefore M8403 resets itself in the beginning. About first scan is written in manual and it is right way to prohibit the RS instruction at first scan. It's important for good work of communication. If your program works with 232ADP, but does not work with 485ADP, is important whether you change the setup of port. The setup for 232 and 485 is different. If you do it, perhaps is need to change A and B connection.