Đăng Ký
Trang 1 của 3 123 CuốiCuối
Kết quả 1 đến 10 của 29
  1. #1
    Little PLC

    Ngày tham gia
    Mar 2011
    Đang ở
    Mọi câu hỏi hãy đưa lên diễn dàn. Tôi không dùng hộp thư riêng.
    Bài viết
    3,151
    Thanks
    257
    1,084 lượt trong 567 bài viết

    Đếm xung tốc độ cao HSC với FM350-1

    Phần này mình làm mà phải dừng lại một thời gian vì nhiều lý do nay tiếp tục làm lại cho hoàn thành. Nay chia sẻ một số tài liệu cùng các bạn cùng nghiên cứu và làm ứng dụng nhé.
    Phần 1. Xin gửi tới các bạn phần mềm hỗ trợ

    http://www.mediafire.com/?t6ul6afopf1pu97
    Mong được sự trao đổi và giúp đỡ của mọi người.
    Thân chào và cám ơn tất cả.
    Hidden Content

    Trần Văn Hiếu
    Email: Hidden Content
    Sđt: (+84)987 - 338 - 334

  2. Bài viết của "tran_hieu0983" đã được cám ơn bởi các thành viên:


  3. #2
    SiemensVietNam
    Guest
    Bạn coi thêm ở đây nhé.
    Why with module FM350-1 does the internal gate STS_GATE remain open in single count mode although the software gate SW_GATE closes?


    Description
    When using the counter module FM350-1, with the parameters given below, it might happen that although the software gate SW_GATE closes, the internal gate STS_GATE remains open and for this reason the counter group shows no function. The following parameterization leads to this behavior:

    * Single count mode
    * Counting range 0 to 32 bits
    * Gate function failure
    * Load value 0

    As soon this parameterization sets the software gate SW_GATE to FALSE, counting is interrupted. If the software gate SW_GATE is set to TRUE again, the load value 0 is loaded. This makes the counter module FM350-1 recognize the counting range limit of 0 and counting stops, the STS_GATE remains FALSE and counter value remains 0.

    You must change one of the following settings to remedy this behavior.

    * Select periodic counting instead of single count mode
    * Select a counting range of -31bits to +31bits instead of 0 to 32 bits
    * Select a load value not equal to 0

    Chịu khó đọc tiếng anh nhé. Chúc bạn thành công

  4. #3
    SiemensVietNam
    Guest
    Instructions:
    With some applications it is important to set a counter back to its initial value as quickly as possible when it reaches specific comparison value.
    Furthermore, normally at the moment of resetting a series of calculations are made to determine the next comparison value (to optimize the point of intersection of the material).

    You have the option of doing a reset also without the standard function FC CNT_CTRL.

    Proceed as follows to configure the counter for fast reset:

    1. In the "Properties" dialog box of the counter module, in the "Basic parameters" area, set the option Generate interrupt to "YES" and the option Interrupt selection to "Process". In this way you generate an interrupt at the moment of resetting.


  5. #4
    SiemensVietNam
    Guest
    2. In the "Outputs" parameter mask configure the digital output DQ0 so that this is activated when the comparison value is reached.



    3. In the "Inputs" parameter mask, in the field "Set counter", set the option "multiple".
    Note:
    In the associated channel DB the bit DBX 27.0 or DBX 27.1 (CTRL_DQ0) must be set to 1 to enable setting in the correct direction.
    4. In "Interrupt release" parameter mask select the option "Set counter" so that the interrupt is triggered by a rising edge at the digital input SET.
    5. The digital input I2 of the block FM 350-1 / FM 450-1 is used to reset the counter to the initial value. This input is connected to the digital output Q0 (likewise to the FM 350-1 / FM 450-1).
    Note:
    In the associated channel DB the data double word DBD 14 (LOAD_VAL) must be set to the initial value beforehand (e.g. L#0). The data double word DBD18 (CMP_V1) must be set to the comparison value.
    These values must be transferred with the FC CNT_CTRL to the FM by setting the relevant triggering bit once on the FC.

  6. #5
    long_hd88
    Guest
    hix, các anh viết tiếng việt thì tốt hơn !

  7. #6
    SiemensVietNam
    Guest
    http://www.mediafire.com/?t6ul6afopf1pu97
    đây là phầm mềm cho HSC FM350-1
    chúc các bạn thành công.

  8. #7
    Thành viên cấp 7
    Ngày tham gia
    May 2011
    Đang ở
    HoChiMinhCiTy
    Bài viết
    781
    Thanks
    7
    43 lượt trong 37 bài viết
    Đã ai làm FM350 chưa nhỉ ?

    Mình hiện đang dùng FM350 để đếm xung encoder với PPR=1024.Khi Motor quay được 85độ đến 105độ thì set ngõ ra bằng Q0.0=1,ngoài vùng đó thì Q0.0=0.Điều khiển có 1 chu kì là 360 độ.

    Không biết đã có ai đi trước chỉ bảo mình với

  9. #8
    Thành viên cấp 7
    Ngày tham gia
    May 2011
    Đang ở
    HoChiMinhCiTy
    Bài viết
    781
    Thanks
    7
    43 lượt trong 37 bài viết
    Sau hơn 1 ngày "mò",em cũng đã đọc được xung encoder với FM350.Qủa là khi kết nối phần cứng xong ngồi mày mò nhanh hơn là đọc lý thuyết nhiều.
    Bác nào chưa nắm được em này,có thắc mắc thì post lên,em biết thì sẽ trả lời .
    Thanks All

  10. Bài viết của "dohung" đã được cám ơn bởi các thành viên:


  11. #9
    Thành viên cấp 5
    Ngày tham gia
    Mar 2011
    Đang ở
    Ho Chi Minh City
    Bài viết
    506
    Thanks
    9
    13 lượt trong 13 bài viết
    Cảm ơn bác trước nha.
    0983.398.372
    Hidden Content

  12. #10
    Thành viên cấp 1
    Ngày tham gia
    May 2011
    Bài viết
    34
    Thanks
    0
    0 lượt trong 0 bài viết
    Trích dẫn Gửi bởi Tommy Xem bài viết
    Cảm ơn bác trước nha.
    Anh Tommy xin luôn chương trình đi, anh cảm ơn rồi lỡ anh dohung không cho chương trình thử thì tiêu luôn.

Trang 1 của 3 123 CuốiCuối

Đánh dấu

Quyền viết bài

  • Bạn Không thể gửi Chủ đề mới
  • Bạn Không thể Gửi trả lời
  • Bạn Không thể Gửi file đính kèm
  • Bạn Không thể Sửa bài viết của mình
  •  
Back to Top