Skip to main content
Version: 7.9


This function is used in Python Scripting.


This function is a bulk version of system.opc.writeValue. It takes a list of addresses and a list of objects, which must be the same length. It will write the corresponding object to the corresponding address in bulk. It will return a list of status codes representing the individual write success or failure for each corresponding address.

Client Permission Restrictions

Permission Type:: OPC Server Management

Client access to this scripting function is blocked to users that do not meet the role/zone requirements for the above permission type. This function is unaffected when run in the Gateway scope.


system.opc.writeValues(opcServer, itemPaths, values)


StringopcServerThe name of the OPC server connection in which the items reside.
String[]itemPathsA list of item paths, or addresses, to write to.
Object[]valuesA list of values to write to each address specified.


Quality[] - An array of Quality objects, each entry corresponding in order to the addresses specified.