Forum Replies Created
-
AuthorPosts
-
August 1, 2025 at 5:34 am in reply to: Auto Control Module : Multichannel Trigger between specific time #16766
rapidscadaaks
ParticipantHi
I tried creating a calculated channel with following formula and Rapid Scada stopped working:
if(hour() >= 8 && hour() < 20, 1, 0)
Please advise
Thanks
rapidscadaaks
ParticipantThanks for the tip. Please advise how to use data of 2 channels for returning 1 or 0
Many thanks in advance
July 31, 2025 at 11:00 am in reply to: Auto Control Module : Multichannel Trigger between specific time #16763rapidscadaaks
ParticipantThis scenario is better. Please advise how to create a channel that can be 0 or 1 depending on time.
Thanks in advance
rapidscadaaks
ParticipantHi
Manufacturer (Waveshare) is not responding to the issue.
I have checked connecting the device directly to the PC using serial port and values are not received for the Input Channels. The issue therefore is not Rapidscada related.
I am therefore using alternate product and results are fine.
Thank you for the assistancerapidscadaaks
ParticipantHi
I tried polling one register from 0 using Holding Registers and there was no response from the unitI have created a support ticket with the manufacturer and await their response.
In the meantime, please suggest software for testing purposes for sending command to the unit and getting response.
rapidscadaaks
ParticipantHi
Awaiting guidance for resolution.
Thanksrapidscadaaks
ParticipantYes. This matches with the documentation.
rapidscadaaks
ParticipantHi
In 100% cases, Digital Input is failing2025-07-23 18:10:48 Session with the device [47] Waveshare_Relay_Test
Request element group “Relays”
Send (8): 01 01 00 00 00 08 3D CC
Receive (2/2): 01 01
Receive (4/4): 01 00 51 88
OK
Request element group “Digital Input”
Send (8): 01 02 00 00 00 08 79 CC
Receive (0/2):
Error: communication failed
Request element group “Digital Input”
Send (8): 01 02 00 00 00 08 79 CC
Receive (0/2):
Error: communication failed
Request element group “Digital Input”
Send (8): 01 02 00 00 00 08 79 CC
Receive (0/2):
Error: communication failed2025-07-23 18:10:52 Session with the device [47] Waveshare_Relay_Test
Request element group “Relays”
Send (8): 01 01 00 00 00 08 3D CC
Receive (2/2): 01 01
Receive (4/4): 01 00 51 88
OK
Request element group “Digital Input”
Send (8): 01 02 00 00 00 08 79 CC
Receive (0/2):
Error: communication failed
Request element group “Digital Input”
Send (8): 01 02 00 00 00 08 79 CC
Receive (0/2):
Error: communication failed
Request element group “Digital Input”
Send (8): 01 02 00 00 00 08 79 CC
Receive (0/2):
Error: communication failed2025-07-23 18:10:56 Session with the device [47] Waveshare_Relay_Test
Request element group “Relays”
Send (8): 01 01 00 00 00 08 3D CC
Receive (2/2): 01 01
Receive (4/4): 01 00 51 88
OK
Request element group “Digital Input”
Send (8): 01 02 00 00 00 08 79 CC
Receive (0/2):
Error: communication failed
Request element group “Digital Input”
Send (8): 01 02 00 00 00 08 79 CC
Receive (0/2):
Error: communication failed
Request element group “Digital Input”
Send (8): 01 02 00 00 00 08 79 CC
Receive (0/2):
Error: communication failed2025-07-23 18:11:00 Session with the device [47] Waveshare_Relay_Test
Request element group “Relays”
Send (8): 01 01 00 00 00 08 3D CC
Receive (2/2): 01 01
Receive (4/4): 01 00 51 88
OK
Request element group “Digital Input”
Send (8): 01 02 00 00 00 08 79 CC
Receive (0/2):
Error: communication failed
Request element group “Digital Input”
Send (8): 01 02 00 00 00 08 79 CC
Receive (0/2):
Error: communication failed
Request element group “Digital Input”
Send (8): 01 02 00 00 00 08 79 CC
Receive (0/2):
Error: communication failed2025-07-23 18:11:04 Session with the device [47] Waveshare_Relay_Test
Request element group “Relays”
Send (8): 01 01 00 00 00 08 3D CC
Receive (2/2): 01 01
Receive (4/4): 01 00 51 88
OKrapidscadaaks
Participanthttps://drive.google.com/drive/folders/1vlIcl4xIIcAInInh3mefr4DbJkR56pO0?usp=sharing
I hope the link is fine
Thanks
rapidscadaaks
ParticipantHi
I have the screenshots ready. Please advise how to attach as I do not seem to find option for uploading filerapidscadaaks
ParticipantDetails & manual of the device:
rapidscadaaks
ParticipantHi
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 channelsI have tried various combinations and have not succeeded
I will be grateful for assistance
rapidscadaaks
ParticipantMany thanks. This works
rapidscadaaks
ParticipantHi Mikhail
Please let me know what Command should be sent by the ACM.
Thanks once again
rapidscadaaks
ParticipantHi
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
-
AuthorPosts