OutputDataFormat Property (DioFileBoard)

Applies To

GX5055

Purpose

Sets or returns the channel output data format.

Syntax

Object.OutputDataFormat (dioDataFormat)

Or

[dioDataFormat = ]Object.OutputDataFormat

 

The OutputDataFormat property syntax has the following parts:

Name
Type
Description
Object
DioFileBoard
DioFileBoard object.
dioDataFormat
enumDioDataFormat
Integer specifying the Output data forma.

Where

enumDioDataFormat can be one of the following:

 

Name
Value
Description
dioDataFormatNoReturn
0
No Return, the output logic level stay either high or low for the duration of the clock period.
dioDataFormatReturnToZero
1
Return to Zero. The signal returns to zero between consecutive data clocks at 50% of the specified output frequency clock duty cycle. This takes place even if a number of consecutive 0's or 1's occur in the signal. The signal is self clocking and does not require any additional settings.
dioDataFormatReturnToOne
2
Return to One. The signal returns to one between consecutive data clocks at 50% of the specified output frequency clock duty cycle. This takes place even if a number of consecutive 0's or 1's occur in the signal. The signal is self clocking and does not require any additional settings.
dioDataFormatReturnToHiZ
3
Return to Hi-Z .The signal returns to hi-z between consecutive data clocks at 50% of the specified output frequency clock duty cycle. This takes place even if a number of consecutive 0's or 1's occur in the signal. The signal is self clocking and does not require any additional settings.
dioDataFormatReturnToComplement

 4

Return to Complement (RC). In Return to Complement (also called Manchester code) each transmitted data bit has at least one transition at 50% of the specified output frequency clock duty cycle. It is, therefore, self-clocking, which means that a clock signal can be recovered from the encoded data. Return to Complement ensures frequent line voltage transitions, directly proportional to the clock rate, this helps clock recovery. Logic low is expressed by a low-to-high transition. Logic high is expressed by high-to-low transition. The transitions which signify logic high or low occur at the midpoint of a period, the direction of the mid-bit transition indicates the data.

Comments

Note: the channel data format will be applied to all the channels’ steps.

 

See Also

OutputDataFormat, OutputSlewRateBias, OutputSlewRateFallingEdge, OutputSlewRateRisingEdge, OutputVoltageHigh,  OutputVoltageLow