DUEMMEGI
MCP 4 – User's manual
Contatto
2.1.5- Address of MCP 4
Assign an address to MCP 4; allowed values: 1 to 255. It is mandatory when using MODBUS protocol.
ADDRESS
= (12)
2.1.6- Identifier of MCP 4
Assign an identification string to MCP 4 (max 63 characters).
ID
= (Building 1 controller)
2.1.7- Directive for the calculation of sunrise, sunset and sun position
MCP 4 can calculate every day the times of sunrise and sunset and the sun position (azimuth and elevation);
the calculated values will be loaded into 4 registers that must be defined through the
LOCALIZE
directive
here described. For these calculations, the data related to the position has to be provided to MCP 4
(Longitude and Latitude) together to the related time zone (e.g. for Italy this value is 1).
In addition, MCP 4 handles the virtual point
V2014
, activating it when the current time is inside the range
from sunrise to sunset, corrected, if needed, by an amount of minutes that can be declared in the
SUNRISE
and
SUNSET
parameters.
LOCALIZE
= ( \
LONGITUDE = 8.8638, \
LATITUDE = 45.3036, \
TIMEZONE = 1, \
SUNRISE = ( 0,
R1
), \
SUNSET = (0,
R2
), \
AZIMUTH =
R3
, \
ELEVATION =
R4
, \
)
where:
LONGITUDE
allowed values in the range -180.0000 to +180.0000
LATITUDE
allowed values in the range -90.0000 to +90.0000
TIMEZONE
in respect to Greenwich: allowed values in the range -12 to +12
SUNRISE
minutes to be added or subtracted to the sunrise time (in the range -127 to +127) and the
(optional) register reporting the calculated sunrise time
SUNSET
minutes to be added or subtracted to the sunset time (in the range -127 to +127) and the
(optional) register reporting the calculated sunset time
AZIMUTH
(optional) register reporting the azimuth of the sun; value in the range 0 to 360 reporting the
angular position of the sun in respect to North, measured clockwise in degrees. For instance,
azimuth=90 means that the sun is located to East
ELEVATION
(optional) register reporting the elevation of the sun; 2's complement value, the register
will contain a value 65446 to 65535 for negative values and 0 to 90 for positive values,
corresponding to a value in the range -90 to +90 reporting the position of the sun in respect to
the horizon, measured in degrees. A positive value means that the sun is above the horizon,
a negative value means that it is under the horizon. Elevation=0 means that the sun is exactly
at the horizon line
The times related to sunrise and sunset will be reported by the specified registers as value corresponding to
the number of minutes of the day starting from 0:00 (e.g.: 1439 = 23:59).
Note:
the 4 registers can be optionally declared; this means that, if the calculation of sunrise, sunset and sun
position is not required, these ones can be omitted; in this case the virtual point
V2014
will be however
handled.
DUEMMEGI
s.r.l. - Via Longhena, 4 – 20139 MILANO
Tel. 02/57300377 - Fax 02/55213686 –
www.duemmegi.it
Rel.: 1.2 October 2018
Page 11 of 87