ASF said:
...Can you expand on masking the speed reference? I haven't found a way to mask speed references specifically. All I found was the Spd Ref A Select (parameter 545) which I intended to set to 875 (port 5, which is my 20-750-ENETR module). Then presumably I need to configure the drive to use only speed reference A, but I've not worked out how to do that specifically, other than just never selecting speed reference B or a preset speed reference...
I just want to explain some more of this, if I may?...
If we use Parameter 324 - Logic Mask bits to disable control for a port then this disables it globally, regardless of whether the drive is in Auto or Manual mode. The disabled port cannot issue any commands to the Logic Command (except Stop). And from the earlier technote snippet, masking a port disabled (0) in the Logic Mask also, apparently, prevents that port from automatically being assigned as the Manual speed reference. If we don't want the port globally disabled, but we do want it disabled for commanding a particular mode, for instance, then we would leave the Logic Mask bit enabled (1) for the port and look to either...
Parameter 325 - Auto Mask (Automatic Mask)
Or
Parameter 326 - Manual Cmd Mask (Manual Command Mask)
...where we can use the respective mask bits to disable ports for a specific control mode only, rather than globally. But again, if we have already disabled a port globally in the Logic Mask then the respective mask bit for this port in each of the above two parameters should be irrelevant.
For situations where we might require Manual control from a particular port, while also needing to disable certain other ports for Manual control, but still potentially use those other ports for the Manual speed reference, then we would leave all ports unmasked (1) in the Logic Mask and look to Parameters 326 - Manual Cmd Mask, and possibly Parameter 327 - Manual Ref Mask and Parameter 328 - Alt Man Ref Sel.
Example: Let's say we want Manual mode commanded over the network via port 5 with a 20-750-ENETR installed. We don’t want Manual mode to be commanded via port 1 (HIM). But also, we do want the Manual speed reference to be sourced from port 1 (HIM), and not from port 5 over the network…
In the Logic Mask, bit 5 represents port 5 which, in this case, is the 20-750-ENETR adapter. As we want this port to be able to command Manual mode, we will leave the respective bit 5 = “1”. To command Manual mode via port 5 (network), in the controller we would set bit 6 = “1” (Manual) in the Logic Command.
Next in the Logic Mask, bit 1 represents port 1, which is used for the local HIM mounted directly on the front of the drive. We could just set bit 1 = “0” in the Logic Mask, as this will mask disable this port (HIM) from being able to command Manual mode. However, by doing so, we will also disable the HIM from being able to source the Manual speed reference (technote snippet). Therefore, we must leave the respective bit 1 = “1” in the Logic Mask for port 1 (HIM).
Instead, in this case, we can look further to Parameter 326 - Manual Cmd Mask. Within this mask word, we can set the respective bit 1 = “0” for port 1 (HIM). This specifically disables port 1 (HIM) from being able to command Manual mode but will not prevent port 1 (HIM) from being selected as the Manual speed reference. Also in the Manual Cmd Mask, we must ensure that bit 5 = “1” for port 5 (network) so that the network can issue Logic Commands in Manual mode.
Next, for the Manual speed reference from port 1 (HIM), we might assume that we must look to Parameter 327 - Manual Ref Mask to decide if port 1 (HIM) should be allowed to source the Manual speed reference when the drive is in Manual mode? In thinking so, we would make sure the respective bit 1 = “1” for port 1 (HIM) in Manual Ref Mask. However, this mask word is only relevant if the respective bit 1 = “1” in the previous Parameter 326 - Manual Cmd Mask. But we have already set the respective bit 1 = “0” in the Manual Cmd Mask. In general, the respective bit in Parameter 327 - Manual Ref Mask is only checked after its respective bit (port) has first commanded the drive into Manual mode i.e. when a port is unmasked and commands Manual mode, and its respective bit in the reference word is also unmasked, then the port is automatically assigned as the source for the Manual speed reference (unless we specify otherwise – more on that in a minute).
Therefore, we do not use the Manual Ref Mask to decide if port 1 (HIM) may be used as the Manual speed reference. However, in this mask, we would set bit 5 = “0” for port 5 so that the network cannot be used as the source for the Manual speed reference. This is important because, normally, and as I’ve explained, as soon as port 5 (network) commands the drive into Manual mode, port 5 (network) is automatically assigned as the source for the Manual speed reference, once its respective bit in the Manual Ref Mask is enabled (1).
So now, back to the “unless we specify otherwise”…
Parameter 328 - Alt Man Ref Sel (Alternate Manual Reference Select)
When this parameter is set to the default value of “0”, then the port that currently commands Manual mode will automatically be assigned as the source for the Manual speed reference, once its respective bit is enabled (1) in the Manual Ref Mask. However, if we require a different port as the source for Manual speed reference, then we can set the value in this parameter to the number of the required port and this will instead force the drive to use this port as the source for Manual speed reference. In our example, we want port 1 (HIM) to be used as the Manual speed reference, so we set Alt Man Ref Sel = “1”.
Execution:
When port 5 (network) commands the drive into Manual mode via the Logic Command (bit 6 = “1”), it now has exclusive control over the Logic Command for Start and Direction, etc. As port 5 (network) is mask disabled (0) in the Manual Ref Mask, it cannot be automatically assigned as the Manual speed reference. Instead, Port 1 (HIM) is automatically assigned as the alternative source for Manual speed reference.
That is just an example to try and demonstrate some of the intricacies of configuring these parameters, while also including some masking to hopefully answer your question. But that masking was in relation to Manual mode. For Auto mode, we do not mask the speed reference. We must parameterize the source of the speed reference exclusively.
For your particular setup, however, you should not need to apply any non-default masking for speed reference. If you have no requirement for any Manual control or speed referencing from the HIM, then simply use the Logic Mask to set bit 1 = “0” for port 1 (HIM). You should then be able to ignore the other parameters mentioned with regard to disabling the HIM for Manual control/reference. If you wish, for “belt and brace”, for port 1 you could also set bit 1 = “0” in Man Cmd Mask and Manual Ref Mask, but I don’t think it is necessary once bit 1 = “0” in the Logic Mask.
For your Auto mode, if you are using port 5 (network) for control and speed reference, then you must do the following…
First we set Parameter 301 - Access Level = "2" [Expert]. This makes available the selection of the ports as the source for Parameter 545 - Spd Ref A Sel (Auto mode main speed reference). As we are using the network, then for this parameter first select Port 0 (host drive) and then select parameter 875 which represents “Port 5 Reference” (20-750-ENETR). This has now exclusively set the Auto mode speed reference to the network source. To change the source of the speed reference between the main Spd Ref A Sel value to either the Spd Ref B Sel value, or any of the available discrete Preset references (3-7), then we must either configure and switch digital inputs (3 DI & truth table), or we can use Logic Command bits 12-14 over the network (3 bits & truth table). If you do not configure either of these two methods then the drive’s Auto mode main speed reference will exclusively remain under the control of the value set in Spd Ref A Sel – port 5 (network).
As “lengthy” as that may seem. I am somewhat skipping through my explanation (interpretation) here. There are other possible things I could point out, but I am attempting to be as brief as “I” can be.
I hope that’s of some help to you, my friend?
Regards,
George