manjey73

Forum Replies Created

Viewing 15 posts - 691 through 705 (of 974 total)
  • Author
    Posts
  • in reply to: How to uninstall a rapid scada software in Raspberry Pi? #8755
    manjey73
    Participant

    Did you connect to the Raspberry Pi4 via SSH, enter the specified command and it didn’t work? I have this command written in the server startup file and it is executed every time the server is restarted, since without it, access is also blocked after the first application.

    in reply to: How to uninstall a rapid scada software in Raspberry Pi? #8741
    manjey73
    Participant

    I can’t say, in theory, everything is related to the rights to the configuration file, after it is changed by the root user, the rights belong only to him. You can connect via SSH and give the command

    chmod -R ugo+rw /opt/scada/ScadaWeb/config

    and then try to save the WEB configuration ?

    • This reply was modified 5 years, 5 months ago by manjey73.
    • This reply was modified 5 years, 5 months ago by manjey73.
    in reply to: How to uninstall a rapid scada software in Raspberry Pi? #8738
    manjey73
    Participant

    Raspberry Pi3 zram

    Use the online translator or search for topics on zram on other resources.

    Try this recipe to save the configuration

    • This reply was modified 5 years, 5 months ago by manjey73.
    in reply to: How to uninstall a rapid scada software in Raspberry Pi? #8736
    manjey73
    Participant

    On the same PC, the keys will work. Yes, just delete everything from the /opt/scada folder and that’s it. Strange, I have Chart Pro working without any complaints. Only my Raspberry Pi3 is too weak for this, 1GB is not enough for good work, you need to change the swap file system to another one.

    manjey73
    Participant

    The output channel number does not have to be the same as the input channel number. In the input channel, you make a binding, which output channel is associated with it.

    in reply to: Calc value from multiple device #8576
    manjey73
    Participant

    New Channel, use formula
    Val(Channel_machine_1)+Val(Channel_machine_2)+Val(Channel_machine_3)

    in reply to: Scan Time #8501
    manjey73
    Participant

    Where does the momentum come from? from the PLC ? it can appear in the period between the PLC requests – then the PLC program requires a delay of this pulse for the network variable. Or did you mean something else ?

    in reply to: about SCADA V6 #8469
    manjey73
    Participant

    Since the xml file is used to save the dat file data and transfer copies, the system itself works with the dat file

    in reply to: AllenBradley PLC Polling Driver (Ethernet) #8451
    manjey73
    Participant

    Do you need a key for the driver or do you do without it ? 🙂

    in reply to: AllenBradley PLC Polling Driver (Ethernet) #8432
    manjey73
    Participant

    KpLibPlcTag_for_Linux

    I can’t check it, because I don’t have a PLC on my hands. I downloaded version 2.3.4 And renamed it libplctag.so.2.3.4 v libplctag.so and put on the path /usr/lib I do not know how true this is for working on Linux. Version 2.3.5 has already appeared on the developer’s website

    https://github.com/libplctag/libplctag/releases

    The library calls exactly libplctag.so Please write, will it work or not ? And if anything, write to the mail with the computer code, so that I can make a key.

    in reply to: AllenBradley PLC Polling Driver (Ethernet) #8403
    manjey73
    Participant

    For Linux, I will need to rebuild the library KpLibPlcTag.dll I’ll try it this weekend.
    If possible, I’ll post a link to the Raspberry version here

    • This reply was modified 5 years, 6 months ago by manjey73.
    in reply to: AllenBradley PLC Polling Driver (Ethernet) #8400
    manjey73
    Participant

    libplctag.so this library should be located either in the /lib folder and probably should be registered in the system (I don’t remember the nuances now) But that’s not all, in my library there should be a call to the libraries of Linux versions, the build should be under Linux

    in reply to: AllenBradley PLC Polling Driver (Ethernet) #8397
    manjey73
    Participant

    My Raspberry uses a BCM2835 processor which is an ARMv7 Processor rev 4 (v71) I used the cat /proc/cpuinfo command

    in reply to: AllenBradley PLC Polling Driver (Ethernet) #8396
    manjey73
    Participant

    fedex

    Possible. The developer has experimental builds for libplctag_2.3.4_linux_arm6hf_EXPERIMENTAL.zip and libplctag_2.3.4_linux_arm7l_EXPERIMENTAL.zip
    If any of the builds are suitable for Raspberry, I can try to rebuild the driver for them. But I unfortunately have nothing to test on. I have already returned the PLC and I do not have access to it. If you can arrange remote access to the PLC, I can try to check this possibility.

    in reply to: Communication on Raspberry Pi with Device #8205
    manjey73
    Participant

    Bus 001 Device 006: ID 1a86:7523 QinHeng Electronics HL-340 USB-Serial adapter
    Bus 001 Device 005: ID 1a86:7523 QinHeng Electronics HL-340 USB-Serial adapter
    Bus 001 Device 004: ID 067b:2303 Prolific Technology, Inc. PL2303 Serial Port

    I didn’t pay attention, you have a cheap USB-RS485 converter, I have the same ones.
    But I have only 3 pieces installed. And at the time of reboot, they can change their numbers, for example, from /dev/ttyUSB0 to /dev/ttyUSB1, which is unacceptable for the system to work.
    So I apply the Udev rules so that they are named as I want, regardless of what number the device received.

    dmesg | grep usb

    [    2.031971] usb 1-1.2: new full-speed USB device number 4 using dwc_otg
    [    2.164990] usb 1-1.2: New USB device found, idVendor=067b, idProduct=2303, bcdDevice= 3.00
    [    2.165006] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
    [    2.165015] usb 1-1.2: Product: USB-Serial Controller
    [    2.165025] usb 1-1.2: Manufacturer: Prolific Technology Inc.
    [    2.262025] usb 1-1.3: new full-speed USB device number 5 using dwc_otg
    [    2.395529] usb 1-1.3: New USB device found, idVendor=1a86, idProduct=7523, bcdDevice= 2.54
    [    2.395550] usb 1-1.3: New USB device strings: Mfr=0, Product=2, SerialNumber=0
    [    2.395559] usb 1-1.3: Product: USB2.0-Serial
    [    2.491981] usb 1-1.5: new full-speed USB device number 6 using dwc_otg
    [    2.625521] usb 1-1.5: New USB device found, idVendor=1a86, idProduct=7523, bcdDevice= 2.54
    [    2.625539] usb 1-1.5: New USB device strings: Mfr=0, Product=2, SerialNumber=0
    [    2.625549] usb 1-1.5: Product: USB2.0-Ser!
    [    2.944434] usbcore: registered new interface driver usbserial_generic
    [    2.944504] usbserial: USB Serial support registered for generic
    [    2.953464] usbcore: registered new interface driver ch341
    [    2.953554] usbserial: USB Serial support registered for ch341-uart
    [    2.965080] usb 1-1.3: ch341-uart converter now attached to ttyUSB0
    [    2.975967] usb 1-1.5: ch341-uart converter now attached to ttyUSB1
    [    3.042552] usbcore: registered new interface driver pl2303
    [    3.042659] usbserial: USB Serial support registered for pl2303
    [    3.058874] usb 1-1.2: pl2303 converter now attached to ttyUSB2
    [    3.955816] usbcore: registered new interface driver brcmfmac
    [13594.241044] pl2303 ttyUSB2: usb_serial_generic_read_bulk_callback - urb stopped: -32
    

    see the output of the command
    usb 1-1.3: ch341-uart converter now attached to ttyUSB0
    usb 1-1.5: ch341-uart converter now attached to ttyUSB1
    usb 1-1.2: pl2303 converter now attached to ttyUSB2

    Here 1.3 is the number of the USB port on the Raspberry and /dev/ttyUSB0 what is the port number received by the device

Viewing 15 posts - 691 through 705 (of 974 total)