Download Print this page

Omron NS Reference Manual page 44

Hide thumbs Also See for NS:

Advertisement

Section2 Functions
NS series Macro Reference
READCMEM
Applicable versions
Format
Function
Return Value
Example
Reads the data from specified address
System version 2 or higher
READCMEM (D,S,n)
Read n but/n channel from the address in the host specified with "s", and copy to
"D". Maximum points for reading are indicated below.
Bit
Word
If value outside of the range is set for "n", communication error or
macro
execution error occurs.
Maximum points of reading depend on PLC type.
None
READCMEM ($W0, [HOST1:DM0], 10)
'Read the value "$W0 to $W9" to "DM0 to DM9" at the host
'named Host1 in PLC.
126Bit
126Channel
24

Advertisement

loading

This manual is also suitable for:

Ns-series