Jump to content

AlexUT

Moderators
  • Posts

    837
  • Joined

  • Last visited

  • Days Won

    40

Everything posted by AlexUT

  1. Hi, 1. Alfa-numeric value is a string. String occupy number of "characters"+1 Bytes. Last Byte is 0x00 - "zero" Byte which marks a string end. As a Unitronics PLCs store strings in vectors of MIs. MI store 2 Bytes. 2. In your case stings include max. 6 characters. Required number of MIs in vector is (6+1)/2+1=7/2+1=3.5+1=4.5. Round it to lower number 4. So you need 4 MIs in vector. 3. Use "String to ASCII" to store required string to MIs vector. 4.Use one of strings as text. 5. Click on "Vector Start Address" and select 1st MI of 4 secuential MIs. For example MI 0. 6. Click on marked sign: 7. Enter comment with final space: 8. Add /4 to stringand press OK: 9.Click on OK again: 10. Use "Vector Start Offset" =0 and click OK. 11. Click OK again to finish. 12. Now you have vector of MIs, allocated for your string. B.R.
  2. Hi, It is recommended to review Help in deep before you start and before "inventing" new requirements. Help include a lot of explanations: Did you?:) B.R.
  3. Move to Vision topics. Translation (probable with some errors): capture npn square wave pulse signal. how to code the window x display the value. good morning I have to connect a liter meter to a pump I have a plc v700 how can I do the odice and the window to view the code, and at which port it will be ingput
  4. Follow this article: https://support.unitronics.com/index.php?/selfhelp/view-article/unilogic-splash-screen-loading-components-appear-and-crash-immediately If problem continue to appear - follow next article: https://support.unitronics.com/index.php?/selfhelp/view-article/unilogic-is-stuck-on-splash-screen-loading-components Is problem fixed or not?
  5. Hi All, Keep in mind that both interfaces of the same PLC COM port (RS485 at pins 1 and 6, and RS232 at pins 2,3,4,5) use the same hardware (UART) inside PLC. So you cannot use both RS485 at pins 1 and 6, and RS232 at pins 2,3,4,5 at the same time. BREAK signal at RS232, will switch COM port to PCOM protocol (default 7, E, 1) and will collide with RS485 interface. Conclusion: To use both interfaces, one by one, you have to have 2 cables: 1. RS485 interface. 2. RS232 interface. To make project download, you have to disconnect RS485 interface cable and connect RS232 interface cable. If PLC is a MODBUS Master - it will send MODBUS requests, which may interfer with PCOM protocol. To solve this - stop PLC from INFO mode to download project to PLC. Then connect RS485 interface and power cycle PLC.
  6. You use Inverted Coils - look Help for description. It will be good if you create test project with onlu elements you use and test. Then post project if you have trouble.
  7. Coil cannot be used as condition. When activate coil - you have to use the same MB's contact as condition.
  8. What FLIR sensor did you used?
  9. You can review VisiLogic examples in \HMI\HMI Show. There is a Ladder code to activate screen saver with pictures.
  10. No, there is no pre-defined behaviour like this. You have to realize this in Ladder.
  11. You can use Message Composer to prepare message in required format. Than send this message as HTTP over TCP from Ladder.
  12. Unitronics PLCs are not designed to be periferal devices of other PLCs. If you wish to communicate to other devices, you can use either MODBUS or other supported protocols. You can find MODBUS addressing in Unitronics Help files for each PLC model. B.R.
  13. Good luck! If you wish-share result, and where it may be used. I'll be doing it with any suitable SBC. In any case you need an external keyboard. Hope you can look to realize VT100 as HTML page. .B.R.
  14. No, it is not possible. Vision series does not supporting SSL/TLS/Security Certificates. UniStream series supporting SSL/TLS/Security Certificates for selected communication settings. B.R.
  15. I found full manual. *It is not real file name. Original file name being very complex. Hope it will be helpful. B.R. Mayekava MYPRO-CPIV_Manual-pdf-free.pdf
  16. You have to take care: 1. "String" variable in Data Table limited to 20 characters and should not be terminated by 0x00 symbol. 2. "String" variable in PLC MIs vector limited to 20 characters and should be terminated by 0x00 symbol. So you have to allocate (20+1)/2, rounded up. I.e. 11 MIs. 3. It is good practice to clean (fill by 0x00) used for string MIs vectors. .
  17. Unitronics PLCs has no embedded functions, like "regression function", etc. Look at Helpdesk article: Calculate Totalizing or Integral https://support.unitronics.com/index.php?/selfhelp/view-article/calculate-totalizing-or-integral In common, PLC scan time should be as small as possible. Complex functions will take long time and enlarge scan time. So if you decide to realize "regression function", you should take care to minimize disturbance to scan time. B.R.
  18. It is preferred to ask machine manufacturer about backup. Bacup may be not available. B.R.
  19. Kratmel, I c annbot recommend this for field use. 1. PLC attempting to read meter, and contineously will return COM port settings to RS485. 2. When connecting PC and activate VisiLogic communication - PC send BREAK signal to RS232 and change protocol to PCOM (7, E, 1), which is not compatible for modem (8.N, 1). 3. Possible colution (but not perfect) is to make COM INIT for RS485 and for RS232 in separate Nets. Use modem communication , then make COM INIOT for RS485 and read from meter. 8Use 1 and 6 pins to connect meter. Use 2,3,4,5 pins to connect modem. This will not always work at field. B.R. *Both modes cannot be used.
  20. Hi Tomas, All Unitronics PLCs are designed to work with supported modems "peer-to-peer" by use of RS232 interface. RS485 interfacce cannot be used. B.R.
  21. Nicola, You may check for short circuit between 0V and H, 0V and L, H and L on CANBUS connector. Resistance should be tens of kilobytes. *Disconnect cable before you make measyrement. For example, resistance between H and L is near 36 kB for V570, V1xxx. Low resistance or shortcut point to hardware problem.
  22. You have to correct linearization, dependent of resolution you selected in Hardware Configuration.:
×
×
  • Create New...