Jump to content

s.pratt

Members
  • Posts

    350
  • Joined

  • Last visited

  • Days Won

    6

Everything posted by s.pratt

  1. Hello Robin, Unfortunately, this message cannot be suppressed. Due to the way real numbers are bit-calculated, this space must be reserved for the full range of fractional value the tag can handle, and the tag cannot be formatted. However, you can scale the number to the amount of decimal places, then place that number into an integer; then upon placing the numeric variable on screen, insert a decimal position. (f.e. if I only want two decimal places, multiply the real by 100, then force the decimal place in the properties of the integer you placed it in) For linearization, we do not have this feature available in the properties of the numeric boxes for UniLogic; however, we do have the linearization feature built in to the analog inputs and outputs within the hardware configuration. You just need to tell the configurator your minimum and maximum bit values, and what you would like to linearize the value to (f.e. 4-20mA). If you need to linearize this value to something else, it would have to be done through ladder. Let us know if this helps.
  2. Hello, You are correct. Setting SB82 will turn take two adjacent MIs and combine them for a 32-bit integer. The first MI (f.e. MI0) will hold the lower byte of the number, and the adjacent MI (f.e MI1) will hold the higher byte of the 32-bit number. We recommend storing this value into two other MIs so you can use the 16-bit functionality of the MIs, then resetting SB82, otherwise all of your MI values will be treated as 32-bit 'long' integers. Therefore, in the ladder: -Set SB82 and store MI0 and MI1 into MI2 and MI3: - A Parameter : MI0 (as 32-bit 'long integer' with MI1) - B Parameter: MI2 (with MI3, treated as two independent 16-bit integers) -Reset SB82 - MI0 and MI1 are treated as two independent MI values - MI2 and MI3 are treated as one 32-bit 'long integer' Hope this helps.
  3. Hello, In order to set the controller for Modbus communications, please follow the following picture's logic set up. You can find this information in our U90 help files: Communications>MODBUS.
  4. Hello, RS232 as a standard requires handshaking. May I ask what the voltage levels are for RS232 communication on the BGS5T module? However, I have read when using no parity, you must use 2 stop bits for Modbus RTU. I am not sure if you have set this up in your program when you configured Modbus RTU, but if not... "The format for each byte ( 11 bits ) in RTU mode is : Coding System: 8–bit binary Bits per Byte: 1 start bit 8 data bits, least significant bit sent first 1 bit for parity completion 1 stop bit Even parity is required, other modes ( odd parity, no parity ) may also be used. In order to ensure a maximum compatibility with other products, it is recommended to support also No parity mode. The default parity mode must be even parity. Remark : the use of no parity requires 2 stop bits." Let us know if this helps.
  5. Hello, Please try following these exact steps to initialize communications over USB in UniLogic. • Please try to power OFF the PLC • Close UniLogic • Unplug the USB cable • Make sure the PLC is grounded (power supply for notebook) • Power ON the PLC • When you see the "initializing" green spin logo, plug the USB cable • After the PLC finished to Boot up Open UniLogic and try to download the project. • If needed, In the discovery window click on the "Refresh" link few times If it didn't helped please try to install the driver manually, the path is C:\ProgramData\Unitronics\UniLogic\Drivers Below you can download the content from this path. https://unitronics.exavault.com/share/view/5ty1-cvs0qjod-7ak0uem6 Please ensure you set your Windows operating system to support unsigned USB drivers, as this is a requirement for Windows 8/8.1. Let us know if this helps. If the problem still persists, please contact support@unitronics.com for further troubleshooting.
  6. Hello, If you are going to use the Enfora modem for the PLC, you need to initialize the modem for PLC-side. This can be done through VisiLogic: -Navigate to "Connection" tab -Select "Modem Services" -Select "GSM" tab and enter COM parameters -Select "Initialize PLC-side Modem" What you will need to connect the modem to your PLC is a RJ11 cable and the MJ10-22-CS76 (RJ11 to DB9 serial adapter). This should be included with the modem kit. To connect to your PC for modem initialization, you will need any male-to-male or male-to-female DB9 cable. One side of the DB9 cable will go to the modem (male side of cable) and the other side to your PC. If your PC does not have a DB9 serial port, you can use the MJ10-22-CS35 RS232 to USB converter, which will plug into the DB9 side of the CS76 adapter. In this case, you would need a male-to-female DB9 cable. Hope this helps!
  7. Hello Dave, Please e-mail into support@unitronics.com about this issue. We may have to conduct a remote connection to look at your VisiLogic install. The configuration file for you hardware configuration may not have the Samba 4.3" option included.
  8. Hello Dave, Please ensure you have the most up-to-date VisiLogic. Within the HW Configuration, please select the "Samba" tab, and the options for choosing either the SM35 or the SM45 will appear. Once you have chosen the samba model (SM45 in your case) you will be prompted to choose the appropriate IO for that device (T20 or R20). Let us know if this helps.
  9. Hello, If the button is not actually released, the bit will stay set. I understand your reasoning as to why it should reset, and it may be possible, so I would suggest to writing an e-mail into support@unitronics.com stating this issue. However, as a solution, I suggest setting a project-level action to change the screen upon release of the button AND when the timer is set. The ladder should be set up as follows: Another solution would be to reset the "button" bit when the screen is displayed. For instance, when looking at the screen you wish to load, there should be an "Is Active" bit. In the ladder, upon positive transition of the "Is Active" bit, reset the "button" bit. Let me know if this helps.
  10. Hello, When using the Ethernet protocol Modbus TCP, slave ID's are not used. This is why they are automatically assigned to 255 and grayed out. They are only for the serial protocol Modbus RTU. If your slave device requires a slave ID when connecting over Modbus TCP, it must have an internal Modbus TCP to Modbus RTU converter. Therefore, you would need to use the "Modbus Advanced" features of UniLogic to assign the correct slave ID. Please email into support@unitronics.com for more information on how to use this feature, and we can also provide sample code with this feature for your to review. Hope this helps.
  11. Hello, The PID function in UniStream works similarly to the PID function in the Vision Series controllers. Only the set-up a slightly different (since UniLogic works with structs). Therefore, you can use the same documentation to understand the parameters. Also, we have a tutorial on our "Webinars & Tutorials" page that should help you understand how this function is working as well. PID Tutorial Here is some documentation on our PID functionality which can be found on our technical library page: Vision PID FB & Autotune PID Tips When running the autotune features, the software will calculate your most efficient output values based on its logic for you and keep them in the "Autotune Parameters" struct. You will only need to set a set point and configure some limits for your system. This is all explained in the tutorial and documentation. Hope this helps.
  12. Hello again, I apologize if I gave you any confusion. But your steps look to be correct to me. Please allow me to clarify how the structs are working: When a struct is created, you are basically creating a format. No tags are associated with the structs created in the struct tab. They are just for formatting, or you could look at the as a "configuration file". This is why you must created an "instance" of the struct in the global tags list. Let me know if this helps.
  13. Hello, In UniLogic, you must create an instance of the struct you used for the data table format. This basically means you must create a tag with the "type" being the struct. You can find the struct you used for the data table format near the bottom of the "type" list. This tag you created will ensure the same data, in the same orientation as the columns are listed out, will be transferred correctly. Also, it was designed to help to organize your data. Once this is complete, you can use the read row function block for the according data table you used (LIFO, FIFO, Indexed) and pass that row data into your tag instance described above. You can then call the individual tags by calling the data table, then the specific data. (Example: Data_Table.Column1Data) Please let us know if this helps.
  14. Hello egato, Are you sure you are triggering this function command off of a positive transition contact? We have seen this status message related to the function being called in too many scans.
  15. Hello egato, The LC command status of '3' states that the I/O expansion module (the LC module you are trying to change the representation mode on) is busy at that time. This may be due to trying to change the representation mode and conducting another LC command too soon. Please note, it takes 330msec to change between representation modes. Also, please note, changing the representation mode of one value to mV/V will force the representation mode of both values to mV/V (net and gross).
  16. Hello wer, From what I understand, you are receiving an "Invalid Tools Collection" error when switching from a Samba application to a V350 application? And when you try to re-open VisiLogic after it has crashed, you are not able to access certain tools in VisiLogic, such as the alarms? --Is this correct? It also appears that when you open VisiLogic after the previous project has been deleted, you are able to open your V350 project without any issues. --Is this correct? Are you running VisiLogic under administrative rights? (Please right click on the VisiLogic icon and select "Run As Administrator.." and see if this problem still exists.) Also, have you installed VisiLogic with UAC turned all the way off? Please let us know of any error messages you are seeing, and when they may occur. Please let us know of your results.
  17. Hello, A drop-down feature is not present in our software at this time, however you could use a button that toggles buttons/selections below to be seen or not. You can link that bit in the button's properties (the "Hide" parameter). When the top button is pressed and toggles the "Hide" bit on, it will allow the user to choose from the appearing selections below. Hope this helps!
  18. Glad to hear you got it working! I know I've been tricked by the expansion port before, so don't feel bad. Let us know if we can help with anything else.
  19. Hello, Yes, that is correct. MB3 being the most significant bit and MB0 being the least significant bit.
  20. Hello, Thank you for using our Unitronics Forum. Are you able to ping the IP address of the device from your PC while it is connected? If the device is disconnected, could you ping the IP address anyway? Are you sure the PC and your device is on the same network (same first three octets of IP address)?
  21. Hello, You do not need a subroutine for this function. It has already been done for you. Please refer to the images below.
×
×
  • Create New...