For parameter, For paramet – Rockwell Automation 2080-LC50 Micro800 Controllers: Getting Started with CIP Client Messaging User Manual

Page 46

Advertising
background image

40

Rockwell Automation Publication 2080-QS002A-EN-E - April 2013

Appendix B MSG_CIPGENERIC Function Block

AppCfg

Input

CIPAPPCFG

CIP Service and application path configuration. This is a structured data type, that consists of the
following elements:

AppCfg.Service (USINT)

- Service code

AppCfg.Class (UINT)

- Logical segment’s Class ID value

AppCfg.Instance (UDINT)

- Logical segment’s Instance ID value

AppCfg.Attribute (UINT)

- Logical segment’s attribute value

AppCfg.MemberCnt (UINT)

- Maximum Member ID values used (Normally this parameter not used, which means set to 0);
0 =No Member ID used

AppCfg.MemberId (UINT)

- Member ID values (Normally this parameter is not used.)

TargetCfg

Input

CIPTARGETCFG

Target device configuration. This is a structured data type. It consists of the following elements:

TargetCfg.Path (String)

Target information. Maximum two hops can be specified. {“<port>,<node/slot address>”}
Example 1: From Micro850 embedded Ethernet port (which is port number 4) send message to a
device within same subset network with IP address 192.168.1.100 then the path is
TargetCfg.Path := ‘4, 192.168.1.100’

Example 2: From Micro830 embedded serial port (which is port number 2) to reach a device at
Node 1. TargetCfg.Path := ‘2, 1’

TargetCfg.CipConnMode (USINT)

CIP Connection type. ‘0’ – Unconnected (Default), ‘1’ – Class 3 connection

TargetCfg.UcmmTimeout (UDINT)

Unconnected message timeout (in milliseconds)
Amount of time to wait for a reply for an unconnected messages (including connection
establishment for connected message)
Range: 250...10,000, set to 0 to use the default value 3000. Specifying any value less than 250 is
set as 250 and any value greater than maximum value is set as 10,000.

TargetCfg.ConnMsgTimeout (UINT)

Class3 Connection timeout (in milliseconds)
Amount of time to wait for a reply for connected messages. The CIP connection is closed if this
timeout expires.
Range: 800...10,000, Set to 0 to use the default value 10000. Specifying any value less than 800
is set as 800 and any value greater than maximum value is set as 10,000.

TargetCfg.ConnClose (UINT)

Connection closing behavior.
True: Close the CIP connection upon message completion.
False: Do not close the CIP connection upon message completion [Default].

ReqData

Input

USINT Array

CIP message request data (data to be written to the destination). The array size should not be less
than the ‘ReqLength’ size.

ReqLength

Input

UINT

CIP message request data length (unit: byte), Number of bytes to write to the destination.
Range: 0...490

MSG_CIPGENERIC Parameters

Parameter

Parameter
Type

Data Type

Description

Advertising
This manual is related to the following products: