Jump to content

Emil

Members
  • Posts

    455
  • Joined

  • Last visited

  • Days Won

    10

Posts posted by Emil

  1. Hi Pery,

    It's a bitmap. value 4 means, that the third bit is active: 00..00100 bin. Bit 3, according to the help, means, that the loadcell is not callibrated.

    Please note - LC1/3 has no baterry and after callibrating you need ot perform Save to EEPROM. If not, afgter power lost the settings, including callibration will be loast.

    Save to EEPROM is command. It's quite good practice to check if the command is executed properly.

    Maybe this will give you some tip how to get out of the problem you face...

  2. The type of the timer is defined in the program - as TD, TA ot TE. In all these cases the address remains the same and the way you exchange data from SCADA - too. You cannot change the type of the timer from SCADA, but once defined in controller's program, it will operate as defined.

    If you will set in VisiLogic T7 as TA, it will act as TA. But you will read it exactly the same way in your SCADA as TD or TE.

  3. Hi Moro,

    There is no direct way to change the color of numeric variable according ot external event. Anyway - idea:

    You can define variable type "List of text" There, for each line you can define foreground and background color.

    In this variable, you can define option "Text from String library"

    In the relevant row of String Library you can define "indirect string"

    The number you want to display - you can convert to ASCII string (String menu > Num to ASCII).

    This way you can display your numeric value and change the color (both background and foreground) according to the value of other MI. In your case this other MI will be pointer of the stage of your process.

    It seems a little complicated, but in fact is just a matter of settings of one variable and one Ladder block.

  4. Hi Damian,

    First of all - thank you for taking time and answer to me so detailed!

    I want to appologize, if my previous mail was a little "spacy". Even we don't know each other personally, I think about you as a colleague and friend and I think frends can speak more direct. Excuse me if I was wrong!

    About the points mentioned in your post:

    The description of cable for EX-A1 is posted on the spec of EX-A1. This means, that everyone can follow this instructions and make his own cable. This is not a matter of discussion and not something I had in mind. It seems there was a point of misunderstanding.

    According to our R&D, the quality of the cable for EX-A2X and XL modules-adapters is very important for the stablilty of the communication. I have detailed doc with instructions about such cable, but the decision is not to publish it. I'm sure, that if you have this spec, you will follow strictly its instruction and your cable maybe will be even better than the one produced serially in our facility. Probably another 40, maybe even 60% of our customers will do the same. But what about the others?

    I understand very well the problems the decision not to publish the spec of the new cable causes in the field. Do you have idea how to break this circle?

    To a larger degree, I think it is worth asking the question of "why are we making a simple expansion IO module that requires a fancy cable to work properly in the first place".

    Very good question. But please note - this communication was made about 10 years ago. In these times this was the best soluiton as ratio price/performance. Changing it now will make existing systems incomatible with the new ones. Maybe in some moment we will really do it. You understand - this is not an easy decision.

  5. Hi Damian,

    The quality of the cable between the controller and EX-A2X or XL modules-adapters is very important for the stable, drop-free connection. It's quite not so simple as you says.

    Please - if you don't want to follow the right instructions and take the full responsability for any further problems you will have - it's up to you. But - please - don't teach the other to make wrong things! Then they can understand you wrong, have problems and will come with the problems to me, not to you! And I really don't want anyone to have problems with Unitronics stuff - never mind who is guilty. So - please again - let's follow the rules!

  6. Hi Flex,

    I want to give you some initial tips:

    There is Functional block (FB) Events. There you define a vector of bits. In your case each bit wil represent output of a valve. One fo thhe functions of this FB will show you how many bits are active (how many valves are open). You can easilly compare this number with the limit, set from, let's say HMI and block new valves to be open.

    If there is more requests during block, you can enter the pointer of the valve requested in a vector of MI.

    In VisiLogic > help menu > Examples > Project examples > Ladder you can find a nice working example V570 Vector FIFO. I hope it will help you to manage the vector of waiting to open valves.

    It seems now you have the basic elements to start programming. I guess few details are missing.

    Let me know if these tips are useful and which further help you need.

  7. Hi Perry,

    With expansion adapter EX-A2X or with XL expansion modules/adapters EX-DI16A3-TO16 and EX-DI16A3-RO8 (not with EX-A1!) the max length between the congtroller and the expansion module is up to 20 meters (65.6 Ft). Additional less than 4.5 feet are not critical.

    Very important: The expansion cable must be produced in Unitronics factory to follow the strict technology. This will provide requested stability in communication. Please contact your local Unitronics representative for more info and order.

    In addition - you need to avoid passing the cable along with high power and high frequency cables.

  8. Hi Deke,

    Thank you for sharing your idea. I guess many customers will find it useful, but I - sorry to say - find it a little complicated.

    In general - this to pic is complicated. Each country has its own rules. In general, the date is "the last Saturday of month..." or something similar.

    I think it is easier to use Calendar (Time) functions and to define the role in specific country.

    In VisiLogic, there needs to be a simple demo to show the idea.

  9. I'm looking "pure" on programming side. This means - you already have "ideal" sensor, giving you signal when each bottle passes.

    How many bottle will pass per minute? In fact, I need ot know pulses per second. Then - you can use HSC of Jazzz, or 2.5 ms interrupt or just counting in Ladder.

    In any case the application is very easy. To receive "bottles per minute" number, check SI30 - RTC clock - seconds and when it's 0 - set a bit. Positive transition pulse of theis bit will will store counter's value to "buffer" and will re3set the counter.

  10. Port 20256 is default setting for Socket 1. The default setting for Socket 3 is port 20257. You can use these two ports to connect to VisiLogic and Remote Operator without performing Socket Init.

    Of course - you can add module Socket Init and change settings for each Socket - including port number.

    post-12-001556600 1300798631_thumb.jpg

  11. Just idea:

    Connecting controllers in UniCAN.

    During normal run, the "Master" PLC will send the values of important registers to "waiting" unit". The waiting unit will have its outputs blocked.

    Controllers will exchange Check alive signals. In case Check alive is lost, the master will block and reset its outputs and the waiting unit will "open" its. When Check alive will return, the main PLC will take the control back.

  12. Hi Damian,

    A quite nice "workaround" - instead using "bar-graph", you can use the variable type "LED Graph". it supports exactly the functionality you wish! A little "bigger problem" can be tanks - you will need to "build" one - from tank picture and LED graph on it.

    Please review and comment!

  13. Some questions in addition ot Damian's (which are very important!):

    How many wires has the RTD sensor?

    How exactly is connected?

    What is the cable length from sensor to the controller?

    If you handle the sensor in the air - is the reading stable?

    Can you connect the sensor direct to controller - with relativelly short cable (1-2 meters), put the sensor in a cup of water and see if the reading is still unstable?

    What is S/N number of V200-18-E3XB?

  14. I stil think that there is no "constant rules", for sure not the "rules" you define there. It looks a little like "maybe I'll go ill someday - which medicine I need to take then?!". I prefer ot stay healthy and - in case of problem, to investigate the reasons and find specific soluitons.

    In short - I don't agree with the rules you define to reset Integral error. In case you have problems withh PID - let me know what the problem is and I'll addvice.

  15. Hi James,

    It's Special, "hdden" function - without Ladder element. You can find the Help topic in U90Ladder > Help > Contents > Ladder > Functions > Special functions - without Ladder elements > Covert MI to MB, MB ot MI... There is a working example on Help menu > Sample U90... > Sample Ladder applications...

×
×
  • Create New...