- Function of the S7comm node
- Node Status
- Configuration node
- Read node
- Write node
- JSON structures
- Example payloads for read commands
- Example payloads for write commands
- Further information
The S7comm-Read node sends a reading request to a PLC. The responde from the PLC is at the output of the node available as soon as its arrived.The nodes reads a value from the PLC triggered internally or by an inject node.
The S7comm-Write node writes a value to the memory of an PLC. The Value is provides either from the inject Node or from a S7comm-Read node.
-
green: connected
The node is connected with a PLC.
-
red: disconnected
The node is disconnected.
-
red: error
Some Error occured.
Note: The node status connected and disconnected corresponds to the internal state of nodes7 (isoConnectionState). The node status error corresponds to the return value of a read request.
To parametrise the configuration node you have to insert either a S7comm-Read or a S7comm-Write node into the Node-RED editor by dragging it from the list on the left hand side and drop it onto the editor window.
Open Edit Dialog
After double clicking the node you are in the edit dialog of the S7comm node (both nodes are looking nearly the same). The following edit dialog will pop up. Here you can open the Configuration Node.
Open Configuration Node
The Configuration Node consists of two parts. In the first part you can edit the S7comm-Connection parameter (IP,Port,Rack,Slot). The second part is the signal box. The signal box represents a global list of your PLC. This global list is available for all reading and writing nodes. After creating a global signal list push "Add" to apply the connection parameter and create the list for all S7comm nodes.
How to define an signal
I0.1:
IB0 - IB3:
DB10,DBB0:
T0:
- Select an item of the global list you want to read
- Select the repeating mechanism (similar to inject node) In case of choosing the intervall functionallity decide for a repeating time
- Choose a name and a topic for your Node and confirm the node with OK.
-
Select an item of the global list you want to write
-
Choose a name for your node and confirm the node with OK
General structure: The node outputs a msg.payload in the following format to show the read/write command. The value field for the read node shows the reading value. The value Field for the write node shows the writing value!
payload.signal : Symbolic name of the signal as configured,
payload.path : Signal path of the signal,
payload.error : Error value: 0 = no error, -1 = any error,
payload.value : Read/Written Value as an array
Special definition for payload.value : Read/Written Value within an Array
null: in case of an error;
single value: if the quantity equals to one;
array of values: if the quantity is larger than one;
The message at the output of the node has a defined JSON structures:
Example: { topic: "myTopic", payload: { signal: "myVar", path: "MB0", error:0, value: [42] }, _msgid: "ee4d0428.11b2f8" }
Reading Q0.1, return value is true and valid:
{topic:"Input_hall#1", payload:{signal: "machine#1", path:"Q0.1",error:0, value:[true] }, _msgid: "92e3f0cc.6d1c1" }
Reading QB1, return value is 100 and valid:
{topic:"Input_hall#1", payload:{signal: "machine#1", path:"QB1",error:0, value:[100] }, _msgid: "92e3f0cc.6d1c1" }
Reading QB0-QB3, return value is [1,2,3,4] and valid:
{topic:"Input_hall#1", payload:{signal: "machine#1", path:"QB0..3",error:0, value:[1,2,3,4] }, _msgid: "92e3f0cc.6d1c1" }
Reading DB11.DBB0 - DB11.DBB3, return value is [null,null,null,null] and invalid because DB11 does not exist:
{topic:"Input_hall#1", payload:{signal: "machine#1", path:"DB10,BYTE0..3",error:-1, value:[null,null,null,null] }, _msgid: "92e3f0cc.6d1c1" }
In any case of Error:
error=-1, value=[null]
Writing true to I0.3, writing succeeded, Error equals to 0:
{topic:"Input_hall#1", payload:{signal: "machine#1", path:"I0.3",error:0, value:[true] }, "_msgid": "92e3f0cc.6d1c1" }
Writing 8 to IB1, writing succeeded, Error equals to 0:
{topic:"Input_hall#1", payload:{signal: "machine#1", path:"IB1",error:0, value:[8] }, "_msgid": "92e3f0cc.6d1c1" }
Writing [1,2,3] to IB1-IB3, writing succeeded, Error equals to 0:
{topic:"Input_hall#1", payload:{signal: "machine#1", path:"IB1..3",error:0, value:[1,2,3]}, _msgid: "92e3f0cc.6d1c1" }
Writing 8 to IB1, Writing failed, Error equals to -1:
{topic:"Input_hall#1", payload:{signal: "machine#1", path:"IB1",error:-1, value:[8]}, _msgid: "92e3f0cc.6d1c2" }
Hint for usage with S7-1500/1200 type of PLCs:
By default, communications from remote systems such as HMIs, PLCs, OPCs or S7Comm nodes are disabled in the PLC and will be rejected. So make sure you enabled the option "Permit access with PUT/GET communication from remote partner" in Siemens engineering software TIA under the PLC menu item "General/Protection/Connection Mechanism" before using S7Comm node.
Important Note: When using an inject node use following "JSON" formats:
for boolean value: {"value":[true]}
for single value: {"value":[1]}
for array value: {"value":[1,2,3]}
for Character value:{"value":["S"]}
for string value:{"value":["Simatic"]}
Example Flow which connects to an PLC with:
IP-address:192.168.254.234, Port:102, Rack:0, Slot:2
[{"id":"7b012bd4.48f6e4","type":"tab","label":"s7comm Testflow"},{"id":"637e74c0.f631fc","type":"s7comm write","z":"7b012bd4.48f6e4","connection":"8c0651e2.fb5d8","payload":"{\"S7_Type\":\"M\",\"S7_DBnum\":\"0\",\"S7_Datatype\":\"X\",\"S7_Offset\":\"0\",\"S7_BitOffset\":\"0\",\"S7_Quantity\":\"1\",\"S7_Name\":\"M0.0\"}","s7Name":"M0.0","topic":"write Bool","name":"","x":380,"y":180,"wires":[["7bbdc045.af839"]]},{"id":"4da2bac.d3ce744","type":"comment","z":"7b012bd4.48f6e4","name":"Test Bool","info":"","x":100,"y":120,"wires":[]},{"id":"2e951ae6.4a0406","type":"inject","z":"7b012bd4.48f6e4","name":"","topic":"","payload":"{\"value\":[true]}","payloadType":"json","repeat":"","crontab":"","once":false,"x":130,"y":160,"wires":[["637e74c0.f631fc"]]},{"id":"a4db8102.015bb","type":"inject","z":"7b012bd4.48f6e4","name":"","topic":"","payload":"{\"value\":[false]}","payloadType":"json","repeat":"","crontab":"","once":false,"x":140,"y":200,"wires":[["637e74c0.f631fc"]]},{"id":"7bbdc045.af839","type":"debug","z":"7b012bd4.48f6e4","name":"","active":true,"console":"false","complete":"false","x":590,"y":220,"wires":[]},{"id":"961c1081.b8f8a","type":"s7comm read","z":"7b012bd4.48f6e4","connection":"8c0651e2.fb5d8","payload":"{\"S7_Type\":\"M\",\"S7_DBnum\":\"0\",\"S7_Datatype\":\"B\",\"S7_Offset\":\"0\",\"S7_BitOffset\":\"0\",\"S7_Quantity\":\"1\",\"S7_Name\":\"MB0\"}","s7Name":"MB0","topic":"read Byte","name":"","none":"true","repeat":"","once":false,"x":380,"y":520,"wires":[["68afbf15.de62"]]},{"id":"7a1c8eb.ab2967","type":"inject","z":"7b012bd4.48f6e4","name":"","topic":"","payload":"","payloadType":"date","repeat":"","crontab":"","once":false,"x":120,"y":520,"wires":[["961c1081.b8f8a"]]},{"id":"5bec75ce.51f4ac","type":"s7comm write","z":"7b012bd4.48f6e4","connection":"8c0651e2.fb5d8","payload":"{\"S7_Type\":\"M\",\"S7_DBnum\":\"0\",\"S7_Datatype\":\"B\",\"S7_Offset\":\"0\",\"S7_BitOffset\":\"0\",\"S7_Quantity\":\"1\",\"S7_Name\":\"MB0\"}","s7Name":"MB0","topic":"write Byte","name":"","x":380,"y":420,"wires":[["68afbf15.de62"]]},{"id":"72d2323d.8b991c","type":"comment","z":"7b012bd4.48f6e4","name":"Test Byte","info":"","x":100,"y":320,"wires":[]},{"id":"ec71a370.a7a04","type":"inject","z":"7b012bd4.48f6e4","name":"","topic":"","payload":"{\"value\":[0]}","payloadType":"json","repeat":"","crontab":"","once":false,"x":130,"y":360,"wires":[["5bec75ce.51f4ac"]]},{"id":"68afbf15.de62","type":"debug","z":"7b012bd4.48f6e4","name":"","active":true,"console":"false","complete":"false","x":590,"y":500,"wires":[]},{"id":"45aac765.07b268","type":"inject","z":"7b012bd4.48f6e4","name":"","topic":"","payload":"{\"value\":[1]}","payloadType":"json","repeat":"","crontab":"","once":false,"x":130,"y":400,"wires":[["5bec75ce.51f4ac"]]},{"id":"de8a0bb.f5c48f8","type":"inject","z":"7b012bd4.48f6e4","name":"","topic":"","payload":"{\"value\":[256]}","payloadType":"json","repeat":"","crontab":"","once":false,"x":130,"y":480,"wires":[["5bec75ce.51f4ac"]]},{"id":"64060762.9872d8","type":"inject","z":"7b012bd4.48f6e4","name":"","topic":"","payload":"{\"value\":[255]}","payloadType":"json","repeat":"","crontab":"","once":false,"x":130,"y":440,"wires":[["5bec75ce.51f4ac"]]},{"id":"ca24be5a.be63a","type":"s7comm read","z":"7b012bd4.48f6e4","connection":"8c0651e2.fb5d8","payload":"{\"S7_Type\":\"M\",\"S7_DBnum\":\"0\",\"S7_Datatype\":\"W\",\"S7_Offset\":\"0\",\"S7_BitOffset\":\"0\",\"S7_Quantity\":\"1\",\"S7_Name\":\"MW0\"}","s7Name":"MW0","topic":"read Word","name":"","none":"true","repeat":"","once":false,"x":390,"y":760,"wires":[["148685af.1ba0da"]]},{"id":"38b52a00.2ea756","type":"inject","z":"7b012bd4.48f6e4","name":"","topic":"","payload":"","payloadType":"date","repeat":"","crontab":"","once":false,"x":120,"y":760,"wires":[["ca24be5a.be63a"]]},{"id":"8c352cba.ad60d","type":"s7comm write","z":"7b012bd4.48f6e4","connection":"8c0651e2.fb5d8","payload":"{\"S7_Type\":\"M\",\"S7_DBnum\":\"0\",\"S7_Datatype\":\"W\",\"S7_Offset\":\"0\",\"S7_BitOffset\":\"0\",\"S7_Quantity\":\"1\",\"S7_Name\":\"MW0\"}","s7Name":"MW0","topic":"write Word","name":"","x":390,"y":680,"wires":[["148685af.1ba0da"]]},{"id":"848b625e.c6992","type":"comment","z":"7b012bd4.48f6e4","name":"Test Word","info":"","x":100,"y":600,"wires":[]},{"id":"573b3b3.f26aac4","type":"inject","z":"7b012bd4.48f6e4","name":"","topic":"","payload":"{\"value\":[65536]}","payloadType":"json","repeat":"","crontab":"","once":false,"x":140,"y":680,"wires":[["8c352cba.ad60d"]]},{"id":"8a6edd12.32612","type":"inject","z":"7b012bd4.48f6e4","name":"","topic":"","payload":"{\"value\":[65535]}","payloadType":"json","repeat":"","crontab":"","once":false,"x":140,"y":640,"wires":[["8c352cba.ad60d"]]},{"id":"37f3c0b2.c9ee2","type":"inject","z":"7b012bd4.48f6e4","name":"","topic":"","payload":"{\"value\":[65537]}","payloadType":"json","repeat":"","crontab":"","once":false,"x":140,"y":720,"wires":[["8c352cba.ad60d"]]},{"id":"36ba185d.0f4a48","type":"s7comm read","z":"7b012bd4.48f6e4","connection":"8c0651e2.fb5d8","payload":"{\"S7_Type\":\"M\",\"S7_DBnum\":\"0\",\"S7_Datatype\":\"D\",\"S7_Offset\":\"0\",\"S7_BitOffset\":\"0\",\"S7_Quantity\":\"1\",\"S7_Name\":\"MD0\"}","s7Name":"MD0","topic":"read DWord0","name":"","none":"true","repeat":"","once":false,"x":390,"y":960,"wires":[["d70147ce.2cb2b8"]]},{"id":"f3d95309.0d311","type":"inject","z":"7b012bd4.48f6e4","name":"","topic":"","payload":"","payloadType":"date","repeat":"","crontab":"","once":false,"x":120,"y":960,"wires":[["36ba185d.0f4a48"]]},{"id":"d70147ce.2cb2b8","type":"debug","z":"7b012bd4.48f6e4","name":"","active":true,"console":"false","complete":"false","x":590,"y":940,"wires":[]},{"id":"a46aa71b.739698","type":"s7comm write","z":"7b012bd4.48f6e4","connection":"8c0651e2.fb5d8","payload":"{\"S7_Type\":\"M\",\"S7_DBnum\":\"0\",\"S7_Datatype\":\"D\",\"S7_Offset\":\"0\",\"S7_BitOffset\":\"0\",\"S7_Quantity\":\"1\",\"S7_Name\":\"MD0\"}","s7Name":"MD0","topic":"write DWord0","name":"","x":400,"y":900,"wires":[["d70147ce.2cb2b8"]]},{"id":"4b498696.7e6e28","type":"comment","z":"7b012bd4.48f6e4","name":"Test DWord","info":"","x":110,"y":840,"wires":[]},{"id":"4d320cf.82697f4","type":"inject","z":"7b012bd4.48f6e4","name":"","topic":"","payload":"{\"value\":[4294967297]}","payloadType":"json","repeat":"","crontab":"","once":false,"x":163,"y":880,"wires":[["a46aa71b.739698"]]},{"id":"52678873.efef78","type":"s7comm read","z":"7b012bd4.48f6e4","connection":"8c0651e2.fb5d8","payload":"{\"S7_Type\":\"M\",\"S7_DBnum\":\"0\",\"S7_Datatype\":\"I\",\"S7_Offset\":\"0\",\"S7_BitOffset\":\"0\",\"S7_Quantity\":\"1\",\"S7_Name\":\"MI0\"}","s7Name":"MI0","topic":"read Int","name":"","none":"true","repeat":"","once":false,"x":1140,"y":440,"wires":[["4c6e58a0.48ac18"]]},{"id":"e373bd28.46aeb","type":"inject","z":"7b012bd4.48f6e4","name":"","topic":"","payload":"","payloadType":"date","repeat":"","crontab":"","once":false,"x":880,"y":440,"wires":[["52678873.efef78"]]},{"id":"4c6e58a0.48ac18","type":"debug","z":"7b012bd4.48f6e4","name":"","active":true,"console":"false","complete":"payload","x":1350,"y":360,"wires":[]},{"id":"6bcc812d.54fea","type":"s7comm write","z":"7b012bd4.48f6e4","connection":"8c0651e2.fb5d8","payload":"{\"S7_Type\":\"M\",\"S7_DBnum\":\"0\",\"S7_Datatype\":\"I\",\"S7_Offset\":\"0\",\"S7_BitOffset\":\"0\",\"S7_Quantity\":\"1\",\"S7_Name\":\"MI0\"}","s7Name":"MI0","topic":"write Int","name":"","x":1140,"y":280,"wires":[["4c6e58a0.48ac18"]]},{"id":"7a1d7d12.4c9064","type":"comment","z":"7b012bd4.48f6e4","name":"Test Int","info":"","x":850,"y":120,"wires":[]},{"id":"8b38c5ae.0942c8","type":"comment","z":"7b012bd4.48f6e4","name":"Test char","info":"","x":1640,"y":520,"wires":[]},{"id":"292f9d37.c083a2","type":"inject","z":"7b012bd4.48f6e4","name":"","topic":"","payload":"{\"value\":[1]}","payloadType":"json","repeat":"","crontab":"","once":false,"x":890,"y":320,"wires":[["6bcc812d.54fea"]]},{"id":"e166108c.4b06f","type":"inject","z":"7b012bd4.48f6e4","name":"","topic":"","payload":"{\"value\":[0]}","payloadType":"json","repeat":"","crontab":"","once":false,"x":890,"y":280,"wires":[["6bcc812d.54fea"]]},{"id":"34d961ab.3c091e","type":"inject","z":"7b012bd4.48f6e4","name":"","topic":"","payload":"{\"value\":[-32769]}","payloadType":"json","repeat":"","crontab":"","once":false,"x":900,"y":200,"wires":[["6bcc812d.54fea"]]},{"id":"9674b041.a58e3","type":"inject","z":"7b012bd4.48f6e4","name":"","topic":"","payload":"{\"value\":[32769]}","payloadType":"json","repeat":"","crontab":"","once":false,"x":900,"y":360,"wires":[["6bcc812d.54fea"]]},{"id":"f7dcb0a7.582d3","type":"s7comm read","z":"7b012bd4.48f6e4","connection":"8c0651e2.fb5d8","payload":"{\"S7_Type\":\"M\",\"S7_DBnum\":\"0\",\"S7_Datatype\":\"DI\",\"S7_Offset\":\"0\",\"S7_BitOffset\":\"0\",\"S7_Quantity\":\"1\",\"S7_Name\":\"MDI0\"}","s7Name":"MDI0","topic":"read DInt","name":"","none":"true","repeat":"","once":false,"x":1180,"y":720,"wires":[["9307d80b.e2dfd8"]]},{"id":"3fd5e9cf.ae1166","type":"inject","z":"7b012bd4.48f6e4","name":"","topic":"","payload":"","payloadType":"date","repeat":"","crontab":"","once":false,"x":880,"y":720,"wires":[["f7dcb0a7.582d3"]]},{"id":"9307d80b.e2dfd8","type":"debug","z":"7b012bd4.48f6e4","name":"","active":true,"console":"false","complete":"payload","x":1370,"y":660,"wires":[]},{"id":"8f59a1ae.4c087","type":"s7comm write","z":"7b012bd4.48f6e4","connection":"8c0651e2.fb5d8","payload":"{\"S7_Type\":\"M\",\"S7_DBnum\":\"0\",\"S7_Datatype\":\"DI\",\"S7_Offset\":\"0\",\"S7_BitOffset\":\"0\",\"S7_Quantity\":\"1\",\"S7_Name\":\"MDI0\"}","s7Name":"MDI0","topic":"write DInt","name":"","x":1180,"y":620,"wires":[["9307d80b.e2dfd8"]]},{"id":"234e1a24.9be8b6","type":"comment","z":"7b012bd4.48f6e4","name":"Test DInt","info":"","x":860,"y":520,"wires":[]},{"id":"7c5df035.6ec13","type":"inject","z":"7b012bd4.48f6e4","name":"","topic":"","payload":"{\"value\":[-2147483648]}","payloadType":"json","repeat":"","crontab":"","once":false,"x":920,"y":600,"wires":[["8f59a1ae.4c087"]]},{"id":"1a03d54.0b5be2b","type":"inject","z":"7b012bd4.48f6e4","name":"","topic":"","payload":"{\"value\":[-2147483649]}","payloadType":"json","repeat":"","crontab":"","once":false,"x":923,"y":560,"wires":[["8f59a1ae.4c087"]]},{"id":"85863206.f5d7f","type":"inject","z":"7b012bd4.48f6e4","name":"","topic":"","payload":"{\"value\":[2147483648]}","payloadType":"json","repeat":"","crontab":"","once":false,"x":920,"y":640,"wires":[["8f59a1ae.4c087"]]},{"id":"1011eed8.be34b1","type":"inject","z":"7b012bd4.48f6e4","name":"","topic":"","payload":"{\"value\":[2147483649]}","payloadType":"json","repeat":"","crontab":"","once":false,"x":920,"y":680,"wires":[["8f59a1ae.4c087"]]},{"id":"38d55cd2.ab9fa4","type":"s7comm write","z":"7b012bd4.48f6e4","connection":"8c0651e2.fb5d8","payload":"{\"S7_Type\":\"DB\",\"S7_DBnum\":\"111\",\"S7_Datatype\":\"STRING\",\"S7_Offset\":\"0\",\"S7_BitOffset\":\"0\",\"S7_Quantity\":\"12\",\"S7_Name\":\"DB String 0-12\"}","s7Name":"DB String 0-12","topic":"write string DB","name":"","x":1920,"y":260,"wires":[["59f50e47.2eb25"]]},{"id":"b96ddf17.3eb1d","type":"comment","z":"7b012bd4.48f6e4","name":"Test string (within DB)","info":"","x":1680,"y":120,"wires":[]},{"id":"2e710f8.e1f01f","type":"inject","z":"7b012bd4.48f6e4","name":"\"SIMATIC--PLC\"","topic":"","payload":"{\"value\":[\"SIMATIC--PLC\"]}","payloadType":"json","repeat":"","crontab":"","once":false,"x":1680,"y":160,"wires":[["38d55cd2.ab9fa4"]]},{"id":"a70f4536.c65b78","type":"inject","z":"7b012bd4.48f6e4","name":"\"PLC--SIMATIC\"","topic":"","payload":"{\"value\":[\"PLC--SIMATIC\"]}","payloadType":"json","repeat":"","crontab":"","once":false,"x":1681,"y":200,"wires":[["38d55cd2.ab9fa4"]]},{"id":"e1889bed.3dc878","type":"inject","z":"7b012bd4.48f6e4","name":"\"ABCDEFGHIJKLMNOP\"","topic":"","payload":"{\"value\":[\"ABCDEFGHIJKLMNOP\"]}","payloadType":"json","repeat":"","crontab":"","once":false,"x":1710,"y":360,"wires":[["38d55cd2.ab9fa4"]]},{"id":"59f50e47.2eb25","type":"debug","z":"7b012bd4.48f6e4","name":"","active":true,"console":"false","complete":"false","x":2110,"y":300,"wires":[]},{"id":"da1cee0d.a9634","type":"inject","z":"7b012bd4.48f6e4","name":"\"ABC\"","topic":"","payload":"{\"value\":[\"ABC\"]}","payloadType":"json","repeat":"","crontab":"","once":false,"x":1650,"y":240,"wires":[["38d55cd2.ab9fa4"]]},{"id":"9a617dc8.0f6e3","type":"inject","z":"7b012bd4.48f6e4","name":"","topic":"","payload":"{\"value\":[10]}","payloadType":"json","repeat":"","crontab":"","once":false,"x":1670,"y":320,"wires":[["38d55cd2.ab9fa4"]]},{"id":"ac4d85c3.e661f8","type":"inject","z":"7b012bd4.48f6e4","name":"","topic":"","payload":"","payloadType":"date","repeat":"","crontab":"","once":false,"x":820,"y":1480,"wires":[["80467519.7e88e8"]]},{"id":"80467519.7e88e8","type":"s7comm read","z":"7b012bd4.48f6e4","connection":"8c0651e2.fb5d8","payload":"{\"S7_Type\":\"M\",\"S7_DBnum\":\"0\",\"S7_Datatype\":\"B\",\"S7_Offset\":\"0\",\"S7_BitOffset\":\"0\",\"S7_Quantity\":\"1\",\"S7_Name\":\"MB0\"}","s7Name":"MB0","topic":"read Byte","name":"","none":"true","repeat":"","once":false,"x":990,"y":1480,"wires":[["4fc9bd06.a23eb4","cb4ad83e.028738"]]},{"id":"4fc9bd06.a23eb4","type":"s7comm write","z":"7b012bd4.48f6e4","connection":"8c0651e2.fb5d8","payload":"{\"S7_Type\":\"M\",\"S7_DBnum\":\"0\",\"S7_Datatype\":\"W\",\"S7_Offset\":\"0\",\"S7_BitOffset\":\"0\",\"S7_Quantity\":\"1\",\"S7_Name\":\"MW0\"}","s7Name":"MW0","topic":"write Word","name":"","x":1210,"y":1480,"wires":[["bf4c91a7.57168"]]},{"id":"bf4c91a7.57168","type":"debug","z":"7b012bd4.48f6e4","name":"","active":true,"console":"false","complete":"payload","x":1390,"y":1480,"wires":[]},{"id":"cb4ad83e.028738","type":"debug","z":"7b012bd4.48f6e4","name":"","active":true,"console":"false","complete":"payload","x":1210,"y":1540,"wires":[]},{"id":"460052ab.01aebc","type":"comment","z":"7b012bd4.48f6e4","name":"Test R/W Combination","info":"","x":840,"y":1440,"wires":[]},{"id":"81971601.d509f8","type":"s7comm read","z":"7b012bd4.48f6e4","connection":"8c0651e2.fb5d8","payload":"{\"S7_Type\":\"M\",\"S7_DBnum\":\"0\",\"S7_Datatype\":\"B\",\"S7_Offset\":\"0\",\"S7_BitOffset\":\"0\",\"S7_Quantity\":\"1\",\"S7_Name\":\"MB0\"}","s7Name":"MB0","topic":"read Byte_1sec","name":"","none":"false","repeat":"1","once":false,"x":120,"y":1540,"wires":[["88a02d6b.c66f"]]},{"id":"88a02d6b.c66f","type":"debug","z":"7b012bd4.48f6e4","name":"","active":false,"console":"false","complete":"payload","x":350,"y":1540,"wires":[]},{"id":"794236e6.d43368","type":"comment","z":"7b012bd4.48f6e4","name":"Test Intervall","info":"","x":110,"y":1440,"wires":[]},{"id":"1bcb1e3.1de0de2","type":"s7comm read","z":"7b012bd4.48f6e4","connection":"8c0651e2.fb5d8","payload":"{\"S7_Type\":\"M\",\"S7_DBnum\":\"0\",\"S7_Datatype\":\"X\",\"S7_Offset\":\"0\",\"S7_BitOffset\":\"0\",\"S7_Quantity\":\"1\",\"S7_Name\":\"M0.0\"}","s7Name":"M0.0","topic":"read array_1min","name":"","none":"false","repeat":"60","once":false,"x":123,"y":1600,"wires":[["293bd567.1bcf1a"]]},{"id":"293bd567.1bcf1a","type":"debug","z":"7b012bd4.48f6e4","name":"","active":false,"console":"false","complete":"payload.value","x":370,"y":1600,"wires":[]},{"id":"6104d02f.e1dd1","type":"s7comm read","z":"7b012bd4.48f6e4","connection":"8c0651e2.fb5d8","payload":"{\"S7_Type\":\"M\",\"S7_DBnum\":\"0\",\"S7_Datatype\":\"X\",\"S7_Offset\":\"0\",\"S7_BitOffset\":\"0\",\"S7_Quantity\":\"1\",\"S7_Name\":\"M0.0\"}","s7Name":"M0.0","topic":"read char_1h","name":"","none":"false","repeat":"3600","once":false,"x":110,"y":1660,"wires":[["1f491847.983ce8"]]},{"id":"1f491847.983ce8","type":"debug","z":"7b012bd4.48f6e4","name":"","active":false,"console":"false","complete":"payload.value","x":370,"y":1660,"wires":[]},{"id":"8e2c4be4.808b48","type":"s7comm read","z":"7b012bd4.48f6e4","connection":"8c0651e2.fb5d8","payload":"{\"S7_Type\":\"M\",\"S7_DBnum\":\"0\",\"S7_Datatype\":\"B\",\"S7_Offset\":\"0\",\"S7_BitOffset\":\"0\",\"S7_Quantity\":\"1\",\"S7_Name\":\"MB0\"}","s7Name":"MB0","topic":"read Byte once","name":"","none":"true","repeat":"","once":false,"x":120,"y":1480,"wires":[["d0aa3310.c8ad6"]]},{"id":"d0aa3310.c8ad6","type":"debug","z":"7b012bd4.48f6e4","name":"","active":false,"console":"false","complete":"payload.value","x":370,"y":1480,"wires":[]},{"id":"b65249dd.b16178","type":"inject","z":"7b012bd4.48f6e4","name":"\"A\"","topic":"","payload":"{\"value\":[\"A\"]}","payloadType":"json","repeat":"","crontab":"","once":false,"x":1650,"y":560,"wires":[["a0be45af.6c3f48"]]},{"id":"a0be45af.6c3f48","type":"s7comm write","z":"7b012bd4.48f6e4","connection":"8c0651e2.fb5d8","payload":"{\"S7_Type\":\"M\",\"S7_DBnum\":\"0\",\"S7_Datatype\":\"CHAR\",\"S7_Offset\":\"0\",\"S7_BitOffset\":\"0\",\"S7_Quantity\":\"1\",\"S7_Name\":\"MC0\"}","s7Name":"MC0","topic":"write char2","name":"","x":1870,"y":660,"wires":[["fba5154b.37f978"]]},{"id":"fba5154b.37f978","type":"debug","z":"7b012bd4.48f6e4","name":"","active":true,"console":"false","complete":"false","x":2070,"y":680,"wires":[]},{"id":"b81f5b65.6e9268","type":"inject","z":"7b012bd4.48f6e4","name":"","topic":"","payload":"","payloadType":"date","repeat":"","crontab":"","once":false,"x":1660,"y":720,"wires":[["10e85213.52b23e"]]},{"id":"10e85213.52b23e","type":"s7comm read","z":"7b012bd4.48f6e4","connection":"8c0651e2.fb5d8","payload":"{\"S7_Type\":\"M\",\"S7_DBnum\":\"0\",\"S7_Datatype\":\"CHAR\",\"S7_Offset\":\"0\",\"S7_BitOffset\":\"0\",\"S7_Quantity\":\"1\",\"S7_Name\":\"MC0\"}","s7Name":"MC0","topic":"read char2","name":"","none":"true","repeat":"","once":false,"x":1870,"y":720,"wires":[["fba5154b.37f978"]]},{"id":"1154d775.fe7e09","type":"inject","z":"7b012bd4.48f6e4","name":"\"B\"","topic":"","payload":"{\"value\":[\"B\"]}","payloadType":"json","repeat":"","crontab":"","once":false,"x":1650,"y":600,"wires":[["a0be45af.6c3f48"]]},{"id":"d18f19ba.037ec8","type":"inject","z":"7b012bd4.48f6e4","name":"\"\"","topic":"","payload":"{\"value\":[\"\"]}","payloadType":"json","repeat":"","crontab":"","once":false,"x":1650,"y":680,"wires":[["a0be45af.6c3f48"]]},{"id":"bb19160.c980ae8","type":"inject","z":"7b012bd4.48f6e4","name":"\"ABCD\"","topic":"","payload":"{\"value\":[\"ABCD\"]}","payloadType":"json","repeat":"","crontab":"","once":false,"x":1650,"y":640,"wires":[["a0be45af.6c3f48"]]},{"id":"f3c91e7f.ac26f","type":"inject","z":"7b012bd4.48f6e4","name":"","topic":"","payload":"{\"value\":[2147483647]}","payloadType":"json","repeat":"","crontab":"","once":false,"x":160,"y":920,"wires":[["a46aa71b.739698"]]},{"id":"fbe5f035.cc144","type":"inject","z":"7b012bd4.48f6e4","name":"","topic":"","payload":"{\"value\":[-32770]}","payloadType":"json","repeat":"","crontab":"","once":false,"x":900,"y":160,"wires":[["6bcc812d.54fea"]]},{"id":"e90f7643.06fee8","type":"inject","z":"7b012bd4.48f6e4","name":"","topic":"","payload":"{\"value\":[32770]}","payloadType":"json","repeat":"","crontab":"","once":false,"x":900,"y":400,"wires":[["6bcc812d.54fea"]]},{"id":"29aaaf7a.07ee8","type":"inject","z":"7b012bd4.48f6e4","name":"\"\"","topic":"","payload":"{\"value\":[\"\"]}","payloadType":"json","repeat":"","crontab":"","once":false,"x":1650,"y":280,"wires":[["38d55cd2.ab9fa4"]]},{"id":"f3707355.1b286","type":"inject","z":"7b012bd4.48f6e4","name":"","topic":"","payload":"","payloadType":"date","repeat":"","crontab":"","once":false,"x":1660,"y":420,"wires":[["86e74091.b0934"]]},{"id":"86e74091.b0934","type":"s7comm read","z":"7b012bd4.48f6e4","connection":"8c0651e2.fb5d8","payload":"{\"S7_Type\":\"DB\",\"S7_DBnum\":\"111\",\"S7_Datatype\":\"STRING\",\"S7_Offset\":\"0\",\"S7_BitOffset\":\"0\",\"S7_Quantity\":\"12\",\"S7_Name\":\"DB String 0-12\"}","s7Name":"DB String 0-12","topic":"read string DB","name":"","none":"true","repeat":"","once":false,"x":1900,"y":420,"wires":[["59f50e47.2eb25"]]},{"id":"b2b225c5.bf85e8","type":"s7comm read","z":"7b012bd4.48f6e4","connection":"8c0651e2.fb5d8","payload":"{\"S7_Type\":\"M\",\"S7_DBnum\":\"111\",\"S7_Datatype\":\"R\",\"S7_Offset\":\"0\",\"S7_BitOffset\":\"0\",\"S7_Quantity\":\"1\",\"S7_Name\":\"MR0\"}","s7Name":"MR0","topic":"read Real","name":"","none":"true","repeat":"","once":false,"x":1120,"y":940,"wires":[["6fc91ec8.ac4de"]]},{"id":"2bf1ba1.dc84946","type":"inject","z":"7b012bd4.48f6e4","name":"","topic":"","payload":"","payloadType":"date","repeat":"","crontab":"","once":false,"x":880,"y":940,"wires":[["b2b225c5.bf85e8"]]},{"id":"75618fbc.cc84a","type":"s7comm write","z":"7b012bd4.48f6e4","connection":"8c0651e2.fb5d8","payload":"{\"S7_Type\":\"M\",\"S7_DBnum\":\"111\",\"S7_Datatype\":\"R\",\"S7_Offset\":\"0\",\"S7_BitOffset\":\"0\",\"S7_Quantity\":\"1\",\"S7_Name\":\"MR0\"}","s7Name":"MR0","topic":"write Real","name":"","x":1120,"y":880,"wires":[["6fc91ec8.ac4de"]]},{"id":"43d56c9d.963e74","type":"comment","z":"7b012bd4.48f6e4","name":"Test Real","info":"","x":860,"y":840,"wires":[]},{"id":"6fc91ec8.ac4de","type":"debug","z":"7b012bd4.48f6e4","name":"","active":true,"console":"false","complete":"false","x":1330,"y":920,"wires":[]},{"id":"eaf755b4.5c88a8","type":"inject","z":"7b012bd4.48f6e4","name":"","topic":"","payload":"{\"value\":[1003.12]}","payloadType":"json","repeat":"","crontab":"","once":false,"x":910,"y":880,"wires":[["75618fbc.cc84a"]]},{"id":"7fa410c5.44dfe","type":"inject","z":"7b012bd4.48f6e4","name":"","topic":"","payload":"{\"value\":[0,1,2]}","payloadType":"json","repeat":"","crontab":"","once":false,"x":140,"y":1780,"wires":[["74041c68.99b234"]]},{"id":"7ffedec6.fe59f","type":"inject","z":"7b012bd4.48f6e4","name":"","topic":"","payload":"{\"value\":[1,2,3]}","payloadType":"json","repeat":"","crontab":"","once":false,"x":140,"y":1820,"wires":[["74041c68.99b234"]]},{"id":"8a4622f7.dbd86","type":"inject","z":"7b012bd4.48f6e4","name":"","topic":"","payload":"{\"value\":[5]}","payloadType":"json","repeat":"","crontab":"","once":false,"x":130,"y":1860,"wires":[["74041c68.99b234"]]},{"id":"d19ad695.1bc8d8","type":"inject","z":"7b012bd4.48f6e4","name":"","topic":"","payload":"{\"value\":[6,7,8,9,10]}","payloadType":"json","repeat":"","crontab":"","once":false,"x":150,"y":1900,"wires":[["74041c68.99b234"]]},{"id":"74041c68.99b234","type":"s7comm write","z":"7b012bd4.48f6e4","connection":"8c0651e2.fb5d8","payload":"{\"S7_Type\":\"M\",\"S7_DBnum\":\"0\",\"S7_Datatype\":\"B\",\"S7_Offset\":\"0\",\"S7_BitOffset\":\"0\",\"S7_Quantity\":\"3\",\"S7_Name\":\"MB0..2\"}","s7Name":"MB0..2","topic":"write Byte Array","name":"","x":380,"y":1840,"wires":[["fd216145.31e85"]]},{"id":"fd216145.31e85","type":"debug","z":"7b012bd4.48f6e4","name":"","active":true,"console":"false","complete":"false","x":570,"y":1840,"wires":[]},{"id":"c7fdb26c.13558","type":"inject","z":"7b012bd4.48f6e4","name":"","topic":"","payload":"","payloadType":"date","repeat":"","crontab":"","once":false,"x":120,"y":1960,"wires":[["370c5d04.6b6f52"]]},{"id":"370c5d04.6b6f52","type":"s7comm read","z":"7b012bd4.48f6e4","connection":"8c0651e2.fb5d8","payload":"{\"S7_Type\":\"M\",\"S7_DBnum\":\"0\",\"S7_Datatype\":\"B\",\"S7_Offset\":\"0\",\"S7_BitOffset\":\"0\",\"S7_Quantity\":\"3\",\"S7_Name\":\"MB0..2\"}","s7Name":"MB0..2","topic":"read Byte Array","name":"","none":"true","repeat":"","once":false,"x":380,"y":1960,"wires":[["60ea67ba.c64db8"]]},{"id":"60ea67ba.c64db8","type":"debug","z":"7b012bd4.48f6e4","name":"","active":true,"console":"false","complete":"false","x":590,"y":1960,"wires":[]},{"id":"e2833422.1787a8","type":"comment","z":"7b012bd4.48f6e4","name":"Test array","info":"","x":100,"y":1740,"wires":[]},{"id":"9f883a3f.49db38","type":"inject","z":"7b012bd4.48f6e4","name":"","topic":"","payload":"{\"value\":[21]}","payloadType":"json","repeat":"","crontab":"","once":false,"x":830,"y":1700,"wires":[["6914d71b.088ab8","125cbf7d.db7691","a5e5b8ce.ef0f08"]]},{"id":"6914d71b.088ab8","type":"s7comm write","z":"7b012bd4.48f6e4","connection":"8c0651e2.fb5d8","payload":"{\"S7_Type\":\"M\",\"S7_DBnum\":\"0\",\"S7_Datatype\":\"B\",\"S7_Offset\":\"1\",\"S7_BitOffset\":\"0\",\"S7_Quantity\":\"1\",\"S7_Name\":\"MB1\"}","s7Name":"MB1","topic":"write MB1","name":"","x":1080,"y":1760,"wires":[["bffac5d2.8b6008"]]},{"id":"bffac5d2.8b6008","type":"debug","z":"7b012bd4.48f6e4","name":"","active":true,"console":"false","complete":"payload.value","x":1290,"y":1760,"wires":[]},{"id":"125cbf7d.db7691","type":"s7comm write","z":"7b012bd4.48f6e4","connection":"8c0651e2.fb5d8","payload":"{\"S7_Type\":\"M\",\"S7_DBnum\":\"0\",\"S7_Datatype\":\"B\",\"S7_Offset\":\"0\",\"S7_BitOffset\":\"0\",\"S7_Quantity\":\"1\",\"S7_Name\":\"MB0\"}","s7Name":"MB0","topic":"write MB0","name":"","x":1080,"y":1700,"wires":[["8bb5c5e9.ac93f8"]]},{"id":"a5e5b8ce.ef0f08","type":"s7comm write","z":"7b012bd4.48f6e4","connection":"8c0651e2.fb5d8","payload":"{\"S7_Type\":\"M\",\"S7_DBnum\":\"0\",\"S7_Datatype\":\"B\",\"S7_Offset\":\"2\",\"S7_BitOffset\":\"0\",\"S7_Quantity\":\"1\",\"S7_Name\":\"MB2\"}","s7Name":"MB2","topic":"write MB2","name":"","x":1080,"y":1820,"wires":[["899d7472.8644f8"]]},{"id":"8bb5c5e9.ac93f8","type":"debug","z":"7b012bd4.48f6e4","name":"","active":true,"console":"false","complete":"payload.value","x":1290,"y":1700,"wires":[]},{"id":"899d7472.8644f8","type":"debug","z":"7b012bd4.48f6e4","name":"","active":true,"console":"false","complete":"payload.value","x":1290,"y":1820,"wires":[]},{"id":"f90b71fd.12aa4","type":"s7comm read","z":"7b012bd4.48f6e4","connection":"8c0651e2.fb5d8","payload":"{\"S7_Type\":\"M\",\"S7_DBnum\":\"0\",\"S7_Datatype\":\"B\",\"S7_Offset\":\"0\",\"S7_BitOffset\":\"0\",\"S7_Quantity\":\"1\",\"S7_Name\":\"MB0\"}","s7Name":"MB0","topic":"read MB0","name":"","none":"true","repeat":"","once":false,"x":1080,"y":1900,"wires":[["4cd949df.f9eb58"]]},{"id":"57788825.054778","type":"inject","z":"7b012bd4.48f6e4","name":"","topic":"","payload":"","payloadType":"date","repeat":"","crontab":"","once":false,"x":820,"y":1960,"wires":[["f90b71fd.12aa4","bf513160.e1774","adbc3d8a.5e305"]]},{"id":"4cd949df.f9eb58","type":"debug","z":"7b012bd4.48f6e4","name":"","active":true,"console":"false","complete":"payload.value","x":1290,"y":1900,"wires":[]},{"id":"bf513160.e1774","type":"s7comm read","z":"7b012bd4.48f6e4","connection":"8c0651e2.fb5d8","payload":"{\"S7_Type\":\"M\",\"S7_DBnum\":\"0\",\"S7_Datatype\":\"B\",\"S7_Offset\":\"1\",\"S7_BitOffset\":\"0\",\"S7_Quantity\":\"1\",\"S7_Name\":\"MB1\"}","s7Name":"MB1","topic":"read MB1","name":"","none":"true","repeat":"","once":false,"x":1080,"y":1960,"wires":[["b008b682.eedee8"]]},{"id":"adbc3d8a.5e305","type":"s7comm read","z":"7b012bd4.48f6e4","connection":"8c0651e2.fb5d8","payload":"{\"S7_Type\":\"M\",\"S7_DBnum\":\"0\",\"S7_Datatype\":\"B\",\"S7_Offset\":\"2\",\"S7_BitOffset\":\"0\",\"S7_Quantity\":\"1\",\"S7_Name\":\"MB2\"}","s7Name":"MB2","topic":"read MB2","name":"","none":"true","repeat":"","once":false,"x":1080,"y":2020,"wires":[["2add4879.cc19e8"]]},{"id":"b008b682.eedee8","type":"debug","z":"7b012bd4.48f6e4","name":"","active":true,"console":"false","complete":"payload.value","x":1290,"y":1960,"wires":[]},{"id":"2add4879.cc19e8","type":"debug","z":"7b012bd4.48f6e4","name":"","active":true,"console":"false","complete":"payload.value","x":1290,"y":2020,"wires":[]},{"id":"d11c71b0.d8408","type":"comment","z":"7b012bd4.48f6e4","name":"Test multiple nodes","info":"","x":830,"y":1660,"wires":[]},{"id":"4042d4f1.e9d1dc","type":"inject","z":"7b012bd4.48f6e4","name":"","topic":"","payload":"{\"value\":[42]}","payloadType":"json","repeat":"","crontab":"","once":false,"x":830,"y":1820,"wires":[["125cbf7d.db7691","6914d71b.088ab8","a5e5b8ce.ef0f08"]]},{"id":"9b232df5.63c79","type":"comment","z":"7b012bd4.48f6e4","name":"Test Datatypes","info":"","x":120,"y":60,"wires":[]},{"id":"c220f0d2.70907","type":"comment","z":"7b012bd4.48f6e4","name":"Test Scenarios","info":"","x":120,"y":1380,"wires":[]},{"id":"35ee39dc.f8a6c6","type":"inject","z":"7b012bd4.48f6e4","name":"","topic":"","payload":"","payloadType":"date","repeat":"","crontab":"","once":false,"x":120,"y":240,"wires":[["3790817e.55b2ae"]]},{"id":"3790817e.55b2ae","type":"s7comm read","z":"7b012bd4.48f6e4","connection":"8c0651e2.fb5d8","payload":"{\"S7_Type\":\"M\",\"S7_DBnum\":\"0\",\"S7_Datatype\":\"X\",\"S7_Offset\":\"0\",\"S7_BitOffset\":\"0\",\"S7_Quantity\":\"1\",\"S7_Name\":\"M0.0\"}","s7Name":"M0.0","topic":"read Bool","name":"","none":"true","repeat":"","once":false,"x":380,"y":240,"wires":[["7bbdc045.af839"]]},{"id":"2b5ef2d5.02ad0e","type":"comment","z":"7b012bd4.48f6e4","name":"Test S7 Datatypes Types","info":"","x":150,"y":1060,"wires":[]},{"id":"1124951f.e9817b","type":"s7comm read","z":"7b012bd4.48f6e4","connection":"8c0651e2.fb5d8","payload":"{\"S7_Type\":\"I\",\"S7_DBnum\":\"0\",\"S7_Datatype\":\"B\",\"S7_Offset\":\"0\",\"S7_BitOffset\":\"0\",\"S7_Quantity\":\"1\",\"S7_Name\":\"in\"}","s7Name":"in","topic":"","name":"read input","signalSetted":false,"none":"true","repeat":"","once":false,"x":300,"y":1100,"wires":[["5c4e0891.ec36a8"]]},{"id":"5c4e0891.ec36a8","type":"debug","z":"7b012bd4.48f6e4","name":"","active":true,"console":"false","complete":"payload.value","x":510,"y":1100,"wires":[]},{"id":"9f13efa3.e3aaa","type":"inject","z":"7b012bd4.48f6e4","name":"","topic":"","payload":"","payloadType":"date","repeat":"","crontab":"","once":false,"x":120,"y":1100,"wires":[["1124951f.e9817b"]]},{"id":"85734faf.50168","type":"s7comm read","z":"7b012bd4.48f6e4","connection":"8c0651e2.fb5d8","payload":"{\"S7_Type\":\"Q\",\"S7_DBnum\":\"0\",\"S7_Datatype\":\"B\",\"S7_Offset\":\"0\",\"S7_BitOffset\":\"0\",\"S7_Quantity\":\"1\",\"S7_Name\":\"out\"}","s7Name":"out","topic":"","name":"read output","signalSetted":false,"none":"true","repeat":"","once":false,"x":310,"y":1160,"wires":[["d99daf9a.0c8cd"]]},{"id":"d99daf9a.0c8cd","type":"debug","z":"7b012bd4.48f6e4","name":"","active":true,"console":"false","complete":"payload.value","x":510,"y":1160,"wires":[]},{"id":"d2be2cfc.76ee","type":"inject","z":"7b012bd4.48f6e4","name":"","topic":"","payload":"","payloadType":"date","repeat":"","crontab":"","once":false,"x":120,"y":1160,"wires":[["85734faf.50168"]]},{"id":"978da935.413798","type":"s7comm read","z":"7b012bd4.48f6e4","connection":"8c0651e2.fb5d8","payload":"{\"S7_Type\":\"T\",\"S7_DBnum\":\"0\",\"S7_Datatype\":\"X\",\"S7_Offset\":\"1\",\"S7_BitOffset\":\"0\",\"S7_Quantity\":\"1\",\"S7_Name\":\"timer\"}","s7Name":"timer","topic":"","name":"read timer","signalSetted":false,"none":"true","repeat":"","once":false,"x":300,"y":1220,"wires":[["8a25347f.3b7508"]]},{"id":"8a25347f.3b7508","type":"debug","z":"7b012bd4.48f6e4","name":"","active":true,"console":"false","complete":"payload.value","x":510,"y":1220,"wires":[]},{"id":"e3619feb.ede72","type":"inject","z":"7b012bd4.48f6e4","name":"","topic":"","payload":"","payloadType":"date","repeat":"","crontab":"","once":false,"x":120,"y":1220,"wires":[["978da935.413798"]]},{"id":"a6a8916b.01c7f","type":"s7comm read","z":"7b012bd4.48f6e4","connection":"8c0651e2.fb5d8","payload":"{\"S7_Type\":\"C\",\"S7_DBnum\":\"0\",\"S7_Datatype\":\"X\",\"S7_Offset\":\"1\",\"S7_BitOffset\":\"0\",\"S7_Quantity\":\"1\",\"S7_Name\":\"counter\"}","s7Name":"counter","topic":"","name":"read counter","signalSetted":false,"none":"true","repeat":"","once":false,"x":310,"y":1280,"wires":[["c675c3be.62d29"]]},{"id":"c675c3be.62d29","type":"debug","z":"7b012bd4.48f6e4","name":"","active":true,"console":"false","complete":"payload.value","x":510,"y":1280,"wires":[]},{"id":"14a30bf3.492df4","type":"inject","z":"7b012bd4.48f6e4","name":"","topic":"","payload":"","payloadType":"date","repeat":"","crontab":"","once":false,"x":120,"y":1280,"wires":[["a6a8916b.01c7f"]]},{"id":"c6e0cbc5.54b538","type":"inject","z":"7b012bd4.48f6e4","name":"","topic":"","payload":"{\"value\":[-1]}","payloadType":"json","repeat":"","crontab":"","once":false,"x":890,"y":240,"wires":[["6bcc812d.54fea"]]},{"id":"148685af.1ba0da","type":"debug","z":"7b012bd4.48f6e4","name":"","active":true,"console":"false","complete":"false","x":590,"y":720,"wires":[]},{"id":"8c0651e2.fb5d8","type":"s7comm","z":"","ip":"192.168.254.234","port":"102","rack":"0","slot":"2","payload":[{"S7_Type":"M","S7_DBnum":"0","S7_Datatype":"X","S7_Offset":"0","S7_BitOffset":"0","S7_Quantity":"1","S7_Name":"M0.0"},{"S7_Type":"M","S7_DBnum":"0","S7_Datatype":"B","S7_Offset":"0","S7_BitOffset":"0","S7_Quantity":"1","S7_Name":"MB0"},{"S7_Type":"M","S7_DBnum":"0","S7_Datatype":"B","S7_Offset":"1","S7_BitOffset":"0","S7_Quantity":"1","S7_Name":"MB1"},{"S7_Type":"M","S7_DBnum":"0","S7_Datatype":"B","S7_Offset":"2","S7_BitOffset":"0","S7_Quantity":"1","S7_Name":"MB2"},{"S7_Type":"M","S7_DBnum":"0","S7_Datatype":"W","S7_Offset":"0","S7_BitOffset":"0","S7_Quantity":"1","S7_Name":"MW0"},{"S7_Type":"M","S7_DBnum":"0","S7_Datatype":"D","S7_Offset":"0","S7_BitOffset":"0","S7_Quantity":"1","S7_Name":"MD0"},{"S7_Type":"M","S7_DBnum":"0","S7_Datatype":"I","S7_Offset":"0","S7_BitOffset":"0","S7_Quantity":"1","S7_Name":"MI0"},{"S7_Type":"M","S7_DBnum":"0","S7_Datatype":"DI","S7_Offset":"0","S7_BitOffset":"0","S7_Quantity":"1","S7_Name":"MDI0"},{"S7_Type":"M","S7_DBnum":"0","S7_Datatype":"B","S7_Offset":"0","S7_BitOffset":"0","S7_Quantity":"3","S7_Name":"MB0..2"},{"S7_Type":"M","S7_DBnum":"111","S7_Datatype":"uint8","S7_Offset":"0","S7_BitOffset":"0","S7_Quantity":"1","S7_Name":"M_uint8_0"},{"S7_Type":"M","S7_DBnum":"111","S7_Datatype":"uint16","S7_Offset":"0","S7_BitOffset":"0","S7_Quantity":"1","S7_Name":"M_uint16_0"},{"S7_Type":"M","S7_DBnum":"111","S7_Datatype":"uint32","S7_Offset":"0","S7_BitOffset":"0","S7_Quantity":"1","S7_Name":"M_uint32_0"},{"S7_Type":"M","S7_DBnum":"111","S7_Datatype":"int16","S7_Offset":"0","S7_BitOffset":"0","S7_Quantity":"1","S7_Name":"M_int16_0"},{"S7_Type":"M","S7_DBnum":"111","S7_Datatype":"uint32","S7_Offset":"0","S7_BitOffset":"0","S7_Quantity":"1","S7_Name":"M_int32_0"},{"S7_Type":"M","S7_DBnum":"0","S7_Datatype":"CHAR","S7_Offset":"0","S7_BitOffset":"0","S7_Quantity":"1","S7_Name":"MC0"},{"S7_Type":"M","S7_DBnum":"111","S7_Datatype":"R","S7_Offset":"0","S7_BitOffset":"0","S7_Quantity":"1","S7_Name":"MR0"},{"S7_Type":"DB","S7_DBnum":"111","S7_Datatype":"STRING","S7_Offset":"0","S7_BitOffset":"0","S7_Quantity":"12","S7_Name":"DB String 0-12"},{"S7_Type":"I","S7_DBnum":"0","S7_Datatype":"B","S7_Offset":"0","S7_BitOffset":"0","S7_Quantity":"1","S7_Name":"in"},{"S7_Type":"Q","S7_DBnum":"0","S7_Datatype":"B","S7_Offset":"0","S7_BitOffset":"0","S7_Quantity":"1","S7_Name":"out"},{"S7_Type":"T","S7_DBnum":"0","S7_Datatype":"X","S7_Offset":"1","S7_BitOffset":"0","S7_Quantity":"1","S7_Name":"timer"},{"S7_Type":"C","S7_DBnum":"0","S7_Datatype":"X","S7_Offset":"1","S7_BitOffset":"0","S7_Quantity":"1","S7_Name":"counter"}]}]