Jump to content

AlexUT

Moderators
  • Posts

    846
  • Joined

  • Last visited

  • Days Won

    40

Everything posted by AlexUT

  1. 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.
  2. 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.
  3. 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.
  4. 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 ?
  5. 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.
  6. 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.
  7. 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.
  8. 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.
  9. Hi amirm, I will add a bit to what EduMarg explained. There is an option to "Erase unidentified messages from SIM in "SMS Configuration". Then in conjunction with "Clear SIM" at startup this will automatic delete messages, not defined in SMS configuration. Spam SMS will be deleted when arrived. BR.
  10. Hi Dan, Conditions should be used to eliminate situation, when SD card is blocked to write, or somebody ejected it without processing "SD Safely Remove". SD card is not intended, and not designed to be removed frequently. It should collect data for long period of time. This data (SD card files) will be: 1.Send by email; 2.Transferred by DataXport; 3.Retrieved by SD card explorer; Etc. BR.
  11. Hi Dan, PLC do processing of all SD read/write requests sequentially. There is an internal schedule between different handlers (CSV, Data Table, etc.). SB 344 show, if CSV handler is busy or not. If it is busy - you must NOT request to write more data to CSV file, until this bit will be down. This leads to fact, that you do not need to write simultaneously to many CSV files (and you cannot, as SD card blocks are stored 1 by 1). Attempt to write multiple files at the same time will lead to trouble in realization and support. *Why do you store Data Table in CSV? Why not as Data Table? It will require less SD card space and will be finished fastest. I hope I answered your question(s). BR.
  12. Hi Dan, For each type of SD card operation there is a separate handler. There is one handler to write CSV files. There is no problem to set number of requests to write CSV files, but all requests will be processed in sequence as it is in Ladder. I will recommend to set in Ladder one general request for backup. It will set request to save first table. When first table will be finished - it will set request to save second table. Etc., until last table backup will be finished. Then "SD Safely Remove" request will be set by this handler or by Operator. One important remark - SD card extenders of any type are NOT SUPPORTED. SD card should be inserted in PLC SD card slot. I hope this helps.
  13. Hi Dan, SB 219 is for information only. It will be up if any write request(s) in progress. You can remove SD card ONLY if "Safe to remove" bit is set. *It should be reset before you set request to remove SD card. When "Safe to Remove" bit being energized - you have to remove SD card and insert it again to allow next write functions. You have to check in Ladder if "Safe to remove" is set, and disable all buttons, leading to write operations. As well, should not set in Ladder any write request. **Any write request will be rejected with error. ***When you required "SD Safely Remove" - all in-progress requests are active. New requests are not allowed. When all write requests being finished - "Safe to remove" bit will be set and you can remove SD card. There is a good explanation in Help->SD:Safely Remove. One important remark - SD card extenders of any type are NOT SUPPORTED. SD card should be inserted in PLC SD card slot. I hope this helps.
  14. Hi RicksinSD, It seems, that solenoids, when disconnected, produce arcs on relay contacts and generate EMI, which stops internal module processor. You have to power cycle it to return to regular work. You have to use snubbers or other protection circuits for 2 reasons: 1.Protect relay contacts - suppress arcs. 2.Minimize EMI. We have no specific recommendation not about snubber type, nor about snubber manufacturer. You have to choice it in accordance to load type and other parameters. Each snubber manufacturer have its recommendations, in formulas or in tables. I hope this helps. As well, you have to check modules grounding. There is document "System Wiring Guidelines" in Support->Technical Library http://www.unitronics.com/Downloads/Support/Technical%20Library/Technical%20Notes/System%20Wiring%20Guidelines/General_Wiring_Guidelines_SUPP-DOC_10-13.pdf
  15. Hi Baho, Jazz does not support direct stepper motor. You can use PWM mode of HSO 0 (output 05), npn, to simulate Stepper Motor output. Jazz HSO 0 (output 05) should be configured as PWM with duty cycle 500 (50%) and required frequency. Use Enable bit to start (=1) and stop (=0) pulse output. There is no internal counter of output pulses, nor acceleration/deceleration. You have to realize this in Ladder. With a scan time of PLC (=>100 mSec), and frequency you use (15 kHz), it is impossible to predict if you can succeed or not. It is preferred to make integration and tests. I hope this helps.
  16. Hi, You can restore defaults in Com Init FB and repeat test. MC52i is not in supported modems list, so you can test "Other" type. Does problem happens with a specific Cellular Provider or with all prowiders? Is SIM card charged and have budget? You can test if modem send/receive SMS from "Modem Services"->"SMS Options". *This does not include Modem Init commands, PLC send during COM Init. You can make COM port traffic capture during COM Port initialization by PLC. You can do this by use of COM port "sniffer". To obtain it, please contact your distributor. Sniffer part numbet is MJ10-22-CS16. *You can find explanation in document(VisiLogic docummentation should be installed): "C:\Program Files (x86)\Common Files\Unitronics\Documentation\Manuals & Specs\Miscellaneous\Communications Sniffer.pdf", or look for this document at Support site. If you cannot obtain COM port sniffer - you can copy all commenda from COM Init FB to Notepad, and execute one by one from Terminal Program, Like Hercules, where you can save Modem requests/replays. From this capture you can find Modem replies with error. If you cannot localize problem - send test results to support@unitronics.com. BR.
  17. You have an OEM PLC. Original keys from left to right are SB58 (F1), SB59 (F2), SB60 (F3), SB61 (F4), SB57 (ESC). Take kare if this PLC have some special marks after model number, or modified model number.
  18. Hi, It seems that you need to contact machine manufacturer to solve this problem. R.R.
  19. Hi Flex727, Please send your project, including information about used VisiLogic version and versions of System files at PLC to support@unitronics.com. We will review progect to find for what the memory is allocated. BR.
  20. Hi Marco, Please compile the solution as x86 and test. Does it works? B.R.
  21. Hi, Table structure - number of columns and data types - is fixed. So you always know what is a last column. To know, what is the last row with walid data in table, you should start from clean table, and take care to delete an empty rows by shifting all following rows up and clean the last not used rows. Or keep number of valid rows in variable.
  22. Hi, Why do you need Timer coil after INC block? Delete it and test. Check if you have others coils of the same Timer. If you activate Timer coil N times per scan - in will count N times fastest. BR.
  23. Hi, There are no attached pictures. Please send your project to support@unitronics.com for review. We will run it to simulate problem. B.R.
  24. Hi, Please update your link. It show error. If you continue to have difficulties - send your project to support@unitronics.com B.R.
  25. Following is a link to encoder site http://www.ia.omron.com/product/item/e6b27057d/index.html See "Output circuit diagram" section. It show NPN output. So you should use NPN input at PLC. And it should work. Please test and tell us if this works.
×
×
  • Create New...