paison Posted June 17, 2016 Share Posted June 17, 2016 I would like to know the specific usage of WL, such as: P1 = 10, p2 = 20, p3 = 30 WL: $6000897093224, 131897093224, 132131413533172 I don't know 10 -- - > 89760930224131 20 -- - > 89760930224132 30 -- - > 131941395335172 Is how convert? Link to comment Share on other sites More sharing options...
Omron Forums Support Posted June 17, 2016 Share Posted June 17, 2016 There should be a comma after the 6000: WL: $6000,897093224, 131897093224, 132131413533172 The $6000 is the address of P0. That command line should write values 897093224, 131897093224, 132131413533172 into P0, P1, and P2, respectively. However, note that P variable values are stored in PMAC’s internal 48-bit floating point format, so you will need to enter values in that format. If you just write directly, i.e. P0=897093224, PMAC will convert the value for storage, and will convert back for reporting the value. The value will be stored in internal 48-bit floating point format. The general floating-point format is 48 bits long, with a 36-bit mantissa and a 12-bit exponent. This provides a range of +2+2047, or +3.233 x 10+616, which should provide sufficient range for any foreseeable uses of the card. See attachment below, copied from the Turbo Users manual. For example, look at the PEWIN Terminal window entries in the below attachment. P0 can be written to and read normally: P0=value and P0 reads back same value. Similarly, writing with wl will read back the same value with rl; however, it is in PMAC’s internal 48-bit format, so P0 reports a converted value, e.g. 897093224 becomes 140737488355327. Using PMAC’s internal 48-bit format, you must enter WL:$6000, 117583803058205 to get P0=897093224. Link to comment Share on other sites More sharing options...
paison Posted July 7, 2016 Author Share Posted July 7, 2016 Thank you, my problem solved Link to comment Share on other sites More sharing options...
Recommended Posts