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 - jonathan.kaye

Pages: [1] 2
1
Technical support / Re:HMI to FMD communication protocol
« on: October 29, 2015, 06:28:28 AM »
Did your mT6070 come with the easybuilder software? The software that comes with the mT6070 should have a special driver which has all the Tri PLC's registers pre-mapped.

If you download the latest on from Weintek it does not have the driver/map!  

In EasyBuilder go to EDIT->System Parameters->(under "device" tab) click new->"plc type"->Tri PLC

When you add buttons you can see the read and write addresses of the Tri PLC.

 

2
Technical support / Re:Current output from DAC???
« on: July 27, 2015, 06:11:53 PM »
Alright!

Squeeze one more output in.

Thanks.

3
Technical support / Current output from DAC???
« on: July 26, 2015, 06:16:36 PM »
I have a FMD 88 and my cabinet is getting a little hot in the summer. I think having the PLC turn on a fan after set point would be neat.

I'm out of digital outputs though. I am wondering if I can write a ~3V signal to a small cpu fan. Digikey has  fans that run down around 0.1 Watts. If this is to much power could I maybe toggle a transistor?  

I couldn't find anything in the manual on the current draw for the two D/A outputs.

Thanks for any help!

-JK

4
Technical support / Re:Input from other Plc output
« on: June 29, 2015, 07:07:35 AM »
http://www.automationdirect.com search DCS100-AE-24-F

90$ USD but free shipping to Canada. Check the specs though! (line diameter, max current)

Looks like it has a solid state relay in it for the signal, I really don't know if it will work with the FMD's input (ground signal).

5
Technical support / TLServer fails to open...
« on: May 04, 2015, 03:40:50 PM »
TLServer will open for one second, then quickly close...

Had this problem a while back and deleted all other JRE's. Re-installed just Trilogi stuff... same problem.

When I run the Batch file I get a message in a CMD window...

Server socket:"java.net.BindException: Address already in use: JVM_Bind"

I saw a similar problem in the search results (java lib-instserialio2008). When I click it nothing seems to happen.

From what I can tell (limited research) another process is already using the port? If that's the case, what port would TLServer try use? I can use the netstat and reference a port in use to the PID number I think.

Any help would be greatly appreciated!

-Jonathan


6
Technical support / Re:Sending e-mail issue?
« on: February 22, 2015, 11:29:21 AM »
Picked up a new router (linksys). The PLC showed up as a "network device" added it to "DHCP reservation list".

So popped in the NIST program and it updated!

Changed over to the telnet/smtp program... boom it worked!

Haven't figured out why the TLServer wont open, but to be honest would rather have the PLC do all work.

I may do a little write up on this but some of the things I learned about SMTP/TELNET programs...

-If you make a SMTP2GO account. Make sure the "SMTP Username" doesn't have any spaces (think that was giving me an problem)
-Ensure you can see the PLC on your router network user list before you begin, add it to a static IP list.
-Test to make sure the PLC has internet access with the NIST sample program.

I was unsuccessful trying to rout email though a gmail account, only SMTP2GO. When you use "nslookup" in cmd the IP changes all the time for smtp.gmail.com. SMTP2GO's IP always stayed the same (from what I can tell it hasn't changed in months?). The sample program looks like it has to work with a static SMTP server IP. I'm sure better programmers can figure out how to ask the DNS for a IP from a domain, then pop it into the program before sending (or converted on the way out???).  

For now I'm pretty pumped... lots of playing around with some event emails!

I tried wire shark. Cool- but currently over my head. Thanks for the help!

7
Technical support / Re:Sending e-mail issue?
« on: February 20, 2015, 05:30:46 PM »
-PLC IP address is 192.168.0.55 (MAC address, "f-server" name, and IP on DHCP reservation list). It wouldn't let me put it out of the designated range of IP numbers (think I read that somewhere).  

-DLink DIR601

-Modem to Router, Router to PLC and computers Cat5 and wireless (computers have internet access)

-The goal is to send event driven e-mail. Tried the TL server first, and best I could do was send an email test. Was never able to make a connection between the PLC and TLServer (always comm error). Wondering if the PLC is supposed to be directly connected to computer or router for this. Soon to re-install it as something is blocking it from opening on two different computers. When I open the program it pops up, then quickly closes. I use AVG and can "disable" it so will try the relay server after I re install TLServer.

I switched to using the TELNET method after TLServer started having issues.

***UPDATE***

Uninstalled AVG and turned off windows firewall. TLServer still wont open. Also re-installed Trilogy/TLServer still no go.



8
Technical support / Re:Sending e-mail issue?
« on: February 20, 2015, 04:16:35 PM »
Gateway is set correctly. Checked through cmd ipconfig and though the router setup.

192.168.0.1 & 255.255.255.0

Any other routers work? Think my dlink might be junk.

9
Technical support / Re:Sending e-mail issue?
« on: February 20, 2015, 03:22:52 PM »
So trying to use the BASIC e-mail auth. program to TELNET into a smtp server now.

I can log in to an smtp account though cmd with telnet command, but the plc wouldn't. Looking at the code, it is doing all the same stuff an arduino would do to send a e-mail (lots of info online for that).

