User Manual

Table Of Contents
Commands Reference
222 Advanced Digital Motor Controller User Manual V2.0, July 8, 2019
Syntax Scripting: result = getvalue(_FC, cc)
Reply:
FC = nn Type: Signed 16-bit Min: -512 Max: 512
Where:
cc = Motor channel
nn = Angle correction
FLW - Read Flow Sensor Counter
Alias: - HexCode: 7B CANOpen id: 0x214A
Description:
When one or more FLW100 are connected to the controller, this query reports the count
measurements of X and Y axis in mm*10 of the respective FLW100. If only one FLW100
is connected to any pulse input this query will report the data of that device, regardless
which pulse input it is connected to. If more than one FLW100 is connected to pulse in-
puts and these inputs are enabled and configured in FlowSensor MultiPWM mode, then
the argument following the query is used to select the sensor.
Syntax Serial: ?FLW [cc]
Argument: SensorNumber
Min: 1 Max: 2*Total Number of Pulse Inputs
Syntax Scripting: result = getvalue(_FLW, cc)
Reply:
FLW=nn Type: Signed 32-bit Min: -2147M Max: 2147M
Where:
cc = (When only one sensor enabled)
1 : X Counter
2: Y Counter
cc = (When several sensors enabled)
1 : X Counter of sensor at pulse input 1
2 : Y Counter of sensor at pulse input 1
3 : X Counter of sensor at pulse input 2
4 : Y Counter of sensor at pulse input 2
...
((p-1)*2)+1 : X Counter of sensor at pulse input p
((p-1)*2)+2 : Y Counter of sensor at pulse input p
nn = Distance in mm*10.