Datalinks are supported in the SMC-Flex. A Datalink is mechanism used by most drives to transfer data to and from the controller without using an Explicit Message. The SMC-Flex only supports 16-bit Datalinks, therefore the device can be configured to return up to 8 additional pieces of parameter information. By default the 8 parameters (parameter# 1, 2, 3, 4, 5, 6, 11, 12) are returned in the I/O message when all 4 output Datalinks are configured. These parameters identify the following values: Parameter #1 = Voltage Phase A-B Parameter #2 = Voltage Phase B-C Parameter #3 = Voltage Phase C-A Parameter #4 = Current Phase A Parameter #5 = Current Phase B Parameter #6 = Current Phase C Parameter #11 = Power Factor Parameter #12= Motor Thermal Usage (MTU)
Keep in mind that the returned parameters can be changed by simply changing the values in programmed in parameters #89 through #103. Also, only output Datalinks are configured by default. Input Datalinks can be configured, but have limited functionality when used with the SMC-Flex.
The following example uses all 4 Datalinks. The communication interface used is the 20- Comm-D DPI to DeviceNet module.
The next step in the configuration is to enable the 20-Comm-D to allow the Datalinks. To do this the following parameters in the 20-Comm-D need to be configured. Depending on the configuration tool you are using, these parameters values may be different. The example is shown using RSNetWorx for DeviceNet:
Parameter #148 DPI I/O Cfg Enable each of the Datalinks being used. Parameter #160 M-S Input Enable each of the Datalinks being used. Parameter #161 M-S Output Enable each of the Datalinks being used.
The last step in mapping the information to the scanner/controller is to select the appropriate message size. Below is a table that describes the correct I/O size depending on the number of Datalinks enabled. Rx Size Tx Size Logic Status / Command (16bit) Reference / FeedBack (16bit) DataLinks A B C D 4 4 x x 8 8 x x x 12 12 x x x x 16 16 x x x x x 20 20 x x x x x x
With the SMC-Flex in the Scanlist insure that the I/O information is correct by selecting the Edit I/O Parameters. A sample screen is shown below. If these values are different than what is desired, change them and then click O.K. This may cause some information to be re-mapped so make sure that you are aware of where it is being mapped.
In this case the output information from the SMC-Flex has been mapped into the following locations. Keep in mind that the ControlLogix platform is separated into 32-bit words.
DeviceNet Scanner View from RSNetWorx ControlLogix Memory Table from RSLogix5000