Forum Replies Created
-
AuthorPosts
-
April 15, 2021 at 8:02 am in reply to: How to uninstall a rapid scada software in Raspberry Pi? #8755
manjey73ParticipantDid 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.
April 14, 2021 at 1:07 pm in reply to: How to uninstall a rapid scada software in Raspberry Pi? #8741
manjey73ParticipantI 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/configand then try to save the WEB configuration ?
April 14, 2021 at 9:56 am in reply to: How to uninstall a rapid scada software in Raspberry Pi? #8738
manjey73ParticipantUse 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.
April 14, 2021 at 8:41 am in reply to: How to uninstall a rapid scada software in Raspberry Pi? #8736
manjey73ParticipantOn 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.
March 30, 2021 at 6:26 am in reply to: RSAdmin: TreeView OutputChannel only show InputChannel Nodes #8601
manjey73ParticipantThe 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.
manjey73ParticipantNew Channel, use formula
Val(Channel_machine_1)+Val(Channel_machine_2)+Val(Channel_machine_3)
manjey73ParticipantWhere 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 ?
manjey73ParticipantSince the xml file is used to save the dat file data and transfer copies, the system itself works with the dat file
manjey73ParticipantDo you need a key for the driver or do you do without it ? 🙂
manjey73ParticipantI 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.
manjey73ParticipantFor 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.
manjey73Participantlibplctag.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
manjey73ParticipantMy Raspberry uses a BCM2835 processor which is an ARMv7 Processor rev 4 (v71) I used the
cat /proc/cpuinfocommand
manjey73Participantfedex
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.
manjey73ParticipantBus 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 PortI 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: -32see 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 ttyUSB2Here 1.3 is the number of the USB port on the Raspberry and /dev/ttyUSB0 what is the port number received by the device
-
This reply was modified 5 years, 5 months ago by
-
AuthorPosts