IFM O3D300 Instrucciones De Uso página 77

Sensor de visión 3d
Tabla de contenido

Publicidad

Idiomas disponibles

Idiomas disponibles

Sensor de visión 3D
Get statistics
This command retrieves the current statistics. The content of the producing assembly mandatory data
section is:
● Bytes 0-3: total readings since application start
● Bytes 4-7: passed readings
● Bytes 8-11: failed readings
All values are 32 bit unsigned integers.
Default endianness
The default endianness is in little-endian format.
Activate application
This command activates the application defined by the bytes 6 and 7 of the consuming assembly data
section. The bytes 2-5 have to be set to 0. An error is risen if bytes 2-5 are not set to 0.
The data content of the processing assembly is set to 0.
ES
Get application list
This command retrieves the current configuration list. The content of the producing assembly mandatory
data section is:
● Bytes 0-3: total number of saved applications, 32 bit unsigned integer
● Bytes 4-7: number of active application, 32 bit unsigned integer
● Bytes 8-n: always a 32 bit unsigned integer for an application number in use
Get IO state
Retrieves the logic state of the given IO identifier. Bytes 4 and 5 of the consuming assembly data section
defines the IO ID as a 16 bit unsigned integer value:
● 1 -> IO1
● 2 -> IO2
● 3 -> IO3
The bytes 2-3 and 6-7 have to be set to 0. An error is risen if bytes 2-3 or 6-7 are not set to 0.
The data content of the processing assembly is:
● Bytes 0-3: logic state of the IO, 1 for high, 0 for low, 32 bit unsigned integer
Set IO state
This command sets the given state of the given IO. Bytes 4 and 5 of the consuming assembly data
section defines the IO ID as a 16 bit unsigned integer value:
● 1 -> IO1
● 2 -> IO2
● 3 -> IO3
The bytes 6 and 7 define the logic state of the IO as 16 bit unsigned integer value.
The bytes 2-3 have to be set to 0. An error is risen if bytes 2-3 are not set to 0.
The data content of the processing assembly is set to 0.
77

Publicidad

Tabla de contenido
loading

Este manual también es adecuado para:

O3d302O3d310O3d312

Tabla de contenido