I think my router might have something to do with it now. Even though I set aside a IP for it I don't think it is getting internet access. It never shows up on the client list (printers, beagle bones, wii, ect no problem). So I downloaded "NIST_TimeServer GDK&PP". That code looks to have connection check with NIST time server. I get "no response from NIST server"

Am I correct in thinking that I would get "no response" if it wasn't able to gain internet access?

10
Technical support / Re:Sending e-mail issue?
« on: February 19, 2015, 04:30:16 PM »
Can't seem to get it to work.

I always have a comm error. Last I was playing it TLServer just started shutting down. Not sure what happened, on two separate computers, when I try to open the TLServer program it immediately shuts down (not open somewhere else, restarted computer).

Similar luck with smtp2go and the sample program.
 

11
Technical support / Re:Sending e-mail issue?
« on: February 16, 2015, 01:26:27 PM »
I still can’t seem to shake a “Comm Error!!”

In the PLC program & Setup
-Put the Email.pc6 program on PLC. (Changes sender, recipient)
-Changed PLC IP and gateway IP to get along with my home LAN
-Changed the PLC “Ethernet Configuration” so the SMTP IP & port is my PC running with TLServer

On my PC
-Open a port on firewall (Windows firewall -> Advanced settings -> Inbound Rules -> New Rule -> Allow TCP on range of local ports (same as above).
-Ensure Port# is the same as above in TLServer->Email Config

Hardware
-Good LAN communication because I can monitor the PLC/ download program to it.  
-I set my router to have fixed DHCP for the PLC and PC running TLServer.

What am I missing. I think my problem might be the windows firewall port as there is a bunch of settings along with ports. Any tips?

12
Technical support / Re:Sending e-mail issue?
« on: February 13, 2015, 04:20:57 PM »
Yea that got it!

Thanks.

13
Technical support / Sending e-mail issue?
« on: February 12, 2015, 06:15:49 PM »
I’m trying to the TLServer to send a test email. I was able to do this no problem 4 months ago now I can’t seem to do it.

If I try to use a gmail account (turn on POP & try different ports 25, 587,465) I get...
“AuthenticationFailedException” or “Could not connect to SMTP host” or TLServer freezes up.

I tried with smtp2go and got…
“Certificate signature validation failed”

Not sure what I did right a few months back; anyone have any advice.

Thanks,

-Jonathan

14
Technical support / Re:T-basic new user issues...
« on: November 12, 2014, 11:36:25 AM »
Hmm that sounds a little tricky...

I think i can get the same outcome with "and" with an IF statement.

If N=6 and testio(Want_heat)=1
      setio furnace_on : setio Hold_Off
  elseif testio(Want_Heat)=0
       clrio furnace_on : setio Hold_Off
   endif
Endif

VS...

WHILE N = 6
   if testio(Want_Heat)=1
      setio furnace_on : setio Hold_Off : exit
   elseif testio(Want_Heat)=0
      clrio furnace_on : setio Hold_Off : exit
   endif
   exit
ENDWHILE


I think I can do that.

15
Technical support / Re:T-basic new user issues...
« on: November 11, 2014, 03:10:57 PM »
I think I got it now... Thanks!

I'm trying to jam most commands into custom functions so I can build libraries. This is to control a furnace with a max duty cycle of 30%. I know there is a lot of ways to skin the cat but the while loops seem to work well for me in my rookie programming.

**************Heat Loop Custom Function**************
'This will "roughly" count in minutes how long this custom function/latch has been running.  

If testio(Latch) = 1
   DM[10]= DM[10]+1
ENDIF

'There are three 5 minute "heat on" blocks which are triggered by a "heat demand" custom function.
'A time count is in place to ensure only 15 minutes of 50 minutes will have heat (total 30% duty cycle).
'The first 5 minute block is automatic. The other blocks are checked with while loops at 6 minutes
'and 11 minutes.

N=DM[10]

'*****FIRST 5 MIN BLOCK*****

IF dm[10] <= 5
   setio furnace_on : setio Hold_Off
ENDIF

'*****At 6 mins, if want heat, give heat, if not shut down*****

WHILE N = 6
   if testio(Want_Heat)=1
      setio furnace_on : setio Hold_Off : exit
   elseif testio(Want_Heat)=0
      clrio furnace_on : setio Hold_Off : exit
   endif
   exit
ENDWHILE


'*****At 10 min, if want heat, give heat, if not shut down*****

WHILE N = 11
   if testio(Want_Heat)=1
      setio furnace_on : setio Hold_Off : exit
   elseif testio(Want_Heat)=0
      clrio furnace_on : setio Hold_Off : exit
   endif
   exit
ENDWHILE


'*****At 16 mins, cut heat, wait*****

WHILE N = 16
   if testio(Want_Heat)=1
      clrio furnace_on : setio Hold_Off : exit
   endif
   exit
ENDWHILE

IF N >= 50
      clrio Latch : DM[10] = 0 : setlcd 0,0, chr$(1) : clrio Furnace_On : N=0 :clrio Hold_Off
   ENDIF

setlcd 1,1, "DM[10] "+str$(dm[10])
setlcd 2,1, "N= "+str$(n)

Pages: [1] 2