background image

Subject to modifications.

© Vestamatic GmbH

Ar

t.-Nr

.:

85301221 E1  •  

V

estamatic GmbH  •  Dohrw

eg 27  •  D-41066 Mönchengladbach  •  www

.v

estamatic.com

IF SMI RS-485

4/ 7

G

5.3.10  MSG_GOTO_POS1

This message is used to move all, or a set of venetian blinds, to inter-
mediate position 1.
Message: [SID] / [LEN] / [CMND] / [MSK0] / [MSK1] / [CRC16]
[MSK0]:

LSB of 16-bit mask to select motor address 0..7.

[MSK1]:

MSB of 16-bit mask to select motor address 8..16.

The IF SMI RS-485 module responds to this request with a general status
message MSG_GETGENSTAT. The position of each sun blind can be
obtained by the detailed response message MSG_GETDETSTAT.

5.3.11  MSG_GOTO_POS2

This message is used to move all, or a set of venetian blinds, to inter-
mediate position 2.
Message: [SID] / [LEN] / [CMND] / [MSK0] / [MSK1] / [CRC16]
[MSK0]:

LSB of 16-bit mask to select motor address 0..7.

[MSK1]:

MSB of 16-bit mask to select motor address 8..16.

The IF SMI RS-485 module responds to this request with a general status
message MSG_GETGENSTAT. The position of each sun blind can be
obtained by the detailed response message MSG_GETDETSTAT.

5.4 Maintenance commands

#define MSG_VERSION

0x20

#define MSG_AUTO_ADDR

0x21

#define MSG_GET_SER

0x22

#define MSG_SET_SMIID

0x23

#define MSG_GET_PAR

0x24

#define MSG_GET_POS1

0x28

#define MSG_SET_POS1

0x29

#define MSG_GET_POS2

0x2A

#define MSG_SET_POS2

0x2B

5.4.4  MSG_SET_SMIID

This message is used to set the SMI ID of a specific sun blind address by
its serial number.

Message: [SID] / [LEN] / [CMND] / [SER0] / … / [SER3] / [SMIID] / [MAN] / 

[CRC16]

[SER0..3]: The serial number of the specified SMI motor.

The serial number is always 4 bytes.

[SMIID]:

SMI address of motor (0..15) to set.

[MAN]:

Manufacturer ID of SMI motor. Manufacturer ID for a Vestamatic
motor is 6.

Response: [SID] / [LEN] / [CMND] / [SER0] / … / [SER3] / [SMIID] / [MAN] /

[CRC16]

[SER0..3]: The serial number of the specified SMI motor.
[SMIID]:

SMI address of motor (0..15). When high-nibble if SMI ID is 
0xF0, an error occurred during SMI ID set.

[MAN]:

Manufacturer ID of SMI motor.

It can take up to 60 seconds before the GETGENSTAT response is updated
with the new SMI ID.

5.4.5  MSG_GET_PAR

This message is used to get the value of any private protected parameters
of a specific motor.

Message: [SID] / [LEN] / [CMND] / [SMIID] / [PAR0] / [PAR1] / [PLEN] / 

[CRC16]

[SMIID]:

SMI address of motor (0..15)

[PAR0..1]: Index of the motor parameter.
[PLEN]:

Length of parameter (1, 2 or 4 bytes)

Response: [SID] / [LEN] / [CMND] / [SMIID] / [VAL0] / … / [VALn] /

[CRC16]

[SMIID]:

SMI address of motor (0..15)

[VAL0..n]: Parameter value (1, 2 or 4 bytes in size)

5.4.6  MSG_GET_POS1

This message is used to get (read) the stored intermediate position 1.

Message: [SID] / [LEN] / [CMND] / [SMIID] / [CRC16]

[SMIID]:

SMI address of motor (0..15)

Response: [SID] / [LEN] / [CMND] / [SMIID] / [POS0] / [POS1] / [CRC16]

[SMIID]:

SMI address of motor (0..15).
When high-nibble of SMI address is 0xF0, an error occurred
during GET_POS1.

[POS0]:

LSB of 16-bit intermediate position 1.

[POS1]:

MSB of 16-bit intermediate position 1.

