1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 | xExecute Modifiable hCom xDone xBusy xError eError COM.Close Close_0 Parameters PreparedParameters PageArea int 39, 30, 0, 0 EnEno KindOfCall {77f43dfe-ca6a-4869-828f-7609d8ed6ea6} FunctionBlock ContainsExtensibleInputs Forced IsFeedbackStart OwningPageId usiListLength pParameterList COM.Open Open_0 12, 11, 0, 0 and 34, 21, 0, 0 Operator {d51129f5-df27-4886-99d1-c564d2e2c1f6} Output xWrite 19, 24, 0, 0 xEnable 1, 32, 0, 0 xAbort udiTimeOut pBuffer szSize xAborted COM.Write Write_0 42, 21, 0, 0 {8d9e2b78-3efe-4fe4-8160-f3a7381ddd8f} Input {5c3476a8-05c5-430e-861c-9cfa51d68ca8} xWriteDone 55, 23, 0, 0 sData 54, 18, 0, 0 {3487d131-7fd4-48ac-9e99-9e275c3b8ff8} Serial Communication for SBSx Cameras 26, 7, 0, 0 5 2, 14, 0, 0 {5ae2e111-ecff-4a21-b647-2d4da63f8db7} SourcePinId DestPinId adr(aComParams) 2, 15, 0, 0 sTrailer 53, 15, 0, 0 adr(sData) 34, 17, 0, 0 255 36, 18, 0, 0 adr(sCommandMSG) 32, 27, 0, 0 len(STR:=sCommandMSG) 18, 28, 0, 0 szBuffer COM.Read Read_0 42, 11, 0, 0 xReadDone xRead sOutput xOutputReady retryRead retryRead_0 62, 11, 0, 0 77, 14, 0, 0 32, 10, 0, 0 SET1 RESET Q1 SR setReset 66, 22, 0, 0 76, 24, 0, 0 ParameterInitializationMethodGenerator {4b8bcc79-5980-4868-b49e-005a8148859b} {93c117eb-0884-403b-b01e-28b89f47e041} StartPoint X IsJoint Unroutable Locked AutoSizeCanvas CanvasHeight {a9ed5b7e-75c5-4651-af16-d2c27e98cb94} {f3878285-8e4f-490b-bb1b-9acbb7eb04db} {a5de0b0b-1cb5-4913-ac21-9d70293ec00d} FUNCTION_BLOCK serieel xEnable: BOOL; sCommandMSG:STRING(255); END_VAR sOutput:STRING(255); xOutputReady: BOOL; Open_0: COM.Open; Write_0: COM.Write; Close_0: COM.Close; xRead: BOOL:= TRUE; |