chelton
MrPLC Member-
Content count
379 -
Joined
-
Last visited
Posts posted by chelton
-
-
Do you really need to loop within the same scan cycle? If it's comm's responses your wanting to see if it succeed or not i don't think a "for" loop is the correct solution.
-
You are correct that you can't create an input condition to the "FOR" loop using the "FOR" instruction, so it runs every time the task is scanned. However you can easily just use inline ST (structured text) and have input conditions before the inline ST block.
-
The Add on profile may not be compatible with the older controller, however there should be nothing stopping you from using a generic module and using the module this way.
1 person likes this -
Not sure how an AOI will help.
Make an array of STRING[] data type and populate them with the ASCII data you require, then just copy the data from the array to the register you want.
1 person likes this -
You can copy strings from one string to another. 'Literals' or 'constants' were only available in last few years.
2 people like this -
Support for literal strings is relatively new. My guess is the older compact logix cpu doesn't support them.
1 person likes this -
Are both machines running same firmware?
1 person likes this -
Thanks for following up.Glad you got it working again.
1 person likes this -
On 08/01/2024 at 1:43 AM, Crocket said:Sadly we are a small company so no such luxury of having an IT dept!
I am glad clever people like you can advise me I am not missing something in the settings
I will look into VPN's
Whatever they are!
thanks again!
You also have the luxury of not having a "hard to deal with" IT dept.
Approach your local IT/PC companies, tell them what your needs and requirements are and maybe work with them. Networks become very messy and hard to control/maintain when there is no structure. Just adding a VPN is not a difficult task, controlling who has access to what is when things become more important.
1 person likes this -
File has been sent.
Steps.
- Copy file to your linux machine
- Extract the file - tar -xzvf NS10.gz will create a file called NS10.img
- Install your CF card to write the image to
- sudo lsblk command will show your block devices. Maybe /dev/sdb
- Write the image to the CF card - sudo dd if=./NS10.img of=/dev/sdb
- When you run lsblk /dev/sdb you should now have 2 x partitions.
- Install the CF back into the NS and you should be able to recover the system.
1 person likes this -
-
For anyone following this thread. I was able to create a replacement internal CF card by creating a sector copy of the original. The original CF card is 128Mb partitioned into 2 x AIX partitions of 61.1Mb. After copying the file to a new CF card (32Gb) and starting the NS it must detect the system has changed, and require the recovery process. However it boots and runs fine.
2 people like this -
Not sure why you would want the fan and pump speeds to match? It's not uncommon for cooling tower fans to be just idling over moving enough air to maintain temp. A centrifugal pump running this slow wouldn't be operating within its operating range.
-
@S1090 I will be able to get NS10 image later this week. Please PM your email. The image will be a sector copy and as such file will end up file size of the CF card capacity (approx 128Mb). You will need to use linux to write back to CF card. I will send instructions.
1 person likes this -
If only omron would release some more communication modules like profibus/devicenet for the NX range. Retrofit's would be so much simpler.
-
Hopefully a similar unit is released for the NX1 series. Being limited to only the builtin ethernet ports is a pain.
1 person likes this -
Yes as per the doc @IO_Rack provided you will need to modify the routing table on the plc, and put the ethernet port onto network 1. Default is 0.
-
1 hour ago, robbd86 said:.....
See below for my set up. Hopefully it is something small i have missed. I also tried to use Fins with the same outcome.
Appreciate any help on this.
Not sure if its a problem my end but can't see any images on your post.
-
7 hours ago, photovoltaic said:I might have a 12 buried somewhere, I'll check in the new year. If so I can clone the internal CF and send you the contents.
I have an NS10 that i can create an image file. Assuming it would be the same OS as an NS12
-
12 hours ago, pturmel said:If you open a project export with ZIP tool, there's a bunch of XML inside. Ugly.
yep lots of XML. Ugly and slow. Unfortunately this is the way a lot of IDE's are going.
-
Bob,
How are you connected on the RSlinx end? 1784-PCMK card? 1785-KA5? PKTXD? or using rslinx gateway through a dh/rio card?
Have you connected to this device previously? Tried changing the local node address?
Most issues i've come across is duplicate node address/baud rate issues.
-
4 hours ago, S1090 said:NO i had only 1 screen.
By formatting the internal CF card you will have wiped the boot loader, and operating system. The internal CF card is internal for a reason. The recovery and update files that omron provide are read in to the system via external CF card.
What is the capacity of the internal CF card you formatted?
-
4 hours ago, S1090 said:it is a big mistake by my side that i formatted internal card, is there no any chance to recover this NS12???
Any chance you have another NS screen that you can clone the CF card? Linux "dd" command could do a byte for byte copy of a working internal CF card.
1 person likes this -
9 minutes ago, IO_Rack said:I checked downloads section at Omron's website and they only have the latest (8.95).
MyOmron>Downloads>Products>HMI>NS Firmware has all the firmware dowloads.
1 person likes this
FOR - NEXT loop basics - how to call?
in NJ Series / Sysmac Studio
Posted
@DonNH You shouldn't use timers within a FOR loop. In your case your timer will never timeout. The loop will iterate the 5 times instantly then finish. You need to monitor the status of the FB after you have executed, then if you don't get the desired result after xxx time/counts then re-execute the FB.