1. Trang chủ
  2. » Kỹ Thuật - Công Nghệ

Analog manual tài liệu siemen tia portal s7 1200

31 34 0

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

THÔNG TIN TÀI LIỆU

Analog manual tài liệu siemen tia portal s7 1200. Analog manual tài liệu siemen tia portal s7 1200 Analog manual tài liệu siemen tia portal s7 1200 Analog manual tài liệu siemen tia portal s7 1200 Analog manual tài liệu siemen tia portal s7 1200

Siemens TIA Portal (S7 1200) • Scaling of a 0-10 V DC Analog Input using NORM_X and SCALE_X These notes are the property of Peter Vree, and shall not be copied or used without consent of the author These notes are the property of Peter Vree, and shall not be copied or used without consent of the author Siemens Simatic S7-1200 System Manual Link: https://cache.industry.siemens.com/dl/files/593/109741593/att_895681/v1/s71200_system_manual_en-US_en-US.pdf • Analog signal modules provide expected output values that represent your physical variable with either a voltage range or a current range • These ranges are most likely – 10 V DC or to 20 mA DC • The Siemens Analog module will provide integer values for these ranges, where to 27648 represents the – 10 V DC input Analog voltage Anything outside the range represents either an overflow or underflow These notes are the property of Peter Vree, and shall not be copied or used without consent of the author Siemens Simatic S7-1200 System Manual (p.110) Link: https://cache.industry.siemens.com/dl/files/593/109741593/att_895681/v1/s71200_system_manual_en-US_en-US.pdf These notes are the property of Peter Vree, and shall not be copied or used without consent of the author Siemens Simatic S7-1200 System Manual (P.916) Link: https://cache.industry.siemens.com/dl/files/593/109741593/att_895681/v1/s71200_system_manual_en-US_en-US.pdf These notes are the property of Peter Vree, and shall not be copied or used without consent of the author These notes are the property of Peter Vree, and shall not be copied or used without consent of the author Note: The model of S7 1200 PLC that I am using only allows for a – 10 V DC input (x2) These notes are the property of Peter Vree, and shall not be copied or used without consent of the author These notes are the property of Peter Vree, and shall not be copied or used without consent of the author Siemens Simatic S7-1200 System Manual (p.852) Link: https://cache.industry.siemens.com/dl/files/593/109741593/att_895681/v1/s71200_system_manual_en-US_en-US.pdf These notes are the property of Peter Vree, and shall not be copied or used without consent of the author Siemens Simatic S7-1200 System Manual (p.854) Link: https://cache.industry.siemens.com/dl/files/593/109741593/att_895681/v1/s71200_system_manual_en-US_en-US.pdf - + Sensor (0-10 V DC Output) - These notes are the property of Peter Vree, and shall not be copied or used without consent of the author + The Input data type for Norm_X is Int The Output data type for Norm_X is Real These notes are the property of Peter Vree, and shall not be copied or used without consent of the author The Input data type for Scale_X is Real The Output data type for Scale_X is Real These notes are the property of Peter Vree, and shall not be copied or used without consent of the author Now, for the NORM_X instruction: Change the Min to 0, and the MAX to 27648 These notes are the property of Peter Vree, and shall not be copied or used without consent of the author These notes are the property of Peter Vree, and shall not be copied or used without consent of the author Click on Device Configuration and scroll down to Analog Inputs Here you can see that the default address for Analog Input is: %IW64 Note: There is no option to change this input to a – 20 mA signal These notes are the property of Peter Vree, and shall not be copied or used without consent of the author Here you can see that the default address for Analog Input is: %IW64 These notes are the property of Peter Vree, and shall not be copied or used without consent of the author Here you can see that the default address for Analog Input is: %IW66 Note: Each Analog input takes up Words, i.e the addresses are: %IW64 & %IW66 These notes are the property of Peter Vree, and shall not be copied or used without consent of the author Ok, so now that we are clear on the addressing for Analog Inputs… go back to the Main OB1 for the NORM_X instruction: Change the VALUE to %IW64 These notes are the property of Peter Vree, and shall not be copied or used without consent of the author The NORM_X instruction takes the – 27648 input value from the ADC and converts it to a value between – These notes are the property of Peter Vree, and shall not be copied or used without consent of the author The Output of the Norm_X instruction is a REAL value, so we need a Double Word to store this 32 Bit value • NORM_X instruction: Change the OUT to %MD0 • SCALE_X instruction: Change the VALUE to %MD0 These notes are the property of Peter Vree, and shall not be copied or used without consent of the author For our application we wish to display the – 10 V input signal • SCALE_X instruction: Change the MIN to 0, change the MAX to 10 These notes are the property of Peter Vree, and shall not be copied or used without consent of the author For our application we wish to display the – 10 V input signal • SCALE_X instruction: Change the MIN to 0, change the MAX to 10 These notes are the property of Peter Vree, and shall not be copied or used without consent of the author %I1.7 %I1.0 %I0.7 %I0.0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 BYTE (8 BITS) BYTE WORD (16 BITS) DOUBLE WORD (32 BITS) %IW.6 %IW.4 %IW.5 %IW.2 %IW.0 %IW.1 %IW.3 %ID.4 %ID.0 INTEGER (INT) (16 BITS) DOUBLE INTEGER (DINT) (32 BITS) REAL (32 BITS) These notes are the property of Peter Vree, and shall not be copied or used without consent of the author Link: http://www.plcdev.com/step_7_elementary_data_types Finally, let’s setup the Output of the SCALE_X instruction… • SCALE_X instruction: Change the OUT to %MD4 Note: The Normalized value from NORM_X takes up 32 bits So, if we used %MD0 for the NORM_X OUT value, we should use %MD4 as the OUT of the SCALE_X instruction These notes are the property of Peter Vree, and shall not be copied or used without consent of the author These notes are the property of Peter Vree, and shall not be copied or used without consent of the author ... consent of the author Siemens Simatic S7- 1200 System Manual Link: https://cache.industry.siemens.com/dl/files/593/109741593/att_895681/v1 /s71 200_system _manual_ en-US_en-US.pdf • Analog signal modules... without consent of the author Siemens Simatic S7- 1200 System Manual (p.110) Link: https://cache.industry.siemens.com/dl/files/593/109741593/att_895681/v1 /s71 200_system _manual_ en-US_en-US.pdf These... without consent of the author Siemens Simatic S7- 1200 System Manual (P.916) Link: https://cache.industry.siemens.com/dl/files/593/109741593/att_895681/v1 /s71 200_system _manual_ en-US_en-US.pdf These

Ngày đăng: 23/12/2021, 10:21

Xem thêm:

TỪ KHÓA LIÊN QUAN

TÀI LIỆU CÙNG NGƯỜI DÙNG

  • Đang cập nhật ...

TÀI LIỆU LIÊN QUAN

w