diff --git a/index.html b/index.html index f1d3f8b..f3aa655 100644 --- a/index.html +++ b/index.html @@ -426,14 +426,14 @@
defines a Turntable device
turntable_id – ??? TODO ???
home – ??? TODO ???
description... – Quotyed text description of turntable
turntable_id
homeAngle – the angle of the home position, valid angles are 0 - 3600
description... – Quoted text description of turntable
??????????????????????
+This statement will create the EX‑Turntable turntable/traverser object only, so you will need a separate HAL() statement for an EX‑Turntable device driver.
id
turntable_id
vpin
home
homeAngle – the angle of the home position, valid angles are 0 - 3600
description...
????????????????????????????????????????
+IFRE(vpin, value)Checks external rotary encoder value.
sensor_id
vpin – of device driver for rotary encoder
value
???????????????????
+MOVETT(turntable_id, steps, activity)Move Turntable to specific position.
+See also
+ +id
steps
activity
turntable_id
steps – position to move to
activity – see ROTATE
??? something strange in RotaryEncoder HAL…
+ONCHANGE(vpin)Toratry encoder change starts task here (This is obscurely different from ONSENSOR which will be merged in a later release.)
Start task here when sensor changes state (debounced)
sensor_id
vpin
Start task here when sensor changes HIGH to LOW.
sensor_id
vpin
id
pin
turnout_id
vpin
description... – Quoted text (shown to throttles) or HIDDEN
Loads stashed value into current task loco.
+See also
+ +id – position in stash where a loco id was previously saved.
stash_id – position in stash where a loco id was previously saved.
????
+Rotates a turntavble top a given position.
turntable_id
position
activity
position_id
activity – Turn // Rotate turntable, maintain phase Turn_PInvert // Rotate turntable, invert phase Home // Initiate homing Calibrate // Initiate calibration sequence LED_On // Turn LED on LED_Slow // Set LED to a slow blink LED_Fast // Set LED to a fast blink LED_Off // Turn LED off Acc_On // Turn accessory pin on Acc_Off // Turn accessory pin off
????
+ROTATE_DCC(turntable_id, position_id)Rotates turntable to given position using DCC commands.
turntable_id
position
position_id
vpin – of servo
position – servo poisition (values are hardware dependent)
position – servo position (values are hardware dependent)
profile – movement profile (Instant, Fast, Medium, Slow, Bounce)
vpin – of servo
position – servo poisition (values are hardware dependent)
position – servo position (values are hardware dependent)
duration – mS
vpin – of servo, acts as signal_id
redpos – servo poisition (values are hardware dependent)
amberpos – servo poisition (values are hardware dependent)
greenpos – servo poisition (values are hardware dependent)
redpos – servo position (values are hardware dependent)
amberpos – servo position (values are hardware dependent)
greenpos – servo position (values are hardware dependent)
turnout_id – used by THROW/CLOSE
vpin – for servo
activeAngle – servo poisition (values are hardware dependent)
inactiveAngle – servo poisition (values are hardware dependent)
activeAngle – servo position (values are hardware dependent)
inactiveAngle – servo position (values are hardware dependent)
profile – movement profile (Instant, Fast, Medium, Slow, Bounce)
description... – Quoted text shown to throttles or HIDDEN keyword to hide turnout button
track – A..H
mode – ???names???
mode – NONE, MAIN, PROG, DC, EXT, BOOST, BOOST_INV, BOOST_AUTO, MAIN_INV, MAIN_AUTO, DC_INV, DCX
track – A..H
onoff – ??? values ???
onoff – ON or OFF
freq – ??????????? values ??????
freq – Frequency is default 0, or 1..3
Define a Signal with LOW=on leds (is that common annode???)
+Define a Signal with LOW=on leds.
See also
@@ -2172,16 +2182,16 @@Defines a turntable track position.
turntable_id
position – ??????????
value
angle
description...
position_id – each position is given an id
address – DCC accessory address
angle – Used only for throttles that may draw a visual representation of the turntable
description... – quoted text or HIDDEN
Defines a virtual (no hardware) signal.
+Defines a virtual (no hardware) signal, use ONhandlers to simulate hardware.
+ +Defines a virtual (no hardware) turnout.
+Defines a virtual (no hardware) turnout, use ONhandlers to simulate hardware.
+ +turnout_id
description...
description... – quoted text or HIDDEN