Hi
Is there a sample or info how to how use a comport with scada to send/receic data via serialport from the PC?
Scada Software how to use Comport?
Moderator: Benj
-
- Valued Contributor
- Posts: 654
- Joined: Fri Aug 19, 2016 2:09 pm
- Location: switzerland
- Has thanked: 182 times
- Been thanked: 179 times
- Contact:
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: Scada Software how to use Comport?
Hello,
Under Tools should be a UART SCADA component that allows simple COM port communications in SCADA mode.
Under Tools should be a UART SCADA component that allows simple COM port communications in SCADA mode.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
-
- Valued Contributor
- Posts: 654
- Joined: Fri Aug 19, 2016 2:09 pm
- Location: switzerland
- Has thanked: 182 times
- Been thanked: 179 times
- Contact:
Re: Scada Software how to use Comport?
Hi Ben
This I saw but there is no component command for it, even the comport shows the macros in the propertis
This I saw but there is no component command for it, even the comport shows the macros in the propertis
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: Scada Software how to use Comport?
Hello,
You need to use the simulation tab of the component macro icon or use the simulation icon to see the component macros.
Alternatively you can use the Project Explorer window.
You need to use the simulation tab of the component macro icon or use the simulation icon to see the component macros.
Alternatively you can use the Project Explorer window.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
-
- Valued Contributor
- Posts: 654
- Joined: Fri Aug 19, 2016 2:09 pm
- Location: switzerland
- Has thanked: 182 times
- Been thanked: 179 times
- Contact:
Re: Scada Software how to use Comport?
Hi Ben
With the SCADA I can write data to the disk of the computer.Thats great....
The comport is not working. I controlled the signal what the computer received from the PiC-board with terminal program. It's looks ok. On COM40.
Why there is this simulations code? Is this correct?
And can SCADA receive signals from the comport and show it on the display?
With the SCADA I can write data to the disk of the computer.Thats great....
The comport is not working. I controlled the signal what the computer received from the PiC-board with terminal program. It's looks ok. On COM40.
Why there is this simulations code? Is this correct?
And can SCADA receive signals from the comport and show it on the display?
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: Scada Software how to use Comport?
Hello,
The COM port DLL we use is known to work very well so it's strange you're having issues with communications.
1) Have you ensured the port is not locked by another application.
2) Have you connected the hardware before running Flowcode or the Port may not appear in the Ports list.
3) If all else fails what version of Windows are you running? Is it up to date with updates? Have you installed Microsoft redistributable packs?
If you're in doubt then please post your project file so far and we can take a look at it for you to make sure you're on the right track.
Under File -> Open Template is an example for an Arduino Uno, one project for the embedded side and another for the SCADA side communicating via the built in Arduino COM port.
The COM port DLL we use is known to work very well so it's strange you're having issues with communications.
1) Have you ensured the port is not locked by another application.
2) Have you connected the hardware before running Flowcode or the Port may not appear in the Ports list.
3) If all else fails what version of Windows are you running? Is it up to date with updates? Have you installed Microsoft redistributable packs?
Yes it's been there in the embedded mode since v6 and it's basically way of us informing the user that the macro will not download to a target device.Why there is this simulations code? Is this correct?
It certainly can.And can SCADA receive signals from the comport and show it on the display?
If you're in doubt then please post your project file so far and we can take a look at it for you to make sure you're on the right track.
Under File -> Open Template is an example for an Arduino Uno, one project for the embedded side and another for the SCADA side communicating via the built in Arduino COM port.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
-
- Valued Contributor
- Posts: 654
- Joined: Fri Aug 19, 2016 2:09 pm
- Location: switzerland
- Has thanked: 182 times
- Been thanked: 179 times
- Contact:
Re: Scada Software how to use Comport?
Hi Ben
Now I understood a little more. I have to use the simulation. Yes, it's wonderful now. Many Thanks. It works well with the COMport and the PIC. I also studied the example. I see that the PC program asks the Arduino and an answers expected.But my PIC sends data like crazy, is there something like an interrupt for the COM port?
Now I understood a little more. I have to use the simulation. Yes, it's wonderful now. Many Thanks. It works well with the COMport and the PIC. I also studied the example. I see that the PC program asks the Arduino and an answers expected.But my PIC sends data like crazy, is there something like an interrupt for the COM port?