
79
Explicit Message API Functions
Section 4-6
Return Value
TRUE is returned if the specified input data was written successfully. FALSE is
returned if an error occurred. Detailed error information can be read with the
GetLastError() function.
Description
The Board’s Slave function input area will not reflect in the most recent Master
inputs unless SCAN_IoRefresh() is executed after this function.
Specify NULL as the input data 2 storage buffer address if only one I/O con-
nection is used with the Slave function.
Specify the input size (IN size) for the Master using the Slave function as the
data size for the IO_DATA_CTL structure. The input data to the Master is
stored in the data storage buffer of the IO_DATA_CTL structure.
Sending COS Input Data: SCAN_SendSlaveCosToMaster()
Application Range
I/O communications executing status
Function
Sends input data to a Master communicating through a COS connection.
Call Format
BOOL SCAN_SendSlaveCosToMaster(DWORD
Handle
)
Arguments
Return Value
TRUE is returned if the transmission of input data to the Master proceeded
normally. FALSE is returned if an error occurred. Detailed error information
can be read with the GetLastError() function.
Description
The SCAN_SetSlaveInData() function must be used to set the input data
before the input data is sent to the Master through a COS connection.
COS connections do not guarantee immediate communications. Transmission
may be delayed when several nodes are using COS communications.
4-6
Explicit Message API Functions
4-6-1
Message Monitoring Timer Service API Functions
Registering the Message Monitoring Timer: SCAN_SetMessageTimerValue()
Application Range
Open status
Function
Registers the message monitoring timer value of the explicit client connection
with the specified node address.
Call Format
BOOL SCAN_SetMessageTimerValue(DWORD
Handle
, WORD
MacId
,
WORD
Epr
)
Arguments
Return Value
TRUE is returned when the message monitoring timer value was successfully
registered. FALSE is returned if an error occurred. Detailed error information
can be read with the GetLastError() function.
Type
Name
Contents
DWORD
Handle
Device handle obtained by SCAN_Open()
Type
Name
Contents
DWORD
Handle
Device handle obtained by SCAN_Open()
WORD
MacId
Desired node address
Setting range: 0x00 to 0x3F (0 to 63)
WORD
Epr
Message monitoring timer value to be registered
(ms)
Setting range: 0x1F4 to 0x7530 (500 to 30,000)
Содержание DeviceNet 3G8F7-DRM21-E
Страница 1: ...OPERATION MANUAL Cat No W381 E1 02 3G8F7 DRM21 E DeviceNet PCI Board ...
Страница 2: ...3G8F7 DRM21 E DeviceNet PCI Board Operation Manual Revised July 2005 ...
Страница 3: ...iv ...
Страница 5: ...vi ...
Страница 29: ...12 Preparation for Operation Section 1 8 ...
Страница 67: ...50 PC Watchdog Timer Management Function Section 3 11 ...
Страница 115: ...98 Maintenance API Functions Section 4 7 ...
Страница 131: ...114 Remote I O Communications Characteristics Section 6 1 ...
Страница 145: ...Index 128 ...
Страница 147: ...130 Revision History ...