PROFINET Device4.2.0
 
Loading...
Searching...
No Matches
Settings

Overview

Functions and callback-prototypes for setting up the IO device's info like name and IP address.

Typedefs

typedef uint32_t(* PN_API_IOD_resetToFactoryCbf) (PN_API_IOD_Handle_t *const pnHandle, const PN_API_IOD_RtfOption_t rtfOption)
 Callback function prototype to reset IO device to factory settings.
 
typedef void(* PN_API_IOD_reportNewIpAddrCbf) (PN_API_IOD_Handle_t *const pnHandle, const uint32_t ipAddr, const uint32_t subnetMask, const uint32_t defaultGw)
 Callback function prototype to inform the user about new IP address.
 

Functions

uint32_t PN_API_IOD_changeIpSuite (PN_API_IOD_Handle_t *const pnHandle, uint32_t newIpAddr, uint32_t subnetMask, uint32_t defaultGw)
 Momentarily modifies the IP suite within the Profinet stack.
 
uint32_t PN_API_IOD_changeDeviceName (PN_API_IOD_Handle_t *const pnHandle, int8_t *stationName, uint16_t stationNameLen)
 Momentarily modifies the device name within the Profinet stack.
 
uint32_t PN_API_IOD_setDeviceType (const PN_API_IOD_Handle_t *const pnHandle, const char *const typeName)
 Momentarily sets device type within the Profinet stack.
 
uint32_t PN_API_IOD_setDeviceOrderId (const PN_API_IOD_Handle_t *const pnHandle, const char *const orderId)
 Momentarily sets device order ID within the Profinet stack.
 
uint32_t PN_API_IOD_setDeviceSerialNumber (const PN_API_IOD_Handle_t *const pnHandle, const char *const serialNumber)
 Momentarily sets device serial number within the Profinet stack.
 
uint32_t PN_API_IOD_setDeviceHWRevision (const PN_API_IOD_Handle_t *const pnHandle, const uint32_t hwRevision)
 Momentarily sets device hardware revision within the Profinet stack.
 
uint32_t PN_API_IOD_setDeviceVersionNumber (const PN_API_IOD_Handle_t *const pnHandle, const char *const prefix, const uint32_t hh, const uint32_t h, const uint32_t l, const uint32_t ll)
 Momentarily sets device version number within the Profinet stack.