Beijer-LOGO

Beijer ELECTRONICS NETRS2321P S-Bus Serial Ethernet

Beijer-ELECTRONICS-NETRS2321P-S-Bus-Serial-Ethernet -PRODUCT

 Introduzione

This manual describes how the SAIA controller is connected to the HMI and how they communicate via the protocol S-BUS Serial/Ethernet.
For information about the controller we refer to the manual for the current system.

 Note di rilascio

Vederesione Pubblicazione Descrizione
5.09 Settembre 2025 Aggiunto supporto per la nuova piattaforma HMI.
5.08 Novembre 2015 L'intervallo di MX è aumentato da 0..1274 a 0..3327. Risolto il problema di riconnessione.
5.07 Giugno 2017 Added support for new HMI models.
5.06 Giugno 2016 Added support for new HMI models.
5.05 Novembre 2013 Clarified cable drawing in helpfile.
5.04 Settembre 2011 Corrected problem when using more than one Ethernet controller.
5.03 Aprile 2011 Added unicode string support for certain HMI models. Updated help- file.
5.02 Settembre 2010 Support for more HMI models. Support for transparent mode. Cor- rected writing of negative values.
5.01 Gennaio 2009 Added Ethernet support.
5.00 Gennaio 2007 Versione iniziale.

Limitazioni

Transparent mode and Passthrough mode is only supported by S-BUS Mode Data.

Collegamento al controller

 Etereo

Connessione EthernetBeijer-ELECTRONICS-NETRS2321P-S-Bus-Serial-Ethernet - (1)

  • La connessione in una rete avviene secondo gli standard Ethernet.
  • Per estendere la rete è possibile utilizzare uno switch.
  • Per ulteriori informazioni sulle impostazioni del controller, sulle specifiche dei cavi e sulle informazioni sul collegamento del controller all'HMI, fare riferimento al manuale del controller attuale.

 Seriale
The connection can be of the types Point-to-Point or Multidrop.

NOTA
This driver requires RTS signal.

 Collegamento punto a puntoBeijer-ELECTRONICS-NETRS2321P-S-Bus-Serial-Ethernet - (2)

For this configuration, use cables listed below. See Communication Ports chapter for description of different HMI types.

Interfaccia uomo-macchina Cavo
PC Generic Female to Female 9-pin D-sub cable
X3 CAB104

 Multidrop Connection

Beijer-ELECTRONICS-NETRS2321P-S-Bus-Serial-Ethernet - (3)NOTA
CAB109 Y-Adapter cable can be used for X3 HMI’s if both RS232 and RS422 communication are to be used on the same physical communication port.

Porte di comunicazione
The following communication ports are available. Splitter cables can be used to connect multiple serial interfaces simultaneously, see chapter Cables.

PC

Male DB-9 Spillo Segnale
Beijer-ELECTRONICS-NETRS2321P-S-Bus-Serial-Ethernet - (4) 1 DCD
2 RxD
3 TxD
4 DTR
5 Terra
6 DSR
7 Servizio clienti
8 CTS
9 RI

X3 Panels With One DB9 Connector (COM)

COM
Fe- male DB9 Spillo Assegnazione pin della porta seriale
COM1 Alt 1 (RS-422) Alt 2 (2 × RS-485) Alt 3 (CAN + RS-485)
COM2 COM2 COM3 PUÒ 1 COM3
       Beijer-ELECTRONICS-NETRS2321P-S-Bus-Serial-Ethernet - (5) 1 RS-422TX+ RS-485 TX+/RX+ CAN1-H
2 Interfaccia RS-232
3 Trasmissione RS-232
4 RS-422RX+ RS-485 TX+/RX+ RS-485 TX+/RX+
5 Terra
6 RS-422 TX- RS-485 TX-/RX- CAN1-L
7 RS-232RTS
8 RS-232 CTS
9 RS-422 RX- RS-485 TX-/RX- RS-485 TX-/RX-

The connector supports up to three independent serial communication channels and can be configured for RS-232 together with:

  • RS-422 (alternative 1)
  • 2 × RS-485 (alternative 2)
  • CAN + RS-485 (alternative 3)

 X3 Panels With Two DB9 Connectors (COM A and COM B)

