Herunterladen Inhalt Inhalt Diese Seite drucken

IFM Electronic CR2513 Handbuch Seite 44

Ecomat100 ein-/ausgangs-modul input
Inhaltsverzeichnis

Werbung

Verfügbare Sprachen

Verfügbare Sprachen

/
INPUT
OUTPUT MODULE
Function:
CR2513
Library:
CR2513_C.lib
Purpose:
Sets parameters and reads
the configuration and I/O data
of the input/output module
CR2513
Parameters
Name
Data type
Inputs
ENABLE
BOOL
INIT
BOOL
NODE_ID
BYTE
CFG_READ
BOOL
CFG_WRITE
BOOL
CFG_DATA
DWORD
RX_TYPE
BYTE
TX_TYPE
BYTE
SYNC
BOOL
IO_DATA
DWORD
Outputs
CFG_RESULT
BYTE
IO_RCV
BOOL
If not described otherwise, a "FALSE" signal with boolean data types is always the negation of the
described "TRUE" signal.
44
PAGE
CR2513
Description
TRUE:
function processing
TRUE:
function initialisation
FALSE: cyclical function call
Node identifier
TRUE:
read the current configuration of the I/O module
TRUE:
write the current configuration of the I/O module
Address of the configuration data (data structure)
Receive transmission type (default = 0; synch acyclic)
Transmit Transmission Type (default = 1; synch cyclic)
CANopen synchronisation cycle
(system variable COB_SYNC)
Address of the input/output data (data structure)
1 =
configuration
read or written successfully
2 =
configuration
not yet read or written
3 =
configuration cannot be read or written
(missing or incorrect node ID or faulty device)
True:
for one cycle if new data were transmitted
CR2513
ENABLE
CFG_RESULT
INIT
IO_RCV
NODE_ID
CFG_READ
CFG_WRITE
CFG_DATA
RX_TYPE
TX_TYPE
SYNC
IO_DATA

Werbung

Kapitel

Inhaltsverzeichnis
loading

Inhaltsverzeichnis