CAN Master | Mit
diesem Funktionsblock werden IO Module vom TYP CAN Master
angebunden. Die IO Module kommunizieren über CAN Bus mit der
Steuerung daher nur mit Steuerungen nutzbar welche eine CAN Bus
Schnittstelle integriert haben. Die Verwendung von CAN Adaptern
ist nicht möglich. Mit Variablen erzeugen werden die Variablen automatisch angelegt. Hierbei werden mit dem Parameter "Hauptgruppe" und "Anzahl IO Module" die entsprechenden Variablen erzeugt. Folgende Adressen sind hierbei vordefiniert:
|
Eingänge |
||
Ausgänge |
||
| TE |
Empfangen |
Anzahl der empfangenen Telegramme |
| TG | Gesendet | Anzahl der gesendeten Telegramme |
Parameter |
||
| Anzahl IO Module | Anzahl IO Module gibt bei Variablen erzeugen die Anzahl vor, je nach Anzahl werden entsprechend viele Variablen angelegt. | |
| Hauptgruppe IO | Main group under
which the addresses of the IO modules (analog/digital inputs and
outputs) are created and addressed. |
|
| Anzahl IO Externsions | Number of IO
extensions. Determines how many extension variables are created
when generating variables. |
|
| Hauptgruppe Externsions | Main group under
which the addresses of the IO extensions are created and
addressed. |
|
| Baudrate | CAN bus baud rate in
bit/s (e.g. 20000 for 20 kbit/s). Applied automatically to the
CAN interface (can0) at start-up and after a recovery. |
|
| USB-Reset Befehl | Shell command used to
reset (re-enumerate) a USB-CAN adapter. Leave the field empty to
disable the function. If the adapter does not recover over several
recovery cycles (e.g. a stuck driver, send error ENOBUFS), this
command is executed automatically to avoid a power-cycle of the
controller. Example for a canable.io adapter (USB ID 1d50:606f): usbreset 1d50:606f |
|
| Debug | Enables debug output
in the program log (incl. incoming and outgoing CAN frames). Enable
for troubleshooting only. |
|