RobotStudio event

Multipiple DN_SLAVES on IRC5

We are wishing to set up some IRC5 controllers with multipiple DN_SLAVES to a PLC.  I've heard it is possible but I am not sure how to set this up.  I can have two DN_SLAVES configured with different addresses but the PLC can only detect the device that has the same address as the DN_MasterAddress.  We have our Eio.cfg file set up as below.  Does anyone have any ideas on how to get this to work?


#
EIO_BUS:
      -Name "DeviceNet2" -BusType "DNET" -BoardNumber 2
      -ConnectorLabel "Second DeviceNet" -DN_MasterAddress 33
#
EIO_UNIT_TYPE:

      -Name "DN_SLAVE" -BusType "DNET" -DN_VendorId 8 -DN_ProductCode 12
      -DN_DeviceType 12 -DN_ExplicitMsgEnabled  -DN_C1Interval 50
      -DN_C1OutputSize 12 -DN_C1InputSize 12
#
EIO_UNIT:

      -Name "PLC_DNET" -UnitType "DN_SLAVE" -Bus "DeviceNet2"
      -UnitLabel "DeviceNet Slave" -DN_Address 33

      -Name "PLC_GRIPPER" -UnitType "DN_SLAVE" -Bus "Virtual1"
      -UnitLabel "DeviceNet Slave" -DN_Address 43

Comments

  • Hi Craig,

    You can only have one devicenet slave per master as they have to have the same devicenet address. You have to define all the signals on this one slave board.

    Cheers.