connection node red and flexsim

connection node red and flexsim

nada
Not applicable
590 Views
10 Replies
Message 1 of 11

connection node red and flexsim

nada
Not applicable

[ FlexSim 23.1.2 ]

good morning everyone i'm having problem connection nodered to flexsim can anyone help me with the setting configuration please

0 Likes
Accepted solutions (1)
591 Views
10 Replies
Replies (10)
Message 2 of 11

philboboADSK
Autodesk
Autodesk
Accepted solution

You could use HTTP queries to communicate between a Node-RED server and FlexSim.

To call a Node-RED server from FlexSim, use an HTTP In node (cookbook.nodered.org) and call it via the Http FlexScript API (docs.flexsim.com).

To call FlexSim from a Node-RED server, use the FlexSim Webserver (docs.flexsim.com) to listen for instance queries and an http request node (cookbook.nodered.org) to send them.



Phil BoBo
Sr. Manager, Software Development
Message 3 of 11

kavika_faleumu
Autodesk
Autodesk
Hey @nada, have you tried using Emulation to make a Modbus or OPC UA connection with your Red-Node client? I noticed in this post that they had successfully made a connection using Modbus.
0 Likes
Message 4 of 11

nada
Not applicable

1685080899288.png1685080957744.png1685081139845.png

1685081218455.png

acutally its my first time using both flexsim and node red i want to reed speed of conveyer this what i did but i dont know if the connection is right and even the flow .

0 Likes
Message 5 of 11

kavika_faleumu
Autodesk
Autodesk
Hey @nada, you can read the speed of a conveyor using the "currentSpeed" property on a conveyor. If you have a reference to a conveyor, you can call it's properties to get and set properties on it.
Message 6 of 11

nada
Not applicable
actuaaly i don't know what to put in variables configuration(initial value /register ...) and the actions are they correct or no


0 Likes
Message 7 of 11

kavika_faleumu
Autodesk
Autodesk

Have you taken a look at the emulation documentation to see what the different sections of the tab do? Or have you looked at the Emulation Tutorial which teaches you how to make an OPC DA connection along with how to tweak the settings?

0 Likes
Message 8 of 11

julie_weller
Not applicable

Hi @nada,

We haven't heard back from you. Were you able to solve your problem? If so, please add and accept an answer to let others know the solution. Or please respond to the previous comment so that we can continue to help you.

If we don't hear back in the next 3 business days, we'll assume you were able to solve your problem and we'll close this case in our tracker. You can always comment back at any time to reopen your question, or you can contact your local FlexSim distributor for phone or email help.

0 Likes
Message 9 of 11

nada
Not applicable

1686817873020.png1686817903213.png1686817932748.png1686817955266.png

actually i did this example with modbus simulator and it works very well

i did also connect the modbus simulator with node-red it works also

1686818214861.png

but when i try to connect flexsim to node-red nothing happen

1686818304315.png


0 Likes
Message 10 of 11

joerg_vogel_HsH
Mentor
Mentor
@nada, this look like a question! Then please ask it as a question! This site follows a different philosophy. Questions are questions! Answers are answers. Conversations are going into comments. You should link question to other threads, if they are in relation to another.
0 Likes
Message 11 of 11

nada
Not applicable
okay i'm sorry .


0 Likes