Rockwell Automation 2080-LC50 Micro800 Controllers: Getting Started with CIP Client Messaging User Manual

Page 43

Advertising
background image

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

37

MSG_CIPSYMBOLIC Function Block Appendix A

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>”}

Example1: From Micro850 embedded Ethernet port (which is port number 4), send message to a
device with in same subset network with IP address 192.168.1.100 then the path is
TargetCfg.Path := ‘4, 192.168.1.100’

Example2: 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
will be 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 connection upon message completion [Default].

Data

Input

USINT Array

This is an Input/Output parameter.
Read command stores the data returned from server. Write command buffers the data to be sent to
the server. When a MSG is triggered (or re-triggered), data is cleared for MSG Read command.
Range: 1…490

Q

Output

BOOLEAN

TRUE: MSG instruction has finished successfully.
FALSE: Not finished.
After ‘Q’ is true, even when ‘IN’ turns to false, the Q stays true until ‘IN’ is triggered again.

MSG_CIPSYMBOLIC Parameters

Parameter

Parameter
Type

Data Type

Description

Advertising
This manual is related to the following products: