Customizing the RRS-II RTM Interface

You can customize the DNBRRSVRC_IF_SIM_RPC_RTM RRS-II interface by specifying the following 3DEXPERIENCE attributes on the first and, optional, subsequent robot motion operations in the RRS-II robot's robot task. Accomplish this by creating instances of the RRS2MotionTargetMappingProfile and RRS2RealTimeVrcSimulationOptionsProfile RRS-II controller-specific profiles, specifying these attributes in them, and associating these profile instances with robot motion operations using 3DEXPERIENCE Teach. See Setting RRS-II Controller-Specific Attributes/Profiles section for details.

Attribute Name Type Default Value Resulting Action
_simulate_bco Integer 1 (on) If 1, sim_segment = {BCO move + time delay until user presses Run in VRC OL} is fully simulated in 3DEXPERIENCE. If 0, this sim_segment is simulated in 3DEXPERIENCE until you press Run in VRC OL. Then the 3DEXPERIENCE simulation skips the rest of this sim_segment. It immediately starts processing incoming post-BCO move command execution actions sent by the VRC. The robot starts moving right away in 3DEXPERIENCE executing the post-BCO move actions.
Note: Each robot performs this action independent of other RRS-II robots, so this looses the robot-to-robot time synchronization in (Kuka) RoboTeam simulations.
_simulate_motion_stop Integer 1 (on) If 0, time intervals identified by time stamps associated with {sim_motion_stopped, next sim_joint_values} pairs accumulate and then subtracted from incoming VRC call time stamps (this effectively removes idle times associated with VRC motion stops from 3DEXPERIENCE simulation). If 1, the above processing does not perform and all VRC robot idle time delays plays back in 3DEXPERIENCE simulations.
_auto_load_nlp Integer 1 (on) If paring 1, vrc_unload_file/vrc_load_file and called at the beginning of each simulation run. If 0, only the vrc_deactivate/vrc_activate pair calls at the beginning of each simulation run.
_display_sim_warnings Integer 0 (off) If 1, displays various simulation warnings (such as when VRC stops/starts motion, etc.) in robot's RRS message window. If 0, no simulation warnings display.
_display_io_warnings Integer 0 (off) If 1, displays various I/O warnings (such as problems getting I/O table headers from VRC, I/O table definitions not matching 3DEXPERIENCE device I/O definitions, VRC requests to specify output lines not defined in 3DEXPERIENCE, etc.) in robot's RRS message window. If 0, no I/O warnings display.
_num_targets Integer 1

Number of move commands in VRC NLP that maps to this 3DEXPERIENCE robot motion activity.

Note: VRC informs 3DEXPERIENCE about move command completion by the sim_target_reached call. If set to 0 (zero), this move activity in 3DEXPERIENCE assumes to map to the complete VRC NLP. The simulation of the move activity in 3DEXPERIENCE completes when VRC calls sim_program_end.

If set to -1, this move activity executes forever that is only killing the 3DEXPERIENCE simulation command ends it. The 3DEXPERIENCE RRS-II RTM interface module operates affectively in RRS-II Free Play mode during the simulation. That takes into account the last data sent by the VRC module. Use this mode when the RRS-II robot's operation needs controlling by VRC/controller HMI interaction during a simulation involving other virtual entities that 3DEXPERIENCE controls.

Notes

If enabling Stop Real-Time VRC When Simulation Stops in the Me > Preferences > Robotics > RRS tab, when the simulation halts for actual time managed VRCs during a simulation, a vrc_stop call issues to stop VRC execution. To restart, issue a vrc_start call then the VRC execution restarts the simulation. By default, this option is disabled.

Actual time managed VRC-connected robots can move under VRC module UI control using RRS-II Free-Play. See Using the Real-Time Managed VRC User Interface for more information.