Rockwell Automation 9220-TG QUICK START CONTROLNET MESSAGE User Manual
Page 32

ControlNet Message/Traffic Generator Tool
32
Publication 9220-10.1 — July 1996
/*****************************************************************\
**
** Name: MG_LoadCNSetup ( )
**
** Description:
** This function loads a CNet setup from the configuration file.
**
** Inputs: USINT *setupName – Name of setup to load.
**
** Outputs: UINT status
– SUCCESS
**
– BAD_PARAMETER_VALUE
**
** Copyright (c) 1995, ‘96 Allen–Bradley Company
**
\*****************************************************************/
/*****************************************************************\
**
** Name: MG_Online ( )
**
** Description:
** This function puts the Message/Traffic Generator in Listen Only
** mode until it receives a Moderator type packet, where at that
** time will go On–line with the target, otherwise it will remain
** in Listen Only mode.
**
** Inputs: None
**
** Outputs: UINT status
– SUCCESS
**
** Copyright (c) 1995, ‘96 Allen–Bradley Company
**
\*****************************************************************/
/*****************************************************************\
**
** Name: MG_Offline ( )
**
** Description:
** This function takes the Message/Traffic Generator offline with
** the target.
**
** Inputs: None
**
** Outputs: UINT status
– SUCCESS
**
** Copyright (c) 1995, ‘96 Allen–Bradley Company
**
\*****************************************************************/