Jump to content

dan

Super Moderators
  • Posts

    25
  • Joined

  • Last visited

Posts posted by dan

  1. Hi Gary, Noam,

    You can load a Program via a USB Stick by navigating to Download > Export project to USB storage, as Noam suggested.

    Using UniLogic, a user can view live data in the controller using the Online mode. However, online edits to the program are not available in this mode. The edits must be made offline and downloaded.

    Dan.

  2. Hi Kris9880,

     

    What type of Unitronics PLC do you have? Each PLC has an option for BootStrap mode and Stop Mode. Instructions on how to get to these modes vary between controllers. Within these modes, the program stops, and the PLC communication settings are reset. 

     

    What are you attempting to do in this mode?

     

    Thanks, 

     

    Dan. 

  3. Hi Vidmas30,

     

    It appears the issue is with signed and unsigned 16 bit registers. A MI is signed 16 bit register, with a range of -32768-32767. A unsigned 16 bit register would have a range of 0-65535. A 65535 for a Unsigned register will result in a value of -1 for a signed register. 

     

    The bits will still translate directly, however. You can read the value, and break the value down into bits using the function block Vector > Numeric to bits.  It will take the MI, and break it does into MBs.

     

    Alternatively, a DW is a 32 bit Unsigned register. 

     

    I hope you find this helpful.

     

    Dan

    • Upvote 1
  4. Hi Joesteva,

     

    There is no way to force a analog input within the software without supplying current or voltage to the terminal. 

     

    What I would recommend is to create a new "Test" tag, and replace the analog input in your code with this tag. Once this is done, you can change the "test" tag to simulate an incoming value.

     

    I hope you find this helpful.

     

    Thanks, 

     

    Dan. 

  5. Hi Dan,

     

    Are you using Real numbers? We have similar issue using Real numbers. 

     

    A real is a 32 bit register. In our case, the UniStream and Siemens controllers did not interpret the 4 bytes in the same order. (i.e. 8e1 is interpreted as 81e0, or the like) This results in different values. 

     

    In the UniLogic software, there is a function block that will swap the bytes. This worked; however, if there are not sequenced properly, it will result in "flickering" of the value between 2 values. 

     

    A similar issue can occur with Integer values as well. 

     

    Please feel free to email us at support@unitronics.com for further information. 

     

    -Dan

  6. Hi,

     

    Thanks for using the Unitronics forum.

     

    The TPDO and RPDO will use Structs created within the project. First click the "Struct" tab in the tag database, and create the format of your RPDO. Once created, you will have the ability to create a tag with this Structure in the RPDO and TPDO tabs.

     

    I hope this helps,

     

    Dan.

  7. Hi,

     

    A digital input can be forced from the VisiLogic software and using the info mode of the controller. 

     

    Visilogic- Go into online test. Double click on the input you would like to force. Right click and the click "force to 1".

    Info mode- Enter info mode of the controller. Select the operands > Inputs. Select the input you would like force and click F1 at the bottom of the screen.

     

    Please note that you must clear the force when done. 

     

    Dan 

  8. Hi,

     

    If you are using a PWM output, the duty cycle will determine the percentage the output will be on for over the given frequency. (0-1000).

     

    If the duty cycle is set to 1000, then the output will always be on over set frequency. 

     

    Try setting the duty cycle to 0 and see if the output is still on. also, attempt to set a frequency of 1000 to test. 

     

    Dan. 

×
×
  • Create New...