Obsidean_VM/03-Revised/92347 - SIPA - ROMANIA - BL.../Reporte/Modo funzionamento Pack Squ...

4.7 KiB

Utilizzano le FB90 "FB Pack Squarer"

  • FC480 N3 e N7

!Pasted image 20231010111332.png

Logica:


  1. Always ON/OFF: Sets a flag to always ON or OFF.

  2. PRESENCE PH - FILTER ON: Filters the presence of something (possibly pH level) based on a counter. It looks like it performs some sort of debouncing.

  3. PH PRESENCE - PROCESSED (SET/RESET): Set or reset a flag based on conditions met in the filter.

  4. COUNTING PH - FILTER ON: Similar to the PH Presence filter, but this is related to counting something (possibly product pieces).

  5. COUNTING PH - PROCESSED (SET/RESET): Set or reset another flag based on the counting filter.

  6. LIMITE MINIMO DELLA MISURA IN MM PER UN SOLO CLOCK: Sets a minimum limit for a measurement, presumably in millimeters.

  7. CONVERSION FROM MILLIMETER TO PULSE: Converts measurements from millimeters to some sort of pulse. It has additional blocks to handle overflow conditions.

  8. DISPLACEMENT OFFSET CALC: Calculates the displacement in pulses.

  9. COUNTING PH SHIFT: Seems to be handling shift registers for PH counting.

  10. PRESENCE PH SHIFT: Handles shift registers for PH presence.

  11. SYSTEM ENABLE: Enables or disables the system based on several conditions.

  12. RESET CONDICTION: Resets various conditions and counters if the system is not enabled.

  13. RESET JUMP: Jumps to an alarm segment if the system is not enabled.

The code handles various aspects like filtering of presence and counting, conversions, and shift registers. It also includes system management functions like enabling, disabling, and resetting conditions.

  1. Product Counting Pulse (Sel Detection Front / Rear)

    • This block appears to count products based on whether they are detected at the front or rear. It does this through positive edge detection (FP).
  2. Counter Reset

    • If a product is detected in a certain position (Product_in_position), the counters for front and rear detection are reset.
  3. Counting Done

    • When the count reaches a specified value (1000), it sets the Counting_Done flag. The counter is then reset.
  4. Product in Position

    • Checks if the product is in a specific position and sets a flag (Product_in_position) accordingly.
  5. Slide and Blocks Movement

    • Manages the movement of some mechanical parts (likely slides and blocks). If Counting_Done is TRUE and Product_in_position is FALSE, it triggers movement.
  6. Alarm General Reset

    • Resets all alarms if the Reset_Alarm flag is TRUE.

So, in summary, this logic is built to:

  • Count products based on their position (front or rear).
  • Reset the count under certain conditions.
  • Indicate when counting is complete.
  • Control the movement of some mechanical parts based on conditions.
  • Manage alarms.

Panello:

!Pasted image 20231010121120.png Pagina 573

!Pasted image 20231010121029.png Pagina 574

!Pasted image 20231010121145.png Pagina 575

Requerimiento del cliente:


Hablamos en los últimos días sobre este proyecto y, en particular, sobre el problema relacionado con la parada de paquetes antes del PAL. Me dijiste que realizarías una verificación en el software. Lo que pedimos es que la fila de paquetes que se detiene hoy, que actualmente consta de 3 paquetes, pueda aumentar o si es necesario el desplazamiento físico del tope.

En resumen, el cliente está solicitando una revisión del software en relación con un problema que han estado experimentando. Actualmente, tienen una fila de tres paquetes que se detienen, y quieren saber si es posible aumentar el número de paquetes en esta fila, o si se requiere un ajuste físico del 'tope' o 'parada'.

Parameters:


  • Inputs:

    • Reset : "E72.0"
    • Man_Auto : "E72.1"
    • Clock : Encoder pulse ""DB_PACK SQUARE PS1".BOOL0"
    • Side_Guides_Opened : E72.4 - S3-PS1/S4-PS1/S5-PS1/S6/PS1 - Tutti sensori de apertura sul pistone.
    • Blocks_Opened : E72.5 - S7-PS1 / S8 - PS1
    • Blocks_Closed : E72.6 - S9-PS1 / S10-PS1
    • Slide_Backward : E72.7 - S11-PS1
    • PH_Presence : E72.2 - B1-PS1
    • PH_Counter : E72.3 - B2-PS1
    • Mot_running : M79 running
  • CFG_Product_Size : size in mm of the pack

  • CFG_N_Product : quantity of pack to group

  • CFG_Inlet_Shift_Length: This is used for calcolate the moment to trigger #Product_in_Position . With #Product_in_Position then set #Y6_Side_Guide_CLOSE : A8.5

There are 2 shift:

  • #Shift_Register_PH_PRESEN : Is not Used.

  • #Shift_Register_PH_COUNT : for #Product_in_Position => A8.5 Guide Close

  • CFG_Disp_Offest_mm:

  • CFG_Clock_measure :

Internal Notes - Calcolo di Y1 e Y2 apertura e chiusura blocks