I have a board that used enc28j60. i am currently using Ms access visual basic to control this board. it works with no problems.
when i try using your scada software I am unable to send and receive from this card.
I programmed a set of leds to check functions of the board.
I can connect and open a socket however when trying to send and receive data it fails on the pointer.
I have attached both flowcode projects . please help I simply don't know how to get it to work.
Scada software
Moderator: Benj
-
- Flowcode V4 User
- Posts: 220
- Joined: Mon Aug 24, 2009 8:38 am
- Has thanked: 2 times
- Been thanked: 34 times
- Contact:
Scada software
- Attachments
-
- scada.fcfx
- (35.45 KiB) Downloaded 202 times
-
- Flowcode1.fcsx
- (10.89 KiB) Downloaded 210 times
- 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
Hello,
Maybe try the socket open before the connect in the SCADA Flowcode1 project. Leigh's your man for this but this seems to be what we're doing in our code.
Maybe try the socket open before the connect in the SCADA Flowcode1 project. Leigh's your man for this but this seems to be what we're doing in our code.
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
-
- Flowcode V4 User
- Posts: 220
- Joined: Mon Aug 24, 2009 8:38 am
- Has thanked: 2 times
- Been thanked: 34 times
- Contact:
Re: Scada software
Thank you,
I made the changes , it behaves exactly the same.
arp request is ok
open socket and connect is ok .
as soon as we send the data it fails. the inbound DataPointer = 0
I made the changes , it behaves exactly the same.
arp request is ok
open socket and connect is ok .
as soon as we send the data it fails. the inbound DataPointer = 0
- Attachments
-
- scada.fcfx
- (35.45 KiB) Downloaded 223 times
-
- Flowcode1.fcsx
- (11.17 KiB) Downloaded 231 times
- LeighM
- Matrix Staff
- Posts: 2178
- Joined: Tue Jan 17, 2012 10:07 am
- Has thanked: 481 times
- Been thanked: 699 times
- Contact:
Re: Scada software
This could be due to a faulty TCPIP.DLL
Could you check the size of the TCPIP.DLL in C:\ProgramData\MatrixTSL\FlowcodeV8\Components\dll
Right click, Properties->Details
Latest working version is 98.5KB, faulty one is 98.0KB
Looks like there is the possibility that the 8.1 full installer has the correct DLL, but the patch might not
Could you check the size of the TCPIP.DLL in C:\ProgramData\MatrixTSL\FlowcodeV8\Components\dll
Right click, Properties->Details
Latest working version is 98.5KB, faulty one is 98.0KB
Looks like there is the possibility that the 8.1 full installer has the correct DLL, but the patch might not
- LeighM
- Matrix Staff
- Posts: 2178
- Joined: Tue Jan 17, 2012 10:07 am
- Has thanked: 481 times
- Been thanked: 699 times
- Contact:
Re: Scada software
We've fixed this now (hopefully), the DLL and TCPIP Base component got out of sync, there's a new auto update to fix it
Your DLL will most likely be correct, just an update for the TCPIP Base component.
Leigh
Your DLL will most likely be correct, just an update for the TCPIP Base component.
Leigh
-
- Flowcode V4 User
- Posts: 220
- Joined: Mon Aug 24, 2009 8:38 am
- Has thanked: 2 times
- Been thanked: 34 times
- Contact:
-
- Flowcode V4 User
- Posts: 220
- Joined: Mon Aug 24, 2009 8:38 am
- Has thanked: 2 times
- Been thanked: 34 times
- Contact: