EtherNet/IP™ Adapter3.09.00
 
Loading...
Searching...
No Matches

Overview

DIP object API

Data Structures

struct  DIO_DEVICE_DIP_ObjectCfg
 DIP Object configuration structure. More...
 

Typedefs

typedef void(* DIO_DEVICE_DIP_getInputValue) (uint16_t instanceID, uint8_t *pValue)
 function pointer prototype for reading input value
 
typedef void(* DIO_DEVICE_DIP_getInputStatus) (uint16_t instanceID, uint8_t *pStatus)
 function pointer prototype for reading input status
 
typedef struct DIO_DEVICE_DIP_ObjectCfg DIO_DEVICE_DIP_ObjectCfg_t
 DIP Object configuration structure.
 

Functions

bool DIO_DEVICE_DIP_deleteObject (uint16_t instanceID)
 deletes the DIP object(if exist)
 
uint32_t DIO_DEVICE_DIP_getObjValue (uint16_t instanceId, uint16_t attrId, void *pValue)
 reads the value of the requested Attribute from the Object
 
void DIO_DEVICE_DIP_init (EI_API_CIP_NODE_T *pCipNode)
 Initializes DIP Class and its initial state.
 
void DIO_DEVICE_DIP_run (void)
 DIP processing funcion.
 
bool DIO_DEVICE_DIP_addObject (uint16_t instanceID, DIO_DEVICE_DIP_ObjectCfg_t *pDipConfig)
 Create and add a DIP instance object.