-
Posts
534 -
Joined
-
Last visited
-
Days Won
13
Content Type
Profiles
Forums
Gallery
Events
Blogs
Downloads
Articles
Media Demo
Posts posted by Damian
-
-
Cara, thanks for the tip!
and the rest...............
This will give you close to max comm speed as it relies purely on handshaking and does not utilize timers.
-
:)Hi guys ,
The V1040 Big Screen Vision will be available during Q1, 2011.
(A perk of working in R&D--I've just been playing with one. It's cute )
Oh NO! Anything but cute!!
Will it have any new features or will it strictly be a V570 with a bigger screen?
Need a BETA tester??
-
RS485 is pure daisy chain! Don't even dream about "star". Don't even think about "stubs! The cable must be passed strictly from unit to unit. I recommend using our connector MJ10-22-CS66, which will let you connect two cable to one RJ11 connector with minimum stub (about 2 cm).
Termination must be set on the ends of the cable. It doesn't matter what is the ID of the unit. If the units are aranged in the way you show in te scheme, there needs to be unit 1 and 9.
Emil, your too rigid! Star topology can work just fine if all the nodes are very close together and baud rates are not that high. I've done this a few times in the past to avoid trying to daisy chain RJ45 or RJ11 connectors that don't repeat the signals on another set of pins. Generally if your devices are all mounted next to each other on the same panel and each leg is kept to a couple feet max (which is a common situation) you will not experience issues.
-
oops, sorry. Didn't notice the distances before. Across slave 1 and across slave 9.
-
Hi,
As attached, I have an application using a V280 & 9 Slave devices. The drawing attached is the exact representation of the system. Kindly advise me as to where are the End Terminating Resistors to be installed?
Thanks
Ron
Are you running your cable from drive to drive in series, or are you branching out to all the slaves from the master in a starlike topology? If you have all the devices linked "in line" then you need just to have the resistors at the extreme ends. If you are doing a star topology (generally not recommended) then it can get complicated. Are these devices all short runs, or are they long distances?
-
or maybe not ........... looks as though I have uploaded my quota for today
-
-
Good evening,
Our customer wants PLC to count impulses of four machines, and to have results (count per minute) in PC (Excel). So I think cheapest solution would be Jazz connected via serial cable to PC DDE server. I want to ask what max length of serial connection cable can be used? Thank you!
As a general rule of thumb, RS232 is not recommended over 50 feet.
-
Windows XP Pro SP3 (All the latest security updates)
Dell Precision (With Intel Centrino Duo)
Visilogic 8.6.1
Kaspersky Antivirus
-
-
Network 2: Split this up into two nets. It is bad practice to have multiple rungs in one net.
Try removing the "underscore" from the PLC name (just to rule it out)
Regarding SI145, Unitronics has some documentation missing. Status 14 also means initialized to TCP master
Maybe better not to make MB5 a set coil. This only allows you to try the connection once.
Make sure the Device ID of your slave device is set to 2 (as is in your config block)
Try using socket 2. It's defaults more closely match what you are doing.
Where is your RHR function???
You should post your Slave code as well.
When you are viewing Online are SB142 and SB143 on?
- 1
-
Hi to everybody,
I'm using this banal formula Y=A*[100 - B]/100
where A and B are MI
A goes from 0 to 4095 (MI is perfect)
B goes from 0 to 100 (MI is perfect again)
Y goes from 0 to A (MI...)
all seems to be coherent with the use of MI, but is it true?
In other terms: if I look at the intermediate calculation I find an A*[100 - B] that in case of (for example)
A=4000 and B = 0 will have a result equal to 400.000 that isn't compatible with an MI.
My question is: when I use formula, have I to take account of the intermediate calculations?
tks
CltOff
If I understand you correctly, I think the answer to your question is you will lose any precision after the decimal place.
To maintain the precision to the left of the decimal, take care to perform the division last.
-
Hi, guys,
this is my 1st post and also 1st time experience with V570 and VisiLogic 8.6.1
I have to divide two number and to store the result in a MF.
Example;
ML = 20000
#D = 3600
result is 5.5555
Since now I am using ML, I lost the x.5555
in my application I need to accumulate this reading over time, the x.555 is giving huge error.
I wanted to use MF (thinking this will solve the problem), but could not find the MF in the drop menu.
Please advice, and thanks in advance.
M.Pathma
to keep the precision while still using Long Integers, you could also just multiply the first ML by your precision (ie, 10000) prior to dividing.
-
Hi - thanks for your suggestions.
I had a word from site sying that the comms. worked all of a sudden when the normal patch cable was replaced by a screened CAT5 cable. The normal patch cable is in perfect working order. Is it normal that the comms. should halt if a screened cable is not used? Bearing in mind that a direct connection (PLC - PC) via un-screened crossover cable was successful.
Best regards,
Ragnar
Sounds like you had a ground loop that the screened cable may be squelching. How close is the switch to both devices?
-
Why wouldn't "elaspsed time" have anything to do with the RTC??
When the start condition happens store the RTC in a variable.
Now have a Subtraction function block that takes the current value of the RTC, subtracts the Start value, and places into another variable (your elapsed time).
That is the most accurate elasped time you will be able to get.
-
Hi Damian,
All what you describe we still call "R&D". It will take another few months, but I beleive not so long as "years". There even has a chance to get it as "Christmas gift"...
Hi Emil,
Are we still looking good for the schedule on this?
-
well i have the situation comparing about 100 thermocouples status judged by the temperature in status of wrong wired, wrong polarity .... so function gets big ...
so no way to expand to the right instead of using lines lines lines lines ?
Sounds like you should consider creating a loop and using indirect addressing. If you have to do virtually the same thing 100 times over than it is to your benefit to organize it such that you can just re-use the same block of code as if it were a function.
-
In fact - it's too big!
We always recommend:
Write one rung per net!
Write simple, short nets!
Following these roles, you will understand why in fact the nets are too big!
Hi Emil,
I disagree with you on this one. I like short simple nets as well, but I often find myself constantly creating the dreaded "S-loop" to be able to be able to finish one simple train of logic.
If Writing one rung per network is good practice (as most of us probably agree), it would seem that Visilogic has too much vertical network area in proportion to the horizontal area.
Even with the smallest function blocks, I can only have three in series and still have enough room at the right to place a coil without having to make a loop.
Yet, Visilogic leaves room to create up to six parallel rungs in one network all tall enough to contain function blocks.
As a side note. Most software dynamically modify the wires for you as you build code. RSLogix as an example. Once your net gets too wide it automatically does the S-curve for you. This tends to be much more efficient to program from a "development time" standpoint. I feel like I waste a lot of time in Visilogic drawing wires as if I were using Autocad, instead of just entering logic. Maybe something R&D can chew on for the "next generation". In this day and age, if something that can be automated has to be performed manually, we're just wasting time and money.
-
the problem is solved and was:
you can't use the status of an output (direct contact) to set anything, changed the output status with the logic to set the output and everything is as it should.
Is this normal? why can you use the output status( direct contact) in the ladder diagram when it isn't working?
Could you post a pic of the before and after so we can understand what you mean?
-
Hi.
I'm having trouble with the compare funktion. When in online test mode I can see that the statement is true, the block is red but it will not set the coil behind it.
I've had this problem before but it have been solved by downloading the program again. This time it dosen't fix it.
I'm using vision130 with unitronics V 8.6.1 .
Anyone having any thoughts about this?
regards
sjeggefjes
Have you done a cross reference to check if you accidently created a duplicate coil elsewhere?
-
Hey Guys,
Thanks for the reply, I'm using the v200-18-E4XB snap on module, output set to pnp using the PTO function in hardware setup.
The frequency is given by linearisation for acc/dec and then a constant value for max speed. Same method as in example.
Since I posted my question I have resolved the issue by setting up a pulse multiplier in the servo drive, this has given me the desired effect on the motor so this issue is resolved in my opinion.
Thanks.
Hi Frosty,
Glad to hear you found a workaround. For future reference, the value you were using with a PNP output was too big.
This is a snippet from the Uni documentation:
You can use certain outputs as High-speed Outputs (HSO) via PWM (Pulse Width Modulation). When you select a High Speed Output in the Hardware, the Select Operand and Address dialog box appears three successive times, allowing you to link operands for the following values:
Duty Cycle
The ratio of the "on" period of a cycle to the total cycle period. This value may be from 0-1000, and is expressed as a percentage.
If, for example, the constant 750 is stored into the Duty Cycle operand, the duty cycle is equal to 75.0% This means that the pulse will hold a positive state during 75.0% of the total cycle.
Frequency (F)
Note that F=1/T, where T is the duration time of a complete cycle. Frequency settings differ from npn to pnp output type.
npn: You can use a value of 0, or a value from 8-50000Hz ( 50kHz).
pnp: You can use a value of 0, or a value from 8-2000HZ.
Other frequency values are not supported.
-
The old forum required moderation of all posts. Part of the issue has been learning the layout and behaviour of the new forum. Once everyone is familiar with it, I see no reason why it will be any slower than the old forum.
As for the policy about whether to allow immediate posting by all members, that's up to Unitronics.
Correct me if I'm wrong, but I think the main reason behind the moderation is to eliminate the SPAM posts.
Probably the second highest reason is to make sure people are "watching their mouths" so to speak.
What would be nice is for those of us whom use the forum often and without incident eventually attain a rating (user level) that means we can for the most part be trusted and no longer require that our each and every posts get moderated.
Once someone has posted 50+ times without abuse it would seem a fair bet that you could "slack the rope" a little.
Another possibility is maybe you could have users with higher priveleges based on tighter screening (interview, registration, waiting period) etc.
Just some ideas to throw out there.
-
Do you have the output setup as PNP or NPN?
Are you using a function block in the ladder to control the pulse or are you using the dedicated feature in the hardware setup?
-
Regarding the Data table function blocks ........
Will the function block always process in one scan?
Are there instances where a Data Table function may take take several scans to complete (such as some of the screen loading features and the like).
If I use the "interval" function across a DT function block, is it giving me an accurate account of exactly how long it is taking to process?
Is there any portion of the process that gets handled in the overhead time between program scans?
More to the point, can I rely on the fact that one that network has completed, that I can be certain that the values of the DT operation of the previous network was completed in its entirety and that it is dafe to use the data as if it were so?
Modbus Wha?
in Vision & Samba PLC + HMI Controllers & VisiLogic Software
Posted · Edited by Damian
Hi Tim,
A curiosity with the first PIC you have on your post. You are using the N/C of SB7 on your RHR function. I would expect the N/C of a pulse to literally be on for most of the 100ms and pulse off for a very short amount of time (say 2.5ms). Or more clearly, it seems your are sending your RHR and your PHR almost simultaneoulsy.
Emil .... Cara ....... It would be nice if the software gurus put some sort of graphic indicator on the function blocks themselves that tip you off if the function is of the type that should only be initiated with a transition. Maybe like a little pulse mark on the input. Would save a lot of confusion, especially for new users.
D
DOH!!! sorry .... I got SB7 confused with SB15