Modbus Motion Interface
Write_Word(System_+_UserWord1_w,<Value>); {write value to user word 1}
Write_Word(System_+_UserWord2_w,<Value>); {write value to user word 2}
Write_Word(System_+_UserWord3_w,<Value>); {write value to user word 3}
Write_Word(System_+_UserWord4_w,<Value>); {write value to user word 4}
Write_Word(System_+_UserWord5_w,<Value>); {write value to user word 5}
Write_Word(System_+_UserWord6_w,<Value>); {write value to user word 6}
Write_Word(System_+_UserWord7_w,<Value>); {write value to user word 7}
Write_Word(System_+_UserWord8_w,<Value>); {write value to user word 8}
Write_Word(System_+_UserWord9_w,<Value>); {write value to user word 9}
Write_Word(System_+_UserWord10_w,<Value>); {write value to user word 10}
Write_Word(System_+_UserWord11_w,<Value>); {write value to user word 11}
Write_Word(System_+_UserWord12_w,<Value>); {write value to user word 12}
Write_Word(System_+_UserWord13_w,<Value>); {write value to user word 13}
Write_Word(System_+_UserWord14_w,<Value>); {write value to user word 14}
Write_Word(System_+_UserWord15_w,<Value>); {write value to user word 15}
Write_Word(System_+_UserWord16_w,<Value>); {write value to user word 16}
Write_Word(System_+_UserWord17_w,<Value>); {write value to user word 17}
Write_Word(System_+_UserWord18_w,<Value>); {write value to user word 18}
Write_Word(System_+_UserWord19_w,<Value>); {write value to user word 19}
Write_Word(System_+_UserWord20_w,<Value>); {write value to user word 20}
Write_Word(System_+_UserWord21_w,<Value>); {write value to user word 21}
Write_Word(System_+_UserWord22_w,<Value>); {write value to user word 22}
Write_Word(System_+_UserWord23_w,<Value>); {write value to user word 23}
Write_Word(System_+_UserWord24_w,<Value>); {write value to user word 24}
Write_Word(System_+_UserWord25_w,<Value>); {write value to user word 25}
Write_Word(System_+_UserWord26_w,<Value>); {write value to user word 26}
Write_Word(System_+_UserWord27_w,<Value>); {write value to user word 27}
Write_Word(System_+_UserWord28_w,<Value>); {write value to user word 28}
Write_Word(System_+_UserWord29_w,<Value>); {write value to user word 29}
Write_Word(System_+_UserWord30_w,<Value>); {write value to user word 30}
Write_Word(System_+_UserWord31_w,<Value>); {write value to user word 31}
Write_Word(System_+_UserWord32_w,<Value>); {write value to user word 32}
Read_Word(System_+_UserWord1_w); {read value in user word 1}
Read_Word(System_+_UserWord2_w); {read value in user word 2}
Read_Word(System_+_UserWord3_w); {read value in user word 3}
Read_Word(System_+_UserWord4_w); {read value in user word 4}
Read_Word(System_+_UserWord5_w); {read value in user word 5}
Read_Word(System_+_UserWord6_w); {read value in user word 6}
Read_Word(System_+_UserWord7_w); {read value in user word 7}
Read_Word(System_+_UserWord8_w); {read value in user word 8}
Read_Word(System_+_UserWord9_w); {read value in user word 9}
Read_Word(System_+_UserWord10_w); {read value in user word 10}
Read_Word(System_+_UserWord11_w); {read value in user word 11}
Read_Word(System_+_UserWord12_w); {read value in user word 12}
Read_Word(System_+_UserWord13_w); {read value in user word 13}
Read_Word(System_+_UserWord14_w); {read value in user word 14}
Read_Word(System_+_UserWord15_w); {read value in user word 15}
Read_Word(System_+_UserWord16_w); {read value in user word 16}
Read_Word(System_+_UserWord17_w); {read value in user word 17}
Read_Word(System_+_UserWord18_w); {read value in user word 18}
Read_Word(System_+_UserWord19_w); {read value in user word 19}
Read_Word(System_+_UserWord20_w); {read value in user word 20}
Read_Word(System_+_UserWord21_w); {read value in user word 21}
Read_Word(System_+_UserWord22_w); {read value in user word 22}
Read_Word(System_+_UserWord23_w); {read value in user word 23}
Read_Word(System_+_UserWord24_w); {read value in user word 24}
Read_Word(System_+_UserWord25_w); {read value in user word 25}
Read_Word(System_+_UserWord26_w); {read value in user word 26}
Read_Word(System_+_UserWord27_w); {read value in user word 27}
Read_Word(System_+_UserWord28_w); {read value in user word 28}
Read_Word(System_+_UserWord29_w); {read value in user word 29}
Read_Word(System_+_UserWord20_w); {read value in user word 30}
Read_Word(System_+_UserWord31_w); {read value in user word 31}
Read_Word(System_+_UserWord32_w); {read value in user word 32}
Description
User Words can be used to transfer information between the host and resident controller programs. The 32 register array of words can be read and written from
both sides. There is no established convention for how the words are used. Generally they provide parameters to resident controller routines and return results back to the host.
The default value for User Word 1 is "7" which can be used as a method of checking the alignment of the register array with the host.
Escapes
Reading and writing User Word registers does not generate any escapes.
Examples
Assign the value 50 to User Word 26.
Write_Word(System_+_UserWord26_w,50);
Read the value in User Word 14.
Show_Number(Read_Word(System_+_UserWord14_w));
Related Topics
User Singles
User Doubles
User Tasks
|