Jump to content

Emil

Members
  • Posts

    455
  • Joined

  • Last visited

  • Days Won

    10

Posts posted by Emil

  1. Hi,

    Such reaction is "normal".

    If you give PTO target, it will stop immediatelly when it reaches the target.

    If you Reset RUN bit, it's operated at te end of the scan, so some delay is expected.

    What yo can do to improve te reaction:

    1. To read immediate the input (Read Physical inputs - VisiLogic > More menu > Immediate) within 1.25 ms (Enhanced models) or 2.5 ms (all Vision PLC).

    Or:

    1a. Connect the sensor to HSC (reload) and give it Target = 0. When the signal comes, the congtroller will enter immediatelly in a dedicated subroutine.

    In Interrupt subroutine, SET one "Stop" MB/XB.

    In the normal scan, each few nets add a net "When "Stop" bit active - reset it and jump to End.

    With this procedure the reaction time of thhe congtroller will drop from up to 2 scans to few ms or even few tens of microseconds (option 1a with enhanced models).

    Please let me know if you need more help...

  2. Theoretically - yes. Jazz doen't care if the module is JZ-PRG or JZ-RS4.

    But:

    1. JZ-PRG needs external power. That's why it uses 6 wire cable. When you connect to PC, the computer provides this external power. But when you connect to third party device, you need to take care.

    2. JZ-PRG is passive port. This means that there needs to be active port on te other side ot wake it up. Even if you supply power properly, you will not communicate between Jazz and Jazz. Additional problem is, that practically no producer states ifthe port is active or passive.

    Bottom line - highly recommended to use JZ-RS4 module and not JZ-PRG for any communication out of simple connection to PC or modem.

  3. I really don't like your way. I'm not surprised you have problems!

    The way I'll recommend:

    On a positive transition of the bit, which needs to give command to send, SET a MB "Request to send"

    With N.O. contact of "Request to send" and N.C. contact of "Funciton in progress" (See FB Protocol - Cofig module!) activate Send block. At the end of this net RESET "Request to send" MB. This way, even if the port is busy in the moment, the controller will wait a little and will send the command. There will not be mess or commands missed.

    Then, in Scan module, when the bit "Session complete" becomes active (N.O. contact, there is no need for positive transition)and the number of received message is the one you expect, you will SET another MB " MY Message arrived" and will activate "Reset buffer" Reset buffer block resets immediatelly MB "Message arrived" (the one from Scan module).

    You can use now the bit "My message arrived" as condition to send reply - the way described above.

  4. Hi Jim,

    There is no way to export displays from U90Ladder to Excel.

    Please note - Enhanced Vision models (V130/350/560/570/1040) support powerful function String Library. It let's you in an easy and intuitive way to support up to 16 languages in your application. You can make your program in one language, taking all texts from String library, then export relevant library to Excel, translate to other languages and copy from Excel the translated strings to other libraries in the controller. This way, the translation in fact is no longer part of the programming itself.

  5. I think PID will do the job. 15 seconds is a lot of time! As I understand the system, you need to set narrow Proportional band, let's start with 50 (5% of whole range) and relativelly big Integral time. This way your press will apply full power very fast to pressure, relatively close to desired and then "slowly" will increase the pressure to desired.

    Important note - there is a very helpful tool - PID server. You can find it in VisiLogic > Tools menu. This software will let you to "see" the process and will help you to improve it. In case you will need our further help with tunning the system, you can attach your application and log files from PID Server.

    In my opinion in your specific case Autotune will be useless.

  6. Hi Kostya,

    As you can see in the attached capture, you can define one high speed counter in IO-DI8-RO4. In attached spec you can see (bottom of page 6) that this is I7 of the local module (see hardware configuration for the real address in the system)and the max frequency is up to 5 kHz.

    Note: HSC is supported only by I7 of the module! There is only one HSI in this module.

    In hardware configuration of the project you need ot link register (MI) where you will receive the counts. The update will be at the beginning of each controller'scan.

    I hope this answers your question.

    post-12-084660600 1291401241_thumb.jpg

    IO-DI8-RO4, IO-DI8-RO4-L.pdf

  7. Dear Tester 2,

    You need ot know:

    - If your slave (Moxa supports TCP or UDP). I guess it's TCP, but anyway, check it.

    - What is the IP number of your I/O module;

    - What is the port number;

    - What are the addresses of the relays there (Slave address table).

    Having this information, you need ot set Vision FB Modbus IP to set coils with defined addresses. You can find working example about Modbus IP Master on VisiLogic > Help menu > Examples > ... > Project examples > Communication > Ethernet > Ethernet Modbus IP.

×
×
  • Create New...