Scada software

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 8.

Moderator: Benj

Post Reply
Roy Johnston
Flowcode V4 User
Posts: 220
Joined: Mon Aug 24, 2009 8:38 am
Has thanked: 2 times
Been thanked: 34 times
Contact:

Scada software

Post by Roy Johnston »

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.
Attachments
scada.fcfx
(35.45 KiB) Downloaded 202 times
Flowcode1.fcsx
(10.89 KiB) Downloaded 210 times

User avatar
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

Post by Benj »

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.
SS.jpg
SS.jpg (38.52 KiB) Viewed 4401 times

Roy Johnston
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

Post by Roy Johnston »

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
Attachments
scada.fcfx
(35.45 KiB) Downloaded 223 times
Flowcode1.fcsx
(11.17 KiB) Downloaded 231 times

User avatar
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

Post by LeighM »

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

User avatar
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

Post by LeighM »

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

Roy Johnston
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

Post by Roy Johnston »

Thank you.
will try again today and revert back to you.

Roy Johnston
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

Post by Roy Johnston »

Thank you,
working now.

Post Reply