Jump to content

GetAGrip

Members
  • Posts

    8
  • Joined

  • Last visited

  • Days Won

    1

GetAGrip last won the day on August 24 2015

GetAGrip had the most liked content!

GetAGrip's Achievements

Newbie

Newbie (1/4)

1

Reputation

  1. I know that the Baud Rate for the CPU's RS485 Port (along with the Data Bits, Stop Bits, and Parity) are set in the configuration prior to downloading the program. I have the RS485 CPU COM Port set this way as MODBUS Master and have successfully communicated with Alicat MFC's via Modbus with little effort (yay to UniLogic/UniStream). However, when I change baud rate for an item on in the Physical Serial COM configuration it is applied to the entire bus and I don't see away to reconfigure it. I would like to be able to change the baud rate without rebooting or loading another program. I am aware it might be possible by using entries in the *.ini file on the SD card, but I think the PLC will need to be booted each baud change for that to work. As I recall you are allowed to load one and only one config file per boot. Is there a way to change Baud Rate on RS485 Port and other parameters from the ladder logic or another way without rebooting. I have a work around, but I was surprised that there was not an obvious way to initialized the com port from the ladder. Specifically I am using an USP-104-B10 with the USC-P-B10 CPU and Modbus RTU at 9600 & 57,600 Baud. I need to initialize some hardware and was hoping I could just program the PLC to do it as needed. The default baud rate is not fast enough for normal communication so that and its default ID need to be changed each time a new piece of hardware enters the system. In the past I have used an ICP DAS module to share a single bus with a variety of equipment operating at different baud rates with different parity and a variety of protocols also to give each an ID on the bus. The I-7527 addressable gateway works great for that when you need to deal with that kind of situation long term. This time everything is going to be Modbus and I plan to run at 57,600 baud after configuration.
  2. There is a screen saver built in. It is worth using because that is the only way I know of to de-active the back-light. Turning of the Back-Light is important since you only get 30k Hours or 50k Hours (depending on model). After that you a purchasing a new panel. I would like to know how to detect a new VNC connection so I can deactivate the screen saver though. With the screen saver active a new VNC connection starts with a blank screen (until you click randomly).
  3. Update - Unitronics did implement a Screen saver that turns off the back-light. It is in the configuration (near the top of the tree, just check the box and set the idle time). Someone needs to fix this, the backlight is only good for 30,000 Hours on a lot of the units. that is only 3.4 years. Even on the 50k Hr units they are dead at 5.7 years.
  4. I believe my twist on Ness's suggestion is a good work-around (I tested it, it works well and likely comes closer to what people actually need): Use the available "Numeric Box" (set the layer = 2) with a transparent background and put that on top of a "Range Of Text Variable" box (send to background, set layer = 1). Typically you would set the Tag Link in the Range Of Text Variable box the same as the Numeric Value you put in the numeric box. Fill in constants or a variable in each of the "From" and "To" boxes of the collection of "Texts, Ranges" for the various background colors you desire. For the "text" in the collection you create just enter " " for each, and set the background color as desired (foreground doesn't matter since it won't be displayed). This gives you a variable to select the background color (can be the same variable) and it allows the background color to be selected from a list. I does not allow you to set the foreground color of the Numeric Box, see below for that. If Unitronics created a Numeric Box with the Range Collection like the Range of Text Variable this would work even better because it would allow the changing of both foreground and background colors. In the Range Collection Unitronics would just need to substitute "###.##" OR "123.45" or what ever format is selected in the format portion instead of allowing the user to type in text. Then the programmer would have the option to select ranges or put variables in the ranges instead of constants that would dynamically change the colors from a pre-determined collection of colors. That is far more useful than just having to force the background to a particular color, and would only require adding one or two fields to the existing Numeric Box {Range Collection & possibly the Range Value if they want to make that independent of the primary Numeric Value field}. I would suggest adding the Range Value box and defaulting to the Numeric value variable when the Range Value is blank that way the programmer has full control in the event they actually need to control the color independent of the numeric value.
  5. I wrote a VBA function in Excel to do the conversion, but generally just us the following formula in Excel. Date = {UTC}/24/60/60+2. I make the date to be off 2 whole days from Excel's calculation in Windows (different if you are using the base 1/1/1904 Macintosh version of Excel). One of those days is because 1900 is not a leap year, but Excel erroneously thinks 2/29/1900 is a real day (which it is not). Unitronics get the math correct on this front. I think the second day comes from the fact that Excel seems to start the dates at 1/0/1900 not the first of January (one base math not zero base math).
  6. Note: If you go to the location of the .exe file or shortcut you can right-click and go to the properties --> Compatibility and check the "Run as Administrator" check box. This works so you don't have to do it each time.
  7. Solved (look at the end for solution, symptoms are at the start). Still can't get Visilogic 9.7.60 to work in Windows 10. I have tried to clean the registry of all Unitronics entries, clear the directory after uninstalling all Unitronics software. I am getting an "Unhandled exception" "Access to the path 'C:\Program Files (x86)\Unitronics\Remote Operator\Recent Projects.xml' is denied." error when trying to use Remote Operator (install when fine). The folder is present, but the files is not there. Also still getting the "Load 9Permission denied" error after clean install in Windows 10. After this error the program does not load but is stuck in the task manager as a still running task. If I cancel the start-up error and open a file I get a "Run=time error "70': Permission denied" from VisiLogic. Clearly Windows 10 won't give it access to things it needs access to even after being an administrator and setting UAC to off/minimal. Solution: You have to run the installation "Run as Administrator" then each time you run the program you have to "Run as Administrator" also. This also fixes the "Remote Operator" problems (don't have to do the install that way just each execution).
  8. I receive an error using Visilogic after upgrading Windows 7 to 10 because it turned on my UAC. After I shut that off and uninstalled it then installed 9.7.60 I am getting a "load 9Permission denined" error. I am going to clean the directory and re-install. I also did not get Remote Operator to work (it is whing about "Corrupted Favorites XML File.").
×
×
  • Create New...