CON UN
Fe- male DB9 Spillo Assegnazione pin della porta seriale
COM1 Alt 1 (RS-422) Alt 2 (2 × RS-485) Alt 3 (CAN + RS-485)
COM2 COM2 COM3 PUÒ 1 COM3
Beijer-ELECTRONICS-NETRS2321P-S-Bus-Serial-Ethernet - (6) 1 RS-422TX+ RS-485 TX+/RX+ CAN1-H
2 Interfaccia RS-232
3 Trasmissione RS-232
4 RS-422RX+ RS-485 TX+/RX+ RS-485 TX+/RX+
5 Terra
6 RS-422 TX- RS-485 TX-/RX- CAN1-L
7 RS-232RTS
8 RS-232 CTS
9 RS-422 RX- RS-485 TX-/RX- RS-485 TX-/RX-

The connector supports up to three independent serial communication channels and can be configured for RS-232 together with:

  • RS-422 (alternative 1)
  • 2 × RS-485 (alternative 2)
  • CAN + RS-485 (alternative 3)
PETTINE
Femmina DB9 Spillo Assegnazione pin della porta seriale
Alt 1 (RS-485) Alt 2 (CAN) DIO
COM3 PUÒ 2
Beijer-ELECTRONICS-NETRS2321P-S-Bus-Serial-Ethernet - (7) 1 RS-485 TX+/RX+ CAN2-H
2 Ingresso digitale 1
3 Uscita digitale 1
4
5 Massa ISO
6 RS-485 TX-/RX- CAN2-L
7 Uscita digitale 2
8 Ingresso digitale 2
9 ISO VCC (+5 V / 100 mA max.)

NOTA

  • COM 3 can be placed on either the COM-A or the COM-B connector.
  • The DIO pins can be used in parallel to COM 3 or CAN 2.

Cavi
The following chapters describes the cables that can be used to connect to the controller.

 Generic Female to Female 9-pin D-sub Cable

Beijer-ELECTRONICS-NETRS2321P-S-Bus-Serial-Ethernet - (8)

 CAB104 Beijer-ELECTRONICS-NETRS2321P-S-Bus-Serial-Ethernet - (9)

CAB108

Beijer-ELECTRONICS-NETRS2321P-S-Bus-Serial-Ethernet - (10)

CAB109
Splitter cable when using a combination of R232 and RS422 communication. (Only for splitting connections)

Beijer-ELECTRONICS-NETRS2321P-S-Bus-Serial-Ethernet - (11)

 CAB150
Splitter cable when using a combination of RS232 and RS485 communication. (Only for splitting connections) Beijer-ELECTRONICS-NETRS2321P-S-Bus-Serial-Ethernet - (12) Beijer-ELECTRONICS-NETRS2321P-S-Bus-Serial-Ethernet - (13)Beijer-ELECTRONICS-NETRS2321P-S-Bus-Serial-Ethernet - (14)

Tipo RS-485Beijer-ELECTRONICS-NETRS2321P-S-Bus-Serial-Ethernet - (15)

Impostazioni

Generale

Parametro Default value Descrizione
Modalità di comunicazione Se ri al Serial or Ethernet
Stazione predefinita 0 Default value when no station is specified. Unit Id or Node number of the controller when the driver is using serial communiation mode. When the driver is communicating via Ethernet, this value refers to the station specified in the Stations property page.
S-BUSMode Da ta The protocol used for serial communication.

 Avanzato

Parametro Valore predefinito Descrizione
Enable unicode Falso Abilita la lettura/scrittura di caratteri Unicode nel controller. Si noti che ogni carattere in una stringa Unicode utilizzerà due byte della memoria del controller.
Ordine dei byte Intel Imposta l'ordine dei byte del carattere Unicode.
Tempo scaduto 400 The number of milliseconds of silence on the port before the next retry is sent.Note! Certain functions use the HMI as a gateway for passing on communication. These functions, including Transparent mode, Routing, Passthrough mode, Modem, and Tunneling, might need a higher timeout value.
Nuovi tentativi 3 Number of retries before a communication error is detec- ted.
Offline station re- try time 10 How long to wait after a communication error before trying to restore communication.
Nascondi errore di comunicazione Falso Hides the error message that is displayed on communication problem.
Command line op- tions Special commands that can be passed to the driver. If avail- able, these commands are described in the chapter Commands below.

