DeviceDefinitionGetDeviceImageOffset Method |
Namespace: Demo3D.PLC.Rockwell.Emulator.DeviceEmulators
public virtual int GetDeviceImageOffset( IOEntry deviceEntry, DeviceArea area )
For some devices (such as the 1732ES-IB16 or 1408-PowerMonitor1000) the device symbol PLC type (and therefore the memory image in the PLC) contains header information (RunIdle or ConnectionStatus, etc) which isn't sent across the wire (to the memory image in the device). This function returns the numer of bytes into the device PLC type before the device image starts.
The default for the 'I' image is the value of InputDeviceImageOffset. The default for other image areas is 0.