Leandro

MrPLC Member
  • Content count

    26
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Leandro

  • Rank
    Sparky

Profile Information

  • Country Argentina
  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. 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.
  3. 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!
  4. 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.
  5. 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
  6. 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.
  7. 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.
  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. 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
  10. 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!
  11. 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
  12. 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!
  13. Analog outputs FX2N-4DA

    Here is the code in the picture. The module's manual shows that code for basic programming.
  14. 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.
  15. 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.