rapidscadaaks

Forum Replies Created

Viewing 15 posts - 46 through 60 (of 64 total)
  • Author
    Posts
  • in reply to: Register reading with Modbus TCP #16683
    rapidscadaaks
    Participant

    Hi
    I have a Waveshare Modbus RTU(D) Relay with has 8 channels each of Digital Inputs and Outputs.
    I am able to use to digital outputs using commands and also check their status.

    I am however not able to read status of Digital Inputs. Waveshare manual gives following parameters for reading input status:
    Modbus Function Code 0x02
    Address (HEX) 1×0000 …… 1×0007 for the 8 channels

    I have tried various combinations and have not succeeded

    I will be grateful for assistance

    in reply to: Daily Time Counter #15243
    rapidscadaaks
    Participant

    Many thanks. This works

    in reply to: Daily Time Counter #15224
    rapidscadaaks
    Participant

    Hi Mikhail

    Please let me know what Command should be sent by the ACM.

    Thanks once again

    in reply to: Daily Time Counter #15222
    rapidscadaaks
    Participant

    Hi

    Please guide for Option 2 for resetting Channel 1437 which is a Calculated Channel since I already have the additional module.

    In the ACM, I can create a Time Trigger but need help for further steps i.e.

    1. Do I need to make a new Input/Output Channel 1438 which has ResetChannels(1437) in Output Formula? All other fields i.e. Device, Tag, etc. will be empty

    2. In the ACM what command to send to 1438?

    Please do pardon me for my basic questions as this is quite new to me.

    Looking forward to expeditious help.

    Thanks

    in reply to: Daily Time Counter #15209
    rapidscadaaks
    Participant

    Hi Mikhail

    Many thanks for the solution. I have applied the solution as suggested and as of now it is working.

    Please advise how to reset the value of Channel 103 to 0 everyday at say 6am or any other system time.

    Thanks once again

    in reply to: Daily Time Counter #15195
    rapidscadaaks
    Participant

    Hi,
    Thanks for your reply. I could definitely try this out; please let me know how to go about configuring Channel 102 to increase by 1 every minute if value is 1. Kindly also advise how to reset Channel 102 everyday to zero.

    Many Thanks

    in reply to: Modbus Slave : Modbus RTU over TCP and Modbus TCP #15132
    rapidscadaaks
    Participant

    Hi Mikhail

    Many thanks for the input. now it works.

    Best

    in reply to: Sequential Running of Outputs #15094
    rapidscadaaks
    Participant

    Hi Mikhail

    Thanks for the input. There are couple of issues in the suggested solution:

    1. By using the Time Trigger, I can start a series of commands at a particular time of the day. Where do I set the seconds for running a particular command?

    2. The cycle has to repeat after every x minutes. Where can I set this?

    Thanks

    in reply to: Integrating 3 colour LED Module #15080
    rapidscadaaks
    Participant

    Hello Manjey

    1. By resources I mean using 3 Digital Outputs. There is no issue otherwise in using the ACM

    2. Please elaborate on the second para of your response (my apologies as I am new)

    Thanks

    in reply to: Channel Read Bits #15062
    rapidscadaaks
    Participant

    Hi Mikhail

    I am using GetAnyBits below:

    public double GetAnyBits(double val, int n, int mask = 1)
    {
    ulong ulVal = (ulong)val;
    return (ulVal >> n) & (ulong)mask;
    }

    The issue is of format.
    When I use Hexadecimal, vales are same as General with addition of 3 places of decimal which are zeros. I could not understand how to try the B Format as there is no option for B. I am using version 6.

    Thanks

    in reply to: Channel Read Bits #15060
    rapidscadaaks
    Participant

    Many Thanks

    in reply to: Channel Read Bits #15053
    rapidscadaaks
    Participant

    Many Thanks for all your help

    in reply to: Channel Read Bits #15048
    rapidscadaaks
    Participant

    yes please. I need to see it is 10 i.e. in bit representation

    Thanks

    in reply to: Channel Read Bits #15046
    rapidscadaaks
    Participant

    Hi Manjey

    Many thanks. I have understood.
    Now there is only a small issue and request for your input.
    The value which i am getting after the formula is in decimal eg 01 is shown as 1; 10 is coming as 2. Please suggest weak in the script so that I get the output as 01 or 10.

    Thanks

    in reply to: Channel Read Bits #15044
    rapidscadaaks
    Participant

    Hi Manjey

    Thanks.

    As per manual of the device, Register 1080 size is 2 therefore has 16 bits and I need to read the (bit 3, bit 4 and bit 5), (bit 6 and bit 7) and so on.

    I am however not clear of the (XXX) and 7 in the syntax you provided.

    I also request you for Syntax for the examples above

    Please help

    Thanks in advance

Viewing 15 posts - 46 through 60 (of 64 total)