Jump to content

AlexUT

Moderators
  • Posts

    838
  • Joined

  • Last visited

  • Days Won

    40

Everything posted by AlexUT

  1. For 9600 bps bitrate time to transmit 1 bit is 1/9600=1.0416666666666666666666666666667e-4 Sec Top transmitt 1 Byte with all surrounding bits time = 0.00125 Sec. MODBUS Request for your case have 8 Bytes. Thansmittion time 0.00125*8=0.010 Sec. Replay for 64 MBs have 13 Bytes. Thansmittion time 0.00125*13=0.01625 Sec. Clean time between activate MODBUS Request and receiving all Bytes of reply is 0.02625 Sec. Add to this processing time at both sides and other delays. This is a time from MODBUS request, when data will be updated. You can change COM port bitrate, if it is applicable. This will make replay fastest. Now look for PLC scan time. You cannot read reply fastest that next scan. This is communication timing for your configuration.
  2. After activating MODBUS FB, result will be known in the next System Scan, or after number of scans. Dependent of communication speed, collision etc. What is communication speed? What is a Slave device?
  3. Hi dulu, As Will explained - there are many factors impacting communication. Look for MODBUS "Function in Progress" and "Status". To evaluate number of errors, you can check "Total" and "Acknowledged" number of sessions. You can adjust "Retry" and "Timeout" in "MODBUS Configuration". BR
  4. Hi, Question answered in other post: http://forum.unitronics.com/index.php?/topic/3292-run-time-error-32811/#entry11995
  5. Hi, Right-click on VisiLogic installation file, select "Properties" and Unblock it. Then run installation. *Your PC account should have an administrative rights. If not - run installation file as administrator. It will first uninstall previously installed version. Run installation file as administrator again and finish installation. Run VisiLogic as Administrator if needs. I hope this fix error message. B.R.
  6. Hi, Speed is wery slow to measure it as a frequency. You can measure interval between 2 sequential pulses and use formula. And you need a conveyor status bit, which means if conveyor is in start or stop. Stop mode will disable speed calculation. B.R.
  7. Hi, I tested port 25, and received "connection timeout". For ESMTP you should use port number 587, but it return message: "554 mail9.tpg.com.au ESMTP not accepting messages". You can test this configuration if it works or not to send email. You have to request IP address and other email server settings from your email provider. B.R.
  8. Hi, Please send your EXF-RC15 project to support@unitronics.com for review. You can add V130 project for CAN access simulation.
  9. Hi, Default communication settings for U90Ladder are 9600, 7, N, 1. MODBUS require 9600, 8, N, 1. Check if Break is disabled or not. Break signal reset communication settings to default to allow U90Ladder communication. You can change communication settings to 9600, 8, N, 1 and check again. Or enter Info mode and change to "SYSTEM->STOP ?" and stop program. This allow to restore communication.
  10. Hi, What is a format of data string from Scale? Is number of transmittet characters fixed or floating? What is a pause between messages? B.R.
  11. Hi, Please check PLC and IO modules for Ground loop. Are TC isolatedfrom body, where temperature measured. B.R.
  12. Hi, Please send your project to support@unitronics.com for review. B.R.
  13. Hi, Please send your project to support@unitronics.com for review. B.R.
  14. Hello Sohel, VisiLogic Help have a good explanation of all LoadCell functions. I recommend you to start from Loadcell Quickstart. Following links will help you: http://www.unitronics.com/KnowledgeBase/U90Ladder/Ladder/Functions/Special_functions/Loadcell/loadcell.htm http://www.unitronics.com/Downloads/Support/Technical%20Library/IO%20expansion%20modules/IO%20Expansions/IO-LC1%20IO-LC3.pdf Go to Menu->Help->Examples, open directory C:\Program Files (x86)\Unitronics\Unitronics VisiLogic_C\Examples\Version 900\Project examples\Loadcell and open one of examples. At the time you know to work with Load Cell modules, you will know how to convince your Customers. I hope this helps.
  15. It seems that you use the same COM port to communicate to frequency converter and PC. PC use PCOM protocol to connect to PLC. Frequency converter use MODBUS protocol. Only one protocol can be active, not both. You can send your project to support@unitronics.com for review.
  16. Hi, You can find HSC connection diagram in PLC specification. http://www.unitronics.com/Downloads/Support/Technical%20Library/M90M91%20Hardware/M91%E2%84%A2%20-%20Specifications/M91-2-R1.pdf You have to use special registers when programming. You have to evaluate, if PLC Ladder can fit process timing requirements. As well, you have to manage motor speed, and stop it somehow. Is it AC/DC/Stepper motor? Solution will be different.
  17. Edwin, Bytes [41] [72] [74] [2D] [4E] [65] [74] [00] [00] [50] [00] [0E] [00] [01] [00] [00] [00] [02] [64] [C8] will be converted to MIs in PLC memory (and vice versa) [72][41]->[7241] [2D][74]->[2D74] [65][4E]->[654E] [00][74]->[0074] [50][00]->[5000] [0E][00]->[0E00] [01][00]->[0100] [00][00]->[0000] [02][00]->[0200] [C8][64]->[C864] This is how data in MIs looks. PLC transmits LSB Byte first (the Right one) then MSB (the left one), etc. until the last Byte being transmitted. I am not knowing, how received data is transposed by device controller. But I will recommend you to transpose all MIs - swap bytes - and transmit again. Or you can use well known program, working via Art-Net to DMX interface and capture Ethernet traffic. Then you can see how Ethernet/IP packet designed.
  18. Hi Edvin, String will be like next: *I show MI content as 2 bytes. Bytes are in ASCII for string, in Decimal for numbers. HEX notation will be 0x00 for Byte or 0x0000 for MI. ID [Art-Net][0] [r][A] [-][t] [e][N] [0][t] *you can use String to ASCII to form this string. OpCode [0][0] ProtVerHi [0] ProtVerLo [14] [0][14] Sequence [0] Physical [0] [0][0] SubUni [0] Net [0] [0][0] SubUni and Net seems to be a start address of your device, which you configured. LengthHi [0] LengthLo [0] [0][0] Length encoded in 2 Bytes, as it will be up to 512. Length is a number of Bytes in Data. Data is variable. Data (in Bytes) [x][x]...[x][x] Full packet: [r][A]; 7 MIs is a constant header. [-][t] [e][N] [0][t] [0][0] [0][14] [0][0] [0][2] [127][127]; This is data for your device. Test [0][0] for off, [127][127] for middle, [255][255] for full intencity (in case of LEDs). I recommend you to allocate vector of max length (header+512 Bytes, 8+256 MIs) for buffer, and use "Protocol TCP/IP Send" to send buffer as a Stream with Indirect length. This will allow you to send wariable data. I hope this helps.
  19. Hi Edwin, Set socket as TCP RAW. Then use TCP Protocol to send message, composed in accordance to DMX rules. *DMX device in most of cases include number of addressable registers. You select 1st register address in DMX device configuration. Details is dependent of used device and it's commands. You have to have this device tested and working. Most of manufacturers of DMX devices include test programs to test DMX adapters and DMX devices functionality. Tell more about used device and answer will be mo detailed. I hope this helps.
  20. Hi, Please check if in Prepare you use 9600 bitrate. If you continue to have problem - send your project to suppport@unitronics.com for review. Sometime there are sadden errors in Ladder, modem settings, etc. BR.
  21. Hi laporbr, Please do not use "Report this to a moderator" as a reply in topic, as nobody can see it . Next I will paste what you sent in "Report this to a moderator". ========================================================================== laporbr laporbrNewbie Members 3 posts 0 warning points Posted 29 January 2015 - 10:01 PM Eyal Koren, on 29 Jan 2015 - 4:25 PM, said: Hi , i have another modem Wavecom and i tried the sim card in this one . This modem is/ was allready initialised . With this modem it works perfect so it can't be the sim card . when i try to remove the phone nr in the number to dial i get runtime error 70 permission denied . any other suggestions ?
  22. Hi, Can you provide more detailed question? What CANBUS protocol do you mean? What will be connected to Unitronics PLCs - Unitronics PLCs or 3rd party devices? Then answer will be more detailed. B.R.
  23. Hi, There is no problem with this example. VisiLogic Help state, that minimal frequency you can generate by PWM is 8 Hz. There is hardware limitation by design. PWM is not intended to generate 1 pulse. You have to use other way to manage stepper motor step-by-step. BR.
  24. Hi, In accordance to your snapshoot, Net 2 set COM port parameters, as required by MODBUD. Do not disable it. Look U90Ladder Help for MODBUS Slave Addressing and examples. There are 2 MODBUS examples in U90Ladder MODBUS directory. Use Slave for Jazz. What parameters should you read from/write to Jazz? BR.
  25. Hi, Jazz PLC have only one communication channel. It will be used or for MODBUS, or for online mode. Not for both. Online mode use PCOM protocol, which change COM port protocol to PCOM. If you need debug, when use MODBUS - use additional displays to show debug information. Or you can use SAMBA PLCs, which have 1 embedded COM port, and one additional COM or Ethernet port will be installed. I hope this helps.
×
×
  • Create New...