Breadcrumbs

Modify Input/Output Size of Digital Welding Machine

Sets the EtherNet/IP input/output size of the digital welding machine. This can be verified with the datasheet from the welding machine manufacturer. The example in this manual uses a digital welding machine from EWM.

The input/output size of the EWM is 14 bytes.

  1. (Project Tree) DigitalWeldingGateway → Global/Direct Variables
    image2022-1-21_13-28-7.png

  2. Modifies the 4 items G_MACHINE_IN, G_MACHINE_OUT, G_WELDING_INPUT_SIZE, and G_WELDING_OUTPUT_SIZE among global variables.
    G_MACHINE_IN: Area where the input data from the welding machine is savedG_MACHINE_OUT: Area where the output data to the welding machine is savedG_WELDING_INPUT_SIZE: Size of G_MACHINE_ING_WELDING_OUTPUT_SIZE: Size of G_MACHINE_OUT

  3. G_MACHINE_IN and G_MACHINE_OUT uses ARRAY Data, and the end value of the data in the case of 14 bytes is 13. (Values 0-13, total 14 bytes)

    image2022-1-21_13-32-23.png


    image2022-1-21_13-33-11.png



    To prevent initial malfunctions, set the initial value of G_MACHINE_IN / G_MACHINEOUT as 0.

    image2022-1-21_13-35-10.png


  4. Modifies G_WELDING_INPUT_SIZE and G_WELDING_OUTPUT_SIZE.
    The size of G_WELDING_INPUT_SIZE is the size of G_MACHINE_IN, and the size of G_WELDING_OUTPUT_SIZE is the size of G_MACHINE_OUT.
    image2022-1-21_13-36-26.png

    All data other than G_WELDING_INPUT_SIZE and G_WELDING_OUTPUT_SIZE are reset to 0, and all data of global/direct variables are used with the status retained.


  5. Check the EIP/OPC UA item for G_DR_IN, G_DR_OUT, G_MACHINE_IN and G_MACHINE_OUT
    image2022-1-21_13-38-43.png