vweaver (Customer) asked a question.

P1AM-200 Power

I have a P1AM-200 PLC. When connected to 24V power supply, the PWR LED comes on, but the BASE LED does not. When I connect the USB cable, the BASE LED comes on. If I then remove the USB cable the BASE LED stays on.

 

What could be causing this behavior, and how do I run this PLC without having a USB cable connected?


  • z28z34man (Customer)

    Do you happen to have while (!Serial) in your code? If so your code will sit there and wait for a serial connection from the USB cable before the code moves on to the next section.

  • FACTS_MikeSc (AutomationDirect)

    The P1AM-200 ships with code ready to run out of the box if I recall correctly but it's been a while.

     

    So it sounds like the program executes when a serial connection is made like what z28z24man mentioned. The base LED coming on means it's being initialized and will continue to run until a power cycle.

     

    If this is not out of box behavior you're asking about. It would help us if you post your code using the code snippet button (</>) so it's easier to read.

     

    Here's a reference to our website guide as well: https://facts-engineering.github.io/

    Expand Post
  • vweaver (Customer)

    Yes I do! I'll add a time out and see if that resolves the issue.