Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - rmac

Pages: 1 [2]
16
Support Questions / Numeric format in the basicdatalogger2
« on: March 19, 2017, 10:16:47 PM »
Any idea of how to control/change the numeric format for the collection members in the basicdatalogger2?
I'm getting the values from the PLC in floating point format with >5 decimal places, but only want to round/save them in the log file with one or two decimal places.

Thanks.

17
Support Questions / Re: [newbie] creating hmi for rslogix 5000 emulate
« on: March 17, 2017, 10:28:59 AM »
This is a good start:

https://www.youtube.com/watch?v=JDtgIS-nj7I

But instead of com0com I would use Free Virtual Serial Ports from HHD Software.



19
Private Sub DataSubscriber21_DataChanged(sender As Object, e As Drivers.Common.PlcComEventArgs) Handles DataSubscriber21.DataChanged

Runs as many time as elements I have in the Datasubscriber PLCAddressValueItems collection, even if their status don't change.
Is that the way it should work?

20
Support Questions / Re: INI files for Datasubscriber
« on: March 06, 2017, 10:32:31 PM »
I was able to send the email to all the members of the list.
I used Split(el, ",") to extract each recipient and then a For/Next to add the address to  email.To.Add(New System.Net.Mail.MailAddress())

Not much programming experience here. I guess there is a shorter way to do this. ;-)

Much appreciation for your help Archie.

21
Support Questions / Re: INI files for Datasubscriber
« on: March 06, 2017, 05:37:03 PM »
Thanks a lot.
I will try and let you know.

BTW. I'm using the email routine you posted long time ago.
It works like charm with gmail. I only had to add:
                   
                    MailSendingClient.EnableSsl = True
                    MailSendingClient.Port = 587

22
Support Questions / Re: INI files for Datasubscriber
« on: March 06, 2017, 05:11:08 PM »
I want to be able to change the email recipients without recompiling.
I'm running a routine inside the Datasubscriber that emails one or several persons when some PLC inputs/outputs change.


23
Support Questions / INI files for Datasubscriber
« on: March 06, 2017, 01:52:35 PM »
Hello guys, I wonder if there is a way to pass some info, like email address, to the Datasubscriber through an INI file?

Pages: 1 [2]