EasyManua.ls Logo

IFM CompactModule Metal CR2031 - Function CR2031

IFM CompactModule Metal CR2031
33 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
CompactModule Metall CR2031
16
9.3.1 Function CR2031
Function: CR2031
CR2031
–
–
–
–
–
–
–
–
–
–
ENABLE
INIT
NODE_ID
CFG_READ
CFG_WRITE
CFG_DATA
RX_TYPE
TX_TYPE
SYNC
IO_DATA
CGF_RESULT
IO_RCV
–
–
Library: CR2031_x�lib
Purpose: Sets parameters and reads
the configuration and I/O data of
the input/output module CR2031
Parameter:
Name Data type Description
Inputs
ENABLE BOOL TRUE: function processing
INIT BOOL TRUE: function initialisation
FALSE: cyclical function call
NODE_ID BYTE Node identifier
CFG_READ BOOL TRUE: read the current configuration of the I/O module
CFG_WRITE BOOL TRUE: write the current configuration of the I/O module
CFG_DATA DWORD Address of the configuration data (data structure)
RX_TYPE BYTE Receive transmission type (default = 0; synch acyclic)
TX_TYPE BYTE Transmit Transmission Type (default = 1; synch cyclic)
SYNC BOOL CANopen synchronisation cycle (system variable COB_SYNC)
IO_DATA DWORD Address of the input/output data (data structure)
Ausgänge
CFG_RESULT BYTE 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)
IO_RCV BOOL TRUE: for one cycle if new data were transmitted
If not described otherwise, a "FALSE" signal with boolean data types is
always the negation of the described "TRUE" signal