C Control The I Unit-M Advanced 5 Vdc Inputs / outputs 16 x digital I/Os / 8 x analogue or digital I/Os Program memory 2 198805 Datenbogen
Produktcode
198805
arguments with a single"Print" instruction you may use the concatenation operator &
The Print instruction is also applicable to the LCD Objekt and the IIC Object. See the Chapter OBJECTS for
reference.
Printing the character # is illegal because this character is internal used to precede a Control Sequence
Syntax: Print Argument [ & Argument [ & ... ]] [;]
The Print instruction is also applicable to the LCD Objekt and the IIC Object. See the Chapter OBJECTS for
reference.
Printing the character # is illegal because this character is internal used to precede a Control Sequence
Syntax: Print Argument [ & Argument [ & ... ]] [;]
PRINT "WERT :" & Myword & " V"
PUT
The PUT instruction transmits a single byte to the serial interface or (through redirection) to one of this
objects: CONFIG,IIC,IR or RF. See Chapter OBJECTS for reference
PUT MyByte
Syntax: Put Variable
variable byte variable or constant
variable byte variable or constant
INTERNAL/EXTERNAL DATA STORAGE
In any case you want to save important system data (e.g. system configuration or aquired data) in non
volatile manner you may use the C-Control EEPROM emulation. The data is stored straight sequential, and
a certain location can not be read directly but all previous locations must be read before. The data stored is
always in word format. Even you only store bytes a full word of Memory is used always. For Floatingpoint
memory operations (Unit ADVANCED only) see Chapter FOATING POINT MODULE
OPEN# FOR READ
OPEN# FOR WRITE
Resets the data pointer to the the memory start location, and is always required prior to the first read/write
operation of a sequence. This is also needed to initialise the FILEFREE value.
CLOSE#
This will save the current data pointer to be able to restore it, if data have to be append to the aready existing
data. The data pointer remains saved even after reset or power off/on,
OPEN# FOR APPEND
The data pointer is set to the last writen location, ready to append data.
INPUT#
This will read the location addressed by the data pointer. The content of the data pointer is incremented after
read.
volatile manner you may use the C-Control EEPROM emulation. The data is stored straight sequential, and
a certain location can not be read directly but all previous locations must be read before. The data stored is
always in word format. Even you only store bytes a full word of Memory is used always. For Floatingpoint
memory operations (Unit ADVANCED only) see Chapter FOATING POINT MODULE
OPEN# FOR READ
OPEN# FOR WRITE
Resets the data pointer to the the memory start location, and is always required prior to the first read/write
operation of a sequence. This is also needed to initialise the FILEFREE value.
CLOSE#
This will save the current data pointer to be able to restore it, if data have to be append to the aready existing
data. The data pointer remains saved even after reset or power off/on,
OPEN# FOR APPEND
The data pointer is set to the last writen location, ready to append data.
INPUT#
This will read the location addressed by the data pointer. The content of the data pointer is incremented after
read.
INPUT# MyWord
Syntax: INPUT# Variable
variable: word/byte variable
PRINT#
This will write to the location addressed by the data pointer. The content of the data pointer is incremented
after write
variable: word/byte variable
PRINT#
This will write to the location addressed by the data pointer. The content of the data pointer is incremented
after write
PRINT# MyWord
Syntax: PRINT# Variable
variable: word/byte or constant
FILEFREE
FILEFREE contains the remaining memory space in number of words. FILEFREE is not initialised before the
first write operation to memory
variable: word/byte or constant
FILEFREE
FILEFREE contains the remaining memory space in number of words. FILEFREE is not initialised before the
first write operation to memory
13