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 - EDGAR

Pages: [1]
1
Technical support / Undef.Interrupt.. with the NANO
« on: June 13, 2016, 10:37:43 AM »
Hey,

I got this error with the nano after a week of working fine. This NANO is programmed to read VFD status from the network via RS485. Everything was working fine until this morning.

Error:
Undef.Interrupt..
CF #0004:01AE

See attached picture...
Ed

2
Technical support / ABB ACH550 RS485 trunk issue
« on: May 19, 2016, 02:21:52 AM »
Hello everyone! I have a little issue with a single drive in a 485 network. Basically I have a nano working as a modbus master polling information from each drive. My issue is that one of the drive gives me a UART error even with the nano communication turn off. Yesterday I remove that drive from the network and locally it work using an u-485 converter. But as soon as I connect one of the network wires it starts counting on UART error.

My question is, have anyone dealt with an anomaly like this? Also, what's on the U485 that's not in the nano 485.

One note, the drive in question is the 3rd node on the network at of 4 drives and the last node works fine.

Thanks, any help will be greatly appreciated...
Ed

3
Technical support / ReadMB2
« on: December 03, 2014, 11:26:46 AM »
Hi,
We are in the process of designing a Modbus slave web service over Modbus tcp but we are getting strange behavior on the plc side. Hope you can help us find the problem.

Here's the PLC code

S = STATUS(3)
if(S = 1) THEN PRINT #4 "</>" ENDIF
 
  //CONNECT TO THE REMOTE DEVICE
  PRINT #4 "<MBTCPCONNECT IPAddress:502>"
  Call wait4conn  //WAIT FOR CONNECTION
  //GET CONNECTION STATUS
  S = STATUS(3)  //S=1 = CONNECTED, S=0 = NOT CONNECTED      
   

   IF S = 1 THEN
      setlcd 2,1, "Reading TEMP...      "  
      READMB2 4,1,40004,DM[151],2
      //DM[153] = ReadModbus(4,1,4)
      N$ = "Waiting response....."
      Call WaitForDataInD
      IF STATUS(2) = 0 THEN
         f$ = input$(4)
         DM[151]=999
         DM[152]=999
         setlcd 2,1, "Reading TEMP failed!!!!   "
      ELSE
         setlcd 2,1, "Reading TEMP success!!!!!"
      ENDIF
       PRINT #4 "</>"
   ENDIF

The actual stream of two requests between the PLC and the slave service is below:

At the ModbusSlave web Service:
Recv From PLC: 006700000006 01 04 9C 44 00 02 | Send From WebSVC: 006700000007 01 04 04 00 00 42 34

Recv From PLC: 008D00000006 01 04 9C 44 00 02 | Send From WebSVC: 008D00000007 01 04 04 00 00 42 34

I can't see where is failing...


4
Technical support / Multiple Socket Support
« on: October 28, 2014, 04:27:06 AM »
Hi, I have 2 questions.

1. When communicating with other devices via ethernet, is it possible to use multiple sockets? I.e. Normally we use Print #4 "Data" it will be nice if we can use Print #5 or #19, etc.

2. If number 1 is not available, what's the minimum delay we can use when closing and reopening connections when communicating with multiple devices? I have used delay 1000 and 2000  after closing connection but still get communication errors and unable to connect.

Thanks,
Ed

5
Technical support / Ethernet output buffer?
« on: August 28, 2014, 07:38:55 AM »
Hello,

We are on the first stages of testing a new web service that will extend current PLC functionality via the web to interface with other web enable device. During the testing we are noticing that the Ethernet output buffer is not clearing after each write. Is there a function or a procedure to clear the buffer that we are missing?

Example:
//Send test string...
PRINT #4 "This is a long string that contains information about this PLC"
//Run your data read loop here....
//Send another string...
PRINT #4 "This is a great PLC"  //but when you look at the server side the text we receive is like this  "This is a great PLCg that contain information about this PLC"

We are getting the remaining char in the buffer "g that contains information about this PLC".

Before and after each command we tried the following loop but it still transferring the same.

While (len(X$) > 0)
   X$ = Input$(4)
endwhile

Anything else you can suggest? Currently, on the server side we are parsing the string up to the first CR.

Thanks,
Ed

