242
ifm
System Manual
ecomat
mobile
SmartController (CR2500, CR2502) V05
More functions in the ecomatmobile controller
Use of the serial interface
10.6.2
Function SERIAL_TX
Contained in the library:
ifm_CRnnnn_Vxxyyzz.LIB
Available for the following devices:
•
CabinetController: CR0301, CR0302, CR0303
•
ClassicController: CR0020, CR0032, CR0505
•
ExtendedController: CR0200, CR0232
•
PCB controller: CS0015
•
SafetyController: CR7020, CR7021, CR7032, CR7200, CR7201, CR7232, CR7505, CR7506
•
SmartController: CR2500, CR2501, CR2502
•
PDM360 smart: CR1070, CR1071
Function symbol:
SERIAL_TX
ENABLE
DATA
Description
SERIAL_TX transmits one data byte via the serial RS232 interface.
Using the function input ENABLE the transmission can be enabled or blocked.
The SERIAL functions form the basis for the creation of an application-specific protocol for the serial
interface.
NOTE
In principle, the serial interface is not available for the user, because it is used for program download
and debugging.
The interface can be freely used if the user sets the system flag bit SERIAL_MODE to TRUE. Then
however, program download and debugging are only possible via the CAN interface.
For CRnn32: Debugging of the application software is then only possible via all 4 CAN interfaces or via
USB.
Parameters of the function inputs
Name
Data type Description
ENABLE BOOL
TRUE:
transmission
enabled
FALSE: transmission blocked
DATA
BYTE
Byte to be transmitted
Summary of Contents for Ecomat 100 ecomatmobile SmartController CR2500
Page 1: ...System Manual SmartController CR2500 CR2502 CoDeSys V2 3 Target V05 7390667 00 03 2009 ...
Page 6: ......
Page 282: ......