EasyManuals Logo

COTRUST CTH200 Series User Manual

COTRUST CTH200 Series
350 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #333 background imageLoading...
Page #333 background image
CTH200 Series PLC User Manual
323
communication mode for program easy to read. Detailed description shows as following table:
SM2 bit
Function description(read only)
SMB2
This byte includes every character of port 0 or 1 in FPORT communication
SMB3: FPORT odd-even parity error
SMB3 is used to display FPORT parity errors. In FPORT communication mode, set SM3.0 1
when detecting checksum error in the received character. Normally, use this bit to detect FPORT
information characters for transmission errors before the program receives and reads the
information character values stored in SMB2. Detailed description is shown in the following table:
SMB3 bit
Function description(read only)
SM3.0
This bit indicates if there is parity error in port 0 and 1
0: No error, 1: Error
SM3.1~SM3.7
Reserved
SMB4: Queue overflow
SMB4 contains interrupt queue overflow bits, whether interrupts allow flag bits, send idle bits,
and whether mandatory flag bits exist. Queue overflow indicates either that interrupts occur more
frequently than the CPU, or it has been disabled by the global interrupt forbidden instruction.
Detailed description is shown in the following table:
SMB4 bit
Function description(read only)
SM4.0
Turned on when the communication interrupt queue overflows. Reset
when the queue is empty and control returns to the main program, use
only in interrupt routine
SM4.1
Turned on when the input interrupt queue overflows. Reset when the
queue is empty and control returns to the main program, use only in
interrupt routine
SM4.2
Turned on when the timing interrupt queue overflows. Reset when the
queue is empty and control returns to the main program, use only in
interrupt routine
SM4.3
Turn on when detecting run time program error
SM4.4
This bit reflects the global interrupt enabled state, turn on when interrupts
are enabled.
SM4.5
Turn on when port 0 transmitter in idle
SM4.6
Turn on when port 1 transmitter in idle
SM4.7
Turn on when any memory position is forced
SMB5: I/O status
SMB5 contains the I/O error status bits in the system. Which provide information about the I/O
errors, as detailed in the following table:
SMB5 bit
Function description(read only)
SM5.0
Set 1 when I/O error
SM5.1
Set 1 when I/O bus connected too many digital I/O
SM5.2
Set 1 when I/O bus connected too many analog I/O
SM5.3
Set 1 when I/O bus connected too many intelligent I/O modules
SM5.4~SM5.7
Reserved

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the COTRUST CTH200 Series and is the answer not in the manual?

COTRUST CTH200 Series Specifications

General IconGeneral
BrandCOTRUST
ModelCTH200 Series
CategoryController
LanguageEnglish