3. Instruction Set
3-403
API Mnemonic Operands Function
178
D SPA Solar Panel
Positioning
Controllers
ES2/
EX2 SS2 SA2 SX2 SE
Bit Devices Word devices Program Steps Type
OP X Y M S K H KnXKnY KnM KnS T C D E F
S * * *
D *
DSPA: 9 steps
PULSE 16-bit 32-bit
ES2/
EX2 SS2 SA2 SX2 SE ES2/
EX2 SS2 SA2 SX2 SE
ES2/
EX2 SS2 SA2 SX2 SE
Operands:
S: Start device for input parameters D: Start device for output parameters
Explanations:
1. Operand S occupies 208 consecutive word registers. The function of each device is as below:
No. Content Range Format Note
S + 0 Year 2000 ~ Word
S + 1 Month 1 ~ 12 Word
S + 2 Day 1 ~ 31 Word
S + 3 Hour 0 ~ 23 Word
S + 4 Minute 0 ~ 59 Word
S + 5 Second 0 ~ 59 Word
Please enter the
correct time of the local
longitude. Please refer
to DTM (parameter 11)
for the conversion
formula. A simple
illustration is as in point
6.
S + 6~7 Time difference (Δt) (sec) ± 8000 Float
S + 8~9 Local time zone ± 12 Float West: negative
S + 10~11 Longitude ± 180 Float West: negative
Unit: degree
S + 12~13 Latitude ± 90 Float South: negative Unit:
degree
S + 14~15 Elevation 0~
6500000
Float Unit: meter
S + 16~17 Pressure 0 ~ 5000 Float Unit: millibar
S + 18~19 Mean annual temperature (MAT) -273~6000 Float Unit: °C
S + 20~21 Slope ± 360 Float
S + 22~23 Azimuth ± 360 Float
S + 24~25 Atmospheric refraction between
sunrise and sunset
± 5 Float
S +26~207 Reserved for system operation