Flow Totalizer programming/Visualization

https://www.linkev.com/?a_fid=ics-eng
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1243
    PLC_Bros BrosPLC_Bros
    Participant
    • Topics: 13
    • Replies: 14
    • Total Posts: 27
    Karma: 38
    Rank: Padawan

    Hi

    can you write me (as a guide) a Program such that a flow volume (say PMS or Gas) from a Totalizer where it’s quantity can be seen on SCADA for the following intervals; for every one (1) Hour, Daily, and Monthly flow quantity for stock inventory?

    I will appreciate you input please.

    #1244
    Fred GrahamFred Graham
    Keymaster
    • Topics: 15
    • Replies: 158
    • Total Posts: 173

    Hi PLC_Bros,

    So if I understand you’re looking for the logic to move data at said intervals? I assume you have totalizer program and SCADA system already in place, you’re just looking to trigger an event at these various times? What type of PLC are you using, is it a SLC or Logix based?

    #1245
    PLC_Bros BrosPLC_Bros
    Participant
    • Topics: 13
    • Replies: 14
    • Total Posts: 27
    Karma: 38
    Rank: Padawan

    Hi PLCGuru,

    I do not have the program, I want to understand how to generate such a code for the said intervals please, reference with Controllogix RSLogix5000. Or you could write sample program of it and send across to me please. I really need to know it.

    Thanks in advance

    #1246
    Fred GrahamFred Graham
    Keymaster
    • Topics: 15
    • Replies: 158
    • Total Posts: 173

    Ok. To trigger the events at certain times of day I would recommend using the GSV instruction to get the WallClock time of the CPU.

    If local time is desired from the processor (either ControlLogix or CompactLogix), the Attribute Name for the GSV/SSV should be set to LocalDateTime.

    Any version 16 or newer RSLogix 5000 applications that have a GSV/SSV using the attribute of DateTime will see this time differential as the DateTime attribute now reflects UTC time.

    In RSLogix 5000 V16 on above, use the GSV instruction with the following parameters;

    • Class Name: WALLCLOCKTIME
    • Instance Name: blank
    • Attribute Name: LocalDateTime.
    • For the Dest insert the first element of a DINT[7] array to get all the data correctly.

    Once you have the DINT[7] array populated with the time, the logic to trigger what you ask (i.e., certain time of day, every hour, etc.) should be straight forward.

    #1256
    PLC_Bros BrosPLC_Bros
    Participant
    • Topics: 13
    • Replies: 14
    • Total Posts: 27
    Karma: 38
    Rank: Padawan

    The Guru, Could you please send me a sample program of this with a few rungs, It will help me better please.

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.