Animatrix (Customer) asked a question.

[Solved] PLC Koyo DL205 with a DL260 CPU – How to set up V-memory before running the program

 Good morning everyone

I ask for help with a PLC system

The PLC, that we have now, is a Koyo DL205 system with a DL260 CPU module already working, consisting of 3 bases

The first contains the CPU with the I / O peripherals

The second has an expansion card with I / O peripherals

The third has another expansion card with other I / O peripherals

Through the DirectSoft6 software I downloaded the project from the PLC to view it on the computer.

The problem is I don't understand is that V401 memory is not initialized in the program, but it is used in the program.

When I load the program and set the PLC in RUN mode, the variable takes the value 1500.

This makes me assume that it is initialized in some other way.

the system also has a small EA1-S3ML LCD screen

I checked its programming but it interacts with the PLC only with 2 variables V2000 and V2010, but does not initialize no one variable on PLC.

I ask you if there is a different way to set up the V401 memories instead from the program.


  • HOST_franji1 (HOST Engineering)

    Look under Tools->Memory Editor. This is where you can modify values of V memory that get written to the PLC when you Write the entire Project to the PLC (not just Write Program, i.e. Ladders).

     

    If you look under the File menu, there is Save PROJECT to PLC, which will write Logic and Data. There is also a Write PROGRAM to PLC - that is also the button on the Online Toolbar, Write (Program) to PLC.

     

    Check the V memory data file, that may be how it gets initialized.

    Expand Post
    Selected as Best
  • bcarlton (Customer)

    If you have the original program with its documentation it may help. Look for any references to V400, possibly a double word instruction (which would also be including V401).

    • Animatrix (Customer)

      Thanks for the speed answer ... i just check, but the V400 variable is not used in the program

  • HOST_franji1 (HOST Engineering)

    Please look at the Cross Reference View for that element and post a screen shot here. You only say that it is "used but not initialized". The Cross Reference View can point out how it is used, possibly as an "output" parameter.

     

    Another possibility it could be part of a CTRIO module or other intelligent module configuration, and those intelligent modules are writing to it.

     

    Another is PID configuration or Ramp/Soak configuration.

    Expand Post
    • Animatrix (Customer)

      imagei took a screenshot ... then i searched (CTRL-F) for IBOX CTRIO but i didn't find it ... tomorrow i will look for the PID config or RAMP / SOAK config ... thank you so much for your help

      Expand Post
  • HOST_franji1 (HOST Engineering)

    Do you have a CTRIO/2 module in your system? It could be in any local or remote base. Realize that you can configure and use a CTRIO/2 module without any CTRIO IBoxes (e.g. high speed input functions only, no hs output functionality being used).

     

    Another possibility is pointers, e.g. someone is using say V2000 as a pointer, setting it equal to O401 octal (e.g. LDA O401 OUT V2000), then using P2000 (i.e. V2000 as one level of indirection, a V memory index pointer) as an output. Find Type P in your Cross Reference View to see if you are using pointers at all. However, you can't tell from Cross Reference what addresses the P is actually utilizing - since this is a runtime option (i.e. one scan it could reference V401, the next scan V402, the next scan V30000).

    Expand Post
  • Animatrix (Customer)

    Hi Host_frangi1, thank you very much for your reply

    I searched for a CTRIO module / 2 modules, but I didn't find it ... I searched for some pointers but when I found (CTRL F) for V401 or O401 I didn't find this variable ..

    i searched for type P in the cross reference but it is not there

     

    I am reading in the manual how to do the PID or Ramp / Soak configuration ... I will update you if I find something ...

  • Animatrix (Customer)

    Update…

     

    I connected the PLC to the system in Program mode, I checked through the Computer "Mode Set address Pid table"

     

    I searched for a PID cycle referring to variable V401 from the PLC. But the PLC doesn't give me any PID loop configuration. A possible Ramp / Soak configuration should also be included in this search.

     

    When I download the program from the PLC to the computer, in addition to the ladder program and the PID configuration, what other data can I download from the PLC?

    In the D260 CPU, the V401 memory location is volatile RAM.

    In the Ladder program there is no pointer that refers to it.

     

    Any kind of suggestion is welcome

     

    awaiting your reply, best regards

     

    ing. Damiano Gottoli

    Expand Post
  • HOST_franji1 (HOST Engineering)

    Look under Tools->Memory Editor. This is where you can modify values of V memory that get written to the PLC when you Write the entire Project to the PLC (not just Write Program, i.e. Ladders).

     

    If you look under the File menu, there is Save PROJECT to PLC, which will write Logic and Data. There is also a Write PROGRAM to PLC - that is also the button on the Online Toolbar, Write (Program) to PLC.

     

    Check the V memory data file, that may be how it gets initialized.

    Expand Post
    Selected as Best
  • Animatrix (Customer)

    [Solved] good morning

     

     

    Thanks @ Host_franji1

    I looked in the Tools → Memory Editor menu and found the initialized memory values. I noticed that it is saved separately from the PLC program.

     

    I wonder why this is not done at the beginning of the Lader program. You are executed on the first loop of the program

     

    Have a Good day

     

    ing. Damiano Gottoli

    Expand Post