Configuring Devices as Simulated or Activated

Simulated Devices

Slave device objects can have the following “working modes”:

oActivated

oSimulated

The working mode Activated is intended for regular machine operation when the device is connected. By default, slaves added to the Sercos master tree are activated.

The working mode Simulated is intended for use during development, for example, for testing an application before the drive is connected to the logic/motion controller. The system treats the simulated device like a device that is physically present and connected. However, it neither searches for a simulated device nor does it perform any communication with it.

The working mode Simulated is not intended to be used as a virtual axis. To set up a “pure” virtual axis (for example, for a virtual shaft as an abstract representation of the machine velocity, or as an intermediate axis for complex master/slave reference value chains), use FB_ControlledAxis (refer to the MotionInterface library guide for details).

While the axis of a device in working mode Simulated behaves like a virtual axis, the simulated device also causes an additional performance impact. Further, it is counted towards the maximum number of Sercos devices, which is not the case if you declare a “pure” virtual axis by using FB_ControlledAxis.

Configuring a Simulated Device

Step

Action

1

Display the Device tree by clicking View > Navigators > Devices tree.

2

In the tree of the Modicon M262 Motion Controller below the node SercosMaster (Sercos Master), double-click the Sercos slave to be configured.

3

Open the parameter tab of the slave.

4

In the parameter tab, expand the parameter group WorkingMode by clicking the corresponding plus sign.

5

Set the parameter DesiredState to Simulated working mode.