Comandi
Non sono disponibili comandi per questo driver.

 Stazioni

Colonna Valore predefinito Descrizione
Stazione 0 Il numero di riferimento utilizzato nei dispositivi.

Numero massimo di stazioni configurabili: 20 Intervallo di valori: [0-254]

IP ad- 192.168.1. L'indirizzo IP della stazione connessa.
vestito 1
Porta 5050 Numero di porta della stazione connessa.

Intervallo di valori: [0-65535]

Nodo 1 The node number of the controller.

Seriale

Parametro Valore predefinito Descrizione
Porta COM1 Select which COM port to use for the connection.
Velocità 9600 Set the communication speed in baud for the selected COM port.
Parità Nessuno Set the parity for the selected COM port.
Bit di dati 8 Set the data bits for the selected COM port.
Bit di stop 1 Set the data bits for the selected COM port.

Funzionalità aggiuntive

 Instradamento

Beijer-ELECTRONICS-NETRS2321P-S-Bus-Serial-Ethernet - (14)Beijer-ELECTRONICS-NETRS2321P-S-Bus-Serial-Ethernet - (14)Beijer-ELECTRONICS-NETRS2321P-S-Bus-Serial-Ethernet - (14)

 Indirizzamento

 Segnali digitali

Dispositivo Example Descrizione
F F0, F8191 Bandiere
I Io0, Io9 Ingressi
O O0, O10 Risultati
R R2.3 Registers Syntax is RWordNo.BitNo BitNo range is 0-31.

 Segnali Analogici

Na me Indirizzo Leggere/scrivere
R R0, R4095 Registri
C C0, C1599 Contatori
T T0, T1599 Timer
X X0, X1599 Text — only to be used as string. The length of the string in HMI must be less or equal to the length of the string in the controller.
D D0.2 Data Block. Syntax is D Data Block No.Element No.

NOTA
D and X devices can only be used for serial communication.

 Station Addressing
For communication with other stations than the default station, the station number is given as a prefix to the device. This is stated either as a fixed number or as an index register between I1 and I8.

  • Exampon:
    05:R1 addresses register R1 in station 5.
  • 08:C1 addresses counter C1 in station 8.
  • R13 addresses register R13 in default station.
  • I1:R13 addresses register R13 in the station stated in I1.

Serial vs Ethernet
When the driver is used for serial communication the station number is referring to a specific unit id or node number.
When the chosen communication method is Ethernet the station number will refer to a station defined in the Stations property page.

Prestazione
The following table shows the maximum number of signals per message for each address and type of operation. For information how to optimize the project for best performance please see chapter Efficient Communication.

Indirizzi Leggere Scrivere Sciupare
R/C/T/D/X 30 30 20
F/O/I 127 1 40

Instradamento

The driver supports communication via routing. A communication port on the HMI which is not connected to the controller can in routing mode be used to connect a unit working in parallel with the controller. This unit can be another HMI or a PC with for example the programming software for the controller. In routing mode programming and monitoring of controllers can be made from one HMI. This means that only one communication port is needed to alternately program the controller and the HMI.

Beijer-ELECTRONICS-NETRS2321P-S-Bus-Serial-Ethernet - (16)

Use cable CAB104 between the X3 HMI panel and the controller, if connecting to the RS232 port on the HMI panel.
For port configurations, see chapter Communication Ports.

  1. Modalità trasparente
    The transparent mode function enables the HMI to continue to communicate with the controller while the routing takes place. The communication will be split between the HMI and the routing unit. Routing in this mode will affect the performance of the controller communication since two units will share the same communication.
  2. Passaggio attraverso
    When Passthrough mode is activated and the routing unit communicates with the controller through the HMI, communication between the HMI and connected controller will stop. An HMI where communication in Passthrough mode is in progress becomes locked for the operator, and the text Passthrough is shown in the display.
    If routing over Ethernet, the routing unit must support Ethernet communication.

 Modulo di importazione
