2 Instruction Descriptions
2-710
NJ-series Instructions Reference Manual (W502)
CIPUCMMWrite
The CIPUCMMWrite instruction uses a UCMM explicit message to write the value of a variable in
another Controller on a CIP network.
* If you omit an input parameter, the default value is not applied. A building error will occur.
* You cannot specify a STRING array.
Instruction Name
FB/
FUN
Graphic expression ST expression
CIPUCMM
Write
Write Variable
UCMM Explicit
FB CIPUCMMWrite_instance(Execute,
RoutePath, TimeOut, DstDat, Size,
SrcDat, Done, Busy, Error, ErrorID,
ErrorIDEx);
Variables
Name Meaning I/O Description Valid range Unit Default
RoutePath Route path
Input
Route path Depends on data
type.
--- ---
TimeOut Timeout time Timeout time 1 to 65535 0.1 s 20 (2 s)
DstDat Destination
variable name
Name of variable to write in
another Controller
Depends on data
type.
---
''
Size Number of
elements to
write
Number of elements to write 0 to 488 1
SrcDat Source data Data value to write Depends on data
type.
*
Boolean
Bit strings Integers
Real
numbers
Times, durations,
dates, and text strings
BOOL
BYTE
WORD
DWORD
LWORD
USINT
UINT
UDINT
ULINT
SINT
INT
DINT
LINT
REAL
LREAL
TIME
DATE
TOD
DT
STRING
RoutePath OK
TimeOut OK
DstDat OK
Size OK
SrcDat
OK OK OK OK OK OK OK OK OK OK OK OK OK OK OK OK OK OK OK OK
An enumeration, array, structure, structure member, or union member can also be specified.*
CIPUCMMWrite
CIPUCMMWrite_instance
Execute Done
RoutePath Busy
TimeOut Error
DstDat ErrorID
Size ErrorIDEx
SrcDat