Last modified by Iris on 2025/10/22 16:39

From version 4.5
edited by Iris
on 2025/09/17 20:56
Change comment: There is no comment for this version
To version 4.7
edited by Iris
on 2025/10/21 14:58
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -884,64 +884,10 @@
884 884  (% style="text-align:center" %)
885 885  [[image:企业微信截图_17581120459254.png]]
886 886  
887 -== **PRUN/Octal digit transmission (16-bit data)** ==
888 -
889 -----
890 -
891 -PRUN(P)
892 -
893 -After processing the device numbers of (s) and (d) with specified digits as octal numbers, transfer the data.
894 -
895 --[PRUN (s) (d)]
896 -
897 -Content, range and data type
898 -
899 -|=**Parameter**|=**Content**|=**Range**|=**Data type**|=**Data type (label)**|=**Custom variable type**
900 -|(s)|Digit specification*1|-|BIN16 bit|ANY16|~-~-
901 -|(d)|Transfer target device number*1|-|BIN16 bit|ANY16|~-~-
902 -
903 -Device used
904 -
905 -|=(% style="width: 64px;" %)**Instruction**|=(% style="width: 128px;" %)**Parameter**|=(% colspan="24" %)**Devices**|=**Index modification**|=**Pulse expansion**
906 -|(% style="width:64px" %) |(% style="width:128px" %) |**X**|**Y**|**M**|**S**|**SM**|**T(bit)**|**C(bit)**|**LC(bit)**|(% style="width:32px" %)**HSC(bit)**|(% style="width:94px" %)**D.b**|**KnX**|**KnY**|**KnM**|**KnS**|**T**|**C**|**D**|**R**|(% style="width:41px" %)**SD**|(% style="width:42px" %)**LC**|**HSC**|**K**|**H**|**E**|**[D]**|**XXP**
907 -|(% colspan="1" rowspan="2" style="width:64px" %)PRUN|(% style="width:128px" %)Parameter 1| | | | | | | | |(% style="width:32px" %) |(% style="width:94px" %) |●| |●| | | | | |(% style="width:41px" %) |(% style="width:42px" %) | | | | |●|●
908 -|(% style="width:128px" %)Parameter 2| | | | | | | | |(% style="width:32px" %) |(% style="width:94px" %) | |●|●| | | | | |(% style="width:41px" %) |(% style="width:42px" %) | | | | |●|●
909 -
910 -Function
911 -
912 -• Octal digit device→ decimal digit device
913 -
914 -(% style="text-align:center" %)
915 -[[image:1709790843788-781.png]]
916 -
917 -• Decimal digit device → octal digit device
918 -
919 -(% style="text-align:center" %)
920 -[[image:1709790863850-104.png]]
921 -
922 -Error code
923 -
924 -|=**Error code**|=**Content**
925 -|4085H|When the specified device range for reading exceeds the range of the corresponding device
926 -|4086H|When the specified device range for writing exceeds the range of the corresponding device
927 -
928 -Example
929 -
930 -(% style="text-align:center" %)
931 -[[image:1709790902188-165.png]]
932 -
933 -As shown in the above ladder diagram: X0~~X17 takes the value of octal digits and pass it to the devices corresponding to M.
934 -
935 -(% style="text-align:center" %)
936 -[[image:1709790924438-346.png]]
937 -
938 -
939 939  == **TRH/Wet and dry bulb temperature and humidity conversion** ==
940 940  
941 -----
889 +TRH
942 942  
943 -[[image:file:///C:\Users\ADMINI~~1\AppData\Local\Temp\ksohtml13328\wps3.png]]TRH
944 -
945 945  This command completes the conversion of dry bulb temperature, wet bulb temperature and corresponding humidity.
946 946  
947 947  -[TRH (d1) (s) (d2) (n)]