Veganic

MrPLC Member
  • Content count

    471
  • Joined

  • Last visited

Posts posted by Veganic


  1. With GXWorks2 simulation: I can't enter a value of -2.359566e-41 but I can enter -2.359566e-38 as single precision. I can enter them as double precision but the E/ doesn't like double precision. What is the datatype of the flow rate? What code generates this value?

  2. There is no way to call sfc from ladder? See the SFC properties above or use: --||------[sET BL0] or similar. Can i use ST for step actions and transitions? Structured text could be used for step actions but it would have to be wrapped up in a function block I think. Transitions - not really. You could have a function block in the step action and a bit set to effect the transition. ------------------------------------- Like I said, it's not the most sophisticated implementation of SFC. EDIT: I should have mentioned PSCANP and POFF which can be used to switch from one SFC program to another.

  3. SFC hasn't really evolved at all on the Mitsubishi platform. The sample was just to show how to use multiple blocks in one program. One problem when doing a good sample program is the restriction on comments is in SFC (No comments only notes). I'd probably use SFC less if I could find an easy way to call a subroutine that didn't leave the outputs on when I exited. The sample is attached as a zip file, for some reason you cannot attach *.gxw files Sample_SFC.zip

  4. I don't know if you can only have one sfc program or not. You can have multiple blocks (a sfc program) and call them as you need to. Mitsubishi SFC is not as sophisticated as some others, no entry and exit condition on steps for example. I haven't read the manual recently. I'll see if I have time to knock up a small commented sample program and post it here.

  5. Hello all, I made some changes to a program and get error 3140. connected to Q CPU via built in Ethernet. I'll be going back to make incremental changes to see is I can track down the cause of the error but if anyone knows what the error means it might make the task easier. I've tried the manuals, google and usual web souces.

  6. Have you spoken to Mitsubishi? I had a quick google and the only reference I found was to a Siemens VFD: "Operation with more than one motor is possible with all inverters, providing the following points are observed: .... encoder operation is not possible under any circumstances." Which doesn't explain why it would be the encoder motors in each case - or why one survived. If the problem is with the motor modification you'll be a long time looking for alternative causes. I think you need to be convinced that the motor modifications are not the root cause. That's why I suggested getting another motor modified. The reaction may tell you all you need to know about their confidence in the soundness of the modification.

  7. No alarm history on the VFD? Motors failed due to temperature rise in overload conditions? Can you run tests on the undamaged unit or can it only be run with the others? Ask them to modify one of the "good" motors with an extended shaft - see what reaction you get? Can you use multiple motors with a single encoder?

  8. Mitsubishi manuals are not easy. Search for "SFC" on the mitsubishi web page under "controllers" and "manuals" https://my.mitsubishi-automation.com/downloads/view/doc_loc/7268/130023.pdf?id=7268&saveAs=0&form_submit=View+now Everything you have asked for can be done. If you make a start and have specific questions we should be able to help. For example: How can I force some steps? One answer is to set the block and step number: ----------------[sET BL0\S12] How can multiple SFCs run at the same time? SFC can be called or started in many ways: From other SFCs with a "Block start step (with or without End check)" From Ladder as in the example above By setting the control bits in the properties as shown in the previous post. The main thing is to be consistent in your methods and to start simple. Use the simulator if in doubt.

  9. Are you looking for this: Right click on the SFC program and select "property". You will have to make your own function block / code block is you need this in a visual form in your program. Status information is available, for example, which blocks are active (LD BL0 etc) so you can make your own function block if required.

  10. Yes. The first instruction is reading in 8 analogue values from an extension unit in "slot 1" Value 1 -> D1000 Value 8 -> D1007 The second instruction is reading 8 analogue values from an extension unit is "slot 2" Value 1(9) -> D1010 Value 8(16) ->D1017

  11. Hello, I'm a bit late coming in on this conversation and haven't read all the fine detail above but here's a one observation: Free serial port monitor is for interception of serial data. You still need software on the PC end to open the port and have the "conversation" with the PLC. Free serial port monitor will "eavesdrop" on this conversation. This is assuming we are talking about the same software. You may need to look at something like "hyperterminal" or maybe the CommFront software suggested above.

  12. That was just one of many "small" differences. I used a python script to automate the changes - anyone interested in the code? I just can't help thinking I've missed something and it should have been much easier.

  13. Can anyone point me in the right direction to show me how to export name tags from iQ or GXworks2 for import into E-designer? I've tried to export as CSV and TXT to no avail. Thanks. Edit : I've tried exporting a namelist file to see the file format. Its TAB delimited. I have tried to modify the file exported by iQ works (re-order columns, strip out quotation marks) but I can't get it to import. Update Nearly there....Null characters and encoding issues Final update: Export txt file in iQ works. Open with spreadsheet ( openoffice calc) Rearrange columns Save Open with Notpad++ Strip all quotation marks Save with UTF-8 enoding. import into E-designer (everything ok except for the datatype) I need to automate this....

  14. Transparent mode works with a com port redirect. It just doesn't seem that reliable...drops out sometimes or the hmi locks up. Isn't the Cab30 just a null modem cable? Maplin do one for about 10 quid.