adccommunitymod (AutomationDirect) asked a question.

Where is X0 and X1?

Created Date: July 18,2019

Created By: STEM Apps

**** This post has been imported from our legacy forum. Information in this post may be outdated and links contained in the post may no longer work.****

I thought I was some kind of ladder programmer after 35 years, but this program has me licked. It also has two other serious PLC guys baffled as well although none of us are DL05 gurus. Maybe someone here who is a seriously advanced DL05 programmer can appreciate this program and let me know where I can find two simple inputs. How many ways can you refer to X0 & X1 without ever using X0 and X1 as a reference in your program? LD K30 in V7633 sets the Y0 Y1 outputs to pulsed, X0-X2 to be filtered. LD K6 in V7634 set filter time X0 to 6 ms. Maps to C420 LD K6 in V7635 set filter time X1 to 6 ms Maps to C421 LD K6 in V7636 set filter time X2 to 6 ms Maps to C422 LD K30 into V7637 sets the Y0 to pulsed and the Y1 to direction. I have never seen DL05 programmed to the extent that this one is. The programmer that created this was seriously talented in the ways of DL05. Example: The DL05 PIDs weren't used because the programmer built his own PIDs. A/I 3 & 4 both have discretes hooked up with a resister and then SP612 & SP613 are used in the program. Y0 & Y1 are as you see above, pulsed outputs, Y0 feeds a freq to volt converter to send 4-20ma to the DC drive and Y1 is used as an enable drive bit. 2 VFDs are controlled with ASCII commands from a single serial port and the other port connects to an HMI (an old AVG). Anyway.. I digress. Can you help me find X0 & X1?


  • adccommunitymod (AutomationDirect)

    Created Date: July 18,2019

    Created by: STEM Apps

    I thought I was some kind of ladder programmer after 35 years, but this program has me licked. It also has two other serious PLC guys baffled as well although none of us are DL05 gurus. Maybe someone here who is a seriously advanced DL05 programmer can appreciate this program and let me know where I can find two simple inputs.

    How many ways can you refer to X0 & X1 without ever using X0 and X1 as a reference in your program?

    LD K30 in V7633 sets the Y0 Y1 outputs to pulsed, X0-X2 to be filtered.

    LD K6 in V7634 set filter time X0 to 6 ms. Maps to C420

    LD K6 in V7635 set filter time X1 to 6 ms Maps to C421

    LD K6 in V7636 set filter time X2 to 6 ms Maps to C422

    LD K30 into V7637 sets the Y0 to pulsed and the Y1 to direction.

    I have never seen DL05 programmed to the extent that this one is. The programmer that created this was seriously talented in the ways of DL05.

    Example: The DL05 PIDs weren't used because the programmer built his own PIDs. A/I 3 & 4 both have discretes hooked up with a resister and then SP612 & SP613 are used in the program. Y0 & Y1 are as you see above, pulsed outputs, Y0 feeds a freq to volt converter to send 4-20ma to the DC drive and Y1 is used as an enable drive bit. 2 VFDs are controlled with ASCII commands from a single serial port and the other port connects to an HMI (an old AVG).

    Anyway.. I digress. Can you help me find X0 & X1?

    Expand Post
  • adccommunitymod (AutomationDirect)

    Created Date: July 18,2019

    Created by: Cap

    I got X2 in the timer Reading.. What is hooked at X0,X1,X2? Is it possible that the other Inputs don't actually do anything? as in a Future Hardware input not utilized? I ran into that in a Parker Nitrogen Generator.. DL05 running as a timer, and inputs from Pressure switches that are not read by the Software.

    I know that is an obvious question.. But I have to ask

    Cap

    Expand Post
  • adccommunitymod (AutomationDirect)

    Created Date: July 18,2019

    Created by: Cap

    From the Book as referenced..

    X0 and X1 can only be filtered inputs in Pulse Output Mode, and they are available as an input contacts to the ladder program.

    X2 behaves as an external interrupt to the pulse generator for registration profiles. In other profile modes, it can be used as a filtered input just like X1 (registration mode configuration shown above).

    References "Y0 " and "Y1 " are used in two different ways. At the discrete output connector, Y0 and Y1 terminals deliver the pulses to the motion system. The ladder program uses logical references Y0 and Y1 to initiate "Start Profile " and "Load Position Value " HSIO functions in Mode 30.

    So the Inputs must be only referenced as X's or from Memory as V mem in the V40400 which will translate to VX0..

    I see no other way to do this..

    What are the Two X's hooked to.. and will it work without them

    Cap

    Expand Post
  • adccommunitymod (AutomationDirect)

    Created Date: July 18,2019

    Created by: kewakl

    What are the Two X's hooked to.. and will it work without them

    and, do the input module's lights ever turn on

  • adccommunitymod (AutomationDirect)

    Created Date: August 07,2019

    Created by: STEM Apps

    Thanks for all the input and suggestions. Yes, the input lights go on and off. Yes, Y0 is a pulsed output that goes to a hZ/Volt converter and uses X1 as a run/stop output.

    Searching for X0 X1 V40400 VX0 yields no result.

    I attached the file in the first message. Can anyone find it in that program?

  • adccommunitymod (AutomationDirect)

    Created Date: August 07,2019

    Created by: Mike Nash

    LD K6 in V7634 set filter time X0 to 6 ms. Maps to C420

    LD K6 in V7635 set filter time X1 to 6 ms Maps to C421

    LD K6 in V7636 set filter time X2 to 6 ms Maps to C422

    I don't think the "Maps to C420 " etc., looks right. VC420 and a bunch of others are loaded with K3030 and used to form ASCII messages to the drives.

    I don't find X0 and X1 in any form or fashion either, but an HMI or some other comms device could be displaying the status of either or both of those.

    Expand Post
  • adccommunitymod (AutomationDirect)

    Created Date: August 07,2019

    Created by: Cap

    Disconnect X0 and X1 and see if it still runs.

    Cap

  • adccommunitymod (AutomationDirect)

    Created Date: August 08,2019

    Created by: STEM Apps

    I'm not feeling so bad now if you can't find them either. How the heck did this guy do this? And yes, if the inputs are disconnected that machine will not run because they are sensor inputs for low and high bin and he even has the two of them detecting a void (bridge).

    The HMI doesn't show the status of these bits. The mapping seemed right to me when I check the mode against the manual. It's Y0 pulse and Y1 direction (High FWD, Low REV) but instead he uses Y1 as a stop start to the DC drive (not the AC drives that are ASCII controlled). If you did take the time to look, one AC drive is for an agitator and the other is for a cutting head. The DC drive is for the screw.

    PS.. this program has baffled some pretty impressive programmers. Makes me feel like I'm in kindergarten to be honest which of course damages my coding ego :(.

    Expand Post
10 of 15