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.


Topics - cdenk

Pages: 1 [2] 3 4
16
Technical support / Line continuation
« on: September 28, 2009, 06:41:12 AM »
Several years ago, I questioned the correct way to continue a Trilogi "IF" line, and thought the correct way, was to start the new line with a boolean (AND, OR, etc.). I prefer keeping the lines to length so they print nicely. The statements below, don't execute inside the "IF" to "SETIO EXERCISE".

If the web page messed the line lengths, The first 2 ?? lines are really on the first line. The line starting AND (DM[3984], and the following line are the 2nd line. The remaining 4 lines are as shown, individual lines.
========================
IF ((DATE[3] > (7 * (DM[3975] - 1))) AND (DATE[3] < ((7 * DM[3975]) + 1)) AND (DATE[4] = DM[3976])
AND (DM[3984] = DM[3977]) AND (TIME[2] < 1) AND (TIME[3] <= 30))
   'Turn the generator on
   SETIO EXERCISE
   TIMERPV[9] = 6000
ENDIF
========================
This is in a Cusfn with a 1.0 second special bit. I have numerous times checked the values being compared, pairing of "()", where everything is true, but the SETIO doesn't happen. Also have looked for something being reset elsewhere in the code.

Any thoughts, appreciated. :)

17
Technical support / Time for one pass through ladder
« on: January 07, 2009, 06:35:23 PM »
What is the method for determining the time it takes for one pass through the ladder. I remember seeing this on the forum probably 2 years ago, but my search couldn't find it. I think it was to activate a timer at the bottom of the ladder, then next pass read it at the same point in the ladder, saving the value as in a DM[] which gets incremented each pass.

PS: like the old format to the forum :)

18
Technical support / E-Mail - Problem sending E-mail
« on: April 16, 2008, 05:37:56 AM »
From TLSERVER, I get a window popping up "Problem sending E-mail" -  "501 Useage: Mail From"<sender>:.

The E-mail appears to be received OK.

What's happening? Is there a reference for these type messages? :)

Also get a message: "454 Message Rejected"

19
Technical support / Server port settings
« on: April 13, 2008, 06:07:35 PM »
With Trilogi Server 3.0 trying to set up the E-mail settings. Not sure what address to use.
1: If I go to Thunderbird E-mail client, outgoing server smtp = 25 port
2: If go WINXP > CMD > IPCONFIG
      ethernet adapter ip address = 10.0.0.4
     tunneling adapter....dns suffix  ip address 10.0.0.4%2

The PC goes through a NAT router/modem to DSL. The router is 10.0.0.2

There is Zonealarm firewall, there are no log entries, and 10.0.0.1 - 10.0.0.5 are set as trusted.

Server shows: IP ADDRESS2 = 0.0.0.0:0:0:0:9080
IP ADDRESS1 = 10.0.0.4.9080

The PC and server communicate OK for programming and online monitor.

20
Technical support / E-mail from T100MD888+
« on: April 13, 2008, 12:16:25 PM »
The modem is connected to the PLC via port1 RS-232 and I have no problem getting the modem to dial and establish a connection, but not successful logon to the ISP. The sample program does not provide for a username, but that should not be an issue, once I am able to determine the protocol and log on successfully using a terminal program. The PC that can be connected to the PLC for programming has ability to dialup or DSL, but I would rather not have the PC and DSL powered up while on vacation.

I have a PLC that would like to login in to my ISP and send an E-mail if there is an alarm condition, like high water level of a sump pump. The PLC can be programmed and communicates via RS-232 to a dialup modem on a land line. With the PLC or a terminal software (Realterm) have no problem dialing, connecting and getting the ISP login message ending with "..User name:<sp>", but unable to get verified as a user, even though the username and password are correct. Long conversation with ISP (Windstream, used to be Alltel) India tech support didn't help, they know nothing of the login protocol and format.

Using a RS-232 Spy software (Free Serial Port Monitor) I am able to catch the Windows XP Dialer conversation which is able to logon successfully reliably. Several runs of logging on seems to indicated that the conversation is consistent with exactly the same strings of characters each time, ruling out noise. The following is the conversation after the "..User name:<sp>" and through my username and password being sent out. I have changed my username and password to protect the innocent. The password follows the 07h after the username (E-mail address).

