Jump to content


MVP 2014
  • Content Count

  • Joined

  • Last visited

  • Days Won


Everything posted by Simon

  1. It is possible in any way to download log files via the Unistream built-in webpages? Firstly I see that the file browser widget is not yet supported in the web page editor. However is there another way to embed a log file into a hyperlink on the screen, so the user can just click on the link to download the file into their browser? The specific application is energy monitoring and logging, and many self-contained off-the-shelf systems have this type of interface. They often run on Javascript engines or similar. Thanks, Simon
  2. Yes, it is unclear what you are trying to do. As @Flex727 has said, there is a Toggle Coil which could be used with your Timer as below. User has to hold the button for the length of the timer to turn on or turn off.
  3. Hi Mel, I can't see a system function for this, but each HMI screen has the optional "Is Active" tag (bit type). Are you looking for a way to monitor an existing project, or creating from scratch? Obviously this requires a program change if you are working with an existing project. Simon
  4. Hi, these are just my quick comments, but one key thing with autotune and heaters is to choose the right setpoint. The autotune can get "stuck" or just take a really long time if the wrong setpoint is used. Autotune drives the process to the setpoint, then applied alternative step changes to the setpoint, about 5-10% above and below the setpoint. It measures the step response of the process to these changes in setpoint. For example, if your ambient temp is 23° C and you choose a setpoint of 30°C the process will ramp up nicely to 30° (or 33°). However for the negative ramp (back to 27
  5. Hi, It's all about the reference point. First let me say, with the outputs, the diagram you post is consistent with how i've summarised it. Regarding the inputs, the diagram you post is showing everything relative to the PLC, which is opposite to how I have summarised it. So for the PNP input, the external device (sensor, switch) is sourcing, and the PLC input is sinking (current flows from the external device into the PLC input) for the NPN input, the external device is sinking, and the PLC input is sourcing. (current flows from the PLC input into the external devic
  6. Hi, I think you have the sensor side back to front. Below are two diagrams from 2 brands of sensors. The PNP sensor is connected between +24V and the PLC input (load) and the NPN sensor is connected between 0V and the PLC input. It's the opposite for outputs. The terms Sinking and Sourcing often get used, and that can also be confusing without the right reference point. It's better to think in terms of current flow rather than voltage. The sinking and sourcing of current is relative to the signal driver. And for the purists, we are talking conventional current not electron
  7. Hi Mark, Welcome 🙂 Try pulsing SB31 after updating the vector of MIs. Make sure it's a one-shot pulse, not a direct condition. Simon
  8. Sorry, I missed all this. Thanks for the tag @Ausman Hi @EladLending The example posted by @Joe Tauser follows the approach I would use. A variation would be to put all the code for each machine state inside a subroutine, to separate the application code from the state machine logic. However that's just an efficientcy and style question, the underlying structure and flow doesn't change. There is no access to the system "program pointer" or anything like that. In Joe's example the "pointer" is MI0. It is explicitly set up and controlled by the ladder application. Hope this
  9. Bootlace pins only apply to the modules with standard industrial wiring connections. The high density modules (32-channel digital I/O and 8-channel temperature) use a pin header as @Joe Tauser has pointed out. I got caught by this when supplying an 8-channel thermocouple input module. The most reliable way to tell from available information is to look in the user manual for the remote IO modules, from the Unitronics technical library. There is a model listing around page 9 or 10 (the doc gets updated, so page numbes may change over time). After the produduct description is an indication o
  10. Info mode in Samba is same as Vision models that are touch screen only (eg V570, V700). Hold your finger on the touchscreen, in an area where there are no active touch elements, and wait 5 seconds.
  11. Hi Mat, UnCmDrv1.dll uses the PCOM protocol, same as Visilogic and other Vision apps. So yes you can select the remote TCP port number separately in each connection request, sam as you can do with the standard Unitronics applications. The download package for UnCmDrv1.dll includes some examples, the only one I can open is the Excel VBA example, which is set for serial port. However using the object browser, the port setting object is as follows:
  12. Hi Mat, With the V430 and V350, the port config details in the docs are the default config. If you initialise the ethernet card without overriding these, the 4 ports are initialised to these settings. You can override those defaults using the SOCKET_INIT block in the ladder, one SOCKET_INIT block per socket. This will allow you to set the consecutive port numbers as per your request.
  13. Hi, I am working with an issue on the Remote Operator App for iOS. The issue seems related to DNS. The following works fine: * iPhone connected to WiFi - the app connects to any active remote PLC I have tested with * iPhone connected to Cellular data, PC tethered to iPhone - PC Remote Operator connects to any active remote PLC I have tested with * iPhone connected to cellular data, app connecting to a remote PLC via it's direct IP address (not hostname) - OK Where I see the issue is with the iPhone connected to cellular data, and connecting a remote site using a dyn-dn
  14. Hi Neels, UniStream is only an SQL client. I'm not aware of situations where an SQL client can respond to requests. I have done some quick google searches and there are situaitons where two SQL systems are set up as master and slave where they can request data from each other, but in those cases both master and slave are both SQL servers, and the purpose is to keep backup copies of data. Just another thought, if the customer installed MQTT broker and client software on their SQL server, they should (?) be able to set up the MQTT client as a subscriber to the MQTT data, and it would
  15. Somethine else I do in these types of cases is make very simple test programs. For example you say that certain binary images appear as if both images are bing displayed. Create a very simple program that just has the binary image object and enough logic for you to control the change of state for the linked variable. Anothing point to note, are you doing anything with manual screen jumps or screen refresh/re-load? That can also create some weird effects. For example, a screen jump or screen refresh is linked to a direct contact, when the contact turns on, it tried to refresh the scree
  16. I've also been reminded (by another member of the forum) of the value of performing a full Initialise and Reset. The general idea here is to wipe everything out in the PLC and re-load a clean project from scratch.
  17. I presume you have been developing this program and downloading changes as you go. I would suggest you download a completely blank project to the PLC, then re-open the project above, do a "Build All" and download the full project again.
  18. I can say that the solution to this ended up being straightforward and not related to iOS or app compatibility issues.
  19. I did quick fiddle with the data in Excel. It looks like an offset of -45 counts and then a linear scaling error of -2.4% over the range of the input. Fluke(ma) Actual Count Expected Count Count Diff. Data without offset Percentage Error 4.000 -45 0 -45 0 6.000 954 1024 -70 -25 -2.44% 8.000 1954 2048 -94 -49 -2.39%
  20. In line with the suggestions by Ausman, have you also tried opering the Modbus with just the power meter and UniStream together, no other devices? I haven't really seen any issues with other devices not running the same Modbus standard as Unitronics. One thing I do notice is that different vendors use different notation for the wiring - eg A,B, D+, D- . I have seen different vendors use opposite notation. It's easiest to sort this out with two devices at a time, and sometimes the solution is as simple as swpaping the wires. Also when you get drops, what are the error codes telling
  • Create New...