3. Instruction Set

API

 

Mnemonic

Operands

Function

 

 

 

 

 

 

178

 

D

SPA

 

Solar Panel

 

 

Positioning

 

 

 

 

 

Controllers

ES2/

SS2

SA2

SX2

SE

EX2

 

 

 

 

Type

Bit Devices

 

Word devices

 

 

 

 

Program Steps

OP

X

Y

M

S

K

H KnX KnY KnM KnS T

C

D

E

F

DSPA: 9 steps

S

 

 

 

 

*

*

 

*

 

 

 

D

 

 

 

 

 

 

 

*

 

 

 

 

 

 

 

 

 

PULSE

 

 

16-bit

 

32-bit

 

ES2/

SS2

SA2

SX2

SE

ES2/

SS2

SA2

SX2

SE

ES2/

SS2

SA2

SX2

SE

 

EX2

EX2

EX2

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

Please enter the

 

 

 

 

 

correct time of the local

S + 1

Month

1

~ 12

Word

 

 

 

 

 

longitude. Please refer

S + 2

Day

1

~ 31

Word

 

 

 

 

 

to DTM (parameter 11)

S + 3

Hour

0

~ 23

Word

 

 

 

 

 

for the conversion

S + 4

Minute

0

~ 59

Word

 

 

 

 

 

formula. A simple

S + 5

Second

0

~ 59

Word

 

 

 

 

 

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~

Float

Unit: meter

 

 

6500000

 

 

 

 

 

 

 

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

 

± 5

Float

 

 

sunrise and sunset

 

 

 

 

 

 

 

 

 

 

S +26~207

Reserved for system operation

 

 

 

 

 

 

 

 

 

 

3 - 4 0 3

Page 519
Image 519
Delta DVP-ES2/EX2/SS2/SA2/SX2/SE manual Api, Spa