Jump to content

Dave

Members
  • Content count

    51
  • Joined

  • Last visited

  • Days Won

    3

Everything posted by Dave

  1. Once again, I ran into a roadblock where the manufacturer's tech support people couldn't tell me the necessary parameters to set up the EIP communications with a Unistream. They could only direct me to an EDS file online. With past experience, the EDS file print out, and some trial and error I found the following parameters to work: Input Assembly Instance: 100, size 24 Output Assembly instance: 150, size 10 Configuration Assembly Instance : 5, size 0 Check the box for "Use Run Idle for O2T" on the Output Assembly Instance For the Creators: Is there any plan to eventually be able to install EDS files through Unilogic? This would greatly speed up the development time.
  2. Why is it, when I execute this instruction with parameter D set to 0, that I get an error code -31, Number of lines in file is 0., and no file is created? According to the help file, setting this to 0, should write entire data table. I'm using ver. 1.21.51
  3. You would first need to create two LOGOUT buttons(one on top of the other), one with the message box enabled and one with it not enabled. Then you can create a check box that would control the visibility of each button. I don't know of any way to log-out via the ladder.
  4. Dave

    How to use a timer block in a UDFB?

    not sure why, but you can't use timers in UDFB's. Maybe you could increment a variable within the UDFB using, for example, the frequency.frequency 1 (s) as a trigger, then comparing the variable as required?
  5. Dave

    Nested structures?

    I too, would like to be able to nest structs, but until then, If/when you do need to uniquely name large numbers of variables, you can export the variables to an Excel file, edit them as needed, then import them back to the project...much quicker and easier than one by one in Unilogic, and, any edits are scrutinized when imported back to Unilogic and tag-name/syntax errors are reported when encountered.
  6. Dave

    RTC To ASCII UDFB Seperator Code

    I'm not sure if I am looking at the same UDFB as you, but the one I have, in region2, rung5, the separator is populated by the first Fill Buffer instruction. The value 58, is ASCII code for : rung 6 doesn't have a separator, as it is only the day
  7. Dave

    How to create pop-ups in screens?

    There is a simple, yet effective example of a "Pop-Up" screen found in the sample applications available online, Unilogic\Example\Alarms\UniStream_070_Alarms_Example_with_events.ulpr look at the Alarm History Screen, and specifically at the tag Clear_History_Popup, and the actions associated with the various buttons on the screen. There is a rectangle with 50% opacity, that appears when the Pop-up is displayed, that dims the background behind the Pop-up (nice touch). If you select that rectangle and "send to back", you will be able to select the various buttons and check out the actions associated with them.
  8. Dave

    How to create pop-ups in screens?

    I haven't tried them yet, but I believe you could do that with a Custom Control, found In the Solution Explorer, under HMI.
  9. Dave

    Ethernet/IP to OMRON PLC

    Hello All. The application Dan references above is using the Unistream as an Ethernet/IP master to an Omron NX-EIC202 Ethernet/IP Coupler, which has a Safety CPU and a number of safety I/O "slices" attached. Parameters ended up as follows: Input Assembly 100 Output Assembly 148 Configuration 199 Leave both Run Idle check boxes UN-Checked Leave Config Size empty Leave Multicast checkbox UN-Checked I don't really know much about EDS files and I got fooled by viewing the EDS file for the NX-EIC202 in notepad, and after seeing the following, used 150 instead of 148 for the output ass'y "Param2,Assem150, $ O->T RPI, size, format ,Param1,Assem100, $ T->O RPI, size, format" Hope this helps anybody/everybody escape the time consuming trial & error approach I went through.
  10. I have a project configured with 9 EX-RC1's and a Unistream USP-156-B10......I just discovered in the help files that there is a limit of 8 EX-RC1's in one project. The Unilogic software allowed me to set-up all 9 EX-RC1's without any warnings. The actual hardware is in the process of being installed and wired. Can anyone tell me if this configuration is going to cause a problem? There are a total of 14 digital I/O modules connected to the EX-RC1's, with the largest number of I/O modules on any one adapter being 3. I am hoping that the help file is outdated and that I can actually have more than 8 adapters in my project. I wont be able to actually test it until installation is complete, and would really like to know before then.
  11. Interesting idea about the "sub-master" RC1 Joe. I don't think that would have ever occurred to me. I had already been thinking about the cable b/n two adapters and wasn't really liking that option I don't really see any reason why it wouldn't work perfectly well with more than 8 adapters.......in Unilogic, there are two 32 bit registers (UniCan Stasticics Struct.Alive Bitmap) that act as a bitmap to display which Canbus ID#'s are "alive". That leads me to believe that there are closer to 60 max. units allowed (Vision series can handle up to 60 nodes on the UniCan network) I had five of nine units connected and functioning today and I will have the last 4 connected for testing tomorrow. Thanks for the contingency plans. Hopefully won't need them. dave
  12. Is there a way to group HMI elements together for copying, moving, keeping respective locations, etc.? Most programs have "Group" and "Ungroup" buttons...I haven't been able to find this feature in UniLogic.
  13. Dave

    EX-RC1: Delayed Outputs

    Problem solved..... First created a back-up of my Unistream configuration. Then I removed all configured remote I/O modules (EX-RC1's), except the one physically connected to the Unistream. Downloaded new configuration and the outputs reacted immediately. I hope that problem was because of undetected EX-RC1's and not just because of the number of EX-RC1's . I guess I'll find out once I get the entire system connected.
  14. Hi. I have a project that includes a Unistream controller and 9 EX-RC1's. I have followed the recommended procedure to set-up each EX-RC1, and Unilogic. The Canbus baud rate is set to 500Kbits/s I currently have the controller and one remote station at my desk for testing. I can toggle the remote inputs on/off and see the immediate status change while online monitoring. When I switch an output on, I see the PLC status immediately change, but the actual output is delayed by anywhere from 1 to 30 seconds. The same applies to switching the output off....immediate status change in the PLC, but huge delay to actually switch off the output. I have monitored the in the EX-RC1 "UniCan M. Arrived" and it seems to be receiving this signal approx. every 40-50ms Could the delay be because I don't have the other EX-RC1's connected? Is there a quick and easy way to temporarily disable the other EX-RC1's in Unilogic? I don't want to delete them all and have go through re-configuration again. I have attached the exported file from Unilogic and also the file that is in the EX-RC1 any help is much appreciated dave JB900-HW Export.ulri JB900.vlp
  15. Does anyone have any experience using a Unistream to communicate with the SR-1000 bar code reader? I set up the scanner node on my Unistream. I set the bar code reader's "Data Transmission" parameter to "Send After Read" When I monitor the input assembly status on the Unistream, I can see the I/O status, along with various other status bits dynamically changing, however the actual read data does not get transmitted. I wrote some code (10 lines of ladder logic) to send a Reading Start Request ( by manipulating the value of the output assembly registers) and can now get the read data transmitted with every successful read. (I still haven't figured out to convert multiple words of HEX data into a single String type tag) This is my first time using Unilogic and Ethernet/IP. It seems to me that I shouldn't have to use any ladder logic to accomplish a simple read data update. Should I keep trying to figure out how to do this without using ladder logic, or am I chasing a non-existent solution? ( I tried to upload my test project, but the file size exceeds the limit)
  16. How many degrees from vertical can I mount a USP-156-B10? I couldn't find this detail in the installation guide.
  17. Dave

    HEX to ASCII

    I have 6 consecutive INT16 type tags that contain 2 characters each of ASCII characters in HEX format. I would like to convert/concactenate them all to a single ASCII type tag. Is there a simple way to do this? I couldn't find any conversion instructions and the sample project I looked at (UniStream_070_Num_To_ASCII) seems to be an incredible amount of code to do a simple conversion.
  18. Dave

    Screen with password

    Hopefully you've already figured this out, but just in case you haven't.... If you want to prevent other programmers from seeing a particular screen configuration, you can right click on the screen name(in the Solution Explorer), then select "Password Protect" If you want to prevent unauthorized access to the screen during operation, you can assign a button on another screen("Main Menu", for example). Then, in the Properties Dialog box for the button, add a new "Load Screen" Action, then set the User Access property. In the Solution Explore, use the "User Access Control" to configure the different levels of access, as your application requires. I apologize for not being more detailed, but I am also a new to the UniLogic platform and just started looking into the whole password protection/user access system. The more I learn, the more I like!
  19. Dave

    Unistream 10 blank screen after firmware updates

    I had a similar situation and found the file copied to the DOK was corrupt. I repeated the procedure to copy the new firmware to the DOK (using the Unistream Management|Firmware Manager on the PLC tab of the ribbon) , and then re-booted the HMI with the USB stick and it fixed the problem.
  20. Dave

    HEX to ASCII

    Thanks Henny. That's pretty much what I ended up doing. Except I used the same offset(0), and used the insert option instead of overwrite, for the "copy tag to buffer" instructions. I was hoping for a single "convert"instruction where I could specify the source tag, offset & length. The bar code reader(which is what is sending me the HEX data) has a nice feature that allows you to select byte swapping via a simple checkbox, so I didn't need to concern myself with that task.
  21. Dave

    EIP with Keyence SR-1000

    Problem solved.....I was doing everything correctly. The bar code reader was not functioning properly though. After a reset to factory defaults(including clearing the ip address) and reloading the configuration, it mysteriously started behaving as it should.
  22. I configured a VNC Client using Connection 0 and configured a password "PLC". I am able to connect, using a VNC viewer application, from both an I-phone and a desktop, but in both cases, no password is requested or required. Is this a bug, or am I doing something wrong?
  23. Does anyone know of a way to change the location of the folder where DataXport saves the Excel files it creates......without creating a new project?
  24. Dave

    Excel file location

    Well....... it didn't take too long at all before I came across a need desire to transfer data tables to DataXport, more than once per minute! Client has DataXport set up to listen for calls from V570. These calls happen approx. twice every 8hrs and transfer one data table for each of two machines. The client cannot ensure that DataXport will always be open and the configured application running, so I added PLC logic to monitor the data transfer and if the transfer fails for any reason, the data table is saved to SD card. After a weekend with the DataXport being down, the SD card can accumulates up to 12 or more files. The client can later access the SD card using a "Variable: Browser SD Contents" screen object, and using the "Send file" feature and some additional code, initiate a call to to transfer each file to DataXport. Transfer time per file is about 2 seconds.....however, I must force the client to wait for 1 minute between each file transfer to avoid DataXport overwriting a previous excel file. Time standing at the machine, 12 minutes, instead of 24 seconds. My only solution right now (although I'm certainly open for suggestions), is to write some code that allows the user to press a "Send ALL" button, then automatically send each file, one at a time, every minute. It would be SO much nicer if I could customize the filename structure that DataXport uses when creating Excel files........but if that's too much to ask, maybe DataXport could add a "_1", "_2", "_3", etc. at the end of the filename structure it already uses?
  25. Thanks everybody...this topic helped me resolve my folder(s) issue without having to ask for help!!!
×