Overview

The IO Functions library contains function blocks with which services/functions can be executed on the IO devices (fieldbus masters or slaves).

General Device Functions

Name

Description

IOF_DeviceReset

Reset an I/O device

IOF_GetBoxAddrByName

Find the fieldbus address of the box, knowing the device ID and the box identifier

IOF_GetBoxAddrByNameEx

Find the fieldbus address of the box, knowing the device identifier and the box identifier

IOF_GetBoxCount

Read the number of boxes

IOF_GetBoxNameByAddr

Read the box identifier knowing the fieldbus address of the box and the device ID

IOF_GetBoxNetId

Read the AmsNetId of a box, knowing the fieldbus address of the box and the device ID

IOF_GetDeviceCount

Read the number of I/O devices.

IOF_GetDeviceIDByName

Find the device ID knowing the device identifier

IOF_GetDeviceIDs

Read all device IDs

IOF_GetDeviceName

Read the device identifier knowing the device ID

IOF_GetDeviceNetId

Read the AmsNetId, knowing the device ID

IOF_GetDeviceType

Read the device type, knowing the device ID

IOF_GetDeviceInfoByName

Determine the device ID and the AmsNetId, knowing the device name

Fieldbus-specific and device-specific functions

CANopen

Name

Description

IOF_CAN_Layer2Command

Carry out a layer 2 command

Beckhoff Lightbus

Name

Description

IOF_LB_BreakLocationTest

Optical fiber ring break location test

IOF_LB_ParityCheck

Read parity counter

IOF_LB_ParityCheckWithReset

Read and reset parity counter

SERCOS

Name

Description

IOF_SER_GetPhase

Read the current phase

IOF_SER_ResetErr

Reset the error buffer

IOF_SER_SaveFlash

Save parameter in flash

IOF_SER_SetPhase

Set the current phase

IOF_SER_IDN_Read

Read Sercos drive parameters

IOF_SER_IDN_Write

Write Sercos drive parameters

IOF_SER_DRIVE_Backup

Backup and restore the Sercos drive parameters to/from a file

IOF_SER_DRIVE_BackupEx

Backup and restore the Sercos drive parameters to/from a file (extended functionality)

IOF_SER_DRIVE_Reset

Drive reset of a Sercos drive by command on parameter S-0-0099 (IDN99)

Profibus DPV1 (Sinamics

Name

Description

F_CreateDpv1ReadReqPkg

Generate DPV1 telegram for parameter reading

FB_Dpv1Read

Send DPV1 telegram for parameter reading

F_SplitDpv1ReadResPkg

Evaluate DPV1 response telegram for parameter reading

F_CreateDpv1WriteReqPkg

Generate DPV1 telegram for parameter writing

FB_Dpv1Write

Send DPV1 telegram for parameter writing

F_SplitDpv1WriteResPkg

Evaluate DPV1 response telegram for parameter writing

Profinet DPV1 (Sinamics)

Name

Description

F_CreateDpv1ReadReqPkgPNET

Generate DPV1 telegram for parameter reading

FB_Dpv1ReadPNET

Send DPV1 telegram for parameter reading

F_SplitDpv1ReadResPkgPNET

Evaluate DPV1 response telegram for parameter reading

F_CreateDpv1WriteReqPkgPNET

Generate DPV1 telegram for parameter writing

FB_Dpv1WritePNET

Send DPV1 telegram for parameter writing

F_SplitDpv1WriteResPkgPNET

Evaluate DPV1 response telegram for parameter writing

NOV/DP-RAM

Name

Description

FB_NovRamReadWrite

Write data to the NOVRAM or read data from the NOVRAM

FB_NovRamReadWriteEx

Write data to the NOVRAM or read data from the NOVRAM. Checks whether a special method of accessing the memory is necessary and copies the data accordingly in the correct way (e.g. when accessing the CX_9000 NOV-RAM).

FB_GetDPRAMInfo

Read the address pointer and the configured size from the NOV/DP-RAM

FB_GetDPRAMInfoEx

Read the address pointer and the configured size from the NOV/DP-RAM (Extension)

AX200x Profibus

Function blocks for access to the AX200X via Profibus: overview.

ASI master terminal

Function blocks for access to an ASI master terminal: overview.

Beckhoff UPS (under Windows UPS service)

Name

Description

FB_GetUPSStatus

Read the status of the UPS from the PLC.

Third-party vendor devices

INTERBUS Phoenix IBS SC/I-T functions

Phoenix IBS SC/I-T functions: overview.

Name

Description

SCIT_ActivateConfiguration

Executes the Activate_Configuration command

SCIT_DeactivateConfiguration

Executes the Deactivate_Configuration command

SCIT_StartDataTransfer

Executes the Start_Data_Transfer command

SCIT_StopDataTransfer

Executes the Stop_Data_Transfer command

SCIT_AlarmStop

Executes the Alarm_Stop command

SCIT_ControlActiveConfiguration

Is used to affect the active configuration of the Interbus devices. This command can be executed in the PAR_READY state as well as when in the ACTIVE or RUN states. Single, dependent and grouped devices can be activated and deactivated in this way.

SCIT_GetErrorInfo

Returns the error type and error location of an Interbus device after a bus error

SCIT_ConfDevErrAll

Acknowledge periphery errors of all devices

ads-tec

Name

Description

FB_ReadAdsTecSysData

Reads the system data/diagnostic data

RAID_Controller

The following function blocks are available for RAID controller services.

Name

Description

FB_RAIDFindCntlr

Returns the number of RAID controllers and the corresponding RAID controller IDs

FB_RAIDGetInfo

Supplies RAID information containing the number of RAID controller sets and the maximum number of RAID drives per set.

FB_RAIDGetStatus

Returns the RAID set index, the RAID type, the RAID status, the number of RAID drives and the status of the RAID drives.