Important: Cet article est une traduction automatique réalisée par un logiciel. Le texte original peut être lu ici. SBC fournit ces informations sans garantie de l’exactitude ou de la fonctionnalité et n’assume pas la responsabilité de la traduction.

Je peux détecter le signal CTS sur le port 3 d'un PCD3.M5340 (en mode RS422) ?

FAQ #101170

Oui, c'est possible avec la version firmware 1.10.15 et versions ultérieures.

With firmware version 1.10.15 and later, it is possible reading the CTS signal from port 3 in case RS422 is used on this port. The CTS signal can be read by executing the SICL instruction (it is also possible if the port is assigned and if the port is not assigned).
Additionally, it is possible writing the RTS and the COM signal using the SOCL instruction (again, only if RS422 is used).

Remark
Please note that the CTS does not exist on RS485 and therefore it can not be read, either.

 

Port

Type

Mode

Assigned

(SASI)

SICL

SOCL

RS-232

RS-422

RS-485

MC 0

MC 1

MC 2

MC 4/5

 

0
CTS

1

DSR

2

DCD

0

RTS

1

DTR

2

COM

# 0

image

-

-

image

image

-

image

No

image

image

image

-

-

-

yes

image

image

image

image

image

-

# 1

image

image

image

image

image

image

image

No

image

image

image

-

-

-

yes

image

image

image

image

image

image

# 2

-

-

image

 

-

-

-

image

No

-

-

-

-

-

-

yes

-

-

-

-

-

-

# 3

-

image

*

image

image

*

image

*

-

image

No

image

*

-

-

-

-

-

yes

image

*

-

-

image

*

-

image

*

# 1xx

image

image

image

image

image

image

image

No

image

image

image

-

-

-

yes

image

image

image

image

image

image


*) HW dependant (only on PCD3.M5340)

Catégories: PCD3 / Mxxx

Dernière mise à jour : 19.05.2015 06:03 · Première publication : 24.03.2009 16:04 · Consultations : 876