Inntele

MrPLC Member
  • Content count

    791
  • Joined

  • Last visited

Everything posted by Inntele

  1. Why do you use a non-protocol instead of predefined inverter protocol???
  2. How to calculate CRC? GX Works 3 / FX5

    It sounds like the RFID is the last project in your engineering life and then you will become a pensioner  ;D
  3. How to calculate CRC? GX Works 3 / FX5

    I've described it very detailed in the article  https://habr.com/ru/post/359146/ . If you know Russian, you can read.  
  4. How to calculate CRC? GX Works 3 / FX5

    Not only. The algorithm of CRC16-XMODEM calculation is reversed to MODBUS.
  5. How to calculate CRC? GX Works 3 / FX5

    It sounds strange, because if you have a GX Works3, you have both GX Works2 and GX Developer in complect too.
  6. How to calculate CRC? GX Works 3 / FX5

    Below you can find a five minutes code sample of Modbus CRC16 calculation, written in GX Developer and suitable for FX2N and above PLC models (including FX5, if to replace M8000 with SM8000 and CJ P63 to GOEND), that supports SWAP instruction. Modbus_CRC16_calculation_sample.zip 
  7. configuration FX Developer for FX-24MR-ES

    As I remember, the standard FX programming cables does not suitable for this PLC model, because its programming port is not serial, but parallel.
  8. How to calculate CRC? GX Works 3 / FX5

    Well. Then little tips: 1. XMODEM uses the CCITT method for CRC16 calculation.  2. The traditional algorithms of CRC calculation like a bit shifting or a table are not effective for implementation in PLCs and MCUs, because they devours a scan time (shifting) or a memory (table). 3. The ST language gives a worst result than the LD/FBD, because the first language uses an universal compiler, written by a PC programmer that even did not understand that the computing resourses are important to save. When I will have a free time I could help you with effective PLC code...
  9. How to calculate CRC? GX Works 3 / FX5

    Hi, There is a quite simple way to calculate CRC, that is represented by any polynom, without a table. In general terms: After XOR the following byte with the current (or initial CRC) to execute a SWAP instruction then to analyze sequentally the active status of each bit in the most byte of CRC, starting from its least bit, and if it's active to execute XOR with the appropriate word constant. The constants are individual for each bit, their values are produced basing on the appropriate polynom,  shifted for one bit for each operation. 
  10. FX2N - 48MR (MELSEC)

    This is very strange action by your side. In the theory, yes, but it should be done with high accuracy during unsoldering and soldering. What's with old PLC? Why you can not upload its program? Why you can not repair it?
  11. An absolute beginner needs help with a PLC!

    You've decided that the programming port is RS232, because you see the connector DB9F, while in the description to the PLC at all its sellers is said that the port is RS485. And you must know its pinout. 
  12. Generate wave forms using LCPU

    P.S. The PLC, on which I made test, has a pair of AIs/AOs onboard.
  13. Generate wave forms using LCPU

    Hi, I doubt that the speed of internal (interblock) bus affect to the speed of DAC. What may affect I can not say without studying your program. BTW: I've tested the algorithm, proposed by me, using a chinese replication of FX2N. In fact the chinese PLC has a better performance, than the original FX2N: the actual scantime, measured by a counter/timer routine, is equal to 225us and each scan of program I got a new data point of sine wave, i.e. it allows to output a sine wave with frequency up to 500Hz (resolution is 20 data points per sine wave period). The sample is attached. May be it will help you to localize a problem. FX2N_Sine_Wave.zip
  14. Generate wave forms using LCPU

    Have you read the topic ? With 3ms scan time you should get 10 points per 30ms...  
  15. ebay PLC FX1N-20MR china special

    Ask for the manufacturer of this toy. It's not a Mitsubishi product, also it's not a clone. It's a chinese market fantasms... I have tested one of such. The quatity of assembling and the performance are extremelly better than Mitsubishi products has. However it's not a twin.
  16. Speed in meter/mint

    To measure linear speed correctly you need in two sensors: the one for RPM measuring, the second for measuring the diameter of roll (an encoder or a resistor; the paddle, laying on roll, transfers the angle, related to the diameter of roll, to the sensor's shaft)
  17. Newbie to Mitsubishi

    Top: L & Earth & N (Power supply), S/S (Common terminal for inputs), X0-X5 (Inputs) Bottom: 24V & 0V (Internal AC/DC output), СOM* & Y* (Relay outputs) https://www.mitsubishielectric.co.jp/fa/dbdata/incfile/500003002/640085188/fx3s-10mr_es_a_outline.gif
  18. Newbie to Mitsubishi

    What the exact model of FX3S PLC do you have? The exact model name is specified on the nameplate on the side of the PLC.
  19. Newbie to Mitsubishi

    Hi, The top row of terminals are inputs, the bottom row of terminals are outputs. The hardware manual   http://dl.mitsubishielectric.com/dl/fa/document/manual/plc_fx/jy997d48301(e)/jy997d48301(e)h.pdf The programming manual  https://dl.mitsubishielectric.com/dl/fa/document/manual/plc_fx/jy997d16601/jy997d16601q.pdf The user's manual  http://dl.mitsubishielectric.com/dl/fa/document/manual/plc_fx/jy997d16801/jy997d16801k.pdf
  20. Compare two compiled projects

    Yes,  via menu Project -> Verify
  21. Salvage PLC to play with, but...

    No. But you could search an old version of software at torrents. It's named GX Developer.
  22. installing AL-PCS/WIN

    Any old Windows soft is working under Windows 10 perfectly, while with old releases of Win10 the compatibility should be achieved manually. With  newer releases the old soft is running automatically. I have the last release of Win10 on my PC and have not a problem to run an old Mitsu/Beijer soft.