StepBit Method (DioBlock)

Applies To

GC5050, GX5050, GX5055, GX5150, GX5280, GX5290

Purpose

Set or return the specified step bit state.

Syntax

Object.StepBit (vStep, iBit, enDioPinState)

Or

[enDioPinState = ] Object.StepBit (vStep, iBit)

 

The StepBit method syntax has the following parts:

Name
Type
Description
Object
DioBlock
DioBlock object
vStep
Variant
Step number in the block as was defined by the Group object. Step number specified by either the step label or the step number.
iBit
INT
Step bit number 0 to max number of bits (channels).
enDioPinState
enumDioIgnoreStepPin
Bit state:
0 dioPinStateLow
1 dioPinStateHigh

 

See Also

StepData, Command