Download Print this page

Omron NS Reference Manual page 15

Hide thumbs Also See for NS:

Advertisement

Section 1 Outline of Macro Function
NS series Macro Reference
Functions
The following functions are provided for macro of NS Series.
Conversion between BCD
and BIN
Manipulating character
strings
Alarm/Event summary
HMI exclusive statements
Communications
Process termination
Set Date/Time
Reading/writing data
Write to multiple addresses
Action
Value (BIN code)->BCD code
BCD code->value (BIN code)
Copy character string
Convert from ASCII code to
Unicode
Convert from Unicode to ASCII
code
Clear the number of Alarm/Event
occurrence
Output written value and changed
value
Switch screen
Movement of object display area
Display message dialog box
Get displayed rectangle of the
object
Move pop-up window
Move pop-up window up
Move pop-up window down
Move pop-up window left
Move pop-up window right
Close pop-up window
Read data from specified address
Write data to specified address
Read bit data from specified
address
Read word data from specified
address
Write bit data to specified address
Write word data to specified
address
Terminate macro program
Change settings of internal clock of
the PT
Read contents (values in binary) of
the specified file in a memory card
(CF) to PT memory.
Save the contents of PT memory in
a memory card (CF).
Write (0/1) to multiple bit addresses
in the PT memory
Write a value to multiple word
addresses in the PT memory
1-13
Function
BCD
BIN
STRCPY/STRCPYW
STRM2W
STRW2M
RSTALARMCNT
GETNUMVAL
SHOWPAGE/SHOWPAGEBCD
MOVEPARTS
MSGBOX
GETPARTS
MOVEPOPW
MOVEPOPWUP
MOVEPOPWDOWN
MOVEPOPWLEFT
MOVEPOPWRIGHT
CLOSEPOPW
READCMEM
WRITECMEM
READHOSTB
READHOSTW
WRITEHOSTB
WRITEHOSTW
RETURN
SETTIME
READCF
WRITECF
BITSET
MEMSET

Advertisement

loading

This manual is also suitable for:

Ns-series