---------------------------------
Thank and Best Regards
cuongvcs
Email :
Hidden Content
Hidden Content
Tel : 0984198685
" Listen. Think. Solve. "
Skype : cuongvcs
em làm kết nối rs view32 với rs logix 5000 lại không kết nối được anh ah?anh có thể chỉ giúp em được không?
---------------------------------
Thank and Best Regards
cuongvcs
Email :
Hidden Content
Hidden Content
Tel : 0984198685
" Listen. Think. Solve. "
Skype : cuongvcs
em làm mô phỏng anh ah?
Bạn thử theo cách này nha , kết nối qua RSLinx OPC Server .
Connecting the Emulator to an RSView®32 Project through OLE
Connecting RSLogix™ Emulate 5000 to an RSView®32 project requires creating an
OLE for Process Control (OPC) topic for communicating between RSLinx™ Classic and RSView32.
Creating an OPC Topic for the Emulator
To create an OPC topic for the emulator:
1. Open the Chassis Monitor, and make sure your emulator is running.
2. In RSLinx Classic, open an RSWho window (click Communications > RSWho).
The emulator should be visible in the RSWho window. If it is not, make sure there is a
communication driver for the emulator. See Creating a Communications Driver for the Emulator on page 31 for more information.
3. In the RSWho window, right-click the emulator, then click Configure New DDE/OPC Topic. This creates a new OPC topic, and displays the DDE/OPC Topic
Configuration window with a new topic for the emulator.
4. Click Done. This closes the DDE/OPC Topic Configuration window and saves the topic for your emulator.
Creating a Communications Node in an RSView32 Project
To create a communications node in RSView32 that uses the OPC topic for the emulator:
1. Open your RSView32 project.
2. In your project’s System folder, open the Node editor. In RSView32, a node represents a communications device, usually a programmable controller or another Windows application. In the Node editor, we will create a node that represents the
emulator.
For information about connecting the emulator to FactoryTalk® View SE or FactoryTalk® View ME projects, see Chapter 4, Connecting the Emulator to FactoryTalk® View ME or FactoryTalk®View SE Projects through RSLinx® Enterprise on page 25.
You must use one of the following products to create the OPC topic: RSLinx Classic Single Node, RSLinx Classic OEM, or RSLinx Classic Gateway. RSLinx Classic Lite does not support OPC communication. For more information about using RSLinx Classic, see the RSLinx Classic
3. Set up the Node editor window as shown in the following table.
4. Click Accept. This saves the node configuration.
For this field or control: Set or enter:Data Source OPC Server
Name Enter a name for the node (representing the emulator). This can be the name of the emulator, if you like.
Enabled Make sure this check box is checked.Server Click the button next to the Server Name field. If the emulator is running on
the same computer as RSView32, select RSLinx OPC Server. Otherwise, select RSLinx Remote OPC Server.
Type If the emulator is running on the same computer as RSView32, select In-Process. Otherwise, select Remote and enter the name of the computer running the emulator in the Server Computer Name or Address field.
Access Path Leave this blank.
Update Rate This defaults to 1.000 seconds (one update per second). If you need a faster
or slower update rate, enter the update frequency.
Adding Tags from Your Logic Project to Your RSView32 Project
Once you have created an OPC node for the emulator, you can add tags from your logic project to your RSView32 tag database. To do this:
1. Open your RSView32 project.
2. In your project’s System folder, open the Tag Database editor.
3. In the Data Source section of the Tag Database editor, click Device.
4. Click the button next to the Node Name field. This displays the Node Browser. Select
the OPC node you created for the emulator and click OK.
5. In the Tag section of the Tag Database editor, select the type of tag you want to create from the Type list.
6. In the Data Source section of the Tag Database editor, click the button next to the Address field. This displays the OPC Address Browser.
7. In the OPC Address Browser, select the address you want to use with the tag and click
OK.
8. Finish creating the tag by filling in the fields in the Tag Database editor.
9. Click Accept. The tag is stored in the tag database. You can now use the tag in your
RSView32 project.
For this field or control: Set or enter:Name The name of the tag you want to create.
Security If you have set up security for your RSView32 project, set the security class associated with the tag.
Description Type a description of the tag (optional).
Minimum The minimum value for the tag (as used in RSView32).
Maximum The maximum value for the tag (as used in RSView32).
Scale A scaling value for the tag.
Offset A value to add to the tag.
Units The units for the tag.
Data Type Select the data type for the tag.39
Good Luck.
---------------------------------
Thank and Best Regards
cuongvcs
Email :
Hidden Content
Hidden Content
Tel : 0984198685
" Listen. Think. Solve. "
Skype : cuongvcs
chao a cuongvcs!
Minh dang can mot so tai lieu ve PLC AB, phan tap lenh.cho minh xin mot so link dang tin cay duoc ko?ben minh tbi AB kha nhieu.
---------------------------------
Thank and Best Regards
cuongvcs
Email :
Hidden Content
Hidden Content
Tel : 0984198685
" Listen. Think. Solve. "
Skype : cuongvcs
a cuongvcs ơi, cho em hỏi em muốn lưu 1 biến vô vùng nhớ S thì phải làm như thế nào ?
---------------------------------
Thank and Best Regards
cuongvcs
Email :
Hidden Content
Hidden Content
Tel : 0984198685
" Listen. Think. Solve. "
Skype : cuongvcs
a có tài liệu nói về những vùng nhớ này và tác động chúng như thế nào không a cuongvcs. em muốn lưu 1 giá trị để khi plc mất điện nhưng giá trị đó không mất đi. Vậy em phải lưu vào vùng nhớ nào?
Đánh dấu