The intermediate position value is defined as below:

0x0000 is the top position (0%).
0x8000 is the middle position (50%).
0xFFFF is the bottom position (100%).

5.4.7  MSG_SET_POS1

This message is used to set (write) intermediate position 1.

Message: [SID] / [LEN] / [CMND] / [SMIID] / [POS0] / [POS1] / [CRC16]

[SMIID]:

SMI address of motor (0..15)

[POS0]:

LSB of 16-bit intermediate position 1.

[POS1]:

MSB of 16-bit intermediate position 1.

Response: [SID] / [LEN] / [CMND] / [SMIID] / [POS0] / [POS1] / [CRC16]

[SMIID]:

SMI address of motor (0..15).
When high-nibble of SMI address is 0xF0, an error occurred 
during SET_POS1.

[POS0]:

LSB of 16-bit intermediate position 1.

[POS1]:

MSB of 16-bit intermediate position 1.

5.4.1  MSG_VERSION

This message is used to check to version number of the application.

Message: [SID] / [LEN] / [CMND] / [CRC16]

Response: [SID] / [LEN] / [CMND / [HARD] / [VMAJ] / [VMIN] / [REV] / 

[CRC16].

[HARD]:

An alphanumeric char to identify the hardware platform.

[VMAJ]:

The major software version number (from 0 to 255).

[VMIN]:

The minor software version number (from 0 to 255).

[REV]:

An alphabetic char to identify the internal revision letter
(from A to V), X is reserved for specific test software version.

5.4.2  MSG_AUTO_ADDR

This message is used to start the SMI auto address procedure. Motor
address conflicts will be solved and every motor becomes an unique
address (0..15). This procedure can take up to 60 seconds to solve all the
address conflicts.

Message: [SID] / [LEN] / [CMND] / [CRC16]

The IF SMI RS-485 module responds to this request with a general status
message MSG_GETGENSTAT.

5.4.3  MSG_GET_SER

This message is used to return the serial number and the SMI ID of a
specific sun blind.

Message: [SID] / [LEN] / [CMND] / [SMIID] / [CRC16]

[SMIID]:

SMI address of motor (0..15)

Response: [SID] / [LEN] / [CMND] / [SMIID] / [SER0] / … / [SER3] /

[CRC16]

[SMIID]:

SMI address of motor (0..15)

[SER0..3]: The serial number of the specified SMI motor. The serial number

is always 4 bytes.

Содержание IF SMI RS-485 Series

Страница 1: ...e SMI has been de veloped for the connection of intelligent drives for roller shutters and sun protection systems SMI enables to transmit telegrams from control system to the drive and vice versa With...

Страница 2: ...ave ID LEN Message length without CRC CMD Command byte DATA Optional data bytes CRC16 16 bits checksum LSB first The IF SMI RS 485 module has 4 DIP switches which represents the base address of the mo...

Страница 3: ...of steps 1 255 in DOWN direction 1 step is defined as 2 rotation of the output shaft of the SMI motor The IF SMI RS 485 module responds to this request with a general status message MSG_GETGENSTAT Th...

Страница 4: ...15 PAR0 1 Index of the motor parameter PLEN Length of parameter 1 2 or 4 bytes Response SID LEN CMND SMIID VAL0 VALn CRC16 SMIID SMI address of motor 0 15 VAL0 n Parameter value 1 2 or 4 bytes in siz...

Страница 5: ...16 bit intermediate position 2 5 5 Status commands define MSG_GETGENSTAT 0xA0 define MSG_GETDETSTAT 0xA1 5 5 1 MSG_GETGENSTAT This message requests the general status of the system Message SID LEN CMN...

Страница 6: ...ID based com mands The motor you want to address can be selected with the spin edit box in the dark gray part behind Motor ID Motor ID can be set from 0 to 15 Next press a command button like GET_SERI...

Страница 7: ...ifications Vestamatic GmbH Art Nr 85301221 E1 Vestamatic GmbH Dohrweg 27 D 41066 M nchengladbach www vestamatic com IF SMI RS 485 7 1 Wiring diagram IF SMI RS 485 LoVo 7 2 Wiring diagram IF SMI RS 485...

Отзывы: