PROSOFT PLX31-EIP-MBS4 監(jiān)測(cè)模塊

 PROSOFT | 2024-01-18 10:10:05| 小編  提示:點(diǎn)擊圖片可以放大

PROSOFT PLX31-EIP-MBS4 監(jiān)測(cè)模塊

PLX31-EIP-MBS4示例:源轉(zhuǎn)換BOOL直接分配。INT8、UINT8、CHAR、BYTE、INT16、UINT16、WORD、INT32、UINT32、DWORD、INT64、UINT64或QWORD如果源數(shù)據(jù)值為零,則目標(biāo)數(shù)據(jù)值將設(shè)置為零。如果源數(shù)據(jù)值為非零,則目標(biāo)數(shù)據(jù)值將設(shè)置為1。FLOAT32或FLOAT64源值四舍五入到最接近的INT64值,并應(yīng)用上述INT64到BOOL的轉(zhuǎn)換規(guī)則。STRING字符串被轉(zhuǎn)換為INT64,并根據(jù)上述INT64到BOOL的轉(zhuǎn)換規(guī)則進(jìn)行移動(dòng)。如果字符串無(wú)法轉(zhuǎn)換為INT64(無(wú)效字符、溢出等),則轉(zhuǎn)換錯(cuò)誤將導(dǎo)致6.3.2 INT8、UINT8、CHAR或BYTE Source conversion BOOL源值0或1被分配給目標(biāo)。INT8、UINT8、CHAR或BYTE直接分配。如果source是無(wú)符號(hào)的PLX31-EIP-MBS4(UINT8、CHAR或BYTE),dest是有符號(hào)的(INT8),則可能導(dǎo)致值更改(例如255到-1)。如果source是有符號(hào)的,PLX31-EIP-MBS4是無(wú)符號(hào)的,則可能會(huì)導(dǎo)致值更改(例如-2到254)。INT16、UINT16、WORD、INT32、UINT32、DWORD、INT64、UINT64或QWORD丟棄最高有效源數(shù)據(jù)字節(jié)(可能丟失數(shù)據(jù))。最低有效的源數(shù)據(jù)字節(jié)被復(fù)制到目標(biāo)。FLOAT32或FLOAT64源值四舍五入到最接近的INT64值,并應(yīng)用上述INT64到8位INT轉(zhuǎn)換規(guī)則。如果四舍五入的源值不適合INT64,則將導(dǎo)致轉(zhuǎn)換錯(cuò)誤。字符串將字符串轉(zhuǎn)換為INT64,并根據(jù)上述INT64到8位INT轉(zhuǎn)換規(guī)則進(jìn)行移動(dòng)。如果字符串無(wú)法轉(zhuǎn)換為INT64(無(wú)效字符、溢出等),將導(dǎo)致轉(zhuǎn)換錯(cuò)誤。6.3.3 INT16、UINT16或WORD源轉(zhuǎn)換BOOL將源值0或1分配給目的地。INT8、UINT8、CHAR或BYTE將源數(shù)據(jù)值分配給目標(biāo)(適當(dāng)時(shí)使用擴(kuò)展符號(hào))。INT16、UINT16或WORD將源值直接復(fù)制到目標(biāo),可能會(huì)導(dǎo)致有符號(hào)/無(wú)符號(hào)值更改(例如,-1到65535或65535到-1)。INT32、UINT32、DWORD、INT64、UINT64或QWORD丟棄最有效的源數(shù)據(jù)PLX31-EIP-MBS4(可能丟失數(shù)據(jù))。最不重要的源數(shù)據(jù)WORD被直接復(fù)制到目的地。




