background image

Subject to modifications.

© Vestamatic GmbH

Art.-Nr.: 

3060 001 GB 4518 A06  •  Vestamatic GmbH  •  Dohrweg 27  •  D-41066 Mönchengladbach 

 •  www.vestamatic.com

6/10

G

IF SMI RS-485 DIN

6.3.13 MSG_SMI_TUNNEL

This message is used to send a SMI message directly to the SMI bus. 

Detailed knowledge in SMI protocol is required to use this command.

Message:

 

[SID] / [LEN] / [CMND] / [SMIMSG0] /… / [SMIMSGn] / 

[CRC16] 

[SMIMSG0..

n

]:  SMI message data to send directly to SMI bus. The [LEN] 

parameter defines the number of SMIMSG data bytes ex-

pected.

Response:

 

[SID] / [LEN] / [CMND] / [RTYP] / [SMI_CMND] / [DATA0] 

/… / [DATAm] / [CRC16]

[RTYP]: 

Response type:

 

0xFF:  SMI message send successfully and accepted by 

addressed motor(s).

 

0xE0:  Error occurred. [DATA0] contains error code:

 

 

0x01:  checksum error

 

 

0x02:  format error

 

 

0x03:  echo error

 

 

0x04:  data overflow

 

 

0x05:  timeout error

   

0xEF:  SMI message send successfully and 

response is in [DATA0..m]

[SMI_CMND]:  SMI command to which this response belongs.
[DATA0..

m

]: 

Additional data for response type 0xE0 and 0xEF.

6.3.14 MSG_GW_OPTIONS

This message is used to request current gateway options or to set the 

gateway options.

Set gateway options

Message:

 

[SID] / [LEN] / [CMND] / [OPTIONS] / [CRC16] 

[OPTIONS]: 

Gateway options:

 

bit 0:  RS485 error feedback enabled flag

 

bit 1:  Cycle logging in EEPROM enabled flag

 

bit 2-3:  –

 

bit 4:  RS485 error feedback flag state after power-up

 

bit 5:  Cycle logging enabled flag state after power-up

 

bit 6-7:  –

Response:

 

[SID] / [LEN] / [CMND] / [OPTIONS] / [CRC16]

[OPTIONS]: 

Stored gateway options. See gateway options layout as 

described above.

REMARK:

 

Cycle logging is by default disabled, meaning that the 

gateway does not keep track of the number of motor 

 cycles performed by each SMI motor. 

For RS485 error feedback, see chapter 6.3.15 MSG_ERROR.

Request gateway options

Message:

 

[SID] / [LEN] / [CMND] / [CRC16] 

Response:

 

[SID] / [LEN] / [CMND] / [OPTIONS] / [CRC16]

[OPTIONS]: 

Stored gateway options. 

See gateway options layout as described above.

 

Default gateway options: 0x00

6.3.15 MSG_ERROR

This message is used to request the error log or used as a feedback mes-

sage to host, when an error occurred during RS485 communication.

Request error log

Message:

  [SID] / [LEN] / [CMND] / [CRC16] 

Response:

  [SID] / [LEN] / [CMND] / [ERR0] / … / [ERR4] / [CRC16]

[ERR0..4]:  Contents of error log, where [ERR0] is the most recent  error 

and [ERR4] is the oldest error in the log.

 

Error code description:

 

0x00 = no error

 

0x01 = RS485 framing error

 

0x02 = RS485 timing error

 

0x03 = RS485 data overflow error

 

0x04 = RS485 CRC error

 

0x05 = RS485 command error 

     (not supported or invalid length)

 

0x06 = RS485 busy (not able to process new command)

 

0x07 = SMI format error

 

0x08 = SMI checksum error

 

0x09 = SMI timing error

 

0x0A = SMI data overflow

 

0x0B = SMI echo error

 

0x0C = SMI queue full error

Error feedback

When during RS485 communication an error is detected by the gateway 

and “RS485 error feedback” is enabled (see chapter 6.3.14 Set gateway 

options), an error response is send to host.

Response:

  [SID] / [LEN] / [CMND] / [ERR] / [CRC16]

[CMND] 

MSG_ERROR (= 0xE0)

[ERR] 

Error code indicating the type of error occurred:

 

0x00 = no error

 

0x01 = RS485 framing error

 

0x02 = RS485 timing error

 

0x03 = RS485 data overflow error

 

0x04 = RS485 CRC error

 

0x05 = RS485 command error 

     (not supported or invalid length)

 

0x06 = RS485 busy (not able to process new command)

REMARK:

  An error feedback is send back, when an error is detected and 

at least the first 2 bytes of the original RS485 message were 

received correctly.

6.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

Summary of Contents for IF SMI RS-485 230 VAC-DIN

Page 1: ...hould spread high value solutions and promote drives and controls on the market The applications in roller shutters and sun protection systems require extreme robustness and economic efficiency SMI ha...

Page 2: ...Long press Modify current base address Double press Show error log UP DOWN button In main menu Steer all attached SMI motors UP DOWN In address menu Increase Decrease base address Error log menu Show...

Page 3: ...n twice within 1 second The text Er is briefly visible to indicate that the error log is shown Next the last occurred error is shown blinking By pressing the UP button the previous occurred error will...

Page 4: ...3 1 MSG_UP This message is used to move all or a set of sun blind to the top position 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 t...

Page 5: ...0 Manufacturer ID See SMI Group website for actual list Bit7 4 Motor type An indication from 0 to 15 which each SMI motor manufacturer can freely use to identify their SMI motor type REMARK An Manufac...

Page 6: ...G_ERROR Request gateway options Message SID LEN CMND CRC16 Response SID LEN CMND OPTIONS CRC16 OPTIONS Stored gateway options See gateway options layout as described above Default gateway options 0x00...

Page 7: ...of 16 bit intermediate position 2 POS1 MSB of 16 bit intermediate position 2 6 4 1 MSG_VERSION This message is used to check to version number of the application Message SID LEN CMND CRC16 Response SI...

Page 8: ...lt information uses a manufacturer specific SMI command which is currently only supported by Vestamatic SMI motors For non Vestamatic SMI motors TILT value 0x00 is returned CYCLE0 3 32 bits cycle coun...

Page 9: ...n be set from 0 to 15 Next press a command button like GET_SERIAL GET_PARAM SET_SMI_ID GET_POS1 SET_POS1 GET_POS2 SET_POS2 or GETDETSTAT REMARK Some commands need additional parameters See section 6 P...

Page 10: ...GmbH Art Nr 3060 001 GB 4518 A06 Vestamatic GmbH Dohrweg 27 D 41066 M nchengladbach www vestamatic com 10 10 G IF SMI RS 485 DIN 8 1 Wiring diagram IF SMI RS 485 24VDC DIN 8 2 Wiring diagram IF SMI R...

Reviews: