logInport

Connection diagram

logInport
xm.setBoolean(...)       out
        invOut
         
 

Description

Port for a logic input signal. Output state can be preset with argument value to serve as source for a constant value.
Inports connect the machine to the JavaScript code of your Mozilla application.
Use method setBoolean (partId, value) of the Xm component interface to set the value of a logInport.
To keep the machine interface clear, you can only set the values of inports from JavaScript code.

valuePreset output state false: out preset to false (default)
 true: out preset to true

Inputs

Component has no inputs.
It is accessed from outside the machine by invoking setBoolean (partId, value) of the Xm component interface.

Outputs

out

Typeboolean

State of the port.

invOut

Typeboolean

Inverted function of output.