Modbus Motion Interface
Write_Single(System_+_UserSingle1_s,<Value>); {write value to user single 1}
Write_Single(System_+_UserSingle2_s,<Value>); {write value to user single 2}
Write_Single(System_+_UserSingle3_s,<Value>); {write value to user single 3}
Write_Single(System_+_UserSingle4_s,<Value>); {write value to user single 4}
Write_Single(System_+_UserSingle5_s,<Value>); {write value to user single 5}
Write_Single(System_+_UserSingle6_s,<Value>); {write value to user single 6}
Write_Single(System_+_UserSingle7_s,<Value>); {write value to user single 7}
Write_Single(System_+_UserSingle8_s,<Value>); {write value to user single 8}
Write_Single(System_+_UserSingle9_s,<Value>); {write value to user single 9}
Write_Single(System_+_UserSingle10_s,<Value>); {write value to user single 10}
Write_Single(System_+_UserSingle11_s,<Value>); {write value to user single 11}
Write_Single(System_+_UserSingle12_s,<Value>); {write value to user single 12}
Write_Single(System_+_UserSingle13_s,<Value>); {write value to user single 13}
Write_Single(System_+_UserSingle14_s,<Value>); {write value to user single 14}
Write_Single(System_+_UserSingle15_s,<Value>); {write value to user single 15}
Write_Single(System_+_UserSingle16_s,<Value>); {write value to user single 16}
Write_Single(System_+_UserSingle17_s,<Value>); {write value to user single 17}
Write_Single(System_+_UserSingle18_s,<Value>); {write value to user single 18}
Write_Single(System_+_UserSingle19_s,<Value>); {write value to user single 19}
Write_Single(System_+_UserSingle20_s,<Value>); {write value to user single 20}
Write_Single(System_+_UserSingle21_s,<Value>); {write value to user single 21}
Write_Single(System_+_UserSingle22_s,<Value>); {write value to user single 22}
Write_Single(System_+_UserSingle23_s,<Value>); {write value to user single 23}
Write_Single(System_+_UserSingle24_s,<Value>); {write value to user single 24}
Write_Single(System_+_UserSingle25_s,<Value>); {write value to user single 25}
Write_Single(System_+_UserSingle26_s,<Value>); {write value to user single 26}
Write_Single(System_+_UserSingle27_s,<Value>); {write value to user single 27}
Write_Single(System_+_UserSingle28_s,<Value>); {write value to user single 28}
Write_Single(System_+_UserSingle29_s,<Value>); {write value to user single 29}
Write_Single(System_+_UserSingle30_s,<Value>); {write value to user single 30}
Write_Single(System_+_UserSingle31_s,<Value>); {write value to user single 31}
Write_Single(System_+_UserSingle32_s,<Value>); {write value to user single 32}
Read_Single(System_+_UserSingle1_s); {read value in user single 1}
Read_Single(System_+_UserSingle2_s); {read value in user single 2}
Read_Single(System_+_UserSingle3_s); {read value in user single 3}
Read_Single(System_+_UserSingle4_s); {read value in user single 4}
Read_Single(System_+_UserSingle5_s); {read value in user single 5}
Read_Single(System_+_UserSingle6_s); {read value in user single 6}
Read_Single(System_+_UserSingle7_s); {read value in user single 7}
Read_Single(System_+_UserSingle8_s); {read value in user single 8}
Read_Single(System_+_UserSingle9_s); {read value in user single 9}
Read_Single(System_+_UserSingle10_s); {read value in user single 10}
Read_Single(System_+_UserSingle11_s); {read value in user single 11}
Read_Single(System_+_UserSingle12_s); {read value in user single 12}
Read_Single(System_+_UserSingle13_s); {read value in user single 13}
Read_Single(System_+_UserSingle14_s); {read value in user single 14}
Read_Single(System_+_UserSingle15_s); {read value in user single 15}
Read_Single(System_+_UserSingle16_s); {read value in user single 16}
Read_Single(System_+_UserSingle17_s); {read value in user single 17}
Read_Single(System_+_UserSingle18_s); {read value in user single 18}
Read_Single(System_+_UserSingle19_s); {read value in user single 19}
Read_Single(System_+_UserSingle20_s); {read value in user single 20}
Read_Single(System_+_UserSingle21_s); {read value in user single 21}
Read_Single(System_+_UserSingle22_s); {read value in user single 22}
Read_Single(System_+_UserSingle23_s); {read value in user single 23}
Read_Single(System_+_UserSingle24_s); {read value in user single 24}
Read_Single(System_+_UserSingle25_s); {read value in user single 25}
Read_Single(System_+_UserSingle26_s); {read value in user single 26}
Read_Single(System_+_UserSingle27_s); {read value in user single 27}
Read_Single(System_+_UserSingle28_s); {read value in user single 28}
Read_Single(System_+_UserSingle29_s); {read value in user single 29}
Read_Single(System_+_UserSingle20_s); {read value in user single 30}
Read_Single(System_+_UserSingle31_s); {read value in user single 31}
Read_Single(System_+_UserSingle32_s); {read value in user single 32}
Description
User Singles can be used to transfer information between the host and resident controller programs. The 32 register array of single precision floating point numbers can be read and written from
both sides. There is no established convention for how the singles are used. Generally they provide parameters to resident controller routines and return results back to the host.
User single 1 contains the default value pi (3.14159) as an diagnostic aid to check register alignment and confirm that the word order is correct between the controller and the host.
Escapes
Reading and writing User Singles registers does not generate any exceptions.
Examples
Assign the value 50.7 to user single 15.
Write_Single(System_+_UserSingle15_s,50.7);
Read the value in user single 29.
Show_Number(Read_Single(System_+_UserSingle29_s));
Related Topics
User Words
User Doubles
User Tasks
|