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

Pages: [1] 2
1
Technical support / RemoteFS
« on: July 05, 2014, 01:53:55 AM »
I use the RemoteFS and Print commands to send a log file to a PC running Trilog server software. The file ends up in the Fileservice folder. Is it possible to send the file to another folder? I would like to store the log file in the Trilog public folder so I can access it from a web browser.

2
Technical support / Modbus wiring
« on: April 01, 2014, 10:02:25 AM »
Been working on a little projekt with a Nano-10 acting as a RS485 modbus master and a temperature controller as a slave device. When programming and testing on my desk I have only used two wires for communication but what is the right way to wire it up in the field? I attached a picture describing how I think the wiring should be, but I'm not completely sure. I'm planning to replace the RS485 driver to a LT1785AIN8.

3
Technical support / Hour meter
« on: February 19, 2014, 11:43:13 PM »
I made a hour meter by letting a special bit second clock increment a variable which increments other variables so that get minutes and hours. When running the function against a referens clock (the pc clock) I have noticed a lagging effect after an hour or so. When running for 10 hour the difference is 30 seconds or more. Have I design the function wrong or is the special bit second clock not that accurate.

4
Technical support / Displaying time
« on: January 31, 2014, 06:40:11 AM »
I want to display my nano-10's RTC on a software HMI. I use the modbus holding registers for hours, minutes and seconds. Hours and minutes works fine but the seconds skips every other value. The software HMI are supposed to have a poll rate of 500ms.  What could be wrong?

5
Technical support / Programming help
« on: September 05, 2013, 10:20:36 AM »
Need some help with a programming problem.

We assumes that DM1-48 contains various reading from a ADC. I want to identify the highest and lowest of the readings. Any good suggestions?

6
Technical support / Serial communication
« on: June 13, 2013, 09:48:19 AM »
Hi,
I have a small and cheap MCU with a Rs232 interface which I have some plans to use building a wireless sensor. Is it possible to make the MCU communicate with a Nano-10 using a RS232 to 485 converter? I have done some "sucessful" tests with a PC and hyperterminal together with a Nano, but connecting the MCU with the Nano-PLC maybe isn't the same thing?

7
Technical support / Ambient temperature
« on: May 15, 2013, 09:25:38 AM »
What's the recommended ambient temperature for your PLCs? And can high surrounding temperature affect the PLCs performance in a huge way?

8
Technical support / RS485 communication
« on: April 29, 2013, 09:03:46 AM »
If you use RS485 to interface a Nano-10 and a HMI touchscreen. Do you need termination and biasing resistors even if they are mounted close together in the same cabinet?  

9
Technical support / Virtual LCD
« on: April 25, 2013, 09:42:21 AM »
How can I display a degree symbol on the nano virtual LCD. CHR$(186) works on the monitoring LCD in the development software but not on the web page LCD.

10
Technical support / PRINT #8?
« on: April 15, 2013, 10:53:27 AM »
I have some problems using the the PRINT #8 command. I want my Nano-10 to write a text file containing html code to it's extended memory. But how do I handle statements like <HTML> or <HEAD>? I can't get the PLC to write anything enclosed by < >. It works in simulation mode with the programming software but not
with a real PLC. I have used the PRINT#4 command to generate a web page stored on my PC with out any problems. Can PRINT#4 handle  <statement>
and PRINT #8 can't?

11
Technical support / Modbus/TCP
« on: January 15, 2013, 09:54:41 AM »
Found a free software on the web called Advanced Hmi (some kind of software HMI)  which I try use together with my nano-10 trough Modbus/TCP. I can display and write values (holding register) back and forth but I can't control any outputs or internal relays from the software. Toggle a relay in the plc and make a lamp symbol blink on the screen works fine but I can't use a switch symbol to toggle a relay or output in the plc.  Asked Advanced Hmi support about my problem and they did a successful test with a slave simulator and the address 00258 (nano output 2 if I'm not mistaken). Any suggestions about what I doing wrong?  

12
Technical support / virtual LCD display
« on: November 16, 2012, 08:34:27 AM »
I can't display a string returned from the The NANO-10 plc on the virtual LCD screen. It shows up on the online-monitor LCD but not on the web page display. I want to check that a text file transfer is complete by getting  a <OK> from the plc.

I also have some trouble understanding how the timer functions work.  I use the timerPV command in a function and  when the timer reaches 0 the timerbit goes high. How do I reset the timerbit? I tried using the settimerSV and clrbit command but it won't work.

13
Technical support / Analog input
« on: November 14, 2012, 09:46:56 AM »
Want to connect a thermocouple signal conditioner with a isolated 0-5V output to my NANO-10. Are the more then one way to do that? The analog 0V output from the conditioner must have the same potential as the NANO-10 power supply 0V, right?

14
Technical support / Create a text file
« on: October 28, 2012, 07:32:34 AM »
Hi,

I Want the nano-10 to create a text file containg data from DM1 to DM50.

I tried using the code below but no file is created in the fileservice folder. I have a direct ethernet port to port
connection between the pc and plc. What could I be missing?


PRINT #4 "<RemoteFS 192.168.1.2:9080>"   // have also tried localhost IP: 127.0.0.1:9080
PRINT #4 "<WRITE TestFile.txt>"
FOR I=1 To 50
PRINT #4 DM;" ";
NEXT
PRINT #4
PRINT #4 "</RemoteFS>"

15
Technical support / Customizing the nano-10 webpage
« on: September 06, 2012, 10:15:35 AM »
Having some trouble with customizing the nano-10 webpages. I want to add more "clickable boxes" for controlling internal relay bit 137 and upwards.

I managed to display some boxes on the webpage and I can turn them on and off from the plc program. But how do I toggle them from the webpage? If I understand the comments in javascript file M, 512 internal relays are accessable.

Pages: [1] 2