Jump to content

s.pratt

Members
  • Posts

    350
  • Joined

  • Last visited

  • Days Won

    6

Everything posted by s.pratt

  1. Hello socaoh, Thank you for using our Unitronics Forum. Please refer to the Numeric to Bits function block located under the "Vector" function tab. You can set up the integer you wish to monitor and place the bit value they create within a vector of bits. There is also a function block for creating a numeric value according to a vector of bits called "Bits to Numeric". Hope this helps!
  2. Hello, Thank you for using our Unitronics Forum. SI 7 can be manipulated either through the ladder, or you can enter into "info mode" and change it. To enter info mode, press and hold the 'i' button for 5 seconds. When prompted for a password, the default password is '1111'. Enter into "Data Types", then using the 1 and 6 keys, navigate to "System Ints" and hit enter. Choose the address (address 7) and here you can manipulate the value. Let us know if this helps.
  3. Hello Lahry, Thank you for using our Unitronics Forum. What is the IP Address in your PC and in your PLC? Are you able to ping the controller from your PC via your command prompt? (type "ping [iP Address of controller]" then hit enter) Also, when you are trying to connect to the PLC from VisiLogic, are you communicating over port 20256 and do you have a PLC name entered in the project settings of the TCP/IP Call? Please let us know of your results.
  4. Hello, Thank you for using our Unitronics Forum. Downloading a new OS will not affect the program; it will still retain the old program and only update the firmware. Nothing of the program will be changed. If the project was not downloaded to the controller with the option to upload the program, then that program will not be able to be retained from the PLC. You would need to find a copy of the program (.vlp file extension) from whoever built the program. Hope this helps.
  5. Hello Exouxas, You UDFB input parameter can only be of one type. That is because the scope, "Function In", is tied to a variable (in your case, either a string or an integer). If you tie another variable to be a function in, i.e. an integer as a function in, and a string as a function in, in your UDFB, then you could input both. However, in the ladder, you are either linking the function in to an integer parameter, or a function in to a string parameter. This is why you cannot link both a string and an integer to an input of a UDFB. Hope this helps.
  6. OK, you will still need to create an instance to extract the data to. Within the global tags list, click the add new tag button, and give this tag the name of "Data Table Row Info" or something of that sort. Then, under the "Type" scroll down to the bottom selections and you should see you struct you created for the data table. Select this struct and save the tag. In your read row from data table function block, you should now be able to select the instance you created. Wherever you wish to put that information, you will have to call it as "Data Table Row Info.*****". It was created like this to ensure the data table row extracted matched the data types it was being entered into. Unfortunately, we are unable to extract a data table cell from the data table at this time (even though you only have one column to search from). We can only extract rows via the row number. A good video to watch, which can probably explain this feature better than I over the forum, is the tutorial on Data Table Indexed on our youtube page. You can find the link to this page on our web page www.unitronics.com/support/webinars under the title "UniStream Tutorial Webinars". Let us know if this helps.
  7. Hello kamrca, You must use our software VisiLogic to open .vlp files. The Jazz/M90 controllers will be programmed in U90, .U90 file extension. Here is a basic overview of the programs: The V570_Random_Number_Generator takes a 32-bit value and multiplies it by 75 (a random number) then divides that value by 65537, and the random number will be the remainder of the division. The Random Number Generator 2 takes a 2.5msec count (generated by the system) and multiplies it by the current second (also a system operand). Then it reduces the number such that it is a value between 1 and 10 by taking the remainder of the product created before and using the remainder after dividing by 10. Hope this helps.
  8. Hello Exouxas, Thank you for using our Unitronics Forum. In order to pull a row from a data table, you must put it in an "instance" of the struct the data table was formed from. (An instance is a variable with the "Type" being the struct) Once this data is pulled, you can drill into this variable of the struct to pull single variables. This architecture was created to organize and ensure proper data transfer. So, lets say I have a program for recipes, and I have a data table with two columns based off my struct: column 1 = recipe name, column 2 = motor speed (for mixer). To get the motor speed, I use a read data table row, put that info into an instance I call "Run Recipe", and to get the motor speed, I would click within a box that supports and integer, choose "Run Recipe" then choose "Motor Speed". It will appear as "Run Recipe.Motor Speed" in the integer box. Please let us know if this helps.
  9. Hello Paul, Thank you for using the Unitronics Forum. Unfortunately, at this time, there is no way to make the "length" option variable. The import function will allow you import a preconfigured mixed data location from a file; for instance, an I/O configuration. It is usually used when configuring an expansion adapter (EX-RC1) with a UniStream controller. Hope this helps!
  10. Hello, The V130 controllers do not have the ability to open and read an excel or csv file type via the ladder. It must be a Unitronics Data Table (.udt) file type. I am unsure what manual you are referring to. Can you please explain where you found the Data Tables DLL manual?
  11. Hello, Thank you for using our Unitronics Forum. Would it be possible for you to send your program in for review to support@unitronics.com?
  12. Hello Donal, Thank you for using our Unitronics Forum. This can definitely be achievable with Unitronics equipment. For controlling a stepper motor, please refer to our PTO Programming webinar at www.unitronics.com/support/webinars/pto. Also, we have example programs of programming stepper motors within VisiLogic. Please navigate to the help tab within VisiLogic and select "Examples...", then in the pop-up directory: Version 900>Project Examples>HSC_HSO or the PTO folder will have these examples. Also, there are many other webinars on examples of using VisiLogic on the webinars page of website. www.unitronics.com/support/webinars For the encoder, you can simply attach the A and B signal wires to the high speed inputs of an I/O module that supports a shaft encoder. When setting up the high speed inputs in the hardware configurator, you will be able to select the option of a shaft encoder. Please refer to the installation guide and technical specifications sheet of your I/O module for more information on how to wire the device. Hope this helps!
  13. Also, you can communicate Modbus via GPRS. We have an example of a Modbus Server and Client; please e-mail into support@unitronics.com for an example of how to achieve this set-up.
  14. Hello, Thank you for using our Untronics Forum. You should be able to send an SMS text from the V130 to the modem of the other controller at the other side. You would have to interpret the ASCII message on the receiving controller as to what the info is referring to, then use the ASCII to NUM function block to utilize the analog value in the receiving controller. For simple digital values, though, the SMS scan function block will flip an according bit on when the message matches to a correlating message in the configuration. To receive an ASCII message into a vector of MIs, turn SB199 on, then put the address number of the MI address you wish the vector to go into in SI199. This is all outlined in the help files as well. Hope this helps.
  15. Hello Y.INDS, Local tags are contained in a 256 byte buffer and are only used within the subroutine, and then that memory is erased. This is why positive and negative transaction contacts cannot be used with local tags: the tags are not monitored every scan. If positive and negative transaction contacts are needed, you must use a global tag. I am not sure of your application for the positive transition contact, but you may be able to monitor a function in or function out variable to have a rung only run once in the ladder. Hope this helps.
  16. Hello, Thank you for using our Unitronics Forum. Please ensure you have the Prolific USB to Serial Driver installed for your USB to Serial converter. Also, is the com port you are using is the PC com port defined in your device manager? http://www.prolific.com.tw/US/ShowProduct.aspx?p_id=225&pcid=41 If you already have this driver installed, please ensure the baud rate matches the controller's. They should be set to 115200. Please let us know of your results.
  17. Hello, Thank you for using our Unitronics Forum. Unitronics controllers can create CSV files, but we are unable to read from them. We would need to have the file in a Unitronics Data Table file type. We apologize for the inconvenience.
  18. Hello Derk, Thank you for using our Unitronics Forum. We tested this exporting feature for a subroutine in our office and were successful in doing so with UniLogic 1.8.51. The message that first appears is "Preparing Export Storage.." which is part of the exporting process. Is this the message your computer gets stuck in? Would you mind sending this issue into support@unitronics.com with your code attached and perhaps a screen shot of the pop-up message your computer is stuck at?
  19. rcerva, The mouse driver feature is not included with the V570. This feature is only included with the UniStream USB host ports. They have a standard keyboard and mouse driver already installed to them.
  20. Hello, Thank you for using our Unitronics Forum. It appears Windows may be restricting the VisiLogic software from running properly. Please ensure you have installed VisiLogic with UAC turned all the way off and that you are running the program as an administrator. This will ensure VisiLogic will not be restricted by your Windows operating system. Please refer to the "How to disable UAC: before you install" link in red to a document for full uninstalling and installing instructions for Windows 7,8, and Vista operating systems. This is found above the free download link for VisiLogic on our Downloads page. Hope this helps.
  21. Hello, thank you for using our Unitronics Forum, Within our Sample applications, which can be downloaded in UniLogic, we have a "Num to ASCII" UDFB within these example folders in the folder called UDFBs. Hope this helps!
  22. Hello, Thank you for using our Unitronics Forum. Unfortunately, the time duration in the drum sequencer configuration is not indirect. You could create different configurations according to when recipe, the have the user just choose the recipe they are running to run the according drum. The other option is as you stated above: use a timer entered by the operator to run the next step functions blocks.
  23. Hello K.Parimalam, Thank you for using our Unitronics Forum. For the V1210 and EX-RC1 hardware, you will only need to program with VisiLogic. UniLogic is for programming our UniStream series, which you do not have. We suggest using the example programs to load into the V1210 and EX-RC1 since the majority of the ladder has already been set up for this communication. To get the example programs, please navigate to our help tab within VisiLogic and select the "Examples..." option. Then open the folders in this manner: Version 900>Project Examples>Communications>EX-RC1. Within the EX-RC1 folder, you will find a program "PLC to EX-RC1- Standard" which will need to be programmed into the V1210 (you will need to change the PLC in the hardware configuration to match yours). Also, the "EX-RC1- Standard which will need to be programmed into the EX-RC1 module. From here, you can configure your I/O in the EX-RC1. Please note, when sending digital inputs/outputs statuses between the modules, you will have to use our Struct function block to convert the bit statuses into an integer. UniCAN will only send data with MIs, not in bit form. Please let us know if this helps or if you have any more questions.
×
×
  • Create New...