Pilz ST SB DP S, SW paket PROFIBUS-DP Manual de usuario Pagina 39

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 43
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 38
PROFIBUS-DP-Slave Operating Manual 7-3
Appendix
OB 001
Comment: Segment 00
************************************************************************************
* Sample program *********************************************************
************************************************************************************
**
* 2 Words input data *
* 1 Word output data *
* 1 Word diagnostic data *
**
* Key to inputs / outputs: *
* E 02.00 triggers a module reset *
* E 02.01 Slave goes to a static diagnostic condition *
**
* Cyclical data transfer : *
* PSS -> Master(output data): *
* AW 0.0 -> DW 0128 -> Master *
**
* PSS <- Master(input data): *
* EW 1.0 <- DW 0000 <- Master *
* EW 1.16 <- DW 0001 <- Master *
**
* If an error occurs in the FS Section of the PSS (M113.01 = 1), *
* the slave module will go to a static diagnostic condition. *
* In the example, the value KH FFFF is sent to the Master as diagnostic *
* data. *
*************************************************************************************
:L E 02.00
:SPB = reset
:L E 02.01
:SPB = stat.diag
:L KF 000000
:T MB 000.00
:SPA = start
reset: Segment 01
:L KB 002
:T MB 000.00
:SPA = start
Vista de pagina 38
1 2 ... 34 35 36 37 38 39 40 41 42 43

Comentarios a estos manuales

Sin comentarios