Map CIP Consumer Variables
CIP
Consumer VariablesEach AADvance controller supports 128 mapped consumer variables and a maximum of 255
CIP™
variables. The maximum size of a CIP
variable is 500 bytes. A variable is configured either as a producer or as a consumer; a variable cannot be both. Only global variables are available for use with controllers supporting a connection to a CIP
Network. Only BOOL, DINT, INT, LINT, LREAL, REAL, and SINT data types can be used with CIP
; library data types are unsupported.
TIP:
When adding a consumer variable, define the Remote Tag
Name and Requested Packet Interval (RPI) properties.
The
Communication
property page displays these properties for CIP
consumer variables:Property | Description |
---|---|
Name | Name of the variable. For CIP consumers, variable names are limited to 40 characters. |
Remote Tag Name | The name of the remote CIP producer, which is a specific identifier for CIP , is exposed on the CIP protocol via the Remote Tag Name of the producer.To allow data exchange, the Remote Tag Name of the CIP consumer must match the Remote Tag Name of the producer. |
RPI | Requested Packet Interval. The frequency in milliseconds that the remote controller offers the variable to the AADvance controller. Possible values range from 1 to 1000 ms. The default value is 20 ms. The RPI should be set to a minimum of 200 ms. |
Data Type | Data type of the global variable. BOOL, DINT, INT, LINT, LREAL, REAL, and SINT data types are supported as long as the data type is of size 4 bytes (32 bits) or larger. Array or structure variables are also supported, but not member elements of arrays or structures. To transfer data types smaller than four bytes, create a user-defined data type and pad it accordingly. When the variable is a structure containing members of supported data types, each member starts on a new byte or word depending on the size. For example, a DINT starts a new 4-byte word even though the last word only had a one-bit BOOL. |
To map
CIP
consumer variables- In theCommunication View, expand the requiredCIP™consume link, and then double-clickCIP Consume.TheCommunicationproperty page displays.
- In the property page, map a consumer variable by clickingAdd Variableto access theVariable Selector.
- In theVariable Selector, select the required variable, and then clickOK.
- In the property page, define theRemote Tag NameandRPIfor the consumer variable.The consumer variable is added to theCIP Consumelist of variables.
Provide Feedback