From OpenSCADAWiki
Jump to: navigation, search

Template IOs

Identifier Parameter Type Mode Attribute Configuration Value
transport Transport of the I2C, Serial String Input Not attribute Constant i2c
addr Device address [0...119] Integer Input Not attribute Constant 119
mode Mode Integer numbers selection Input Full access Variable 0

0;1
DS3231;DS1307

tm Date and time, YYYY-MM-DDTHH:mm:SS String Input Full access Variable
pSQW Enable SQUARE-WAVE OUTPUT Boolean Input Full access Variable
pSQWf
(dynamically updated)
SQUARE-WAVE OUTPUT frequency Integer Input Full access Variable
agOff
(dynamically created for DS3231)
Aging offset, [-128...127] Integer Input Full access Variable
t
(dynamically created for DS3231)
T, °С Real Input Read only Variable
p32k
(dynamically created for DS3231)
Enable 32768Hz Boolean Input Full access Variable
f_frq Function calculate frequency (Hz) Real Input Not attribute Variable 1000
f_start Function start flag Boolean Input Not attribute Variable 0
f_stop Function stop flag Boolean Input Not attribute Variable 0
f_err Function error String Input Not attribute Variable 0