 |
IO-Link Master
1.03.03
|
|
uint32_t imaTime
This parameter contains the "I am alive" time for the corresponding Slot/W-Device.
Definition: IOLMW_PL.h:392
@ IOL_eDeviceMode_PAIRED
Permanent pairing successful.
Definition: IOL_Types.h:395
This structure stores the data of a page request.
Definition: IOLM_Types.h:969
@ IOL_eErrorInfo_ISDU_NOT_SUPPORTED
ISDU not supported by Device.
Definition: IOL_Types.h:99
@ IOL_eDeviceMode_STARTUP
Device changed to the STARTUP mode.
Definition: IOL_Types.h:377
@ IOL_ePortMode_DS_FAULT
Data Storage fault.
Definition: IOL_Types.h:329
IOLM_SMI_EMasterTypes
SMI Master types.
Definition: IOLM_SMI_Types.h:178
INT16U u16ExpArgBlockID
Expected ArgBlockID of result.
Definition: IOLM_SMI_Types.h:337
IOLM_SMI_CBGenericCnf cbGenericCnf
Callback for IOLM_SMI_vGenericReq.
Definition: IOLM_SMI.h:2232
@ IOL_eInspectionLevel_IDENTICAL
Check Vendor ID, Device ID and Serial Number.
Definition: IOLM_Types.h:486
TBOOL IOLM_Port_PL_boGetIQ(INT8U u8Port_p)
Get IQ input pin value.
Definition: IOLM_Port_Functions.c:69
double FLOAT64
64 bit float
Definition: IOL_Port_Types.h:52
@ IOL_eDeviceMode_IDENT_CHANGE
Device changed to the SM mode "SM_IdentCheck".
Definition: IOL_Types.h:381
IOLM_SMI_SHeader suHeader
Header struct.
Definition: IOLM_SMI.h:205
PL_SlotParam_t slotParam
The list with slot parameters.
Definition: IOLMW_PL.h:433
@ IOL_eECode_SUPPLY_UNDERRUN
Primary supply voltage under-run – Check tolerance (Warning).
Definition: IOL_Types.h:725
IOL_FUNC_DECL void IOLM_Port_vMemFree(INT8U *pu8Mem_p)
Free memory callback.
INT8U au8ConfiguredSerialNumber[16]
Configured Serial Number.
Definition: IOLM_Types.h:781
IOL_EErrorInfo IOLM_API_eInit(void)
Initialize stack.
Definition: IOLM.c:125
IOL_FUNC_DECL IOL_EErrorInfo IOLM_API_SM_eSetPortConfig(INT8U u8Port_p, IOLM_SPortConfig *psuPortConfig_p)
Port setup.
Definition: IOLM_SM.c:384
@ IOL_eEEType_WARNING
Warning.
Definition: IOL_Types.h:887
uint16_t u16NextFrequency
channel to be used next
Definition: IOLMW_HAL_Interface.h:88
@ IOL_eEInstance_AL
Source is IO-Link application layer.
Definition: IOL_Types.h:862
INT8U u8IQ
Output IQ signal.
Definition: IOLM_SMI_Types.h:627
SMI Callbacks. Must be initialized via IOLM_SMI_vInit.
Definition: IOLM_SMI.h:2230
@ IOL_eDLMode_OPERATE
Handler shall change to the OPERATE state.
Definition: IOL_Types.h:140
INT8U u8Slot
slot number starting with 0
Definition: IOLM_SMI_Types.h:401
@ IOL_ePortMode_SERNUM_FAULT
Mismatching Serial Number according to the InspectionLevel.
Definition: IOL_Types.h:327
INT8U u8OE
Output enable.
Definition: IOLM_SMI_Types.h:601
IOL_FUNC_DECL void IOLM_API_PL_vSwitchPortPower(INT8U u8Port_p, TBOOL boOn_p, INT16U u16WaitTimeMs_p)
Switch port power L+ off or on.
Definition: IOLM_SM.c:1946
uint8_t u8SlotNr
Number of slot the data comes from.
Definition: IOLMW_HAL_Interface.h:65
INT8U u8PairingCommand
according IOLM_SMI_EPairCmd
Definition: IOLM_SMI_Types.h:520
@ IOL_eBaudrate_COM3
Transmission rate of COM3 (230,4 kbit/s).
Definition: IOL_Types.h:298
@ IOL_eDeviceMode_UNPAIRED
Permanent pairing successful.
Definition: IOL_Types.h:397
IOL_EEInstance
This enumeration indicates the particular source (instance) of an event thus refining its evaluation ...
Definition: IOL_Types.h:858
@ IOL_eErrorInfo_VALUE_OUT_OF_RANGE
Parameter is out of range.
Definition: IOL_Types.h:95
@ IOL_eErrorType_FUNC_UNAVAILTEMP
Function temporarily unavailable.
Definition: IOL_Types.h:611
INT16U u16ArgBlockID
Big endian.
Definition: IOLM_SMI_ExtTypes.h:207
void(* IOLM_SMI_CBGenericCnf)(IOLM_SMI_SHeader *psuHeader_p, INT8U *pu8ArgBlock_p)
SMI Generic request confirmation callback.
Definition: IOLM_SMI.h:407
@ IOL_eErrorInfo_ISDU_TIMEOUT
ISDU request timed out.
Definition: IOL_Types.h:97
void IOLM_Port_PL_vSetIQMode(INT8U u8Port_p, IOL_EIQMode eIQMode_p)
Set IQ mode.
Definition: IOLM_Port_Functions.c:76
INT8U u8TXPower
0 - 31.
Definition: IOLM_SMI_Types.h:498
void(* IOLM_SMI_CBPDOutCnf)(INT8U u8ClientID_p, INT8U u8Port_p, INT16U u16Error_p)
Set output data confirmation callback.
Definition: IOLM_SMI.h:1587
@ IOL_eEInstance_DL
Source is IO-Link data link layer.
Definition: IOL_Types.h:861
INT8U u8OperatorAck
Operator acknowledge.
Definition: IOLM_SMI_ExtTypes.h:209
INT16U u16EventCode
Big endian.
Definition: IOLM_SMI_Types.h:679
INT8U * pu8ArgBlock
Data buffer (can be NULL if u16ArgBlockLengthMax = 0).
Definition: IOLM_SMI_Types.h:784
Definition: IOLM_SMI.h:204
@ IOL_ePDInStatus_VALID
Input Process Data is valid; see 7.2.2.5, 8.2.2.12.
Definition: IOL_Types.h:194
@ IOL_eTargetMode_INACTIVE
Communication disabled, no DI, no DO.
Definition: IOL_Types.h:232
@ IOL_eDLMode_UNPAIRING
Handler shall change to the INACTIVE after unpairing state.
Definition: IOL_Types.h:142
IOLM_SMI_CBSMIExt cbFwUpdate
Callback for firmware update.
Definition: IOLM_SMI.h:2302
INT8U u8RealCycleTime
This parameter contains the real cycle time. See Annex B.1.3 of IO-Link Specification v1....
Definition: IOLM_Types.h:872
@ IOL_eEPortCode_DS_ACCESS_DENIED
Data Storage parameter access denied.
Definition: IOL_Types.h:837
uint8_t slotNum
This parameter contains the Slot number for the corresponding W-Device.
Definition: IOLMW_PL.h:391
INT8U u8RealSerialNumberLen
This parameter indicates the real Serial Number length.
Definition: IOLM_Types.h:885
IOL_FUNC_DECL void IOLM_Port_AL_vNewInput(INT8U u8Port_p)
New input indication.
Definition: IOLM_SMI.c:3479
IOL_EMSequence
This enumeration contains the M-sequence types.
Definition: IOL_Types.h:181
INT16U u16ArgBlockReq
Request argument.
Definition: IOLM_SMI.h:208
IOLM_EISDUState
ISDU handler states.
Definition: IOLM_Types.h:369
IOLM_EModeHState
DL-mode handler states.
Definition: IOLM_Types.h:315
uint32_t au32CRCSeed[8]
CRC seeds in case.
Definition: IOLMW_HAL_Interface.h:100
INT16U u16ArgBlockID
Big endian.
Definition: IOLM_SMI_Types.h:615
@ IOL_eErrorInfo_NONE
No error occurred.
Definition: IOL_Types.h:82
This structure is used for the track configuration.
Definition: IOLM_SMI_Types.h:529
IOL_FUNC_DECL IOL_EErrorInfo IOLM_API_DS_eSet(INT8U u8Port_p, IOLM_EDSActivationState eActState_p, IOLM_EDSMode eMode_p)
Setup Data Storage mode.
Definition: IOLM_DS.c:162
@ IOL_ePortMode_DO
Port in digital output mode (SIO).
Definition: IOL_Types.h:312
IOL_FUNC_DECL IOL_EErrorInfo IOLM_API_SM_eOperate(void)
Set all ready ports into OPERATE mode.
Definition: IOLM_SM.c:530
INT32U u32MasterID
Big endian.
Definition: IOLM_SMI_Types.h:350
@ IOL_eErrorType_PAR_VALOUTOFRNG
Parameter value out of range.
Definition: IOL_Types.h:576
@ IOL_eDLRealMode_OPERATE
Handler changed to the OPERATE state.
Definition: IOL_Types.h:169
@ IOL_eMHInfo_COMLOST
Lost communication.
Definition: IOL_Types.h:219
INT8U u8PdInLength
Actual input data length in number of bytes.
Definition: IOLM_Types.h:887
#define IOL_T_T2_BIT
UART frame transmission delay of Devices.
Definition: IOL_Port_Definition.h:82
int8_t INT8S
8 bit signed integer
Definition: IOL_Port_Types.h:34
uint8_t * pu8ULData
Pointer to the received data.
Definition: IOLMW_HAL_Interface.h:59
INT16U u16ArgBlockID
Big endian.
Definition: IOLM_SMI_ExtTypes.h:222
@ IOL_eBaudrate_AUTO
Master accepts transmission rate found during IOL_eDLRealMode_ESTABCOM "ESTABLISHCOM".
Definition: IOL_Types.h:292
@ IOL_eDeviceMode_SIO
Device changed to the mode defined in service "SM_SetDeviceCom".
Definition: IOL_Types.h:362
IOL_EEType
This enumeration indicates the event category.
Definition: IOL_Types.h:884
IOLM_SMI_CBDSBackupToParServCnf cbDSBackupToParServCnf
Callback for IOLM_SMI_vDSBackupToParServReq.
Definition: IOLM_SMI.h:2248
@ IOLM_eWakeupMode_Done
Wake-up is generated by port.
Definition: IOLM_Types.h:603
uint8_t u8TXPower
TX Power to set.
Definition: IOLMW_HAL_Interface.h:81
@ IOL_eECode_TEMP_FAULT
Temperature fault – Overload (Error).
Definition: IOL_Types.h:705
@ IOLM_eWakeupMode_Ack
Wake-up is done by application and acknowledged by IOLM_API_PL_u8WakeAck.
Definition: IOLM_Types.h:607
@ IOL_eDeviceMode_TEMPORARY
Temporary pairing successful.
Definition: IOL_Types.h:391
IOL_ETargetMode
This enumeration indicates the requested operational mode of the port.
Definition: IOL_Types.h:230
#define IOLM_MAX_WAKE_RETRY
Maximum number of wake-up retries.
Definition: IOLM_Types.h:53
@ IOLM_eModeHState_WURQ
Perform wake-up procedure.
Definition: IOLM_Types.h:319
IOLM_SMI_CBPDOutCnf cbPDOutCnf
Callback for IOLM_SMI_vPDOutReq if a single port was updated.
Definition: IOLM_SMI.h:2262
@ IOL_eECode_SHORT_CIRCUIT
Short circuit – Check installation (Error).
Definition: IOL_Types.h:755
@ IOL_eECode_WIRE_BREAK_D1
Wire break of subordinate Device 1-15 – Check installation (Error).
Definition: IOL_Types.h:739
IOL_EDirectParam
This enumeration is a index list of the Direct Parameter Page 1.
Definition: IOL_Types.h:430
@ IOL_ePortMode_INACTIVE
Communication disabled, no DI, no DO.
Definition: IOL_Types.h:308
@ IOL_eErrorType_VENDOR_SPECIFIC_END
End of Vendor specific ErrorTypes.
Definition: IOL_Types.h:641
@ IOL_eEPortCode_DEV_COM_LOST
Device communication lost.
Definition: IOL_Types.h:831
uint32_t INT32U
32 bit unsigned integer
Definition: IOL_Port_Types.h:46
int32_t INT32S
32 bit signed integer
Definition: IOL_Port_Types.h:38
PL_PairTragetMode_t targetMode
This parameter requests the mode of the W-Device to be paired.
Definition: IOLMW_PL.h:416
This structure is used for the wireless Master configuration.
Definition: IOLM_SMI_Types.h:377
void(* IOLM_SMI_CBDeviceEventInd)(INT8U u8Port_p, INT16U u16ArgBlockLength_p, INT8U *pu8ArgBlock_p)
Device Event indicator callback.
Definition: IOLM_SMI.h:1406
@ IOL_eDLRealMode_COM1
COM1 mode established.
Definition: IOL_Types.h:153
void(* IOLM_SMI_CBMasterIdentificationCnf)(INT8U u8ClientID_p, INT16U u16Error_p, INT16U u16ArgBlockLength_p, INT8U *pu8ArgBlock_p)
Get Master identification confirmation callback.
Definition: IOLM_SMI.h:478
IOL_ECqMode
This enumeration indicates the requested CQ mode of the port.
Definition: IOL_Types.h:273
INT8U au8Data[32]
32 bytes.
Definition: IOLM_SMI_Types.h:638
void IOLM_SMI_vRun(void)
SMI Mainloop.
Definition: IOLM_SMI.c:2615
INT16U u16ArgBlockID
Big endian.
Definition: IOLM_SMI_Types.h:323
INT16U u16PowerOffTime
Big endian.
Definition: IOLM_SMI_Types.h:737
void IOLM_SMI_vPDInOutReq(INT8U u8ClientID_p, INT8U u8Port_p)
Get input and set output data.
Definition: IOLM_SMI.c:3009
INT8U u8Track
track number starting with 1
Definition: IOLM_SMI_Types.h:402
@ IOL_eECode_PARAM_CHANGED
Parameter changed – Check configuration (Error).
Definition: IOL_Types.h:735
INT16U u16ArgBlockID
Big endian.
Definition: IOLM_SMI_Types.h:735
INT32U u32DeviceID
Big endian.
Definition: IOLM_SMI_Types.h:751
@ IOL_eECode_MAINT_REFILL
Maintenance required – Refill (Notification).
Definition: IOL_Types.h:771
#define IOLM_WAKE_RETRY_TIMEOUT
Retry interval of wake-up sequence.
Definition: IOLM_Port_Definition.h:37
IOLM_EInspectionLevel
This enumeration indicates the requested inspection Level.
Definition: IOLM_Types.h:480
INT16U u16ArgBlockID
Big endian.
Definition: IOLM_SMI_Types.h:542
void IOLM_SMI_vDeviceWriteReq(INT8U u8ClientID_p, INT8U u8Port_p, INT16U u16ArgBlockLength_p, INT8U *pu8ArgBlock_p)
Set Device On-request Data.
Definition: IOLM_SMI.c:2974
IOL_EErrorType
This enumeration indicates the permissible ISDU ErrorTypes resulting from the Device application.
Definition: IOL_Types.h:528
@ IOL_eDLRealMode_INACTIVE
Handler changed to the INACTIVE state.
Definition: IOL_Types.h:151
INT8U au8Data[2 *(32+1)]
input len + data + output len + data
Definition: IOLM_SMI_Types.h:666
uint8_t u8WhitenerSeed
the start value for the whitener
Definition: IOLMW_HAL_Interface.h:83
@ IOL_ePortMode_SM_OPERATE
Port is ready to exchange Process Data.
Definition: IOL_Types.h:318
This structure is used for the subcycle track configuration.
Definition: IOLMW_HAL_Interface.h:77
INT8U au8ConfiguredFunctionID[2]
Configured Function ID.
Definition: IOLM_Types.h:777
#define IOL_T_TA_BIT
Response time of Devices.
Definition: IOL_Port_Definition.h:90
#define IOLM_MAX_OD_SIZE
Maximum number of OD bytes per message.
Definition: IOLM_Types.h:50
#define IOLM_PORT_READY_PULSE_POWER_OFF_ON_GAP_MS
Definition: IOLM_Types.h:88
@ IOL_eErrorType_FUNC_NOTAVAIL
Function not available.
Definition: IOL_Types.h:605
#define IOLM_PORT_READY_PULSE_MAX_DURATION_US
Definition: IOLM_Types.h:84
INT8U u8SDset
Safe data settings applied.
Definition: IOLM_SMI_ExtTypes.h:192
@ IOL_eECode_SW_FAULT
Device software fault – Check firmware revision (Error).
Definition: IOL_Types.h:729
@ IOL_eECode_DS_UPLOAD_REQ
Data Storage upload request.
Definition: IOL_Types.h:781
@ IOL_eTargetMode_SAFETYCOM
Device communicating safety Process Data.
Definition: IOL_Types.h:250
IOL_EISDUIndex
This enumeration indicates the predefined index values for ISDU.
Definition: IOL_Types.h:489
IOL_FUNC_DECL INT16U IOLM_Port_DS_u16LoadData(INT8U u8Port_p, INT8U *pu8Data_p, INT16U u16Length_p)
Load DS content.
Definition: IOLM_SMI.c:3645
INT8U u8OperatorAckRequest
Operator acknowledge request.
Definition: IOLM_SMI_ExtTypes.h:194
Definition: IOLM_Types.h:945
uint8_t table[4+1][IOL_PL_HOP_TABLE_LEN_MAX]
hopping table for all tracks
Definition: IOLMW_PL.h:450
@ IOL_eECode_MEASUREMENT_OVERRUN
Measurement range over-run – Check application (Error).
Definition: IOL_Types.h:765
void IOLM_SMI_vSaveNvFinished(void)
Save configuration finished.
Definition: IOLM_SMI.c:389
This structure is used to store FS port configuration.
Definition: IOLM_SMI_Types.h:419
#define IOLM_MAX_RETRIES
Number of Master message retries.
Definition: IOLM_Types.h:47
uint8_t spacing
Frequency spacing.
Definition: IOLMW_PL.h:447
@ IOLM_eModeHState_EstablishCom
Establish communication.
Definition: IOLM_Types.h:329
@ IOL_eECode_MAINT_CLEANING
Maintenance required – Cleaning (Notification).
Definition: IOL_Types.h:769
IOL_FUNC_DECL IOLM_EWakeupMode IOLM_Port_PL_eWakeUp(INT8U u8Port_p)
Send wake-up pulse.
Definition: IOLM_Port_Functions.c:33
@ IOL_eDeviceMode_TIMEOUT
Pairing failed by timeout.
Definition: IOL_Types.h:389
void(* IOLM_SMI_CBPortEventInd)(INT8U u8Port_p, INT16U u16ArgBlockLength_p, INT8U *pu8ArgBlock_p)
Port event indicator callback.
Definition: IOLM_SMI.h:1446
volatile INT8U u8Reading
Index of last reading buffer.
Definition: IOLM_Types.h:948
IOL_EPDOutStatus
This enumeration indicates the qualifier status of the Process Data (PD).
Definition: IOL_Types.h:203
IOL_ESystemCommand
This enumeration indicates the predefined system commands.
Definition: IOL_Types.h:919
This structure is used to store wireless port status.
Definition: IOLM_SMI_Types.h:474
INT8U u8PDOutOffset
Offset of non safe output Process Data.
Definition: IOLM_SMI.h:259
@ IOLM_eModeHState_OPERATE
Process Data and On-request Data exchange (parameter, commands, events).
Definition: IOLM_Types.h:338
PL_SlotType_t slotType
Type of the W-Device in Uplink given through W-Device application.
Definition: IOLMW_PL.h:413
void(* IOLM_SMI_CBPDOutIQCnf)(INT8U u8ClientID_p, INT8U u8Port_p, INT16U u16Error_p)
Set output data confirmation callback.
Definition: IOLM_SMI.h:2032
#define IOLM_CYCLE_JITTER_US
Cycle jitter value.
Definition: IOLM_Port_Definition.h:114
@ IOL_eErrorType_APP_DEV
Device application error – no details.
Definition: IOL_Types.h:537
@ IOL_eTransferMode_COM2
C/Q line in COM2 mode.
Definition: IOL_Types.h:38
@ IOL_eECode_BATTERIES_LOW
Batteries low – Exchange batteries (Warning).
Definition: IOL_Types.h:717
IOLM_SMI_CBDeviceReadCnf cbDeviceReadCnf
Callback for IOLM_SMI_vDeviceReadReq.
Definition: IOLM_SMI.h:2254
@ IOL_eEInstance_PHY
Source is IO-Link physical layer.
Definition: IOL_Types.h:860
INT16U u16ArgBlockID
Big endian.
Definition: IOLM_SMI_Types.h:649
INT8U au8FSData[25]
FS output data length in bytes.
Definition: IOLM_SMI_ExtTypes.h:211
@ IOL_eErrorType_APP_DEVNOTRDY
Application not ready.
Definition: IOL_Types.h:629
@ IOL_eErrorType_PAR_VALLTLIM
Parameter value below limit.
Definition: IOL_Types.h:586
INT8U u8SlotType
0 = SSLOT / 1 = DSLOT.
Definition: IOLM_SMI_Types.h:406
@ IOLM_eModeHState_ComRequestCOM1
Try communication with mode COM1.
Definition: IOLM_Types.h:325
@ IOL_eDeviceMode_PAIRING
Change to button pairing state.
Definition: IOL_Types.h:387
This structure is used for FS Process Data output.
Definition: IOLM_SMI_ExtTypes.h:206
@ IOL_eDeviceMode_OPERATE
Device changed to the OPERATE mode.
Definition: IOL_Types.h:385
INT8U u8PageRequest
1 if a page request is ready / 2 if pending / 0 if idle.
Definition: IOLM_Types.h:974
IOLM_EDSActivationState
this IOL_ENUM_DECL defines the Data Storage activation states.
Definition: IOLM_Types.h:555
@ IOL_eEPortCode_PortStatusChanged
Incorrect event signaling.
Definition: IOL_Types.h:839
@ IOL_eDirection_READ
Read operation.
Definition: IOL_Types.h:124
This structure is used as general and void ArgBlock.
Definition: IOLM_SMI_Types.h:322
@ IOL_eECode_SIM_ACTIVE
Simulation active – Check operational mode (Warning).
Definition: IOL_Types.h:761
IOLM_EALODState
This enumeration indicates the AL OD states.
Definition: IOLM_Types.h:444
void(* IOLM_SMI_CBDeviceReadCnf)(INT8U u8ClientID_p, INT8U u8Port_p, INT16U u16Error_p, INT16U u16ArgBlockLength_p, INT8U *pu8ArgBlock_p)
Get Device On-request Data confirmation callback.
Definition: IOLM_SMI.h:1307
void(* IOLM_SMI_CBPortStatusCnf)(INT8U u8ClientID_p, INT8U u8Port_p, INT16U u16Error_p, INT16U u16ArgBlockLength_p, INT8U *pu8ArgBlock_p)
Get port status confirmation callback.
Definition: IOLM_SMI.h:1040
This structure is used for the desired port mode.
Definition: IOLM_Types.h:738
INT32U u32DeviceID
Big endian.
Definition: IOLM_SMI_Types.h:426
uint8_t u8Track
Number of track the data comes from.
Definition: IOLMW_HAL_Interface.h:63
IOLM_SMI_CBDeviceWriteCnf cbDeviceWriteCnf
Callback for IOLM_SMI_vDeviceWriteReq.
Definition: IOLM_SMI.h:2252
@ IOL_eBaudrate_COM1
Transmission rate of COM1 (4,8 kbit/s).
Definition: IOL_Types.h:294
This structure is used to store wireless port configuration.
Definition: IOLM_SMI_Types.h:392
INT32U u32SegmentNr
Starting with 1.
Definition: IOLM_SMI_ExtTypes.h:59
Definition: IOLM_SMI.h:223
@ IOL_eTargetMode_COM2
Port in COM2 mode.
Definition: IOL_Types.h:244
INT8U au8ConfiguredDeviceID[3]
Configured Device ID.
Definition: IOLM_Types.h:773
INT16U u16ArgBlockID
Big endian.
Definition: IOLM_SMI_Types.h:626
#define IOLM_PD_BUFFER_COUNT
Number of Process Data buffers.
Definition: IOLM_Port_Definition.h:130
INT16U u16ArgBlockID
Big endian.
Definition: IOLM_SMI_Types.h:508
@ IOL_eDeviceMode_INACTIVE
Handler changed to the INACTIVE state.
Definition: IOL_Types.h:358
INT32U u32DeviceID
Big endian.
Definition: IOLM_SMI_Types.h:399
@ IOL_eECode_MEM_LOSS
Non volatile memory loss – Check batteries (Error).
Definition: IOL_Types.h:715
uint8_t deviceSynced
device is synchronized with Master
Definition: IOLMW_PL.h:434
INT16U u16Index
Big endian.
Definition: IOLM_SMI_Types.h:720
@ IOLM_eWakeupMode_Phy
Wake-up is generated by Phy with frame handler mode.
Definition: IOLM_Types.h:609
IOL_ESlotType
Physical layer slot types.
Definition: IOL_Types.h:994
@ IOL_eTransferMode_DO
C/Q line in digital output mode.
Definition: IOL_Types.h:44
char CHAR8
8 bit character data type
Definition: IOL_Port_Types.h:30
This structure is used to trigger a pairing request.
Definition: IOLM_SMI_Types.h:518
IOL_FUNC_DECL void IOLM_Port_PL_vSetCqMode(INT8U u8Port_p, IOL_ECqMode eCqMode_p)
Set CQ Mode Logic for Port u8PortNum_p of Instance u8Instance_p.
IOL_FUNC_DECL INT8U * IOLM_Port_pu8MemAlloc(INT32U u32Length_p)
Allocate memory callback.
IOLM_SMI_CBDeviceEventInd cbDeviceEventInd
Callback for Device Events.
Definition: IOLM_SMI.h:2256
TBOOL boGeneric
TRUE if response should be by generic API.
Definition: IOLM_SMI.h:206
INT16U u16ArgBlockID
Big endian.
Definition: IOLM_SMI_Types.h:458
uint8_t u8ULDataLength
Number of bytes received.
Definition: IOLMW_HAL_Interface.h:61
@ IOL_eErrorInfo_NO_DATA
DL did not provide Process Data.
Definition: IOL_Types.h:93
This structure is used for Device Events (remote).
IOLM_EMHMode
This enumeration indicates the change mode of the message handler.
Definition: IOLM_Types.h:383
IOLM_EWakeupMode
This IOL_ENUM_DECL defines the wake-up modes.
Definition: IOLM_Types.h:601
IOLM_SMI_CBPortEventInd cbPortEventInd
Callback for Port Events.
Definition: IOLM_SMI.h:2258
IOL_ETransferMode
This enumeration indicates the requested operation mode.
Definition: IOL_Types.h:32
INT8U u8RealRevisionID
This parameter indicates the real IO-Link revision ID. See Annex B.1.5 of IO-Link Specification v1....
Definition: IOLM_Types.h:875
This structure is used for firmware downloads.
Definition: IOLM_SMI_ExtTypes.h:57
IOL_EBaudrate eRealBaudrate
This parameter indicates the real transmission rate.
Definition: IOLM_Types.h:869
@ IOLM_eDSMode_Upload
Only upload enabled.
Definition: IOLM_Types.h:576
@ IOL_eDeviceMode_PERMANENT
Permanent pairing successful.
Definition: IOL_Types.h:393
IOLM_EALEventState
This enumeration indicates the AL event states.
Definition: IOLM_Types.h:470
uint16_t errorCnt
errors per 3000 Frames (0xffff = unknown)
Definition: IOLMW_PL.h:441
@ IOL_eECode_GROUND_FAULT
Ground fault – Check installation (Error).
Definition: IOL_Types.h:757
IOL_EBaudrate eConfiguredBaudrate
This parameter indicates the requested transmission rate.
Definition: IOLM_Types.h:754
@ IOL_eECode_PARAM_ERROR
Parameter error – Check data sheet and values (Error).
Definition: IOL_Types.h:731
IOLM_SMI_CBPortStatusCnf cbPortStatusCnf
Callback for IOLM_SMI_vPortStatusReq.
Definition: IOLM_SMI.h:2246
INT8U au8RealVendorID[2]
This parameter indicates the real Vendor ID.
Definition: IOLM_Types.h:877
INT16U IOLM_SMI_u16PDOutReqCnf(INT8U u8Port_p, INT16U u16ArgBlockLength_p, INT8U *pu8ArgBlock_p)
Set output data request and confirmation.
Definition: IOLM_SMI.c:1201
IOL_EComChannel
This enumeration indicates the communication channel for the access to the user data.
Definition: IOL_Types.h:109
uint16_t txFrameCnt
number of frames to device which needs ack
Definition: IOLMW_PL.h:439
IOLM_SMI_ETrackMode
SMI track mode.
Definition: IOLM_SMI_Types.h:280
INT16U u16ArgBlockID
Big endian.
Definition: IOLM_SMI_Types.h:677
void(* IOLM_SMI_CBDeviceWriteCnf)(INT8U u8ClientID_p, INT8U u8Port_p, INT16U u16Error_p)
Set Device On-request Data confirmation callback.
Definition: IOLM_SMI.h:1229
IOL_EDLRealMode
This enumeration indicates the status of the DL-mode handler.
Definition: IOL_Types.h:149
@ IOL_ePortMode_COMP_FAULT
Incompatible Device or Legacy-Device according to the InspectionLevel.
Definition: IOL_Types.h:325
INT8U au8ConfiguredVendorID[2]
Configured Vendor ID.
Definition: IOLM_Types.h:769
@ IOL_eErrorInfo_TIMING_CONFLICT
The requested combination of cycle times for the activated ports is not possible.
Definition: IOL_Types.h:91
INT8U u8TrackMode
IOLM_SMI_ETrackMode.
Definition: IOLM_SMI_Types.h:531
PL_PairMethod_t method
requested pairing method
Definition: IOLMW_PL.h:415
#define IOLM_MIN_STARTUPCYCLE(baudrate)
Minimum time for IOL startup cycle.
Definition: IOLM_Types.h:72
@ IOL_eEEMode_SINGLE_SHOT
Single shot event.
Definition: IOL_Types.h:897
IOL_FUNC_DECL void IOLM_Port_vCriticalStart(void)
Enter critical section.
@ IOL_ePortMode_PORTPOWEROFF
Port in Power-Off mode.
Definition: IOL_Types.h:333
IOL_EErrorInfo IOLM_API_AL_eGetInput(INT8U u8Port_p, INT8U **ppu8Data_p, INT8U *pu8Length_p)
Read input data.
Definition: IOLM_AL.c:841
INT16U u16ArgBlockID
Big endian.
Definition: IOLM_SMI_Types.h:393
#define IOL_T_TDMT_BIT
Master Message Delay.
Definition: IOL_Port_Definition.h:98
INT16U u16ExpRefArgBlockId
Expected Response or referenced ArgBlock Id (0 = not used).
Definition: IOLM_SMI_Types.h:787
@ IOL_eECode_MAINT_EXCHANGE
Maintenance required – Exchange wear and tear parts (Notification).
Definition: IOL_Types.h:773
This structure is used to store port status.
Definition: IOLM_SMI_Types.h:563
#define IOLM_DS_EMPTY
Size of DS header.
Definition: IOLM_Types.h:62
@ IOL_eTransferStatus_FRAMING_ERROR
Invalid UART stop bit detected.
Definition: IOL_Types.h:71
@ IOL_eErrorType_M_ISDU_CHECKSUM
Master – ISDU checksum error.
Definition: IOL_Types.h:671
uint8_t linkQualityD
link quality indication (determined on Device side)
Definition: IOLMW_PL.h:438
INT8U u8MasterID
1 - 29.
Definition: IOLM_SMI_Types.h:379
IOLM_SMI_CBSMIExt cbSettings
Callback for settings.
Definition: IOLM_SMI.h:2304
INT16U u16ArgBlockID
Big endian.
Definition: IOLM_SMI_Types.h:378
#define IOLM_SOFTTIMER_COUNT
Number of soft timer resources. Used for wake-up retry or ISDU timeout.
Definition: IOLM_Types.h:41
INT8U u8PdOutLength
Actual output data length in number of bytes.
Definition: IOLM_Types.h:889
volatile IOLM_SMI_SJob * psuPending
Job that could not be immediately finished.
Definition: IOLM_SMI.h:219
This structure is used for scan results.
Definition: IOLM_SMI_Types.h:705
IOLM_SMI_EPortPowerMode
SMI port power mode.
Definition: IOLM_SMI_Types.h:303
This structure is used for stack information.
Definition: IOLM_SMI_ExtTypes.h:159
IOL_FUNC_DECL IOL_EErrorInfo IOLM_API_SM_eGetPortConfig(INT8U u8Port_p, IOLM_SRealPortConfig *psuRealPortConfig_p)
Get actual port configuration.
Definition: IOLM_SM.c:513
void IOLM_SMI_vPDOutReq(INT8U u8ClientID_p, INT8U u8Port_p, INT16U u16ArgBlockLength_p, INT8U *pu8ArgBlock_p)
Set output data.
Definition: IOLM_SMI.c:3020
@ IOL_eDeviceMode_IDENT_STARTUP
Device changed to the SM mode "SM_IdentStartup".
Definition: IOL_Types.h:379
void(* IOLM_SMI_CBDSBackupFromParServCnf)(INT8U u8ClientID_p, INT8U u8Port_p, INT16U u16Error_p)
Backup from parameter server confirmation callback.
Definition: IOLM_SMI.h:1152
INT16U u16ArgBlockID
Big endian.
Definition: IOLM_SMI_Types.h:496
@ IOL_eTransferMode_DI
C/Q line in digital input mode.
Definition: IOL_Types.h:42
@ IOLM_eDSActivationState_Disabled
Data Storage not enabled.
Definition: IOLM_Types.h:557
@ IOL_eEPortCode_NEW_SLAVE
Mode indication.
Definition: IOL_Types.h:829
IOLM_ESMState
This enumeration indicates the SM states.
Definition: IOLM_Types.h:395
IOLM_SMI_SJobList suFastQueue
For attributes without delayed response.
Definition: IOLM_SMI.h:239
void IOLM_SMI_vDeviceReadReq(INT8U u8ClientID_p, INT8U u8Port_p, INT16U u16ArgBlockLength_p, INT8U *pu8ArgBlock_p)
Get Device On-request Data.
Definition: IOLM_SMI.c:2986
@ IOL_eEPortCode_DS_IDENT_MISMATCH
Data Storage identification mismatch.
Definition: IOL_Types.h:833
TBOOL boNewData
True if new data is available.
Definition: IOLM_Types.h:962
IOL_FUNC_DECL INT32S IOLM_Port_s32SysTickVal(void)
Get SysTick value.
Definition: IOLM_Port_Functions.c:103
IOLM_SMI_ETrackStatus
SMI track status.
Definition: IOLM_SMI_Types.h:291
INT8U au8Data[32]
32 bytes.
Definition: IOLM_SMI_Types.h:603
Definition: IOLM_SMI.h:273
IOLM_EDLEventState
This enumeration indicates the DL event states.
Definition: IOLM_Types.h:458
#define IOLM_CRITICAL_END(level)
This macro is used to leave a critical section which was entered by #IOLD_CRITICAL_END.
Definition: IOLM_Port_Definition.h:191
INT32U u32DeviceID
Big endian.
Definition: IOLM_SMI_Types.h:551
@ IOL_eErrorType_PAR_SETINCONSIST
Inconsistent parameter set.
Definition: IOL_Types.h:623
IOL_FUNC_DECL void IOLM_Port_AL_vReadCnf(INT8U u8Port_p, INT16U u16ErrorInfo_p, const INT8U *pu8Data_p, INT8U u8Length_p)
Read confirmation.
Definition: IOLM_SMI.c:3219
INT32U u32DeviceID
Big endian.
Definition: IOLM_SMI_Types.h:573
IOL_EDSCommand
This enumeration indicates the DS commands.
Definition: IOL_Types.h:906
@ IOLM_eModeHState_Retry
Retry startup.
Definition: IOLM_Types.h:327
@ IOL_eEEMode_APPEARS
Event appears.
Definition: IOL_Types.h:899
PL_SlotType_t slotType
Type of the W-Device in Uplink given through W-Device application.
Definition: IOLMW_PL.h:382
void IOLM_Port_PL_vSwitchPortPower(INT8U u8Port_p, TBOOL boOn_p)
Switch port power on or off.
Definition: IOLM_Port_Functions.c:83
IOLM_SMI_CBPDInCnf cbPDInCnf
Callback for IOLM_SMI_vPDInReq if a single port was read.
Definition: IOLM_SMI.h:2260
@ IOL_eECode_SEC_SUPPLY_FAULT
Secondary supply voltage fault (Port Class B) – Check tolerance (Warning).
Definition: IOL_Types.h:727
#define IOLM_WAKEUP_PULSE_TIMER_US
Wake-up pulse timer length in microseconds (pulse needs to be 75-85 us).
Definition: IOLM_Port_Definition.h:177
bool boCRCOk
CRC Status of the current packet.
Definition: IOLMW_HAL_Interface.h:55
@ IOL_eTargetMode_CFGCOM
Device communicating in mode CFGCOM after successful inspection (FIXEDMODE).
Definition: IOL_Types.h:238
INT32U u32MSequenceTime
M-Sequence time in 1 us granularity.
Definition: IOLM_Types.h:646
void IOLM_SMI_vMasterIdentificationReq(INT8U u8ClientID_p)
Get Master identification.
Definition: IOLM_SMI.c:2835
INT32S s32TimeStart
SysTick start value for timeout.
Definition: IOLM_SMI.h:209
This structure is used for PortPowerOffOn requests.
Definition: IOLM_SMI_Types.h:734
IOL_FUNC_DECL void IOLM_Port_AL_vControlInd(INT8U u8Port_p, IOL_EPDInStatus eControlCode_p)
Control indication.
Definition: IOLM_SMI.c:3266
@ IOL_eErrorType_IDX_NOT_WRITEABLE
Access denied.
Definition: IOL_Types.h:570
Definition: IOLMW_HAL_Interface.h:117
@ IOL_eTargetMode_OSSDE
Port in digital input mode at C/Q and I/Q.
Definition: IOL_Types.h:248
@ IOL_eErrorType_VENDOR_SPECIFIC_BEGIN
Begin of Vendor specific ErrorTypes.
Definition: IOL_Types.h:639
bool boSyncOk
Syncword detect status of the current.
Definition: IOLMW_HAL_Interface.h:57
@ IOL_eErrorInfo_NO_COMM
No communication available.
Definition: IOL_Types.h:84
void IOLM_SMI_vGenericReq(IOLM_SMI_SHeader *psuHeader_p, INT8U *pu8ArgBlock_p)
SMI generic request.
Definition: IOLM_SMI.c:2823
This structure is used to store FS port status.
Definition: IOLM_SMI_Types.h:541
@ IOL_eECode_NO_MALFUNCTION
No malfunction (Notification).
Definition: IOL_Types.h:698
IOL_FUNC_DECL IOL_EErrorInfo IOLM_API_DS_eDelete(INT8U u8Port_p)
Delete Data Storage content.
Definition: IOLM_DS.c:282
uint8_t slotNum
This parameter contains the Slot number for the corresponding W-Device.
Definition: IOLMW_PL.h:414
#define IOLM_DS_MAX_SIZE
Maximum size of DS content.
Definition: IOLM_Types.h:59
IOL_FUNC_DECL void IOLM_Port_PL_vSetPhyCycleTimer(INT8U u8Port_p, INT32U u32TimeUs_p)
Cycle timer setup.
uint8_t slotCfg
show if slot is configured
Definition: IOLMW_PL.h:436
INT8U u8InputDataLength
Input data length in bytes.
Definition: IOLM_SMI_Types.h:587
INT16U u16ArgBlockID
Big endian.
Definition: IOLM_SMI_Types.h:336
void IOLM_SMI_vPDOutIQReq(INT8U u8ClientID_p, INT8U u8Port_p, INT16U u16ArgBlockLength_p, INT8U *pu8ArgBlock_p)
Set Output Data.
Definition: IOLM_SMI.c:3043
int32_t rssi
RSSI of the current Packet.
Definition: IOLMW_PL.h:431
void IOLM_Port_SM_vPortMode(INT8U u8Port_p, IOL_EPortMode ePortMode_p)
Port mode indication.
Definition: IOLM_Port_Functions.c:110
This structure is used to get FS Master access.
Definition: IOLM_SMI_Types.h:364
This structure is used for settings of the RF chips.
Definition: IOLM_SMI_ExtTypes.h:100
INT8U u8PortStatusInfo
IOLM_SMI_EPortStatus.
Definition: IOLM_SMI_Types.h:543
@ IOLM_eDSMode_UpDownload
Upload and download enabled.
Definition: IOLM_Types.h:578
IOL_EErrorInfo IOLM_API_AL_eControlReq(INT8U u8Port_p, IOL_EPDOutStatus eControlCode_p)
Send control code for PDOutStatus indication.
Definition: IOLM_AL.c:790
void(* IOLM_SMI_CBPortConfigurationCnf)(INT8U u8ClientID_p, INT8U u8Port_p, INT16U u16Error_p)
Set port configuration confirmation callback.
Definition: IOLM_SMI.h:717
IOLM_SMI_CBDSBackupFromParServCnf cbDSBackupFromParServCnf
Callback for IOLM_SMI_vDSBackupFromParServReq.
Definition: IOLM_SMI.h:2250
void(* IOLM_SMI_CBPDInCnf)(INT8U u8ClientID_p, INT8U u8Port_p, INT16U u16Error_p, INT16U u16ArgBlockLength_p, INT8U *pu8ArgBlock_p)
Get input data confirmation callback.
Definition: IOLM_SMI.h:1498
void(* IOLM_SMI_CBDSBackupToParServCnf)(INT8U u8ClientID_p, INT8U u8Port_p, INT16U u16Error_p, INT16U u16ArgBlockLength_p, INT8U *pu8ArgBlock_p)
Backup to parameter server confirmation callback.
Definition: IOLM_SMI.h:1113
This structure is used for uplink logging.
Definition: IOLM_SMI_ExtTypes.h:144
INT16U u16ArgBlockID
Big endian.
Definition: IOLM_SMI_ExtTypes.h:191
IOL_EEMode
This enumeration indicates the event mode.
Definition: IOL_Types.h:895
IOL_FUNC_DECL void IOLM_Port_DS_vStoreData(INT8U u8Port_p, INT8U *pu8Data_p, INT16U u16Length_p)
Store DS content.
Definition: IOLM_SMI.c:3629
IOLM_SMI_EPortStatus
SMI port status.
Definition: IOLM_SMI_Types.h:261
IOLM_SMI_CBSaveNVCfg cbSaveNvCfg
Callback for saving non volatile configuration.
Definition: IOLM_SMI.h:2296
@ IOL_eDLRealMode_ACTIVE
Handler changed to the ACTIVE state.
Definition: IOL_Types.h:163
IOL_FUNC_DECL void IOLM_Port_AL_vWriteCnf(INT8U u8Port_p, INT16U u16ErrorInfo_p)
Write confirmation.
Definition: IOLM_SMI.c:3253
this type is used as an argument in PL_setSlotConfigReq
Definition: IOLMW_PL.h:388
IOL_FUNC_DECL void IOLM_Port_vCriticalEnd(void)
Enter critical section.
@ IOL_ePDOutStatus_RTFAULT
Real time fault happened. max retry limit reached.
Definition: IOL_Types.h:209
void IOLM_SMI_vInit(IOLM_SMI_SCallbacks *psuCallbacks_p)
Initialize SMI interface.
Definition: IOLM_SMI.c:265
INT16U u16ArgBlockID
Big endian.
Definition: IOLM_SMI_Types.h:519
This structure is used for Kunbus regression test support.
Definition: IOLM_SMI_ExtTypes.h:221
#define IOLM_MASTER_PROCESSING_TIME
Mainloop time.
Definition: IOLM_Port_Definition.h:51
INT8U u8ConfiguredRevisionID
Configured IO-Link revision ID.
Definition: IOLM_Types.h:760
This structure is used as JobError ArgBlock.
Definition: IOLM_SMI_Types.h:335
uint16_t ackreceivedCnt
number of received acknowledges
Definition: IOLMW_PL.h:440
This structure is used for Process Data input.
Definition: IOLM_SMI_Types.h:584
INT8U au8Data[32]
32 bytes.
Definition: IOLM_SMI_Types.h:650
IOL_ETransferStatus
This enumeration contains supplementary information on the transfer. status.
Definition: IOL_Types.h:65
This structure is used for On-request Data.
Definition: IOLM_SMI_Types.h:718
IOLM_SMI_CBLoadNVCfg cbLoadNvCfg
Callback for loading non volatile configuration .
Definition: IOLM_SMI.h:2294
@ IOL_eECode_PD_UNDERRUN
Process variable range under-run – Process Data uncertain (Warning).
Definition: IOL_Types.h:767
This structure type is used for frequency parameters.
Definition: IOLMW_PL.h:446
@ IOL_eTransferMode_COM1
C/Q line in COM1 mode.
Definition: IOL_Types.h:36
@ IOL_eErrorType_ARGBLOCK_NOT_SUPPORTED
SMI ErrorTypes.
Definition: IOL_Types.h:679
#define IOLM_PORT_READY_PULSE_TIMEOUT_MS
Definition: IOLM_Types.h:86
INT16U u16ArgBlockID
Big endian.
Definition: IOLM_SMI_Types.h:600
INT16U u16ArgBlockID
Big endian.
Definition: IOLM_SMI_Types.h:348
INT8U * pu8Data
Pointer to payload if available.
Definition: IOLM_SMI.h:210
int16_t INT16S
16 bit signed integer
Definition: IOL_Port_Types.h:36
IOLM_SMI_EPairCmd
SMI pairing commands.
Definition: IOLM_SMI_Types.h:224
void IOLM_SMI_vExtRsp(IOL_EErrorType eError_p, INT8U *pu8Data_p, INT16U u16Length_p)
SMI extension response.
Definition: IOLM_SMI.c:1681
void(* IOLM_SMI_CBPDInOutCnf)(INT8U u8ClientID_p, INT8U u8Port_p, INT16U u16Error_p, INT16U u16ArgBlockLength_p, INT8U *pu8ArgBlock_p)
Get input and set output data confirmation.
Definition: IOLM_SMI.h:1884
@ IOL_eErrorType_IDX_NOTAVAIL
Index not available.
Definition: IOL_Types.h:542
IOL_FUNC_DECL void IOLM_API_PL_vTransferInd(INT8U u8Port_p, INT8U u8DataLength_p, IOL_ETransferStatus eStatus_p)
Data receive processing finished.
Definition: IOLM_DLA.c:187
INT16U u16VendorID
Big endian.
Definition: IOLM_SMI_Types.h:750
IOL_FUNC_DECL void IOLM_Port_AL_vEventInd(INT8U u8Port_p, IOL_EEInstance eEInstance_p, IOL_EEType eEType_p, IOL_EESource eOrigin_p, IOL_EEMode eEMode_p, INT16U u16ECode_p)
Event indication.
Definition: IOLM_SMI.c:3411
void(* IOLM_SMI_CBSMIExt)(INT8U u8Instance_p, INT8U *pu8Data_p, INT16U u16Length_p)
SMI extension function callback.
Definition: IOLM_SMI.h:2172
void IOLM_SMI_vMasterConfigurationReq(INT8U u8ClientID_p, INT16U u16ArgBlockLength_p, INT8U *pu8ArgBlock_p)
Set Master configuration.
Definition: IOLM_SMI.c:2940
@ IOL_eTransferMode_INACTIVE
C/Q line in high impedance.
Definition: IOL_Types.h:34
@ IOL_eTransferMode_COM3
C/Q line in COM3 mode.
Definition: IOL_Types.h:40
INT8U u8TrackStatus
IOLM_SMI_ETrackStatus.
Definition: IOLM_SMI_Types.h:497
uint8_t linkQualityM
link quality indication (determined on Master side)
Definition: IOLMW_PL.h:437
void IOLM_API_AL_vAbort(INT8U u8Port_p)
Abort a pending ISDU request.
Definition: IOLM_AL.c:550
@ IOL_eErrorType_M_ISDU_ILLEGAL
Master – ISDU illegal service primitive.
Definition: IOL_Types.h:676
volatile struct IOLM_SMI_SJob * psuNext
Pointer to next job in queue.
Definition: IOLM_SMI.h:212
INT32U u32DeviceID
Big endian.
Definition: IOLM_SMI_Types.h:464
@ IOL_eEEType_NOTIFICATION
Notification.
Definition: IOL_Types.h:886
@ IOL_eDLRealMode_PREOPERATE
Handler changed to the PREOPERATE state.
Definition: IOL_Types.h:167
INT16U u16VendorID
Big endian.
Definition: IOLM_SMI_Types.h:483
#define IOLM_MIN_TIMER_INTERVAL_US
Minimum time interval for IO-Link timers.
Definition: IOLM_Types.h:78
INT8U u8PQI
Process Data qualifier.
Definition: IOLM_SMI_Types.h:586
IOL_FUNC_DECL void IOLM_Port_PL_vTransferPrepare(INT8U u8Port_p, const INT8U *pu8Data_p, INT8U u8DataLength_p, INT8U *pu8ResponseData_p, INT8U u8ResponseLength_p)
Prepare data exchange.
Definition: IOLM_Port_Functions.c:40
INT16U u16VendorID
Big endian.
Definition: IOLM_SMI_Types.h:550
#define IOLM_CRITICAL_START(level)
This macro is used to enter a critical section.
Definition: IOLM_Port_Definition.h:190
@ IOL_ePortMode_DI
Port in digital input mode (SIO).
Definition: IOL_Types.h:310
void(* IOLM_SMI_CBReadbackPortConfigurationCnf)(INT8U u8ClientID_p, INT8U u8Port_p, INT16U u16Error_p, INT16U u16ArgBlockLength_p, INT8U *pu8ArgBlock_p)
Read back port configuration confirmation callback.
Definition: IOLM_SMI.h:984
@ IOL_eErrorInfo_PARAMETER_CONFLICT
Consistency of parameter set violated.
Definition: IOL_Types.h:88
This structure follows the IOLM_SMI_SHeader struct.
Definition: IOLM_SMI_Types.h:783
INT16U u16ImaTime
Big endian.
Definition: IOLM_SMI_Types.h:405
@ IOL_eErrorType_VAL_LENOVRRUN
Parameter length overrun.
Definition: IOL_Types.h:593
void IOLM_Port_PL_vSetIQ(INT8U u8Port_p, TBOOL boOutValue_p)
Set IQ output pin value.
Definition: IOLM_Port_Functions.c:62
@ IOL_eECode_IOLW_RETRY_ERROR_R
Remote max retry error.
Definition: IOL_Types.h:784
#define IOLM_SMI_CLIENTID_BROADCAST
Used for broadcasting (events).
Definition: IOLM_SMI_Types.h:31
@ IOL_ePortMode_REVISION_FAULT
Incompatible protocol revision.
Definition: IOL_Types.h:322
@ IOL_eTransferStatus_OVERRUN
Octet collision within the UART.
Definition: IOL_Types.h:73
INT16U u16ArgBlockID
Big endian.
Definition: IOLM_SMI_ExtTypes.h:160
@ IOL_eECode_SUPPLY_FAULT
General power supply fault – Check availability (Error).
Definition: IOL_Types.h:719
INT16U u16PairingTimeout
Pairing timeout in seconds.
Definition: IOLM_SMI_Types.h:382
@ IOLM_eModeHState_ComRequestCOM2
Try communication with mode COM2.
Definition: IOLM_Types.h:323
INT8U au8RealSerialNumber[16]
This parameter indicates the real Serial Number.
Definition: IOLM_Types.h:883
uint8_t trackNum
track number to which the device shall be paired
Definition: IOLMW_PL.h:412
INT16U u16VendorID
Big endian.
Definition: IOLM_SMI_Types.h:398
INT16U u16ArgBlockID
Big endian.
Definition: IOLM_SMI_Types.h:420
IOLM_ETimerState
This enum indicates the current hardware timer state.
Definition: IOLM_Types.h:493
void IOLM_API_AL_vEventRsp(INT8U u8Port_p)
Acknowledge Device Events.
Definition: IOLM_AL.c:671
void(* IOLM_SMI_CBPDInIQCnf)(INT8U u8ClientID_p, INT8U u8Port_p, INT16U u16Error_p, INT16U u16ArgBlockLength_p, INT8U *pu8ArgBlock_p)
Get input data confirmation callback.
Definition: IOLM_SMI.h:1970
@ IOL_eECode_SUPPLY_OVERRUN
Primary supply voltage over-run – Check tolerance (Warning).
Definition: IOL_Types.h:723
@ IOL_eESource_MASTER
Source is Master which means it is a local event.
Definition: IOL_Types.h:877
IOLM_SMI_EServiceID
SMI ServiceIDs (IDs >= 0x80 are used for non standard, proprietary services).
Definition: IOLM_SMI_Types.h:40
@ IOL_eEPortCode_IOLW_RETRY_ERROR_L
Local max retry error.
Definition: IOL_Types.h:848
@ IOL_eErrorType_UNSPECIFIC
Vendor specific.
Definition: IOL_Types.h:634
uint8_t tmpTable[4+1][IOL_PL_HOP_TABLE_LEN_MAX]
temporary hopping table for all tracks
Definition: IOLMW_PL.h:452
IOL_EErrorInfo IOLM_API_AL_eReadReq(INT8U u8Port_p, INT16U u16Index_p, INT8U u8Subindex_p)
Send ISDU read request.
Definition: IOLM_AL.c:272
void IOLM_SMI_vDSBackupToParServReq(INT8U u8ClientID_p, INT8U u8Port_p)
Backup to parameter server.
Definition: IOLM_SMI.c:3078
This structure stores the Direct Parameter Page 1.
Definition: IOL_Types.h:942
@ IOL_eErrorType_VAL_LENUNDRUN
Parameter length underrun.
Definition: IOL_Types.h:599
@ IOL_eECode_COMP_MALFUNCTION
Component malfunction – Repair or exchange (Error).
Definition: IOL_Types.h:713
This structure is used for IQ input.
Definition: IOLM_SMI_Types.h:614
IOLM_SMI_EArgBlockID
SMI ArgBlock IDs.
Definition: IOLM_SMI_Types.h:113
@ IOL_eIQMode_IN
IQ is in input mode.
Definition: IOL_Types.h:263
@ IOL_eECode_FUSE_OPEN
Fuse blown/open – Exchange fuse (Error).
Definition: IOL_Types.h:721
@ IOL_eCqMode_PNP
CQ is in PNP mode.
Definition: IOL_Types.h:279
#define IOLM_WAKETIMEOUT
Timeout for wake-up retry.
Definition: IOLM_Types.h:68
@ IOL_ePortMode_CYCTIME_FAULT
Cycle Time fault.
Definition: IOL_Types.h:331
INT16U u16ArgBlockID
Big endian.
Definition: IOLM_SMI_Types.h:365
#define IOLM_PORT_COUNT
Number of ports, which are operated by the IO-Link Master.
Definition: IOLM_Port_Definition.h:15
@ IOL_eEInstance_APPLICATION
Event source is application layer.
Definition: IOL_Types.h:863
IOL_FUNC_DECL void IOLM_API_DS_vStoreComplete(INT8U u8Port_p, INT16U u16Length_p)
None volatile store completed.
Definition: IOLM_DS.c:217
void IOLM_SMI_vReadbackPortConfigurationReq(INT8U u8ClientID_p, INT8U u8Port_p)
Read back port configuration.
Definition: IOLM_SMI.c:2952
int8_t i8RSSI
Actual RSSI, 0x80 -> no info.
Definition: IOLMW_HAL_Interface.h:67
void IOLM_SMI_vPortConfigurationReq(INT8U u8ClientID_p, INT8U u8Port_p, INT16U u16ArgBlockLength_p, INT8U *pu8ArgBlock_p)
Set port configuration.
Definition: IOLM_SMI.c:2859
INT16U u16Command
Test command.
Definition: IOLM_SMI_ExtTypes.h:223
IOLM_EEvent
This enumeration defines acyclic events.
Definition: IOLM_Types.h:508
@ IOL_eDeviceMode_UNPAIRING
Try to do unpairing by Device.
Definition: IOL_Types.h:399
IOL_ETargetMode eTargetMode
This parameter indicates the real operational mode of the port.
Definition: IOLM_Types.h:867
This structure is used to store port configuration.
Definition: IOLM_SMI_Types.h:457
uint8_t tableLen
length of the hopping Table
Definition: IOLMW_PL.h:449
This structure is used for downlink logging.
Definition: IOLM_SMI_ExtTypes.h:133
INT16U u16VendorID
Big endian.
Definition: IOLM_SMI_Types.h:572
@ IOL_eErrorType_SERV_NOTAVAIL_LOCCTRL
Service temporarily not available – local control.
Definition: IOL_Types.h:558
void IOLM_API_vRun(void)
Mainloop run.
Definition: IOLM.c:181
@ IOLM_eModeHState_IDLE
Waiting on wake-up request from System Management (SM)
Definition: IOLM_Types.h:317
uint32_t timeout
the timeout for pairing operation
Definition: IOLMW_PL.h:417
@ IOL_eTargetMode_DI
Port in digital input mode (SIO).
Definition: IOL_Types.h:234
IOLM_EDSFault
This IOL_ENUM_DECL defines the DS faults.
Definition: IOLM_Types.h:585
This structure is used for transfer the receive operation state.
Definition: IOLMW_HAL_Interface.h:53
INT16U u16VendorID
Big endian.
Definition: IOLM_SMI_Types.h:425
void IOLM_SMI_vPDInReq(INT8U u8ClientID_p, INT8U u8Port_p)
Get input data.
Definition: IOLM_SMI.c:2998
#define IOLM_MASTER_RETRY_INTERVAL
Wakeup Sequence Retry Interval should be 500 to 1000ms.
Definition: IOLM_Port_Definition.h:58
IOL_EDirection
This enumeration contains ISDU transport direction.
Definition: IOL_Types.h:120
IOLM_SMI_CBLoadMasterIdentification cbLoadMasterIdentification
Callback for IOLM_SMI_CBLoadMasterIdentification.
Definition: IOLM_SMI.h:2236
uint8_t TBOOL
Boolean data type (at least 1 bit)
Definition: IOL_Port_Types.h:32
INT8U u8AHTEnable
0 = disabled, 1 = enabled.
Definition: IOLM_SMI_Types.h:380
uint16_t INT16U
16 bit unsigned integer
Definition: IOL_Port_Types.h:44
INT8U u8OutputDataLength
Output data length.
Definition: IOLM_SMI.h:260
@ IOLM_eModeHState_STARTUP
System Management uses the STARTUP state for Device identification, check, and communication configur...
Definition: IOLM_Types.h:332
IOL_FUNC_DECL TBOOL IOLM_Port_PL_boGetDI(INT8U u8Port_p)
Get input pin value.
Definition: IOLM_Port_Functions.c:56
INT8U au8Data[32]
32 bytes.
Definition: IOLM_SMI_Types.h:588
INT16U IOLM_SMI_u16PortStatusReqCnf(INT8U u8Port_p, INT16U *pu16ArgBlockLength_p, INT8U *pu8ArgBlock_p)
Get port status request and confirmation.
Definition: IOLM_SMI.c:807
INT32U u32ParamCheckSum
Big endian.
Definition: IOLM_SMI_Types.h:749
@ IOL_eCqMode_PUSHPULL
CQ is in Push Pull mode.
Definition: IOL_Types.h:281
Definition: IOLM_SMI.h:293
@ IOL_eCqMode_NPN
CQ is in NPN mode.
Definition: IOL_Types.h:277
IOLM_EPDState
This enumeration indicates the PD states.
Definition: IOLM_Types.h:427
IOLM_SMI_CBPDInOutCnf cbPDInOutCnf
Callback for IOLM_SMI_vPDInOutReq.
Definition: IOLM_SMI.h:2264
void(* IOLM_SMI_CBLoadNVCfg)(INT8U u8Instance_p, INT8U *pu8Data_p, INT32U *pu32Length_p)
Load configuration callback.
Definition: IOLM_SMI.h:2068
INT16U IOLM_SMI_u16PDInReqCnf(INT8U u8Port_p, INT16U *pu16ArgBlockLength_p, INT8U *pu8ArgBlock_p)
Get input data request and confirmation.
Definition: IOLM_SMI.c:1096
IOLM_SMI_SJobList suSlowQueue
For ISDU read/write with delayed response.
Definition: IOLM_SMI.h:240
@ IOL_eTargetMode_AUTOCOM
Device communicating in mode AUTOCOM without inspection (SCANMODE).
Definition: IOL_Types.h:240
INT16U u16ArgBlockID
Big endian.
Definition: IOLM_SMI_Types.h:719
volatile INT8U u8Valid
Index of latest valid buffer.
Definition: IOLM_Types.h:946
INT16U u16ArgBlockLength
Used length of pu8ArgBlock.
Definition: IOLM_SMI_Types.h:785
@ IOL_eDeviceMode_COMx
Device changed to the configured COM mode.
Definition: IOL_Types.h:374
#define IOLM_MAX_PD_SIZE
Maximum number of Process Data bytes.
Definition: IOLM_Types.h:44
@ IOL_eECode_TEMP_OVERRUN
Device temperature overrun – Clear source of heat (Warning).
Definition: IOL_Types.h:707
IOLM_EDSMode
This IOL_ENUM_DECL defines the Data Storage activities which have to be done if there are mismatches ...
Definition: IOLM_Types.h:570
@ IOL_eDLMode_INACTIVE
Handler shall change to the INACTIVE state.
Definition: IOL_Types.h:134
INT16U u16VendorID
Big endian.
Definition: IOLM_SMI_Types.h:349
IOLM_SMI_EValidationBackup
SMI port validation and backup.
Definition: IOLM_SMI_Types.h:234
This structure stores the message handler configuration.
Definition: IOLM_Types.h:645
@ IOL_ePortMode_READY_TO_OPERATE
Data Storage finished and ready for operate.
Definition: IOL_Types.h:316
INT8U au8FSData[25]
Input data length in bytes.
Definition: IOLM_SMI_ExtTypes.h:196
@ IOL_eEEMode_DISAPPEARS
Event disappears.
Definition: IOL_Types.h:898
INT16U IOLM_SMI_u16PortPowerOffOnReqCnf(INT8U u8Port_p, INT16U u16ArgBlockLength_p, INT8U *pu8ArgBlock_p)
Port power off on request and confirmation.
Definition: IOLM_SMI.c:1426
this type is used as an argument in PL_scanInd
Definition: IOLMW_PL.h:381
volatile INT8U u8Writing
Current writing buffer.
Definition: IOLM_Types.h:947
#define IOLM_MAX_ISDU_LENGTH
Maximum length of ISDU frame (data + header + checksum).
Definition: IOLM_Types.h:65
This structure is used for Process Data input and output read back.
Definition: IOLM_SMI_Types.h:662
@ IOL_eBaudrate_COM2
Transmission rate of COM2 (38,4 kbit/s).
Definition: IOL_Types.h:296
@ IOL_eErrorInfo_STATE_CONFLICT
Service unavailable within current state.
Definition: IOL_Types.h:86
uint8_t protocolVersion
The Version of the protocol.
Definition: IOLMW_PL.h:435
INT8U u8Arg
Optional internal argument.
Definition: IOLM_SMI.h:207
@ IOLM_eModeHState_ComRequestCOM3
Try communication with mode COM3.
Definition: IOLM_Types.h:321
@ IOL_eECode_GENERAL_MALFUNCTION
General malfunction – unknown error (Error).
Definition: IOL_Types.h:700
IOL_EDeviceMode
This enumeration indicates changes of communication states to the Device application.
Definition: IOL_Types.h:356
INT8U u8OutputDataLength
Output data length in bytes.
Definition: IOLM_SMI_Types.h:602
This structure is used to trigger a scan request.
Definition: IOLM_SMI_Types.h:507
IOLM_SMI_CBSMIExt cbChipInfo
Callback for chip info.
Definition: IOLM_SMI.h:2306
#define IOLM_SMI_CLIENTID_INTERN
Used for internal communication.
Definition: IOLM_SMI_Types.h:27
@ IOL_eDeviceMode_ESTABCOM
Device changed to the SM mode "SM_ComEstablish".
Definition: IOL_Types.h:364
@ IOLM_eModeHState_PREOPERATE
On-request Data Exchange (parameter, commands, events) without Process Data.
Definition: IOLM_Types.h:335
@ IOL_eTargetMode_MIXEDSAFETYCOM
Device communicating mixed safety and non safety Process Data.
Definition: IOL_Types.h:252
IOLM_SMI_CBReadbackPortConfigurationCnf cbReadbackPortConfigurationCnf
Callback for IOLM_SMI_vReadbackPortConfigurationReq.
Definition: IOLM_SMI.h:2244
@ IOL_eEEType_ERROR
Error.
Definition: IOL_Types.h:888
INT16U u16FunctionID
Big endian.
Definition: IOLM_SMI_Types.h:752
IOL_FUNC_DECL void IOLM_Port_PL_vSetMode(INT8U u8Port_p, IOL_ETargetMode eTargetMode_p)
Set physical layer mode.
Definition: IOLM_Port_Functions.c:28
void IOLM_SMI_vPortStatusReq(INT8U u8ClientID_p, INT8U u8Port_p)
Get port status.
Definition: IOLM_SMI.c:2963
INT16U IOLM_SMI_u16PDInOutReqCnf(INT8U u8Port_p, INT16U *pu16ArgBlockLength_p, INT8U *pu8ArgBlock_p)
Get input and output data request and confirmation.
Definition: IOLM_SMI.c:1142
IOLM_SMI_CBMasterConfigurationCnf cbMasterConfigurationCnf
Callback for IOLM_SMI_vMasterConfigurationReq.
Definition: IOLM_SMI.h:2292
Definition: IOLMW_PL.h:466
IOLM_SMI_CBPDOutIQCnf cbPDOutIQCnf
Callback for IOLM_SMI_vPDOutIQReq.
Definition: IOLM_SMI.h:2273
uint16_t u16SlotConfig
Configuration of all of the slots: 2 Bits per Slot -> 16 Bits 00 -> not configured 01 -> configured a...
Definition: IOLMW_HAL_Interface.h:97
IOL_EErrorInfo
This enumeration contains error information.
Definition: IOL_Types.h:80
@ IOLM_eDSMode_Download
Only download enabled.
Definition: IOLM_Types.h:574
IOL_EMHInfo
This enumeration contains the exception indication of the message handler.
Definition: IOL_Types.h:217
@ IOL_eTransferStatus_OK
No error occurred.
Definition: IOL_Types.h:67
INT8U u8TXPower
0 - 31.
Definition: IOLM_SMI_Types.h:532
IOL_ETargetMode eTargetMode
This parameter indicates the requested operational mode of the port.
Definition: IOLM_Types.h:749
@ IOL_eESource_DEVICE
Source is Device which means it is a remote event.
Definition: IOL_Types.h:875
@ IOL_eDLRealMode_ESTABCOM
Handler changed to the ESTABCOM state.
Definition: IOL_Types.h:161
INT8U u8PortStatusInfo
IOLM_SMI_EPortStatus.
Definition: IOLM_SMI_Types.h:476
This structure is used for Process Data buffer handling.
Definition: IOLM_Types.h:957
@ IOL_eECode_WIRE_BREAK
Wire break of a subordinate Device – Check installation (Error).
Definition: IOL_Types.h:737
This generic structure is used for events.
Definition: IOLM_SMI_Types.h:676
INT16U u16ArgBlockID
Big endian.
Definition: IOLM_SMI_Types.h:748
IOL_EPortMode
This enumeration indicates changes or faults of the local communication mode.
Definition: IOL_Types.h:306
INT16U u16ArgBlockID
Big endian.
Definition: IOLM_SMI_Types.h:637
This structure is used for SPDU input.
Definition: IOLM_SMI_Types.h:636
INT8U * pu8DSData
If not NULL there is a waiting storage.
Definition: IOLM_SMI.h:316
This structure is used for IQ output.
Definition: IOLM_SMI_Types.h:625
@ IOL_eIQMode_INACTIVE
IQ disabled.
Definition: IOL_Types.h:261
This structure is used for port events (local).
INT8U u8OE
Output enable.
Definition: IOLM_SMI_Types.h:665
IOLM_SMI_CBSMIExt cbALPDCycle
Callback for ArgBlock free.
Definition: IOLM_SMI.h:2300
bool boTrackEnable
enable flag for the track
Definition: IOLMW_HAL_Interface.h:79
IOL_EIQMode
This enumeration indicates the requested IQ mode of the port.
Definition: IOL_Types.h:259
@ IOL_ePDOutStatus_PDOUTVALID
Output Process Data is valid; see 7.3.7.1.
Definition: IOL_Types.h:205
INT8U au8RealDeviceID[3]
This parameter indicates the real Device ID.
Definition: IOLM_Types.h:879
@ IOL_eEPortCode_DS_BUFFER_OVERFLOW
Data Storage buffer overflow.
Definition: IOL_Types.h:835
this type is used as an argument in PL_pairingReq
Definition: IOLMW_PL.h:410
INT16U u16ErrorCode
ErrorCode.
Definition: IOLM_SMI_Types.h:338
INT8U u8ConfiguredSerialNumberLen
Configured Serial Number length.
Definition: IOLM_Types.h:785
INT8U u8ValidationBackup
See IOLM_SMI_EValidationBackup.
Definition: IOLM_SMI_Types.h:460
IOL_FUNC_DECL void IOLM_Port_PL_vSetDO(INT8U u8Port_p, TBOOL boOutValue_p)
Set output pin value.
Definition: IOLM_Port_Functions.c:51
void IOLM_API_vSetPortCount(INT8U u8PortCnt_p)
Set the number of ports.
Definition: IOLM.c:74
void IOLM_SMI_vPDInIQReq(INT8U u8ClientID_p, INT8U u8Port_p)
Get input data.
Definition: IOLM_SMI.c:3032
@ IOL_eMHInfo_ILLEGAL_MESSAGETYPE
Unexpected M-sequence type detected.
Definition: IOL_Types.h:221
@ IOL_eErrorType_SERV_NOTAVAIL
Service temporarily not available.
Definition: IOL_Types.h:552
void(* IOLM_SMI_CBSaveNVCfg)(INT8U u8Instance_p, INT8U *pu8Data_p, INT32U u32Length_p)
Save configuration callback.
Definition: IOLM_SMI.h:2106
This structure is used for data logging.
Definition: IOLM_SMI_ExtTypes.h:124
IOL_EODLen
This enumeration indicates the number of OD bytes in M-sequence.
Definition: IOL_Types.h:52
@ IOL_eInspectionLevel_NO_CHECK
No check on startup.
Definition: IOLM_Types.h:482
@ IOL_ePDInStatus_INVALID
Input Process Data is invalid.
Definition: IOL_Types.h:196
Definition: IOLM_SMI.h:216
This structure is used to store track status.
Definition: IOLM_SMI_Types.h:495
IOLM_SMI_CBMasterIdentificationCnf cbMasterIdentificationCnf
Callback for IOLM_SMI_vMasterIdentificationReq.
Definition: IOLM_SMI.h:2234
@ IOL_eDLRealMode_INVALID
Invalid value.
Definition: IOL_Types.h:171
#define IOLM_SYSTICK_INTERVAL_MS
Interval of the SysTick timer in milliseconds.
Definition: IOLM_Port_Definition.h:31
INT16U u16ArgBlockID
Big endian.
Definition: IOLM_SMI_Types.h:530
@ IOLM_eDSMode_Nothing
No transfer enabled.
Definition: IOLM_Types.h:572
int32_t imaLeft
Number of W-Sub-Cycles left to IMA event.
Definition: IOLMW_PL.h:432
INT16U u16ArgBlockID
Big endian.
Definition: IOLM_SMI_Types.h:585
INT32U u32DeviceID
Big endian.
Definition: IOLM_SMI_Types.h:484
void IOLM_Port_vStartTimer(INT8U u8Port_p, INT32U u32TimeUs_p)
Start port hardware timer.
Definition: IOLM_Port_Functions.c:98
@ IOL_ePortMode_COMREADY
Communication established and inspection successful.
Definition: IOL_Types.h:314
@ IOL_eInspectionLevel_TYPE_COMP
Check Vendor ID and Device ID.
Definition: IOLM_Types.h:484
float FLOAT32
32 bit float
Definition: IOL_Port_Types.h:50
INT8U u8IQBehavior
See IOLM_SMI_EIQBehavior.
Definition: IOLM_SMI_Types.h:461
IOLM_SMI_CBPDInIQCnf cbPDInIQCnf
Callback for IOLM_SMI_vPDInIQReq.
Definition: IOLM_SMI.h:2271
INT8U u8PortStatusInfo
IOLM_SMI_EPortStatus.
Definition: IOLM_SMI_Types.h:565
@ IOL_eErrorType_NONE
No error.
Definition: IOL_Types.h:530
INT8U u8IQ
Input IQ signal.
Definition: IOLM_SMI_Types.h:616
@ IOLM_eWakeupMode_Stack
Wake-up need to be generated by stack.
Definition: IOLM_Types.h:605
uint8_t revisionId
This parameter indicates the protocol version of the found W-Device.
Definition: IOLMW_PL.h:384
IOLM_SMI_EIQBehavior
SMI port IQ behavior.
Definition: IOLM_SMI_Types.h:247
IOL_EPDInStatus
This enumeration indicates the qualifier status of the Process Data (PD).
Definition: IOL_Types.h:192
@ IOLM_eDSActivationState_Enabled
Data Storage enabled.
Definition: IOLM_Types.h:559
@ IOL_eTargetMode_DO
Port in digital output mode (SIO).
Definition: IOL_Types.h:236
IOLM_EInspectionLevel eInspectionLevel
Device check during startup.
Definition: IOLM_Types.h:765
IOL_EEPortCode
This enumeration lists the specified EventCode identifiers and their definitions. The EventCodes are ...
Definition: IOL_Types.h:793
bool boLastSlot
last slot flag
Definition: IOLMW_HAL_Interface.h:69
This structure type is used for device parameters / configuration.
Definition: IOLMW_PL.h:430
IOL_FUNC_DECL void IOLM_API_PL_u8WakeAck(INT8U u8Port_p)
Acknowledge wake-up.
Definition: IOLM_DLB.c:320
@ IOL_eErrorType_SUBIDX_NOTAVAIL
SubIndex not available.
Definition: IOL_Types.h:547
IOL_EIService
This enumeration defines the I-Services of the ISDU.
Definition: IOL_Types.h:406
INT8U au8PDOutCache[32]
Cache Process Data.
Definition: IOLM_SMI.h:261
uint8_t colNum
index of current channel inside hopping table (column number)
Definition: IOLMW_PL.h:448
IOL_EESource
This enumeration indicates the source of the event.
Definition: IOL_Types.h:873
@ IOLM_eDSActivationState_Cleared
Data Storage disabled and cleared.
Definition: IOLM_Types.h:561
void(* IOLM_SMI_CBMasterConfigurationCnf)(INT8U u8ClientID_p, INT16U u16Error_p)
Get Master configuration confirmation callback.
Definition: IOLM_SMI.h:568
INT8U au8RealFunctionID[2]
This parameter indicates the real Function ID.
Definition: IOLM_Types.h:881
#define IOLM_CRITICAL_DECL(level)
This macro is used to declare a state variable to store a state in critical section.
Definition: IOLM_Port_Definition.h:189
@ IOL_eErrorType_SERV_NOTAVAIL_DEVCTRL
Service temporarily not available – Device control.
Definition: IOL_Types.h:565
IOLM_SMI_CBSMIExt cbResetDefaults
Callback for reboot.
Definition: IOLM_SMI.h:2308
@ IOL_eDLRealMode_COM2
COM2 mode established.
Definition: IOL_Types.h:155
@ IOL_eCqMode_INACTIVE
CQ disabled. == SIO disabled.
Definition: IOL_Types.h:275
@ IOLM_eEvent_MAX
Number of events.
Definition: IOLM_Types.h:513
IOL_EErrorInfo IOLM_API_AL_eWriteReq(INT8U u8Port_p, INT16U u16Index_p, INT8U u8Subindex_p, INT8U *pu8Data_p, INT8U u8Length_p)
Send ISDU write request.
Definition: IOLM_AL.c:401
INT16U u16ArgBlockID
Big endian.
Definition: IOLM_SMI_Types.h:475
@ IOL_eECode_HW_FAULT
Device hardware fault – Device exchange (Error).
Definition: IOL_Types.h:711
INT16U u16ArgBlockID
Big endian.
Definition: IOLM_SMI_Types.h:706
@ IOL_eTargetMode_COM3
Port in COM3 mode.
Definition: IOL_Types.h:246
PL_SlotType_t slotType
Type of the W-Device in Uplink given through W-Device application.
Definition: IOLMW_PL.h:390
INT16U u16ArgBlockID
Big endian.
Definition: IOLM_SMI_Types.h:663
@ IOL_eIQMode_OUT
IQ is in output mode.
Definition: IOL_Types.h:265
INT16U u16VendorID
Big endian.
Definition: IOLM_SMI_Types.h:463
@ IOL_eDirection_WRITE
Write operation.
Definition: IOL_Types.h:122
IOL_EBaudrate
This enumeration indicates the transmission rate.
Definition: IOL_Types.h:289
@ IOL_eMHInfo_CHECKSUM_MISMATCH
Checksum error detected.
Definition: IOL_Types.h:223
INT32S s32TickValMaintenance
Tick for maintenance actions.
Definition: IOLM_SMI.h:308
IOL_FUNC_DECL void IOLM_Port_PL_vTransferTrig(INT8U u8Port_p)
Start frame transmission.
Definition: IOLM_Port_Functions.c:46
IOL_EMasterCommand
This enumeration indicates the Master Commands.
Definition: IOL_Types.h:454
This structure defines a event buffer entry.
Definition: IOL_Types.h:966
IOL_EDLMode
This enumeration indicates the requested mode of the Master's DL on an individual port.
Definition: IOL_Types.h:132
@ IOL_eDLRealMode_STARTUP
Handler changed to the STARTUP state.
Definition: IOL_Types.h:165
INT32S s32TickValNvSave
Tick to limit frequency of save to EEPROM operations.
Definition: IOLM_SMI.h:307
@ IOL_eEPortCode_IOLW_IMA_TIMEOUT
Ima Timeout.
Definition: IOL_Types.h:850
@ IOL_eDLRealMode_COM3
COM3 mode established.
Definition: IOL_Types.h:157
#define IOLM_ADDITIONAL_MSEQ_TIMEOUT
Increase the MSeq timeout by n microseconds.
Definition: IOLM_Port_Definition.h:101
INT16U u16ArgBlockID
Big endian.
Definition: IOLM_SMI_Types.h:564
INT8U u8PortMode
See IOLM_SMI_EPortMode.
Definition: IOLM_SMI_Types.h:459
@ IOL_eECode_PARAM_MISSING
Parameter missing – Check data sheet (Error).
Definition: IOL_Types.h:733
IOLM_EODHState
OD handler states.
Definition: IOLM_Types.h:358
void(* IOLM_SMI_CBLoadMasterIdentification)(INT16U *u16ArgBlockLength_p, INT8U *pu8ArgBlock_p)
Load Master configuration callback callback.
Definition: IOLM_SMI.h:509
INT32U u32FSCPAuthenticity2
Big endian.
Definition: IOLM_SMI_Types.h:367
INT32U u32CommandData
Data for command.
Definition: IOLM_SMI_ExtTypes.h:224
IOL_FUNC_DECL IOL_ECqMode IOLM_Port_PL_eGetCqMode(INT8U u8Port_p)
Get CQ Mode Logic for Port u8PortNum_p.
@ IOL_eECode_TEMP_UNDERRUN
Device temperature underrun – Insulate Device (Warning).
Definition: IOL_Types.h:709
@ IOL_eECode_PD_OVERRUN
Process variable range over-run – Process Data uncertain (Warning).
Definition: IOL_Types.h:763
@ IOL_eDeviceMode_PREOPERATE
Device changed to the PREOPERATE mode.
Definition: IOL_Types.h:383
void IOLM_SMI_vDSBackupFromParServReq(INT8U u8ClientID_p, INT8U u8Port_p, INT16U u16ArgBlockLength_p, INT8U *pu8ArgBlock_p)
Backup from parameter server.
Definition: IOLM_SMI.c:3089
IOL_FUNC_DECL void IOLM_Port_AL_vPDCycle(INT8U u8Port_p)
Process Data cycle.
Definition: IOLM_SMI.c:3484
INT8U u8PQI
Process Data qualifier.
Definition: IOLM_SMI_Types.h:664
@ IOL_eDLMode_PREOPERATE
Handler shall change to the PREOPERATE state.
Definition: IOL_Types.h:138
@ IOL_eErrorType_PAR_SETINVALID
Invalid parameter set.
Definition: IOL_Types.h:617
@ IOL_eTransferStatus_PARITY_ERROR
UART detected a parity error.
Definition: IOL_Types.h:69
@ IOL_eErrorType_I_SERVICE_TIMEOUT
ISDU timeout, ISDU error or ISDU illegal service primitive.
Definition: IOL_Types.h:666
@ IOL_eErrorInfo_TIMEOUT
Timeout.
Definition: IOL_Types.h:101
This structure defines the Data Storage content.
Definition: IOLM_Types.h:717
IOLM_EDSState
This IOL_ENUM_DECL defines the Data Storage states.
Definition: IOLM_Types.h:520
IOLM_SMI_CBPortConfigurationCnf cbPortConfigurationCnf
Callback for IOLM_SMI_vPortConfigurationReq.
Definition: IOLM_SMI.h:2242
@ IOL_eTargetMode_COM1
Port in COM1 mode.
Definition: IOL_Types.h:242
@ IOL_eDeviceMode_IDLE
Device changed to waiting for configuration.
Definition: IOL_Types.h:360
INT8U u8LowPowerDevice
0 = Normal Device / 1 = Low Power.
Definition: IOLM_SMI_Types.h:407
@ IOL_eECode_APP_FAULT
Technology specific application fault – Reset Device (Error).
Definition: IOL_Types.h:759
This structure defines Data Storage objects.
Definition: IOLM_Types.h:705
@ IOL_eDLRealMode_COMLOST
Lost communication.
Definition: IOL_Types.h:159
uint8_t tmpTableLen[4+1]
length of the temporary tables
Definition: IOLMW_PL.h:451
@ IOL_ePortMode_COMLOST
Communication failed, new wake-up procedure required.
Definition: IOL_Types.h:320
INT16U u16ArgBlockLengthMax
Total memory Length of pu8ArgBlock.
Definition: IOLM_SMI_Types.h:786
This structure is used for the actual used communication parameters.
Definition: IOLM_Types.h:865
@ IOL_eDLMode_STARTUP
Handler shall change to the STARTUP state.
Definition: IOL_Types.h:136
@ IOL_eErrorType_PAR_VALGTLIM
Parameter value above limit.
Definition: IOL_Types.h:581
This structure is used to get Master identification.
Definition: IOLM_SMI_Types.h:347
This structure is used for FS Process Data input and output read back.
Definition: IOLM_SMI_ExtTypes.h:190
IOL_EECode
This enumeration lists the specified EventCode identifiers and their definitions. The EventCodes are ...
Definition: IOL_Types.h:696
INT8U u8Faults
Faults.
Definition: IOLM_SMI_ExtTypes.h:193
IOL_EErrorInfo IOLM_API_AL_eSetOutput(INT8U u8Port_p, INT8U *pu8Data_p, INT8U u8Length_p)
Write output data.
Definition: IOLM_AL.c:902
This structure is used for SPDU output.
Definition: IOLM_SMI_Types.h:648
@ IOL_ePDOutStatus_PDOUTINVALID
Output Process Data is invalid or missing.
Definition: IOL_Types.h:207
IOLM_SMI_EPortTypes
SMI port types.
Definition: IOLM_SMI_Types.h:190
This structure is used for Process Data output.
Definition: IOLM_SMI_Types.h:599
IOLM_SMI_EPortMode
SMI port mode.
Definition: IOLM_SMI_Types.h:205
INT32U u32FSCPAuthenticity1
Big endian.
Definition: IOLM_SMI_Types.h:366
IOL_FUNC_DECL void IOLM_API_vTimerExpired(INT8U u8Port_p)
Port timer expired.
Definition: IOLM_SYS.c:188
INT8U u8SetSD
Safe data setting.
Definition: IOLM_SMI_ExtTypes.h:208
@ IOL_eErrorType_COM_ERR
Master – Communication error.
Definition: IOL_Types.h:648
@ IOLM_eEvent_StackHigh
Receive processing and prepare next frame.
Definition: IOLM_Types.h:509
INT8U u8ConfiguredCycleTime
This parameter contains the requested cycle time for the OPERATE mode.
Definition: IOLM_Types.h:744
This structure is used for DataStorage Data.
Definition: IOLM_SMI_Types.h:747
INT8U u8TXPower
0 - 31.
Definition: IOLM_SMI_Types.h:509
uint8_t INT8U
8 bit unsigned integer
Definition: IOL_Port_Types.h:42