EasyManua.ls Logo

COTRUST CTH200 Series - Application Example

COTRUST CTH200 Series
350 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
CTH200 Series PLC User Manual
181
Use WriteExtVMem to write data to expansion data space
Parameter
address
Explanation
Type
Value
range
Note
Ptr
Write memory
length(byte )
DWORD
Such as: &VB0,&IB0
Offset
Return value indicate if
it write successfully
DWORD
0-102399
Len
Write memory
length(byte )
DWORD
Err
Return value indicate if
it write successfully
BYTE
00 means write
successfully others fail.
C.4 Application Example
1. Read 1024 bytes from offset 200 to VB100 in extended memory
2. Write the first 1024 bytes of VB100 to the extended memory starting at offset 200

Table of Contents