Add a drive or an IO module
The following steps describe how to create a module type drive library and an Ethernet IO module library.
To add a drive or an Ethernet IO module to a library object
- InSelected Objects, drag a drive or an Ethernet IO module to theLibrariesnode inLibrary Objects.
- InAssign to/Create New, configure appropriate attributes of this module includingFamilyandCategory, and then clickOK.TIP:When adding an Ethernet IO module, configure the following attribute inModule Wizard:
- For theSubObjects, selectApplyand edit the number in theQtycolumn.
- In the decorator panel, edit the following parameters and functions:
- For theChassisNameparameter, set theDefault Valueto{ObjectName}.
- For theChassisNameparameter, setVisibletoFalse.
- Remove the name format in the SubObject, and then delete theFn_SlotPadfunction and theSlotparameter.
- Add anAddressparameter, set theData TypeandReference TypetoImmediate, and then set theDefault Valueto192.168.1.1.
- Click the drive or Ethernet IO module, and then configure the following attributes:
- Set theModuleNameto{ObjectName}.
- Set theParentModuleto{ParentName}.
- Expand thePortnode and set theIP Addressto{Address}.
- (optional) ExpandCommunications > Connectionsand set theRPIto{Fn_RPI}.
- ClickApply.
- Right-click the library, selectPublish Library, select a publish destination, and then clickOK.
- InLibrary Import Configuration > 04 Library Usage Rules, set theUpstream KeystoCommsType='EtherNet'.IMPORTANT:This is a must step when publishing the current library.
- ClickApply.
Provide Feedback