PLCopen Motion Control NOTE! The names of the process data exchanged with the device are specified via the XML file of the manufacturer. NOTE! Monitoring of the device status is not guaranteed for all devices from all manufacturers. For some devices an 8-bit status is provided. This kind of information should be mapped on the lower 8 bits of the wEncDevState element. The encoder must support the following Index.SubIndex combinations. The following list of compatible devices is naturally incomplete. It is not a recommendation but is merely intended for information. Beckhoff cannot guarantee trouble-free operation of the listed devices.
If a manufacturer or one of their devices is not listed, trouble-free operation may well be possible, but is not guaranteed. Certain parameters can be determined automatically, depending on the support of the listed objects. This applies to the counting range, the overflow detection and (for linear encoders) the resolution. If the respective objects are not provided or not in a supported combination, this is not possible. In such a case, operation may be possible. However, the parameters must then be set manually during commissioning. PLC Library Hydraulics 143 Version: 1.4 I/O variable Interface.Variable Use see note ST TcPlcDeviceInput.udiCount _ Determines the actual position.
see notes ST TcPlcDeviceInput.wEncDevSta _ te Monitoring the device status. WcState ST TcPlcDeviceInput.wEncWcStat _ e Connection monitoring. InfoData.State ST TcPlcDeviceInput.uiEncBoxSta _ te Monitoring of online status. InfoData.AdsAddr ST TcPlcDeviceInput.sEncAdsAdd _ r Automatic identification. Index Subindex Meaning 1000 0 Identification 1008 0 Device name (optional) 1018 1 Manufacturer ID 1018 2 Device type 6001 0 Rotational encoders: increments per revolution (obligatory) 6002 0 Rotational encoders: Total counting range (option A, alternatively: index 6502) Linear encoders: Total counting range (obligatory) 6005 1 Linear encoders: Resolution (option A, alternatively:
index 6501) 6501 0 Linear encoders: Resolution (option B, alternatively: index 6005) 6502 0 Rotational encoders: Number of counted revolutions (option B, alternatively: index 6002) 650A 2 Linear encoders: lower limit of the intended working area (option) 650B 3 Linear encoders: upper limit of the intended working area (option)