manjey73

Forum Replies Created

Viewing 15 posts - 886 through 900 (of 974 total)
  • Author
    Posts
  • in reply to: ScadaSchemeEditor – Button use #4073
    manjey73
    Participant

    example in the formula base: NOT

    public double NOT(double val)
    {
        bool boolVal = val > 0;
        return Convert.ToDouble(!boolVal);
    }

    In the output channel, write NOT (Cmd) and your command on the button will be changed to the opposite. Works only with 0 or 1 that actually follows from the name of the formula.

    It is not quite clear what you want to do with the separation of the buttons ?

    in reply to: Siemens Logo! Modbus #3965
    manjey73
    Participant

    In response, the device says that it has included the network variable NI1, so most likely at the program level it is not included.

    in reply to: Siemens Logo! Modbus #3963
    manjey73
    Participant

    c Q2 you have no problem because it is not yet tied to the program. Q1 may not be enabled due to overwriting in the program. Now there is no Logo at hand! Soft Comfort to understand.

    As for the lack of response to the NI1 input, a possible problem is that the Communicator sends to the double device,and the input user variables you have are word. The formula for rearranging the bytes before sending the command.

    • This reply was modified 8 years, 2 months ago by manjey73.
    in reply to: Siemens Logo! Modbus #3961
    manjey73
    Participant

    You have a table of registers from the manufacturer Logo! ?
    Status of inputs and outputs.
    Plus, the other registers you create yourself in the program Logo! and there should be a register card after its programming.

    in reply to: log storage location #3948
    manjey73
    Participant

    install_with_xsp.txt or 13 file install_with_apache.txt

    10. In case of using SD card, protect it by moving frequently used folders to RAM.
    Skip this step if you use a regular HDD.
    Add the lines below to /etc/fstab

    tmpfs /tmp tmpfs defaults,noatime,size=50m 0 0
    tmpfs /var/log tmpfs defaults,noatime,size=50m 0 0
    tmpfs /opt/scada/ScadaComm/Log tmpfs defaults,noatime,size=100m 0 0
    tmpfs /opt/scada/ScadaServer/Log tmpfs defaults,noatime,size=10m 0 0
    tmpfs /opt/scada/ScadaWeb/log tmpfs defaults,noatime,size=10m 0 0
    tmpfs /opt/scada/ArchiveDAT/Cur tmpfs defaults,noatime,size=10m 0 0

    in reply to: log storage location #3940
    manjey73
    Participant

    Mount the disk to fstab and specify the path to save the databases to the appropriate folder.

    in reply to: General Configuration Sequence #3883
    manjey73
    Participant

    You don’t have a system tray that shows the clock, keyboard layout, network status, mixer status, battery, and so on.
    You only have the Task Bar work area

    • This reply was modified 8 years, 2 months ago by manjey73.
    in reply to: How to uninstall SCADA #3847
    manjey73
    Participant

    Run Setup again, there will be a choice of installation or removal.

    in reply to: General Configuration Sequence #3837
    manjey73
    Participant

    The Server and Communicator are started in minimized mode, locate from the system tray

    in reply to: M-Bus #3833
    manjey73
    Participant

    Hope just for those who have devices with m-Bus. At least it is planned to make free drivers that work with a specific device on the logs of requests and responses of the device. It is not difficult, as little changes there.

    in reply to: M-Bus #3831
    manjey73
    Participant

    There is also a problem with scanning devices, not all manufacturers lay this functionality. For example, Wesser Heat Meter does not have this functionality and does not even have an address provided by the Protocol. It has only ID and only it can be used to run a survey.

    in reply to: M-Bus #3830
    manjey73
    Participant

    Sorry for my English, I use online translator

    Thanks for the links. But the problem I have is not with the description of the Protocol, and with real data from the devices. The Protocol gives a greater freedom of choice of data transmission, which of them will choose the manufacturer only knows. I would like to see different types of data transmission from different manufacturers. At the moment I have only two devices and both transmit Variable data Structure.

    At the moment I have implemented the processing of Variable Data Structure in the response.

    in reply to: CRC Error #3814
    manjey73
    Participant

    01 03 30 00 00 08 4B 0C

    So it became clear that any online calculator Modbus CRC in the calculation of CRC along with it should give the result 0

    AI 0-20, 4-20 mA

    It was necessary to buy such a module, there is a description in English and you can check the information on the Protocol and the method of calculation of channels.

    • This reply was modified 8 years, 3 months ago by manjey73.
    in reply to: CRC Error #3812
    manjey73
    Participant

    Write to the Chinese that they have the wrong byte sequence in the CRC. Well, if it does not help, you can try to build KpModbus.dll in the new version, where you change the sequence of bytes for CRC, and to call it KpErrorModbus.dll 🙂

    in reply to: CRC Error #3809
    manjey73
    Participant

    http://modbus.rapidscada.net

    Probably your device is not quite standard. If you use the specified link and check your request, the CRC is correct, the lower byte forward, according to the Modbus Protocol.

    https://www.lammertbies.nl/comm/info/crc-calculation.html

    Online Calc shows just the CRC value as it is.

    I would like to look at this device that does not send CRC Modbus younger byte forward, I have never seen this in the factory products.

    • This reply was modified 8 years, 3 months ago by manjey73.
Viewing 15 posts - 886 through 900 (of 974 total)