|Port opened by process "svchost.exe" (PID: 1408)|

|*Request: 4/12/2008 10:04:27 AM.56364 (+0.2813 seconds)*|

| ||7E FF 7D 23 C0 21 7D 21 7D 20 7D 20 7D 37 7D 22   ~?}#?!}!} } }7}"|
| ||7D 26 7D 20 7D 20 7D 20 7D 20 7D 25 7D 26 4F 6C   }&} } } } }%}&Ol|
| ||5C C2 7D 27 7D 22 7D 28 7D 22 7D 2D 7D 23 7D 26   \?}'}"}(}"}-}#}&|
| ||78 7A 7E                                          xz~             |

|*Answer: 4/12/2008 10:04:27 AM.75164 (+0.1875 seconds)*|

| ||7E FF 7D 23 C0 21 7D 21 F1 7D 20 7D 38 7D 22 7D   ~?}#?!}!?} }8}"}|
| ||26 7D 20 7D 2A 7D 20 7D 20 7D 23 7D 24 C0 23 7D   &} }*} } }#}$?#}|
| ||25 7D 26 3D 66 A9 2C 7D 27 7D 22 7D 28 7D 22 7F   %}&=f?,}'}"}(}"|
| ||56 7E 7E FF 7D 23 C0 21 7D 24 7D 20 7D 20 7D 27   V~~?}#?!}$} } }'|
| ||7D 2D 7D 23 7D 26 AD 36 7E                        }-}#}&?6~       |

|*Request: 4/12/2008 10:04:27 AM.86064 (+0.0313 seconds)*|

| ||7E FF 7D 23 C0 21 7D 22 F1 7D 20 7D 38 7D 22 7D   ~?}#?!}"?} }8}"}|
| ||26 7D 20 7D 2A 7D 20 7D 20 7D 23 7D 24 C0 23 7D   &} }*} } }#}$?#}|
| ||25 7D 26 3D 66 A9 2C 7D 27 7D 22 7D 28 7D 22 B3   %}&=f?,}'}"}(}"?|
| ||BB 7E 7E FF 7D 23 C0 21 7D 21 7D 21 7D 20 7D 34   ?~~?}#?!}!}!} }4|
| ||7D 22 7D 26 7D 20 7D 20 7D 20 7D 20 7D 25 7D 26   }"}&} } } } }%}&|
| ||4F 6C 5C C2 7D 27 7D 22 7D 28 7D 22 7D 39 FC 7E   Ol\?}'}"}(}"}9?~|

|*Answer: 4/12/2008 10:04:28 AM.06364 (+0.1563 seconds)*|

| ||7E FF 03 C0 21 02 01 00 14 02 06 00 00 00 00 05   ~?.?!...........|
| ||06 4F 6C 5C C2 07 02 08 02 F2 95 7E               .Ol\?....?&#149;~    |

|*Request: 4/12/2008 10:04:28 AM.12664 (+0.0313 seconds)*|

| ||7E C0 21 0C 02 00 12 4F 6C 5C C2 4D 53 52 41 53   ~?!....Ol\?MSRAS|
| ||56 35 2E 31 30 F1 17 7E 7E C0 21 0C 03 00 17 4F   V5.10?.~~?!....O|
| ||6C 5C C2 4D 53 52 41 53 2D 30 2D 44 36 39 35 2D   l\?MSRAS-0-D695-|
| ||4C 54 47 4F 7E 7E C0 23 01 01 00 1D 10 58 58 58   LTGO~~?#.....XXX|
| ||58 58 58 58 58 58 58 58 58 2E 58 58 58 07 58 58   XX@alltel.net.XX|
| ||58 58 58 58 58 01 12 7E                           XXXXX..~        |

|*Answer: 4/12/2008 10:04:28 AM.43864 (+0.2500 seconds)*|

| ||7E FF 03 C0 23 02 01 00 05 00 8B 3B 7E            ~?.?#.....&#139;;~   -----------------------------

1:Can someone explain what's happening with the conversation between the request and sending the user name?
2: Looks like some kind of encryption or protocol like TCP/IP or? Sending what info?
3: I would rather not program the PLC for all this garbage, is there a work around?
|


