Jump to content

s.pratt

Members
  • Content Count

    350
  • Joined

  • Last visited

  • Days Won

    6

Everything posted by s.pratt

  1. Please e-mail into support@unitronics.com for more information on this topic. As far as I am aware, this type of input for a C function is only to configure a data table. But I do not believe it will allow you to read/write from a specific data table.
  2. Hello, I don't believe you can address the data table directly in the C function. You would have to perform a 'read row from DTI' to put the row information into a tag. Then pass this tag (which will be a struct) into your C function. It is important to note that when passing the struct into a subroutine, the struct will update with each scan since it is a passed in by reference. You will not have to pass the struct back out - it will be updated as it moves through the subroutine. Hope this helps.
  3. Hello, The relay outputs have about 100,000 cycle lifespan - they are not recommended to be used as pulse outputs. I would recommend switching to a unit that has high-speed outputs. I would suggest one of the following part numbers if you wish to continue with the V130: - V130-TR20 - V130-TR34 - V130-TR6 - V130-TRA22 The TRA22 will most closely relate to the model you have now, it just has 4 relay outputs and 4 high-speed outputs compared to 8 relay outputs that you have now. Hope this helps.
  4. Hello, What kind of driver are you using? What type of inputs does this driver accept? Does it accept communication commands?
  5. Hello, If you put the controller into "STOP MODE", you should be able to program a new application into the unit. -Detach power from the PLC -Press and hold your finger on the screen -Apply power while your finger is still on the screen -Once the unit is powered on, tap once on the screen -After the 10 second time-out, it should enter STOP MODE -Establish communications with VisiLogic (remember, default baud is 115200) -Once comms are established, program unit with new application Please let me know if this helps.
  6. Hello Rich, Since it is a one-shot output from the timer (only on for one scan) you may not see this logic perfom while online with the PLC - it may be happening much too fast for the communciations to catch this logic. What kind of output are you triggering? You may not be seeing anything come from the output since you are only triggering it for one scan - it may need to be on for longer to see an output. What is this output triggering?
  7. Hello Rich, Are you sure the subroutine is running? Is it against teh main rail in the main routine, or are there conditions for the subroutine to run? Can you place an incremeting function block at teh end of net 1 and 2 to see if they are being evaluated? The incrementers should increment (net 1 with scan time, net 2 with timer value) if this subroutine is being called.
  8. Hello Justin, The screen brightnees feature can be changeable through the project level actions. You can link an integer for the screen brightness level, then trigger the bit associated to the action to load the screen brightness level. The supported range is 10-100 for brightness. Hope this helps.
  9. Hello Arie, SDW 24 is a bit map for the UniCAN message buffer. Since you can overwrite the SDW, there is no error currently. It may have happened once and the error message remained in the register. For more information on this exact error message, please contact support@unitronics.com.
  10. Hello Kenedy, Which physical input are you using on the I/O module? Which software input are you minitoring?
  11. Hello, How are you trying to import/export the recipe files? Via FTP?
  12. Also, I forgot to mention, PTO is unavailable with teh snap-in modules. However, we have created an example project that comes with VisiLogic on how to create the ladder for PTO. (Help\Examples...\Version 900\Project Examples\HSC_HSO\V570_Stepper_Motor_PTO.vlp) The EXF-RC15 will only allow 3 PTO channels if you are performing pulse only. If you do not need PTO, you can use PWM instead of PTO to give only pulses out of the high-speed transistor outputs. In this case, will you be able to use the configuration above that you have described. Otherwise, you will need more modules that s
  13. Hello, You will need a stepper motor driver that accepts a pulse input as well to integrate the stepper motors.
  14. Hello, When you receive the string, do you convert 1 character to 1 element? Is so, you can compare the first MI of teh buffer vector to the HEX or Decimal equivalent of an "A" (hex = 0x41, dec = 65). Is the compare is true, trigger a bit, and on the positive transition of that bit, store the string into a separate vector. You will have to create the second vector to be the length of the maximum amount of string space you will need. Please let me know if this helps.
  15. Hello, So you know what kind of stepper motors you will be using/ how you will want to communciate to them? For six different motors, you may want to use a driver with some type of communciations (serial/ethernet/CANbus), one that has a common protocol with our products (Modbus/CANOpen/etc.). As for the DO - are you going to need transistor or relay outputs? Would you like them on the back of the unit, or DIN rail mounted in your cabinet?
  16. Hello, Were you looking for the 2D or 3D CAD files? If you go to the technical library page on our website, under the Vision HW tab, there are the 2D and 3D CAD file tabs where we list our CAD files for our products.
  17. Hello, When you download in VisiLogic, you have 4 options to download. If you perform a "download", "stop-download-reset", or "Download All & Burn", you will not be able to upload the project, ever. The only option that allows users to upload the project is if you perform a "Burn Upload Project" as the downloading option. Hope this helps.
  18. Writing a header upon start-up may be too quick for the PLC to write to the SD card - I don't think it ever receives that command. We have an example of writing a header to the CSV file in the Examples of VisiLogic. (Help tab\Examples...\Version 900\Project Examples\SD\V570_buffered CSV.vlp) In this example, when we request to write a CSV line, we first write the header to the file once, then we create the data lines and write them. This should work for you. Please let me know if I can explain anything further.
  19. Hello, You do have the CR and LF characters after the last piece of data. If you write a second line, you should see the line be written below the first line in the TXT file. They will not show on the TXT file since they are "invisible" characters and there is no way for the TXT file to show these characters. Please let me know if you do not find this to be the case. Hope this helps.
  20. Hello, How do you have the SD create delimited line set up? Did you only write one line in the TXT file provided?
  21. Hello, What version of VisiLogic are you using? What is the OS installed in the V130? What are the two values you are multiplying? This should be possible as you have done it.
  22. Hello, If you are still having issues with your VisiLogic, please feel free to e-mail into support@unitronics.com for further assistance.
  23. Hello Peter, Unfortunately, you cannot adjust the viewing format of floats. However, you can split the float into two parts: the whole part and fractional part. This can be done through the function block under the Math tab, in the Floats section, Convert, and the INV(A+B/n) function block. Then, on screen, you can format the MI, ML, or DW that you put the fractional part on screen and format it such that only 'x' amount of digits are shown. Hope this helps.
  24. Hello Marko, Thank you for this clarification. You simplest way would be to create schedule blocks for each lamp. The schedule blocks are designed to only activate following elements (to the right of it) once the schedule parameters match the RTC. You may indirectly change the schedule settings, however, you would still need to create bits to activate/deactivate certain outputs after the schedule. Hope this helps.
  25. Hello Marko, I am not sure I understand your application. COuld you explain what you mean by "all lamps to turn on and off different outputs with different preset times"? Would you like the user to se the schedule for all lamps? Or would you like them to be able to set schedules for the individual lamps?
×
×
  • Create New...