Iii-5 signal converters 114, Iii-5.1 aoctet (data type conversion (no. 02)) 114, Aoctet 114 – West Control Solutions KS98-1 User Manual

Page 114: Data type conversion 114, Iii-5 signal converters, Iii-5.1 aoctet (data type conversion (no. 02))

Advertising
background image

III-5

Signal converters

III-5.1

AOCTET (data type conversion (No. 02))

Function AOCTET converts an analog value (X1) into the individual bytes (Ooct1-4) of a data type as used e.g. for trans -
mission via the CAN bus ( see CPREAD / CPWRIT ). In the CAN notation, the bytes are transmitted in Intel format. Un -
less connected instruments are in compliance with this notation, word or bytewise echange of the bytes may be
necessary.

The function works in both directions simultaneously ( analog > bytes / bytes > analog ) with separate data type adjust -
ment in the parameters.

Analog inputs:

X1

analog input value

Ioct1..4

analog input byte value 1

Analog outputs:

Y 1

analog output value

Ioct1..4

analog output byte value 1

Parameters:

Parameter

Description

Value range

Default

Ioct

data type of analog > byte conversion

0...999 999 [s]

0

Ooct

data type of byte > analog conversion

The following data types are available

0

1

2

3

4

5

6

Uint8

Int8

Uint16

Int16

Uint32

Int32

Float

9499-040-82711

Signal converters

AOCTET (data type conversion (No. 02))

III-114

Advertising