Jump to content

Flex727

MVP 2023
  • Posts

    3,271
  • Joined

  • Last visited

  • Days Won

    238

Posts posted by Flex727

  1. 44 minutes ago, Akash said:

    That input is linked to in Picture3 Set bit but it is not red why? 

    You lose me here. I don't see any link between Input O and the Set Coil in Picture 3 and there is no power flow to the Set Coil (TraceDataRecorded). I haven't downloaded your program file as I need to know the UniLogic version it was saved with.

  2. 37 minutes ago, Ausman said:

    Re the toggle coil, I had never thought it would be put on the rail, but agree it looks that way.   This is akin to those manuals where the people who made the product explain how to use it,  but because they know it innately the manual has lots of missing info because the writers know all about it in the first place. 

    No worries. I only pointed it out because I think we were confusing the OP. He put it in his program exactly as you showed with the Toggle coil on the left rail.

  3. 1 hour ago, Ausman said:

    Elevator test is being called, but only on one scan after TD210 times out.  Rung 4.

    That's calling an HMI screen, not a subroutine.

    1 hour ago, Ausman said:

    Flex, my suggestion was a different way to control the output other than what was initially being done, but I was expecting Nico to control the toggle somewhere else using logic they would think out.   The whole point was don't have 2 MBs that will possibly conflict with each other controlling an output.  How to do it and how to display it was a point of learning for Nico.

    You can't have a Toggle coil hanging on the left rail. I suppose you could, but it would uselessly toggle on every scan.

  4. On 1/15/2023 at 3:30 PM, Ausman said:

    MB7      O84

    -(X)------(    )----

    What is this, @Ausman? This cannot work.

    @Nico, this is awful coding and I don't even know where to start. Tell me in words exactly what you are trying to do (for example, "I'd like to turn O-84 on and off with a single button on screen", or "I need to have two separate buttons, one for OFF & one for ON", or...) and I would be happy to show you the proper way to do it.

    You claimed that you were calling the "02 Elevator Test" subroutine, but I sure don't see it.

    A general principle to keep in mind for the future - only one logic thread per ladder rung (rungs 2 & 4 each have two logic threads).

  5. Unless you've initialized another socket to Port 20256 for another purpose, or you've initialized Socket 1 for a different purpose,  you're all ready for Remote Operator. Just connect to the PLC via Port 20256. Be sure you know the IP address and PLC Name and it should connect right up.

    I'm assuming this is all LAN and you're not trying to connect over the internet.

    By the way, no need for a SET coil for SB 168 - just assign the Power-up to SET.

  6. When using Ethernet, you have 4 sockets available to you for simultaneous connections. Just use different Port numbers for each connection and they'll be fine. The default configuration for Socket 1 is set for VisiLogic comms (also Remote Operator) - Port 20256, and Socket 2 default is Port 502 for SCADA. If you are using Socket 2 for your SCADA then you are good to go.

     

×
×
  • Create New...