Configuring Message Instructions
To configure message instructions:
- From theMessage Typemenu, select the type of message you want to send. Depending on the type of message you choose, various parameters appear on theConfigurationtab of theMessage Configurationdialog box. Follow the steps below, depending on the type of message you have chosen. SeeMessage Configuration Dialog Box - Configuration Tab Overviewfor descriptions of all the parameters and fields available on theConfigurationtab.
- From theService Typemenu, select the desired service, if applicable. Depending on the service type selected, the remaining fields on the dialog box are enabled/populated, or disabled.
To complete the remaining fields/parameters:
- Locate the desired Message Type below for instructions on completing the remaining fields/parameters on the dialog box.
Generic CIP
TIP:
Selecting the CIP Generic message type enables the Large Connection option on the
Communications
tab. The Large Connection option provides the ability to configure CIP Generic type messages to use either a standard 502 byte connection size or a large 4002 byte connection size.- InService Code, enter the hex value for the service that is to be performed on the specified object.
- InClass, enter the hex value for the type or class of object to which the service is to be sent.
- InInstance, enter the instance of the object to which the service is to be sent.
- InAttribute, enter the hex value of the attribute of the object to which the service is to be sent.
- From theSourcemenu, choose a local source tag that contains additional service parameters and/or data that is to be sent with the service.
- InNumber of Elements, enter or choose the number of bytes of data from the source tag that will be included with the service request.
- From theDestinationmenu, choose a local destination tag that will contain data received from the service. The data will be requested information or additional information from the extended error.TIP:Depending on the service type selected, source or destination, tags may not be required. It is also important that you create the destination tag with the appropriate size so that it can contain all the data to be returned.
- SelectNew Tagto create a new tag.
CIP Data Table Read
- InSource Element, enter the source data table element to read. This is the remote data table element.TIP:To point to Program Scope tags on a remote device, use the syntax:Program:<program_name>.<tag_name>For example, to read a tag named MyTag that is in the program scope in a program named Pump_Control on a remote controller, the correct syntax forSource Elementis:Program:Pump_Control.MyTag
- InNumber Of Elements, enter or choose the number of elements or integers of data to read from the source element.
- From theDestination Elementmenu, choose the local tag in which to place the read information.
- SelectNew Tagto create a new tag.
CIP Data Table Write
- From theSource Elementmenu, choose the local tag that contains data with which to write.TIP:To point to Program Scope tags on a remote device, use the syntax:Program:<program_name>.<tag_name>For example, to write a tag named MyTag that is in the program scope in a program named Pump_Control on a remote controller, the correct syntax forDestination Elementis:Program:Pump_Control.MyTag
- InNumber Of Elements, enter or choose the number of elements or integers of data to write from the source tag.
- InDestination Element, enter the destination data table element into which the data will be written.
- SelectNew Tagto create a new tag.
Block Transfer Read
- InNumber of Elements, enter or choose the number of 16-bit integers of data to transfer.
- From theDestination Elementmenu, choose the local tag to place the read transfer into.
- SelectNew Tagto create a new tag.
Block Transfer Write
- From theSource Elementmenu, choose the local tag that contains data to transfer.
- InNumber of Elements, enter or choose the number of 16-bit integers of data to write from the Source Tag.
- SelectNew Tagto create a new tag.
Provide Feedback