Leandro

MrPLC Member
  • Content count

    26
  • Joined

  • Last visited

Everything posted by Leandro

  1. Hi everyone. I'm working with Jtekt Toyopuc PLC series, model PC10G with PcWin programming software. I want to use system Function Blocks (FB's) because it is needed to control the program flow, but i can't find the libraries anywhere. Anyone knows where to get them and then how to import them to a PcWin Project? Thanks in advance!
  2. Hi all! I have a problem when trying to work with floating point numbers with a FX1N PLC using GX Developer. I need to do some simple calculations (divide and multiply) , in order to calculate a motor speed with an encoder, but as simple as it might sound, the FLT instruction is not available, so i can't convert a simple 16 bit integer to floating point. Do i need some kind of library to get it to work, or what? I would thank anybody who could help me with this. =) Regards.
  3. Analog outputs FX2N-4DA

    Hi! I'm pretty new in Mitsubishi, so i must clear some doubts. I have to use a FX2N - 4DA module (4 analog outputs) with a FX1N PLC in order to send information to a inverter Siemens, so a motor can change the speed. I've been reading the manual but i don't get clearly how the analog outputs work. I already programmed the FROM and TO instructions that mention in the manual so the outputs get activated, but i don't understand which is the tag that will contain the information for each channel. I only have to use one channel in voltage mode. I hope i explained myself clearly. Thanks!!
  4. KTP600 Basic Color PN

    Hello there. I'm having a trouble with a basic panel KTP600 mono PN. (Using Ethernet interface, the only one it has) I was upgrading the firmware when suddenly a comunication error appeared. (I'm using TIA Portal v10.5) Now, after restoring the power supply, i've the panel without the firmware (i supposed) blocked into the first main screen showing the mac address. So i cant go inside the configuration of the panel to start the download. I've tried to perform a Factory Reset from ProSave like said in the hmi basic panel's manual but without success. The ProSave windows show the comunication error. Any suggestions ? If i cannot restore the system by myself, do i need Service from Siemens? Thanks for your help
  5. Hi all! Is there available some tool to convert GX Developer Ladder Program to pdf file? Thanks!
  6. Wincc Professional V 12 Scripts

    Hello! I have an issue with Wincc Professional V 12 (TIA) when trying to run a Script continously. What i want to do is to set a static text field with several strings according to the state of some PLC Inputs. This is for Emergency Stop States. When i press , for instance, input I2.3 from the PLC i want to write "Emergency One", when i press input I2.4 i want to write "Emergency Two", etc... everything done in the same text field. So, i guess i have to use scripts. I´ve already written a Script with this code: Sub FuncionVB_2() Dim CampoTexto If SmartTags("Parada_Actual") = 0 Then Set CampoTexto = HMIRuntime.Screens("Imagen_1").ScreenItems("Parada_Actual") CampoTexto.Text = "Emergency One"CampoTexto.FontBoldCampoTexto.FontSize(1000)CampoTexto.FlashingEnabled End If End Sub How can i run that code continously, in order to check the inputs states?? Thanks in advance.
  7. Analog outputs FX2N-4DA

    Hello, I'm here again with a problem in the analog output scaling. The FX 1N PLC has this module: FX1N-1DA-BD, which is an integrated analog output channel. What i need to do is to scale the output channel in order to command a Mitsubishi Motor Inverter from 0 to 50 Hz Frequency. Everything is already connected and the manual of this module says that the analog output works from 0 to 4000. This is for a motocycle production line en Honda Factory. They work with Takt counting. The Takt is the time that the line chain takes to run a certain distance, for instance: 100 seconds per 2,5 metres of chain. What i need to know: which is the best way to scale the analog output? I must work in the 0-4000 interval , in order to get values from 0-10 V in the analog output, and then finally get values from 0-50 Hz in the Inverter. A certain value in the analog output must set a certain Takt Time. This Time is seteable from a HMI Touch Device. (already done). For example: I set 100 seconds of Takt Time in the HMI Device. This value is stored en D129 register. Then, what do i need to calculate so the analog output sets the desired time? If anyone has experience in scaling outputs, would be very welcome. Thanks very much!
  8. Hello, I'm trying to communicate a Yokogawa AXF Flow Meter through Profibus Protocol with an Allen Bradley ControlLogix PLC. (7 AXF in total) This PLC has a Prosoft Communication Module (MVI56 PDPMV1) in order to read the data from the seven flow meters. All the connections are OK, and the Prosoft Software reads all the nodes in the network. But i have a problem when trying to read the flow values, such as Instantaneous Flow, Totalizers, etc. In the Prosoft Sofware i've already installed the right .GSD file (YAC4590.gsd), which imports all the data mapping required to communicate with AXF Flow Meter's. The PLC reads the data brought by the Prosoft Module in bytes structure, but each of these bytes shows incorrect information, so the final problem is that i cannot make a clear read of the flow value. I don't know which is exactly the data mapping of these instruments, as i could't communicate with them via the Yokogawa Programming Software (FieldMate). Each of these flow meters are working fine and they show the right flow value in the LCD display. Unit = m3/h = cubic metres per hour So the final question is: Do i need to program parameters in the AXF Flow Meter, so it starts sending information via Profibus? Or these instruments already bring default configuration ready to transfer data? I have to know if the problem is in the AXF programming or in the PLC programming. Any help would be very aprecciated, Thanks in advance.
  9. Thanks for your reply, y2kmfic I have a 32 bit register to read (4 SINTs), because the flow meter is sending the Flow value and the Total value in Float format (that is what i expected) Following the picture example, i could do this: COP Source: MVI56PDPMV1.Input[21] Destination: Some_Real_Tag Lengh: 4 Is it ok to use Lengh = 4? I want to recombine array Inputs 21,22,23,24 all together in Some_Real_Tag, so the final format is 4-byte (32 bit) float. The array Input 20 is used for status bits, so i don't use it for the float number. How do i enable Byte Swapping? Thanks very much.
  10. Logix5000

    All timers in Siemens, AB, Mitsubishi, etc. count from zero. The only goal of doing backward counting is for displaying in HMI, as Maf said. If you want to show a backward counting, say: 60 sec, 59 sec, 58 sec, etc. you have to create an integer tag to store the number of a calculation. TON.PRESET - TON.ACC
  11. Look in RsLinx. Does the PLC appear with an interrogation symbol? like this --> ? If so, it's because you need to install the EDS file library that references that specific Ethernet Module.
  12. The images show the tag mapping in rslogix 5000. For AI (analog input) the tags are defined in the interval 20...24. Then in Rslogix5000 bytes from 20 to 24 are used. Each of these bytes show integer numbers with no sense at all. These pictures were taken offline, that's why the tags have value zero, but monitoring the program online, values are like: 110,80,-120, etc.
  13. Wincc Basic v10.5 Libraries

    Hi all. I have a KTP600 Basic color HMI with TIA Portal v10.5. I find the HMI enviroment too basic to program. For instance, Where can i import Pumps or Valves graphic libraries? I only have basic buttoms, trends, etc. Thanks!
  14. need help for Mitsubishi FX3U

    If you know how to program Siemens PLC, for instance, the inputs/outputs are like this: I0.0 - I0.7 I1.0 - I1.7, etc. in groups of 8 bits. Mitsubishi is the same. Siemens: I0.0 - I0.7 Mitsubishi: X000 - X007 Siemens: I1.0 - I1.7 Mitsubishi: X010 - X017 etc
  15. Analog outputs FX2N-4DA

    The module is the first and only one on the right side of the PLC, so as you explained, i should write "K0" instead of "K1" in the first parameter of TO instructions. I didn-t know that parameter meant "module number". Thanks, i will try that way!
  16. Analog outputs FX2N-4DA

    Here is the code in the picture. The module's manual shows that code for basic programming.
  17. Analog outputs FX2N-4DA

    Sorry, i'm on mobile phone. The error is as follows: Error code: 6708 Step number of error: D8069 LED status run: on LED status prog: off PLC act status; run Error causes: from/to instruction error Managing method: make sure that the specified buffer memories exist in the counter part equipment. Make sure that the extension cables are connected propertly.
  18. Analog outputs FX2N-4DA

    Here is the error in the picture. the wiring is ok and the from/to instructions are written ok. I'm copying 4 registers beggining in D5 , as voltage mode. But nothing happens. Curiosly the other Analog output used with 1DA module does work with D8114.
  19. Analog outputs FX2N-4DA

    Hi!, i'M in Honda factory trying to get This Analog output to work, but i get no voltage in the output. I've already programmed everything but the plc doesn't seem to recognize the Analog module. Am i Missing some hardware configuration? Thanks!
  20. Analog outputs FX2N-4DA

    I'm adding the FX2N 4DA module because the PLC is already using the FX1N 1DA BD module (only one channel) Look in the picture. If i'm not wrong, the FX1N PLC allows the 4DA module on the right hand side.
  21. Analog outputs FX2N-4DA

    hey guys, the FX1N PLC that i'm using already has an analog voltage output working through D0 register. Now, I will add FX2N 4DA module in order to use another voltage output, so i think that i have to use D1 register instead of D0, cause DO is already in use.
  22. Analog outputs FX2N-4DA

    Thanks! That means, for instance, that i can use register D1 to save the scaled analog value? (0-10V)
  23. Analog outputs FX2N-4DA

    Hi! Here i have a screenshot from the analog module's manual, and i wrote the same in my program. I did't test it in the PLC yet, but i would like to understand what exactly it is saying. In that example the program sets Chanel 1,Chanel 2 as voltage mode, and Chanel 3,Chanel 4 as current mode. I only need to use Chanel 1 or Chanel 2 as voltage. I 'm using GX Developer v 8.74
  24. Floating Point with FX1N and GX Developer?

    Thanks for your support kaare. I scaled in HMI so i can see the value as float. Regards!!
  25. Floating Point with FX1N and GX Developer?

    I get your procedure, but the problem is when i divide two integers and the result is irrational float. e.g.: 12/11 = 1.09090909..... the instruction is as follows: e.g.: D250 = 12 D260 = 11 (DDIV D250 D260 D270) the tag D270 is assigned with the int part from the result, then D270 = 1. What happens with the decimal part 0.090909.... ? Thanks very much! PS: the point of all this is to show in a HMI the motor's speed in float format, e.g: Speed: 3,45 metres/minute