Jump to content


  • Content Count

  • Joined

  • Last visited

  • Days Won


bobnorway last won the day on February 22

bobnorway had the most liked content!

Community Reputation

1 Neutral

About bobnorway

  • Rank
    Advanced Member

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. a good rule is to make your pulse to a flag bit, Px -> M123 then the flag M123 will be the same for all of your program code. using a frequency function several places in the code could be a problem because it is asynchronous and can change during your program execution.
  2. heres a quick example of what I ment packing bits, the bit order does not have to be contigious It should be flexible enough so you can get something done. Test_Bits.ulpr
  3. perhaps by packing 8 or 16 or 32 bits to an uint then store a copy and compare with it. any value change can then trigger an unpack rutine to identify which bit changed.
  4. There is NO! warning given that updating pc software from 1.25 to 1.28 requires a re-load of the plc! A quick program change for me has evolved to an hour long hasle with: (1) ethernet cable no connection!, (2) usb cable no connection, (3) then to usb memory stick! First by pc programming a memory stick then plc programming from uniapps takes time! And if I didn't happen to find a 'correct' stick to do this with in my bag? Dear Unitronics the plc control is serious business! Damaging the customers production line costs money! You can NOT play with systems in this way! Any software version change which is so serious must be preceeded by a clear warning. Bob Clarke
  5. check your grounding, analog inputs don't tolerate much common mode offset. the fluctuating siganal could be routed near a noisy source, for example a VFD motor. temporarily switch the two and see if the problem follows the sensor.
  6. I use only two symbols to build a valve being either light or dark (red or green) whatever you like then dynamicaly activate to show as on or off. By aranging several of these (like a clover leaf) you can easily make all the various valve types, one way, two way, 3 way etc.
  7. I quite agree on the PDF as absolutley the most usefull format, no argument there. However my problem is that in many cases the resulting PDF is unreadable. Failing on pagination for longer functions and on width for more complex ladder statements. The is no title field nor any page numbering to pull it all together. I would love to see some way to insert a formfeed in the code giving me a clear sectioning of functions. The poster option doesn't really help all that much and results in something impossible to use in a binder notebook. It may well be that Adobe is not helping much here but it actually can't change the source file.
  8. I think that Unitronics should put some real effort into this. Good documentation is a major part of good programming. Some control over boarders (top, bottom, left, right) and page numbers would help quite a bit. Print all fails miserably from function to function. Individualy printing each function does work better but takes great effort to get a readable result. That said the screen capture does give a better result quicker than many other plc/panel programs.
  9. I have problems printing program documentation. The program editor print does not seem to handle paging of modules correctly. Short modules are pretty reasonable but longer ones also get printed all on one page. This results in a scaled font of microscopic size which is unreadable. I've tried all the combinations of fit size scale etc. without success. Any tip on how to do a readable document?
  10. removed everything, rebooted, reinstalled. same problem it is possible to "fix" the SQLserver but it will not stay fixed. a new install of SQLserver checks ok but does not survive a reboot of pc. the unilogic diagnostic is not happy nor is the unilogic.
  11. Unfortunately diagnosts.exe did not help. The Fix button gets a green check on SQL Server then nothing. Next run of diagnostic shows the same two red crosses, (the fix did not do anything) Unilogic still hangs. Changed the exe and msi to administrator but no help.
  12. version 1.23.25 hangs after installation. 1 install is ok on a win7 machine. 2 failures, one on a win7 and one on a win 10. I have not yet been asked for the key number. the screen shows "loading components"
  13. yes TD is correct It will be easier for you to read the program if the elapsed timer is connected to a marker flag. then use the flag in other ladder rungs.
  14. For an explanation of byte/word order take a look at : https://en.wikipedia.org/wiki/Endianness
  15. Question 2. Look at this a binary to see it better. The representation of the value as decimal, octal, binary has no affect on the result. Your required value determines the number of bits used 4, 8,16, 32, 64 . breaking up words, bytes, bits is done with the Logic And instruction Using a mask like '0000 1111' will remove the bits masked by zero. resulting in only the bits masked with 1's Here the original high part disapears. Getting hold of the high word, byte, bits takes one more operation first mask the high part '1111 0000' then do a Shift Right 4. Giving a result of '0000 1111'. Here the original low part disapears. (Some cpu's allow filling with 1's or 0's when shifting.)
  • Create New...