Determining whether the access to a marker area is restricted to a certain area by the LZS_ELAU_M_AREA_WRITE communication service.
The LZS_ELAU_M_AREA_WRITE and LZS_ELAU_M_AREA_READ communication services facilitate read and write access to the marker area via Ethernet. The external tool must provide a client function and a communication driver.
The FC_MAreaWriteAccessSet() function restricts write access to the marker area to a certain area via the LZS_ELAU_M_AREA_WRITE communication service. The default setting allows access to the entire marker area (0 … 65535).
The restriction remains effective until the next time FC_MAreaWriteAccessSet() is called up or the next time the PacDrive Controller is booted. The restriction is not affected when the program is reset or the project is changed.
You can read out the current setting at any time using the FC_MAreaWriteAccessGet() function. The function delivers the parameters of the permitted range (initial address of the writable range iq_udiAddr (0...65535) and the number of bytes iq_udiByteCount (0...65535)) for write access via the LZS_ELAU_M_AREA_WRITE communication service.