Please enable JavaScript to view this site.

This function allows reading a data area from a known master IOlink (AXL_SE_IOL4).

NOTE: In RDE, to date, there is no IOlink configurator.

Syntax

i32 axio_iol_r (i32 rid, i32 slot, i32 buff[], i32 buffSize)

rid

Robox ID

slot

Device location (1-:-63)

buff

Array of i32 where IOlink data will be read

buffSize

Size in number of bytes of buff

Result

Returns:

Value

Description

> 0

Operation performed successfully

-1

Illegal parameter: red

-2

Illegal parameter: slot

-3

Illegal parameter: non-IOlink slot

-4

Illegal parameter: buff == NULL

-5

Read error

Validity

Task

Note

To understand the rid and slot parameters associated with modules, read the 'Configuration' section of axioline communication.

The contents and actual length of the buffer depend only on the devices connected to the IOlink master.

The meaning and format of individual data also depend only on the connected devices

 

  

Keyboard Navigation

F7 for caret browsing
Hold ALT and press letter

This Info: ALT+q
Page Header: ALT+h
Topic Header: ALT+t
Topic Body: ALT+b
Contents: ALT+c
Search: ALT+s
Exit Menu/Up: ESC