HENF209736R0003,閥位控制卡
此示例應(yīng)用程序用于安裝在ControlLogix機(jī)架插槽1中的模塊。梯形圖邏輯使用插槽編號標(biāo)識模塊。如果您正在安裝模塊位于不同的插槽中,您必須更新梯形圖邏輯,以便標(biāo)簽和變量是正確的,不會與機(jī)架中的其他模塊沖突。更改插槽號
1在控制器組織列表中,選擇模塊,然后單擊右側(cè)鼠標(biāo)按鈕打開快捷菜單。單擊自動配置按鈕。RSLinx將嘗試配置與所選驅(qū)動程序一起工作的串行端口。
5當(dāng)您看到消息“自動配置成功”時,單擊“確定”按鈕關(guān)閉對話框。
注意:如果自動配置程序失敗,請確認(rèn)電纜連接正確在處理器和計算機(jī)上的串行端口之間,然后重試。如果你還在無法自動配置端口,請參閱RSLinx文檔以了解進(jìn)一步的疑難解答
步驟。將示例程序下載到處理器注意:ControlLogix處理器前面的鍵開關(guān)必須位于REM或PROG中位置
1如果您尚未與處理器聯(lián)機(jī),請打開通信菜單,然后選擇下載。RSLogix 5000將建立與處理器的通信。您不必通過處理器的串行端口,
如下所示。您可以通過任何可用的網(wǎng)絡(luò)連接
2通信建立后,RSLogix 5000將打開確認(rèn)對話框。單擊下載按鈕將示例程序傳輸?shù)郊庸C(jī)
RSLogix 5000將編譯程序并將其傳輸?shù)教幚砥?。這過程可能需要幾分鐘。
下載完成后,RSLogix 5000將打開另一個確認(rèn)對話框。如果鑰匙開關(guān)處于REM位置,單擊OK(確定)以
將處理器從程序模式切換到運行模式。將電腦連接到模塊安全安裝模塊后,將您的電腦連接到使用RJ45-DB-9串行適配器電纜和零線配置/調(diào)試端口
調(diào)制解調(diào)器電纜。
1如圖所示連接兩根電纜。
2.將RJ45電纜連接器插入的配置/調(diào)試端口單元
3.將另一端連接到電腦的串行端口。
This sample application is for a module installed in Slot 1 in a ControlLogix rack.
The ladder logic uses the slot number to identify the module. If you are installing
the module in a different slot, you must update the ladder logic so that program
tags and variables are correct, and do not conflict with other modules in the rack.
Changing the slot number
1 In the Controller Organization list, select the module and then click the right
mouse button to open a shortcut menu. Click the AUTO-CONFIGURE button. RSLinx will attempt to configure your
serial port to work with the selected driver.
5 When you see the message Auto Configuration Successful, click the OK
button to dismiss the dialog box.
Note: If the auto-configuration procedure fails, verify that the cables are connected correctly
between the processor and the serial port on your computer, and then try again. If you are still
unable to auto-configure the port, refer to your RSLinx documentation for further troubleshooting
steps. Downloading the Sample Program to the Processor
Note: The key switch on the front of the ControlLogix processor must be in the REM or PROG
position.
1 If you are not already online with the processor, open the Communications
menu, and then choose DOWNLOAD. RSLogix 5000 will establish
communication with the processor. You do not have to download through the
processor's serial port, as shown here. You may download through any
available network connection.
2 When communication is established, RSLogix 5000 will open a confirmation
dialog box. Click the DOWNLOAD button to transfer the sample program to the
processor.
RSLogix 5000 will compile the program and transfer it to the processor. This
process may take a few minutes.
4 When the download is complete, RSLogix 5000 will open another
confirmation dialog box. If the key switch is in the REM position, click OK to
switch the processor from PROGRAM mode to RUN mode. Connecting Your PC to the Module
With the module securely mounted, connect your PC to the
Configuration/Debug port using an RJ45-DB-9 Serial Adapter Cable and a Null
Modem Cable.
1 Attach both cables as shown.
2 Insert the RJ45 cable connector into the Configuration/Debug port of the
module.
3 Attach the other end to the serial port on your PC.