21
Technical support / Java install hangs at end of install
« on: February 19, 2008, 06:58:43 PM »
Trying to install Java runtime on a P4 computer with 1G memory with a fresh install of Windows ME. The Java install hangs where the computer hangs at the end of the install and won't even respond to the CTL-ALT- DEL magic keys. Have tried install from the original 3year old Trilogi CD, Web install, and the off line install with the same results. The remove install hangs also.

Has anyone else had this problem and a solution. I have looked many places, have found others with the same problem. The nearest solution was to disable the display directx, but that didn't help.  

As an alternate, would like to run Trilogi under Linux, which is subject of another message.

:)

22
Technical support / Trilogi under Linux?
« on: February 19, 2008, 06:50:27 PM »
Can I run Trilogi under Linux (Gutsy Kubuntu). If so, how do I do it? I'm thinking Java is available on both Linux and Windows. Trilogi is installed on an Windows XP Pro machine that is networked to the Linux machine, so access to the Java applications is not an issue. Or can I run it under Wine as a windows application?

This machine is planned to be a backup, put away in a closet, unless the main machine crashes, and hopefully won't ever be needed.

23
Technical support / HD-HMI light life
« on: December 13, 2007, 06:50:49 AM »
What is the life of the light on the HD-HMI. I'm thinking that 2- years continuous on, is too long, and I need to switch it on and off as needed. Use one of the Function keys to turn on, and a PLC timer to turn it off utilizing one of the output terminals.

Also has anyone done a dimmer using a photo cell and one of DAC's, but I don't have an ADC available, they are all in use.

24
Technical support / cust fun line continuation
« on: October 08, 2007, 01:52:26 PM »
Is there a way to continue a long line in a custom function, or print it, where the end isn't printed, or wrapped to next line?

25
Technical support / Calling a dDIFD function
« on: June 14, 2007, 12:33:47 PM »
This is with a T100MD888+ and Trilogi

If I have a dDIFD function that has a normally open contact that will trigger that function occasionally, and in other circuits with dCUSf functions that have a call to the dDIFD, will the call ignore the falling edge requirement, and just execute the statements in the dCUSf?  Or do I have to separate the 2 items, into 2 functions, with same statements?

26
Technical support / MD-HMI420 - all LEDS on
« on: March 07, 2007, 01:56:49 PM »
Have  T100MD888+, 1 EXP4040, and MD-HMI420. All the LEDS both red and green are on. Online monitoring shows only one green should be on. Otherwise the PLC including the HMI seems to be operating normally. Removing the EXP4040 and plugging the HMI directly to the T100MD888+ the LEDS are all off.

Assuming it a defective chip (which one), since many of the I/O's are not being used at this time, are there other chips I could borrow on one of the boards until I can order a replacement?

27
Technical support / NETCMD$ TIMING?
« on: January 29, 2007, 06:13:29 AM »
What happens while NETCMD$ is waiting for a reply? Does the CUSTFUN containing NETCMD$ wait with the PLC stuck at that CUSTFUN? Or does it function more like an interrupt, with the PLC going through the ladder, and either when coming to that circuit picking up the new data, or actually interrupting the normal execution?

If the circuit containing the CUSTFUN has a 0.1s clock special bit contact, and NETCMD$ set for 3 tries (Setsystem 2,3) and Wait set for 0.15 x 50 = 7.5 seconds, will this result in overlap, where NETCMD$ is trying to send, and the remote unit also replying with possible data collision on the RS-485?


28
Technical support / Updating Trilogi today - error
« on: January 15, 2007, 12:34:44 PM »
While updating today got the following error:

 Unable to execute file:
 C:\TRiLOGI\TL6\java lib\instserialio2005.exe

 CreateProcess failed; code 3.
 The system cannot find the path specified


My installation is to "E" which was specified earlier. The file is in the folder as noted above, except it's"E".

29
Technical support / Real time clock on T100MD888+
« on: January 15, 2007, 11:28:10 AM »
Is there a single variable accessible by Trilogi for the date/time, like in Excel when formated number? Would like to be able to measure time periods just by subtracting one from the other without having to generate the number or worry about roll overs.


30
Technical support / NETCMD$ wait time
« on: December 23, 2006, 10:39:10 AM »
The Trilogi manual indicates that NETCMD$ will wait a specifed time for a response. What is the time? is it settable?

If in the event of a FCS error, a serial error flag is set, how can I check it?

:)

Pages: 1 [2] 3 4