[Imported] Problem with read/write variable in Workbench and modbus
>>Message imported from previous forum - Category:SCADAPack RTU<< User: mchartrand, originally posted: 2018-10-18 19:37:10 Id:133 This is a re-posting from the obsoleted (October 2018) "Schneider Electric Telemetry & SCADA" forum.
**_Josdn: I'm trying to read and write a variable via modbus to a point in the ScadaPack. In E-configurator I'm configuring a 32bit analog point which is mapped to a Modbus address. This same point is also used in my Workbench application, configured as an IO Device as RTU_RAW_WRITE. The problem I'm having is that the workbench seems to have only read access or write access, not read/write. If I configure a variable to be VarInput then it can't be writen in the program, and if I configure a variable as a VarOutput then the devices that access this point via Modbus can't write on it. How can I configure the point to be read/write?_**
bevanweiss: In ISaGRAF/SCADAPack Workbench essentially you can't.
For what you want to do, I would recommend the following: a) Configure the IO Device (In SCADAPack Workbench) as an Input (or as an output status) b) Use the OPERATE instruction anytime you want to force change the value
**_Josdn: Thanks, I'm going to try this solution._**