Changes for page 6.08 Data Conversion instruction
Last modified by Iris on 2025/10/23 15:37
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Attachments (0 modified, 6 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -207,7 +207,7 @@ 207 207 **Example** 208 208 209 209 (% style="text-align:center" %) 210 -[[image:1760516760461-209.png||height=" 90" width="363"]]210 +[[image:1760516760461-209.png||height="113" width="454"]] 211 211 212 212 When M0 is set, the BCD value of K8Y0 is converted into BIN and stored in D200. 213 213 ... ... @@ -986,19 +986,22 @@ 986 986 987 987 **Example** 988 988 989 -[[image:file:///C:\Users\Administrator\AppData\Local\Temp\ksohtml13456\wps198.jpg]] 989 +(% style="text-align:center" %) 990 +[[image:1760519299493-121.png||height="63" width="442"]] 990 990 992 + 991 991 As shown in the above ladder diagram: 992 992 993 -[[image:file:///C:\Users\Administrator\AppData\Local\Temp\ksohtml13456\wps199.jpg]] 995 +(% style="text-align:center" %) 996 +[[image:1760519319104-654.png]] 994 994 998 + 995 995 For S, the range of 0 to 32767 is valid. 996 996 1001 +=== **DGRY/BIN 32-bit Data → Gray Code Conversion** === 997 997 998 - ===**6.8.14DGRY/BIN 32-bit Data → Gray Code Conversion**===1003 +**DGRY(P)** 999 999 1000 -[[image:file:///C:\Users\Administrator\AppData\Local\Temp\ksohtml13456\wps200.png]]**DGRY(P)** 1001 - 1002 1002 After converting the BIN 16-bit data of the device specified in (s) to BIN 16-bit Gray code data, it is stored in the device specified in (d). 1003 1003 1004 1004 -[GRY (s) (d)] ... ... @@ -1028,7 +1028,8 @@ 1028 1028 1029 1029 Convert the BIN32-bit data specified in (s) into BIN32-bit Gray code and store it in the device specified in (d) 1030 1030 1031 -[[image:file:///C:\Users\Administrator\AppData\Local\Temp\ksohtml13456\wps201.jpg]] 1034 +(% style="text-align:center" %) 1035 +[[image:1760519357374-958.png]] 1032 1032 1033 1033 (s)+1: high 16 bits 1034 1034 ... ... @@ -1045,17 +1045,18 @@ 1045 1045 1046 1046 **Example** 1047 1047 1048 -[[image:file:///C:\Users\Administrator\AppData\Local\Temp\ksohtml13456\wps202.jpg]] 1052 +(% style="text-align:center" %) 1053 +[[image:1760519378928-755.png]] 1049 1049 1050 1050 As shown in the above ladder diagram: 1051 1051 1052 -[[image:file:///C:\Users\Administrator\AppData\Local\Temp\ksohtml13456\wps203.jpg]] 1057 +(% style="text-align:center" %) 1058 +[[image:1760519409066-947.png]] 1053 1053 1060 +=== **PRUN/Octal digit transmission (16-bit data)** === 1054 1054 1055 - === **6.8.15PRUN/Octal digit transmission(16-bit data)** ===1062 +PRUN(P) 1056 1056 1057 -[[image:file:///C:\Users\Administrator\AppData\Local\Temp\ksohtml13456\wps204.png]]PRUN(P) 1058 - 1059 1059 After processing the device numbers of (s) and (d) with specified digits as octal numbers, transfer the data. 1060 1060 1061 1061 -[PRUN (s) (d)] ... ... @@ -1077,7 +1077,8 @@ 1077 1077 1078 1078 • Octal digit device→ decimal digit device 1079 1079 1080 -[[image:file:///C:\Users\Administrator\AppData\Local\Temp\ksohtml13456\wps205.jpg]] 1085 +(% style="text-align:center" %) 1086 +[[image:1760519463939-108.png]] 1081 1081 1082 1082 • Decimal digit device → octal digit device 1083 1083
- 1760519299493-121.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Iris - Size
-
... ... @@ -1,0 +1,1 @@ 1 +12.3 KB - Content
- 1760519319104-654.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Iris - Size
-
... ... @@ -1,0 +1,1 @@ 1 +28.8 KB - Content
- 1760519357374-958.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Iris - Size
-
... ... @@ -1,0 +1,1 @@ 1 +49.1 KB - Content
- 1760519378928-755.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Iris - Size
-
... ... @@ -1,0 +1,1 @@ 1 +10.1 KB - Content
- 1760519409066-947.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Iris - Size
-
... ... @@ -1,0 +1,1 @@ 1 +61.2 KB - Content
- 1760519463939-108.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Iris - Size
-
... ... @@ -1,0 +1,1 @@ 1 +151.8 KB - Content