{"payload":{"meta":{"Graph":{"@Type":"81297157","@Value":{"Guid":"(Guid)e6ee5aa3-43ca-4238-9f67-b85d7aafeb26","ParentGuid":"(Guid)74ccca2f-50e3-4d5a-9d7a-9fd420284f83","Name":"(string)atOdotB64","Properties":{"@Type":"2c41fa04:IDictionary","@Value":[{"@Key":"(Guid)829a18f2-c514-4f6e-9634-1df173429203","@Value":{"@Type":"829a18f2","@Value":{"ParentObjects":{"@Type":"fa2ee218:IDictionary","@Value":[{"@Key":"(Guid)d9b2b2cc-ea99-4c3b-aa42-1e5c49e65b84","@Value":"(Guid)da2536c7-36f8-4d3c-b3a3-95bf079ad91d"}]}}}}]},"TypeGuid":"(Guid)6f9dac99-8de1-4efc-8465-68ac443b7d08","EmbeddedTypeGuids":{"@Type":"[Guid]","@Value":["(Guid)a9ed5b7e-75c5-4651-af16-d2c27e98cb94","(Guid)3b83b776-fb25-43b8-99f2-3c507c9143fc"]}}},"TypeInfos":{"2c41fa04":"{2c41fa04-1834-41c1-816e-303c7aa2c05b}","81297157":"{81297157-7ec9-45ce-845e-84cab2b88ade}","829a18f2":"{829a18f2-c514-4f6e-9634-1df173429203}","fa2ee218":"{fa2ee218-a39b-4b6d-b249-49dbddbd168a}","Guid":"System.Guid","string":"System.String"}},"object":{"Graph":{"@Type":"6f9dac99","@Value":{"SpecialFunc":{"@Type":"0db3d7bb:Enum","@Value":"None"},"Implementation":{"@Type":"3b83b776","@Value":{"TextDocument":{"@Type":"f3878285","@Value":{"TextBlobForSerialisation":"(string)//2024-11-15 ATM Update to new in_ out_ schema\n\n// Connect\nclient.in_ipAddress := in_ipAddress;\nclient();\n\nIF __ISVALIDREF( card1) THEN\n\t// Get data from card 1\n\tcard1(\n\t\tclient := client, \n\t\tin_pollInterval := in_pollInterval,\n\t\tin_discreteOffset := 0,\n\t\tin_coilOffset := 0,\n\t\tin_inputOffset := 0,\n\t\tin_holdingOffset := 0\n\t);\nEND_IF;\nIF __ISVALIDREF( card2) THEN\n\t// Get data from card 2\n\tcard2(\n\t\tclient := client, \n\t\tin_pollInterval := in_pollInterval,\n\t\tin_discreteOffset := card1.out_discreteLen + card1.in_discreteOffset,\n\t\tin_coilOffset := card1.out_coilLen + card1.in_coilOffset,\n\t\tin_inputOffset := card1.out_inputLen + card1.in_inputOffset,\n\t\tin_holdingOffset := card1.out_holdingLen + card1.in_holdingOffset,\n\t);\nEND_IF;\nIF __ISVALIDREF( card3) THEN\n\t// Get data from card 3\n\tcard3(\n\t\tclient := client, \n\t\tin_pollInterval := in_pollInterval,\n\t\tin_discreteOffset := card2.out_discreteLen + card2.in_discreteOffset,\n\t\tin_coilOffset := card2.out_coilLen + card2.in_coilOffset,\n\t\tin_inputOffset := card2.out_inputLen + card2.in_inputOffset,\n\t\tin_holdingOffset := card2.out_holdingLen + card2.in_holdingOffset,\n\t);\nEND_IF;\nIF __ISVALIDREF( card4) THEN\n\t// Get data from card 4\n\tcard4(\n\t\tclient := client, \n\t\tin_pollInterval := in_pollInterval,\n\t\tin_discreteOffset := card3.out_discreteLen + card3.in_discreteOffset,\n\t\tin_coilOffset := card3.out_coilLen + card3.in_coilOffset,\n\t\tin_inputOffset := card3.out_inputLen + card3.in_inputOffset,\n\t\tin_holdingOffset := card3.out_holdingLen + card3.in_holdingOffset,\n\t);\nEND_IF;\n","LineInfoPersistence":"(string)e6ee5aa3-43ca-4238-9f67-b85d7aafeb26_Impl_LineIds"}}}},"Interface":{"@Type":"a9ed5b7e","@Value":{"TextDocument":{"@Type":"f3878285","@Value":{"TextBlobForSerialisation":"(string){attribute 'no_assign'}\nFUNCTION_BLOCK atOdotB64\nVAR_INPUT\n\tin_ipAddress: ARRAY[0..3] OF BYTE; // IP address for each i/o card. Idx:[panel, address]\n\tin_pollInterval: ULINT := 250;\n\tcard1: REFERENCE TO atBTXXXX; // CARD 1\n\tcard2: REFERENCE TO atBTXXXX; // CARD 2\n\tcard3: REFERENCE TO atBTXXXX; // CARD 3\n\tcard4: REFERENCE TO atBTXXXX; // CARD 4\nEND_VAR\nVAR_OUTPUT\nEND_VAR\nVAR\n\t// Ethernet connection function block\n\tclient: atMbClientTCP;\nEND_VAR","LineInfoPersistence":"(string)e6ee5aa3-43ca-4238-9f67-b85d7aafeb26_Decl_LineIds"}}}},"UniqueIdGenerator":"(string)218","POULevel":{"@Type":"8e575c5b:Enum","@Value":"Standard"},"ChildObjectGuids":{"@Type":"ArrayList:IList","@Value":[]},"AddAttributeSubsequent":"(bool)False"}},"TypeInfos":{"0db3d7bb":"{0db3d7bb-cde0-4416-9a7b-ce49a0124323}","3b83b776":"{3b83b776-fb25-43b8-99f2-3c507c9143fc}","6f9dac99":"{6f9dac99-8de1-4efc-8465-68ac443b7d08}","8e575c5b":"{8e575c5b-1d37-49c6-941b-5c0ec7874787}","a9ed5b7e":"{a9ed5b7e-75c5-4651-af16-d2c27e98cb94}","ArrayList":"System.Collections.ArrayList","bool":"System.Boolean","f3878285":"{f3878285-8e4f-490b-bb1b-9acbb7eb04db}","string":"System.String"}}},"FormatVersion":"1.0"}