hilscher NIOT-E-TPI51-EN-RE User Manual page 150

Netiot edge gateway
Hide thumbs Also See for NIOT-E-TPI51-EN-RE:
Table of Contents

Advertisement

Examples for Node-RED
Edge Gateway | NIOT-E-TPI51-EN-RE (Connect)
DOC170502UM04EN | Revision 4 | English | 2018-08 | Released | Public
The example for copying
Note:
To configure the fieldbus (in this case PROFINET), it is simply not
enough to copy this example. You have to perform steps 10 to 16 of
the step-by-step instructions for this purpose.
[{"id":"fa23cb52.763c48","type":"inject","z":"ae0f59a7.16c008","name
":"Send number
1","topic":"Send1","payload":"1","payloadType":"num","repeat":"","cr
ontab":"","once":false,"x":192,"y":136,"wires":
[["dcbda172.a1923"]]},
{"id":"6663e56b.1bb5cc","type":"inject","z":"ae0f59a7.16c008","name"
:"Send number
2","topic":"Send2","payload":"2","payloadType":"num","repeat":"","cr
ontab":"","once":false,"x":190,"y":210,"wires":
[["dcbda172.a1923"]]},{"id":"dcbda172.a1923","type":"fieldbus
out","z":"ae0f59a7.16c008","name":"MyOutput","FieldbusNodeVersion":"
1.1.0","WrapperVersion":"1.1.0","WrapperCompileDate":"Sep 1
2016/08:37:12","MinExpectedNodeJSVersion":"4.5.0","selectedSignalPat
h":"output~toController~Temperature_2","fieldbusObj":"e3a02a0f.a9593
8","x":469,"y":166,"wires":[]},
{"id":"e3a02a0f.a95938","type":"fieldbus
interface","z":"ae0f59a7.16c008","selectedConfigPath":"","currentFir
mwareName":"PROFINET IO Device: Version(3.9, build 0, revision
6)","currentInterfaceName":"cifX0:PROFINET
IO:Device","expectedInterfaceName":"cifX0:PROFINET
IO:Device","expectedFirmwareName":"PROFINET IO Device: Version(3.9,
build 0, revision
6)","expectedFirmwarePath":"","selectedChannelNumber":"2","selectedD
eviceNumber":"1291105","selectedSerialNumber":"20726"}]
Testing the flow and displaying messages
For testing the flow you need a connection to a configured PROFINET IO
Controller which cyclicly exchanges I/O-data with the Edge Gateway. At the
PROFINET IO Controller you have to display input data.
Ø Verify that the status of the fieldbus node MyOutput displays
Communicating.
Ø Click the button to the left of Inject node 1.
ð Signal Temperature_2 is set to value 1 and transferred to the
PROFINET IO Controller.
Ø Click the button to the left of Inject node 2.
ð Signal Temperature_2 is set to value 2 and transferred to the
PROFINET IO Controller.
Ø At the PROFINET IO Controller, display the input data in a window.
150/258
© Hilscher 2017 – 2018

Advertisement

Table of Contents
loading

Table of Contents