AlexUT
Moderators-
Posts
844 -
Joined
-
Last visited
-
Days Won
40
Content Type
Profiles
Forums
Gallery
Events
Blogs
Downloads
Articles
Media Demo
Everything posted by AlexUT
-
Serial communication problem with Jazz JZ10-11-R16
AlexUT replied to wachovius's topic in Jazz, M91 PLCs and U90Ladder
Hi, I recommend you to use Unitronics approved USB-to-Serial converters. You can find converters by contacting your local distributor in your country. MJ20-PRG is isolated, and require external power, which is obtained from USB-to-Serial converter, DSR for example. Your USB-to-Serial converter will be simplest one, which use only Rx and Tx lines. So it cannot supply power to PRJ adapter. B.R. -
Processor Speed on V1210
AlexUT replied to mikecbmc's topic in Vision & Samba PLC + HMI Controllers & VisiLogic Software
Thank you for your ideas. We are open for everything, what will improve PLCs. I hope, you can finish your project, when choise right hardware from existing one and optimize its' use. B.R. -
Emails on V1210
AlexUT replied to navigatoru's topic in Vision & Samba PLC + HMI Controllers & VisiLogic Software
Hi, Can you send you project to support@unitronics .com to simulate your problem? Add information about system files versions, used VisiLogic version. Do you connect PLC to your company network? May be some kind of traffic is blocked? We tested our examples on ADSL line with GMX email servers, B.R. -
Processor Speed on V1210
AlexUT replied to mikecbmc's topic in Vision & Samba PLC + HMI Controllers & VisiLogic Software
Hi, PLC most important task is to process Ladder code. If you need contineous fast drawing, you can split you system into 2 parts: 1.PLC 1 - Minimum drawing, but fast Ladder processing - it may be slowest PLC then you have now. 2.PLC 2 - V1210, used mostly for contineous fast drawing. It's scan time will not disturb for scan time of the first PLC. And you can use V1210 for other tasks. What you need to do - organize fast communication between PLC 1 and PLC 2. I hope you will have good working system. *Fastest CPU is not the better solution, as in most of cases this require re-design. B.R. -
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.
-
Run-time error 32811
AlexUT replied to guilherme_pires's topic in Vision & Samba PLC + HMI Controllers & VisiLogic Software
Hi, Question answered in other post: http://forum.unitronics.com/index.php?/topic/3292-run-time-error-32811/#entry11995 -
Run -Time error 32811
AlexUT replied to guilherme_pires's topic in Vision & Samba PLC + HMI Controllers & VisiLogic Software
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. -
Feet per minute with proximity switch
AlexUT replied to jblkiller's topic in Jazz, M91 PLCs and U90Ladder
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. -
Emails on V1210
AlexUT replied to navigatoru's topic in Vision & Samba PLC + HMI Controllers & VisiLogic Software
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. -
Hi, Please send your EXF-RC15 project to support@unitronics.com for review. You can add V130 project for CAN access simulation.
-
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.
-
Temperature Control Problem
AlexUT replied to Steve101's topic in Vision & Samba PLC + HMI Controllers & VisiLogic Software
Hi, Please check PLC and IO modules for Ground loop. Are TC isolatedfrom body, where temperature measured. B.R. -
Hi, Please send your project to support@unitronics.com for review. B.R.
-
PID/Temp Control
AlexUT replied to Steve101's topic in Vision & Samba PLC + HMI Controllers & VisiLogic Software
Hi, Please send your project to support@unitronics.com for review. B.R. -
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.
-
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.
-
Replace Fusion Durant counter by M91-2-R1
AlexUT replied to jblkiller's topic in Jazz, M91 PLCs and U90Ladder
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. -
Art-Net to DMX
AlexUT replied to Edwin's topic in Vision & Samba PLC + HMI Controllers & VisiLogic Software
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. -
Art-Net to DMX
AlexUT replied to Edwin's topic in Vision & Samba PLC + HMI Controllers & VisiLogic Software
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. -
Art-Net to DMX
AlexUT replied to Edwin's topic in Vision & Samba PLC + HMI Controllers & VisiLogic Software
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.