Hi
I am using the dspic ECIO40P-16 and note there is no Scada / APP Component for this in FC9 but there is for other ECIO's but also they appear use a seperate serial COM port for connection to the emdeded slave
I am asking ask as i would really like to use in my application the ECIO40P-16 USB serial in the embedded and the APP to control the embeded slave over USB serial rather than a separate com port is this possible
Any ideas
David
ECIO40P-16 scada / APP USB coms
-
- Posts: 140
- http://meble-kuchenne.info.pl
- Joined: Wed Dec 02, 2020 7:35 pm
- Been thanked: 18 times
-
- Matrix Staff
- Posts: 1951
- Joined: Mon Dec 07, 2020 10:06 am
- Has thanked: 510 times
- Been thanked: 697 times
Re: ECIO40P-16 scada / APP USB coms
Hi David,
Yes this is possible, we currently control the two 8-bit PICs via the USB connection.
I'll get it on the list and see if it's something we can do fairly quickly for you.
Yes this is possible, we currently control the two 8-bit PICs via the USB connection.
I'll get it on the list and see if it's something we can do fairly quickly for you.
Regards Ben Rowland - MatrixTSL
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
-
- Matrix Staff
- Posts: 1951
- Joined: Mon Dec 07, 2020 10:06 am
- Has thanked: 510 times
- Been thanked: 697 times
Re: ECIO40P-16 scada / APP USB coms
Hi David,
I just realised that the BL0032 board features the same chip and so the firmware for this should also run on the ECIO40P16. You will need to change the target device in the project options or just use mLoader to transfer the hex file onto the ECIO and it should run.
https://www.flowcode.co.uk/wiki/index.p ... DA_Slaves)
Let us know how you get on.
I just realised that the BL0032 board features the same chip and so the firmware for this should also run on the ECIO40P16. You will need to change the target device in the project options or just use mLoader to transfer the hex file onto the ECIO and it should run.
https://www.flowcode.co.uk/wiki/index.p ... DA_Slaves)
Let us know how you get on.
Regards Ben Rowland - MatrixTSL
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
-
- Posts: 140
- Joined: Wed Dec 02, 2020 7:35 pm
- Been thanked: 18 times
Re: ECIO40P-16 scada / APP USB coms
HI Ben
I had already relealised that as well and was trying this out last week that but the issue i also eluded to was is it possible to run the embeded slave through the USB port
All i can seem to do is select a com port rather than the usb port on the SCADA \ APP
David
I had already relealised that as well and was trying this out last week that but the issue i also eluded to was is it possible to run the embeded slave through the USB port
All i can seem to do is select a com port rather than the usb port on the SCADA \ APP
David
-
- Matrix Staff
- Posts: 2086
- Joined: Wed Dec 02, 2020 11:07 pm
- Has thanked: 644 times
- Been thanked: 701 times
Re: ECIO40P-16 scada / APP USB coms
Hi David,
After the firmware is loaded on to ECIO40P - 16, it should create a serial COM port (VCP).
I have not tried with that device, but I have with a ECIO40P.
As soon as its plugged in to the USB it generate this: Check what the COM port is with the device manager, and try selecting it within the APP developer.
Also within properties of ECIO40P - 16 I would recommend changing Log Mode from Fixed Statistics to Command Log.
If you then run the console and select SCADA Tab, you will see if there is communications or not when running the App developer
If all working then you will not see the words Comms Error.
After the firmware is loaded on to ECIO40P - 16, it should create a serial COM port (VCP).
I have not tried with that device, but I have with a ECIO40P.
As soon as its plugged in to the USB it generate this: Check what the COM port is with the device manager, and try selecting it within the APP developer.
Also within properties of ECIO40P - 16 I would recommend changing Log Mode from Fixed Statistics to Command Log.
If you then run the console and select SCADA Tab, you will see if there is communications or not when running the App developer
If all working then you will not see the words Comms Error.
Martin
-
- Posts: 140
- Joined: Wed Dec 02, 2020 7:35 pm
- Been thanked: 18 times
Re: ECIO40P-16 scada / APP USB coms
Hi Ben
That all makes sense now
I tried what you suggested and works fine
Regards
David
That all makes sense now
I tried what you suggested and works fine
Regards
David