Page 1 of 1

ECIO40P-16 scada / APP USB coms

Posted: Mon Mar 29, 2021 10:16 am
by DAVIDJOINER
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

Re: ECIO40P-16 scada / APP USB coms

Posted: Mon Mar 29, 2021 10:44 pm
by BenR
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.

Re: ECIO40P-16 scada / APP USB coms

Posted: Mon Mar 29, 2021 11:16 pm
by BenR
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.

Re: ECIO40P-16 scada / APP USB coms

Posted: Tue Mar 30, 2021 8:25 am
by DAVIDJOINER
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

Re: ECIO40P-16 scada / APP USB coms

Posted: Tue Mar 30, 2021 9:50 am
by medelec35
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:
VCP.png
VCP.png (10.27 KiB) Viewed 5140 times
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.

Re: ECIO40P-16 scada / APP USB coms

Posted: Tue Mar 30, 2021 1:12 pm
by DAVIDJOINER
Hi Ben

That all makes sense now

I tried what you suggested and works fine

Regards
David