Section2 Functions
NS series Macro Reference
WRITECMEM
Applicable versions
Format
Function
Return Value
Example
Writes the data to the specified address
System version 2 or higher
WRITECMEM(D,S,n)
Copy data of n bit/n channel from "S" to the address in the host specified in "D".
Maximum points of writing are indicated below.
Bit
Word
If the value outside of range is set for "n", communication error or macro execution
error occurs. Maximum points of writing depends on PLC type.
None
WRITECMEM([HOST1: DM0], $W0,10);
"Write the value $W0 to $W9 at the host named HOST1 in PLC.
126Bit
126Channel
38