Il driver non supporta alcun modulo di importazione.

Comunicazione efficiente

Packing of Signals
Quando tags vengono trasferiti tra il conducente e il controllore, tutti tags non vengono trasferiti simultaneamente. Invece sono divisi in messaggi con diversi tags in each message. By decreasing the number of messages that have to be transferred, the communication speed can improve. The number of tags in ogni messaggio dipende dal driver utilizzato.

  • NOTA
    Le stringhe e gli array ASCII vengono compressi in un messaggio per ciascun oggetto.
  • NOTA
    La presenza di gruppi di sondaggio diversi influirà sul modo in cui vengono generate le richieste.

Sciupare
Per rendere il messaggio il più efficace possibile, lo spreco tra due tag devono essere considerati gli indirizzi. Lo spreco è la distanza massima tra due tag Indirizzi che puoi avere e conservare nello stesso messaggio. Il limite di spreco dipende dal driver utilizzato.

NOTA
Lo scarto è valido solo per l'indirizzamento basato sul numero, non per quello basato sul nome.

NOTA
Lo spreco può essere calcolato solo tra due tipi di dati simili tags, non tra diversi tipi di dati tags.

  1. Scenario 1
    Quando intero tags con indirizzo 4, 17, 45, 52 vengono utilizzati con limite di scarto di 20, questo finirà per creare due messaggi.
    Primo messaggio con indirizzo 4 e 17 (tag la differenza di indirizzo è 13 <= 20).
    Secondo messaggio con indirizzo 45 e 52 (tag la differenza di indirizzo è 7 <= 20).
    Motivo: la differenza tra 17 e 45 è superiore al limite di scarto di 20, da qui la creazione del secondo messaggio.
  2. Scenario 2
    Quando intero tags con indirizzo 4, 17, 37, 52 vengono utilizzati con limite di scarto di 20, questo finirà per creare un messaggio.
    Motivo: Differenza tra i consecutivi tags è inferiore o uguale al limite di scarto di 20, creando quindi un messaggio.

Conclusione
Lo scenario 2 è più efficiente dello scenario 1.

Risoluzione dei problemi

Messaggi di errore
Significato dei messaggi di errore del controller mostrati dal driver.

Messaggio di errore Descrizione
Risposta errata Il driver ha ricevuto una risposta imprevista. Verificare che i dispositivi esistano e che i loro indirizzi rientrino in un intervallo valido per il controller connesso.
Errore di comunicazione Communication fails. Check communication settings, cable and station number.
Stazione illegale Il driver sta tentando di accedere a un dispositivo in una stazione Ethernet non definita nella configurazione delle stazioni.

Disclaimer

Si prega di notare che potrebbero essersi verificate modifiche al protocollo del controller o all'hardware, che potrebbero interferire con la funzionalità di questo driver, dopo la creazione di questa documentazione. Pertanto, testare e verificare sempre la funzionalità dell'applicazione. Per adattarsi agli sviluppi del protocollo del controller e dell'hardware, i driver vengono costantemente aggiornati. Di conseguenza, assicurarsi sempre che nell'applicazione venga utilizzato il driver più recente.

Domande frequenti

Can I use this product with older HMI models?

The product supports certain older HMI models, but it is recommended to check the compatibility with the specific version of the driver.

How can I troubleshoot error messages?

Refer to the Troubleshooting section in the manual for detailed information on error messages and their resolutions.

Documenti / Risorse

Beijer ELECTRONICS NETRS2321P S-Bus Serial Ethernet [pdf] Manuale di istruzioni
NETRS2321P S-Bus Serial Ethernet, NETRS2321P, S-Bus Serial Ethernet, Serial Ethernet, Ethernet

Riferimenti

Lascia un commento

Il tuo indirizzo email non verrà pubblicato. I campi obbligatori sono contrassegnati *