Last modified by Iris on 2025/10/23 15:37

From version 1.2
edited by Iris
on 2025/10/15 17:02
Change comment: There is no comment for this version
To version 3.1
edited by Iris
on 2025/10/23 15:37
Change comment: There is no comment for this version

Summary

Details

Page properties
Title
... ... @@ -1,1 +1,1 @@
1 -6.8 Data Conversion instruction
1 +6.08 Data Conversion instruction
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.14 DGRY/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.15 PRUN/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,12 +1077,15 @@
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  
1084 -[[image:file:///C:\Users\Administrator\AppData\Local\Temp\ksohtml13456\wps206.jpg]]
1090 +(% style="text-align:center" %)
1091 +[[image:1760519565692-716.png]]
1085 1085  
1093 +
1086 1086  **Error code**
1087 1087  
1088 1088  |**Error code**|**Content**
... ... @@ -1091,15 +1091,17 @@
1091 1091  
1092 1092  **Example**
1093 1093  
1094 -[[image:file:///C:\Users\Administrator\AppData\Local\Temp\ksohtml13456\wps207.jpg]]
1102 +(% style="text-align:center" %)
1103 +[[image:1760519583756-167.png]]
1095 1095  
1096 1096  As shown in the above ladder diagram: X0~~X17 takes the value of octal digits and pass it to the devices corresponding to M.
1097 1097  
1098 -[[image:file:///C:\Users\Administrator\AppData\Local\Temp\ksohtml13456\wps208.jpg]]
1107 +(% style="text-align:center" %)
1108 +[[image:1760519614678-176.png]]
1099 1099  
1100 -===
1101 -**6.8.**[[image:file:///C:\Users\Administrator\AppData\Local\Temp\ksohtml13456\wps209.png]]**16 DPRUN/Otal Digit Transmission (32-bit data)** ===
1110 +=== **DPRUN/Otal Digit Transmission (32-bit data)** ===
1102 1102  
1112 +
1103 1103  **DPRUN(P)**
1104 1104  
1105 1105  After processing the device numbers of (s) and (d) with specified digits as octal numbers, transfer the data.
... ... @@ -1131,12 +1131,16 @@
1131 1131  
1132 1132  • Octal digit device to decimal digit device
1133 1133  
1134 -[[image:file:///C:\Users\Administrator\AppData\Local\Temp\ksohtml13456\wps210.jpg]]
1144 +(% style="text-align:center" %)
1145 +[[image:1760519664128-168.png]]
1135 1135  
1147 +
1136 1136  • Decimal digit device → octal digit device
1137 1137  
1138 -[[image:file:///C:\Users\Administrator\AppData\Local\Temp\ksohtml13456\wps211.jpg]]
1150 +(% style="text-align:center" %)
1151 +[[image:1760519688020-796.png]]
1139 1139  
1153 +
1140 1140  **Error code**
1141 1141  
1142 1142  |**Error code**|**Content**
... ... @@ -1145,8 +1145,10 @@
1145 1145  
1146 1146  **Example**
1147 1147  
1148 -[[image:file:///C:\Users\Administrator\AppData\Local\Temp\ksohtml13456\wps212.jpg]]
1162 +(% style="text-align:center" %)
1163 +[[image:1760519705881-806.png||height="56" width="374"]]
1149 1149  
1165 +
1150 1150  As shown in the above ladder diagram:
1151 1151  
1152 1152  X0 to X27 take the value of octal digits and pass them to the Devices corresponding to M.
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
1760519565692-716.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Iris
Size
... ... @@ -1,0 +1,1 @@
1 +141.8 KB
Content
1760519583756-167.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Iris
Size
... ... @@ -1,0 +1,1 @@
1 +6.6 KB
Content
1760519614678-176.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Iris
Size
... ... @@ -1,0 +1,1 @@
1 +119.0 KB
Content
1760519664128-168.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Iris
Size
... ... @@ -1,0 +1,1 @@
1 +71.0 KB
Content
1760519688020-796.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Iris
Size
... ... @@ -1,0 +1,1 @@
1 +68.3 KB
Content
1760519705881-806.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Iris
Size
... ... @@ -1,0 +1,1 @@
1 +13.5 KB
Content