Daethl

MrPLC Member
  • Content count

    6
  • Joined

  • Last visited

Everything posted by Daethl

  1. Extracting digits from a string

    Thank you guys!
  2. Hello, I'm fairly new working with OMRON NA5 and I was wondering: Is it posible to load a pdf file in Runtime so I can see it on screen? I know I'm supposed to load the documents in resources but that would be when I'm programming the project in Sysmac Studio before download it to the HMI (see Image_000 attached), but I have no idea regarding how to load files to the root directory while the project is running I mean, is that function avalieable in the NA5? I think I could use its ftp server but I'm not really sure, I'd appreciate if any of you could guide me regarding this issue or if there is an OMRON manual regarding how to access these directories and such.
  3. It worked! thank you innaloe. I used the code as you suggested and loaded different files to the sd card and the ftp server (via copy to the usb and  filezilla respectively) and it worked without problems.
  4. Thank you innoaloe! I'll try that then and I'll let you know what happens.
  5. Barcode Reader Macro

    I'm not sure if anyone is still checking this thread. It was very helpful, I haven't tried to implement it yet, but I'm pretty sure it will work. However I need to ask, is there a way to keep a continuous reading without having to push the "ENT" button? If so, how can I do it? Thanks in advance for any idea
  6. Hi, I'm trying to use the ActiveX with a CJ1MCPU13ETN but I always get a " :6000:timeout " message/error. I'm calling the ActiveX functions in an Excel Macro, this is the code I'm using: Private Sub CommandButton1_Click() Dim response As String response = CSCJETN1.ReadMem(1, "DM", 1000, 5) Range("A14").Value = response End Sub And this portion ( which I think is relevant) of the .ini file that I'm using: 1 'FINS Network Number for the PC Ethernet in Decimal 9600 'UDP Port for the PC in Decimal 1000 'Timeout Value in ms 1 'PLC 1 FINS Network Number in Decimal 1 'PLC 1 FINS Node Number in Decimal 192.168.1.1 'PLC 1 'FINS Node Number in Decimal 9600 'PLC 1 'FINS UDP Port Number in Decimal The PC IP address is 192.168.1.5, subnet mask 255.255.255.0 Is there any additional configuration I should use in order to make the ActiveX work?? Thank you in advance for any assistance you could provide me PS: I was kinda desperate so I tried downloading a Routing Table via CX Integrator so the Ethernet SIOU could be located in FINS network No 1 (or so I thought), but that didn't change anything. PS2: I also tried to use the ActiveX to communicate with a CJ2MCPU33 but I still get the same message/error (timeout) (Edit) PS3: I'm using Windows XP and Office 2007 if it matters in any way