Tham khảo tài liệu 'industrial robots programming - j. norberto pires part 11', kỹ thuật - công nghệ, cơ khí - chế tạo máy phục vụ nhu cầu học tập, nghiên cứu và làm việc hiệu quả | Interface Devices and Systems 193 Else Error executing master. Error executing master. End If End If The code above writes the value 95 to the variable decision 1 which means that the service weld is executed check Figure . Working table 194 Industrial Robots Programming Figure Simple welding application used for demonstration Robot-by-Voice Command using SAPI and PCRŨB6NET2003 Robot 1 Rita Pick-andplace Application Robot State o answer_txt Neat final master. Reco_txt Robot one approach final Variable decision 123 . . Robot 2 Babylon V elding Application Robot State o Velocity 110 0 answer_txt I am welding master Recojxt Robot two weld Variable decision 95 De-activate Reco Terminate I 27 Robot two weld http norbertoZ Interface Devices and Systems 195 Figure Shell of the voice interface application showing the welding operation and a user author of this book commanding the robot using a headset microphone Adjusting Process Variables During the welding process it may be necessary to adjust process variables such as the welding velocity welding current the welding points and so on. This means that the voice interface must allow users to command numerical values that are difficult to recognize with high accuracy. Furthermore it is not practical to define fixed rules for each possible number to recognize which means that dictation capabilities must be active when the user wants to command numbers. To avoid noise effects and consequently erroneous recognition a set of rules were added to enable dictation only when necessary having the rule strategy defined above always active. Consequently the following rules were added for robot two the one executing the welding example Rule VI two variables Rule V2 two variables out Rule V3 two variable_name Rule V4 two vanable_name lock Rule V5 two variable_name read enables access to variables ends access to variables enables access to variable_name ends .