.abc*將匹配任何成員以字符abc開(kāi)頭的用戶定義類(lèi)型的標(biāo)記,PLX31-EIP-MBS4或任何名稱(chēng)包含.abc的標(biāo)記。這相當(dāng)于*.abc*…abc*將匹配任何成員為用戶d的用戶定義型標(biāo)記具有以abc開(kāi)頭的成員或任何名稱(chēng)包含“.”的用戶定義類(lèi)型標(biāo)記的定義類(lèi)型并且有一個(gè)以abc開(kāi)頭的成員。這相當(dāng)于*.*.abc*..[]將匹配任何具有數(shù)組成員的用戶定義類(lèi)型的標(biāo)記。這相當(dāng)于*.*[*].[后跟]表示從數(shù)組標(biāo)記中選擇一個(gè)或多個(gè)元素。示例:array1[0]將與作為數(shù)組的名為array1的標(biāo)記的元素0匹配。array1[4-6]將匹配作為數(shù)組的名為array1的標(biāo)記的元素4、5和6。marray1[1,2,1-3]將匹配元素1、2和3,其中第一維度是1,第二維度是3維數(shù)組的名為marray1的標(biāo)簽的2。marray1[*,1-2]將匹配作為二維數(shù)組的名為marray1的標(biāo)簽的所有第一維度的元素1和2。[]將匹配作為數(shù)組的任何標(biāo)記。這相當(dāng)于[*]。.[]將匹配任何具有數(shù)組成員的用戶定義類(lèi)型的標(biāo)記。這相當(dāng)于*.*[*].[后跟]表示從數(shù)組標(biāo)記中選擇一個(gè)或多個(gè)元素。示例:array1[0]將與作為數(shù)組的名為array1的標(biāo)記的元素0匹配。PLX31-EIP-MBS4[4-6]將匹配作為數(shù)組的名為array1的標(biāo)記的元素4、5和6。marray1[1,2,1-3]將匹配元素1、2和3,其中第一維度是1 PLX31-EIP-MBS4,第二維度是3維數(shù)組的名為marray1的標(biāo)簽的2。marray1[*,1-2]將匹配作為二維數(shù)組的名為marray1的標(biāo)簽的所有第一維度的元素1和2。[]將匹配作為數(shù)組的任何標(biāo)記。這相當(dāng)于[*]。




The least significant source data byte is copied to the destination.PLX31-EIP-MBS4 FLOAT32 or FLOAT64 The source value is rounded to the nearest INT64 value and the above INT64 to 8 bit INT conversion rule applied. If the rounded source value will not fit in an INT64 a conversion error will result. STRING The string is converted to INT64 and moved according to the above INT64 to 8 bit INT conversion rule. If the string could not be converted to INT64 (invalid chars, overflow, and so on) a conversion error will result. 6.3.3 INT16, UINT16, or WORD Source Conversion BOOL The source value of zero or one is assigned to the destination. INT8, UINT8, CHAR, or BYTE The source data value is assigned to the destination (sign extend where appropriate). INT16, UINT16, or WORD The source value is copied directly to the destination possibly resulting in a signed/unsigned value change (-1 to 65535 or 65535 to -1 for example). INT32,PLX31-EIP-MBS4 UINT32, DWORD, INT64, UINT64, or QWORD The most significant source data WORD(s) are discarded (possible data loss).

 



FLOAT32 or FLOAT64 The source value is rounded to the nearest INT64 value and the above INT64 to BOOL conversion rule applied.PLX31-EIP-MBS4 STRING The string is converted to INT64 and moved according to the above INT64 to BOOL conversion rule. If the string could not be converted to INT64 (invalid chars, overflow, and so on), a conversion error will result 6.3.2 INT8, UINT8, CHAR, or BYTE Source Conversion BOOL The source value of zero or one is assigned to the destination. INT8,PLX31-EIP-MBS4 UINT8, CHAR, or BYTE Direct assignment. If source is unsigned (UINT8, CHAR, or BYTE) and dest is signed (INT8) a value change may result (255 to -1 for example). If source is signed and dest is unsigned a value change may result (-2 to 254 for example). INT16, UINT16, WORD, INT32, UINT32, DWORD, INT64,PLX31-EIP-MBS4 UINT64, or QWORD The most significant source data byte(s) are discarded (possible data loss).

NeoImage_副本.jpg


 will match any tag of user defined type that has a member that is an array. This is the equivalent of *.*[*]. [ followed by ] Indicates a selection of one or more elements from a tag that is an array. Examples: array1[0] will match the element 0 of the tag named array1 that is an array. array1[4-6] will match elements 4,PLX31-EIP-MBS4 5, and 6 of the tag named array1 that is an array. marray1[1,2,1-3] will match elements 1, 2, and 3 where the 1st dimension is 1, and the 2nd dimension is 2 of the tag named marray1 that is a 3 dimensional array. marray1[*,1-2] will match elements 1 and 2 of all the 1st dimensions of the tag named marray1 that is a 2 dimensional array. [ ] will match any tag that is an array.PLX31-EIP-MBS4 This is the equivalent of [*].Source Conversion BOOL Direct Assignment. INT8, UINT8, CHAR, BYTE, INT16, UINT16, WORD, INT32, UINT32, DWORD, INT64, UINT64, or QWORD If the source data value is zero, the destination data value will be set to zero. If the source data value is nonzero, the destination data value will be set to one.