RTS WM300 Especificaciones Pagina 58

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 67
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 57
Chapter 2 Specification of Communication port for CPU module
2 – 44
(b) Program in the slave station side (slave station No. 2)
R7E3
WR4001 = 2
WL0 (WR4001) = WR4001
R7E3
WM3 = H0
DM4 = ADR( WM200 )
WM6 = 32
DM7 = ADR( WM300 )
WM9 = 32
WMA = H0
WMB = H8002
WMC = H800D
WMD = H6
WME = H6
(00001)
Sets the own station No. to 2.
(WL0 +Own station No.)Sets the own
station No.
(00002)
Time out: None
Specifying head in transmission area: WM200
Transmission area size: 32-word
Specifying head in receiving area: WM300
Receiving area size: 32-word
Receiving data length: Not specified
Start code: 02H
End code: 0DH
Transmission speed: 19.2kbps
Transmission format: 8-bit, Even-numbered
parity, 1 stop bit
(00003)
R200 = 1
R301 = 0
(00006)
Starts up RECV 0 only when TRNS 0
has been completed successfully or
during the first scan after RUN.
RECV0 ( WM0, R200 )
R7E3
WR3 = H0
DR4 = ADR( WR200 )
WR6 = 32
DR7 = ADR( WR300 )
WR9 = 32
WRA = H0
WRB = H8002
WRC = H800D
WRD = H6
WRE = H6
(00004)
Time out: None
Specifying head in transmission area: WR200
Transmission area size: 32-word
Specifying head in receiving area: WR300
Receiving area size: 32-word
Receiving data length: Not specified
Start code: 02H
End code: 0DH
Transmission speed: 19.2kbps
Transmission format: 8-bit, Even-numbered
parity, 1 stop bit
(00005)
TRNS0 ( WR0, R300 )
R301
R7E3
DIF
WR4000 = WM301 AND HFF
R100 = WR4000 == WR4001
CJMP 0 (R100)
CAL 0
LBL 0
R201 = 0
(00007)
Stores the station No. for transmission o
f
the master station.
Calls subroutine 0 if the station No. does
not match the own station No.
R201
DIF
WR200 = 5
WR201 = H200 OR WR4001
WR202 = WL0 (WR4001)
WR203 = HD00
R400 = 1
R100 = 0
R100
(00008)
Sets the transmission data.
Number of transmission bytes: 5 bytes
Sets the start code and the own station
No.
Sets the value of (WL0+Station No.) to
the transmission data
Vista de pagina 57
1 2 ... 53 54 55 56 57 58 59 60 61 62 63 ... 66 67

Comentarios a estos manuales

Sin comentarios