Overview

The IO functions library contains function blocks with which services/functions can be carried out on the I/O devices (fieldbus master or slave).

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 box AmsNetId 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 device AmsNetId knowing the device ID

IOF_GetDeviceType

Read the device type knowing the device ID

IOF_GetDeviceInfoByName

Determine the device ID and the AmsNetId by the device indentifier.

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 fibre 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 the Sercos drive parameter

IOF_SER_IDN_Write

Write the Sercos drive parameter

IOF_SER_DRIVE_Backup

Backup and restore drive parameter to/from file

IOF_SER_DRIVE_BackupEx

Backup and restore drive parameter to/from file (extended functionality)

IOF_SER_DRIVE_Reset

Sercos drive reset (parameter S-0-0099 (IDN99))

Profibus DPV1 (Sinamics)

Name

Description

F_CreateDpv1ReadReqPkg

Creates a DPV1 Read telegram

FB_Dpv1Read

Sends a DPV1 Read telegram

F_SplitDpv1ReadResPkg

Splits a DPV1 Read telegram

F_CreateDpv1WriteReqPkg

Creates a DPV1 Write telegram

FB_Dpv1Write

Sends a DPV1 Write telegram

F_SplitDpv1WriteResPkg

Splits a DPV1 Write telegram

Profinet DPV1 (Sinamics)

Name

Description

F_CreateDpv1ReadReqPkgPNET

Creates a DPV1 Read telegram

FB_Dpv1ReadPNET

Sends a DPV1 Read telegram

F_SplitDpv1ReadResPkgPNET

Splits a DPV1 Read telegram

F_CreateDpv1WriteReqPkgPNET

Creates a DPV1 Write telegram

FB_Dpv1WritePNET

Sends a DPV1 Write telegram

F_SplitDpv1WriteResPkgPNET

Splits a DPV1 Write telegram

NOV/DP-RAM

Name

Description

FB_NovRamReadWrite

Read/Write NOV/DP-RAM

FB_NovRamReadWriteEx

Read/Write NOV/DP-RAM. Proofs if a special access type to memory is necessary and copies the data in the correct way.(e.g access to CX_9000 NOV-RAM).

FB_GetDPRAMInfo

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

AX200x Profibus

Function blocks for access to the AX20XX 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.

Bus Terminal configuration

Name

Description

FB_KL1501Config

Configuration of a KL1501.

FB_KL27x1Config

Configuration of a KL2751 or KL2761.

FB_KL320xConfig

Configuration of a KL3201, KL3202 or KL3204.

FB_KL3208Config

Configuration of a KL3208.

FB_KL3228Config

Configuration of a KL3228.

Third party 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

Confirms peripheral errors of all Interbus devices

ads-tec

Name

Description

FB_ReadAdsTecSysData

Reads the system and diagnostic data