6
Technical support / F1616 Closing connection?
« on: February 26, 2010, 03:17:28 AM »
I have asked this question before, and the answer I got was if I?m connecting to different IP address/PLC I should have to wait this long and this should not be an issue. I?m still having this issue I open and close sockets. I'm having the issue after I close an active connection, for some reason I have to wait 5 second to try to connect to another PLC. Any idea?

1-   Connect
2-   Issue Read Modbus Registers
3-   Close connection
4-   Wait 5 second
5-   Try to connect to another PLC

How can I minimize this dead time from 6 seconds to like 1 second, is this the nature of the PLC?

Thanks,
Ed

7
Opinions & Feedback / f1616 functions
« on: February 07, 2010, 01:59:01 PM »
Is it possible to add extra functions to your PLC's?

I have created four functions that help me calculate true 32 bit floating point values within the tri PLC. I tested them in F1616.

Function Names:
1- CBin - to convert to Binary
2- CPower - to raise a base to a power of x
3- CFloat - Convert a 32 bit value on to floating point. it uses CBin and CPower.
4- CRegStr - Convert a float string like "2.3" in to 32bit integer store in 2 16bit registers.

Parameters for these functions are 32bit A to Z, DM[3000] +
, and V$,W$,X$,Y$,Z$.

Is it possible to add these functions in to any PLC as part of the repertoire?
I will only release these functions to TRi Research.

Thanks
Edgar

8
Technical support / Modbus TCP Function?
« on: October 05, 2009, 07:45:11 PM »
Hello All,
The F-Series Modbus TCP, Is it possible to read/write to a discrete coil? I don't see it in the specifications. Can we write costume functions?

Thanks,
Ed

9
Technical support / F1616
« on: October 03, 2009, 02:12:11 PM »
I understand that the plc F1616 can receive 5 simultaneously Modbus Server TCP connections,now how many client connections can be created?

10
Technical support / E10 PLC on Pause
« on: July 20, 2009, 10:47:01 AM »
Hello
I?m having an issue with an E10 PLC, but first I have a few questions.
1- What can possibly cause an E10 PLC to go in to ?Pause Mode? on its own? The PLC was unresponsive and when I connect my laptop to it the TRI software gave me a message that the PLC was in user ?Pause Mode?.
2- After resetting the PLC through the software from ?Pause Mode? only some of the logic is executed, from the second rung down. What can this be? Is like the PLC doesn?t detect the input to be on.
3- Power supply is 24 VDC with a SOLA power supply.

I have this PLC installed controlling a sump ejector pumps with a few relays interfacing voltages. The floats power a relay which activates input in the PLC. And the outputs power a relays that starts the pump. The PLC operation is very simple and straightforward. Input1 is activated output 1 is energized, Input 2 is activated output 2 is energized together with a timer. If the timer times-out and the 2 input still activated then energized the alarm and the last output will be energized to help with the load. For some strange reason this work for about a week, after a week the plc goes in to an unresponsive mode ?Pause? and it doesn?t do anything. This is the second plc and it is doing the same thing.

Please advice,
Ed

11
Technical support / TM2424
« on: October 18, 2007, 05:22:35 AM »
Hello,
Question, One of my guys at a job was installing a TM2424 Controller and accidentally wired the 24V to the RS485. Now the controller is not responding.
What can be the problem and the solution?
He also installed a 1000?F 35 VDC Cap.

Hopefully the plc still good

If is just part, can you advise where to buy them from if is not from Tri.

12
Technical support / E10
« on: September 28, 2007, 08:06:18 AM »
Does the E10 support Special Bits like the other please? if so how can i add one.

also, I'm designing a surge protector for industrial air compressors, i have the plc connected to the unit CT to 24V. i like to add a suppressor to the supply voltage, can you guys recommend a type of suppressor i can use.

Thanks,

Regards,
Ed Santiago

13
Technical support / PLC On the TM100
« on: May 24, 2005, 07:14:08 PM »
Hey Guys somethig wierd happen to me with the PLC Digital Output#1
I try to set it to ON using Modbus ASCII and RTU and the Trilogic Software and i couldn't do anmything it didn't turn on until i reset the PLC. is that something Normal or what could be the cause of that problem is working now but i'm just wondering why...
Thanks...

PS:
Is that a sign of something bad is happening i didn't have any ladder schematic in the program that will hold off the Output either...

Thanks

Regards
Edgar...

Pages: [1]