How to read/write real numbers from a M172 controller into Machine Scada Expert.
Issue:
Using the MOTCP driver to read and write real values to variables from a M172 controller into Machine SCADA Expert
and the values are not showing correctly in the SCADA or not written correctly to the controller.
Product Line:
EcoStruxure Machine SCADA Expert (all versions)
Resolution:
In Machine SCADA Expert, in the MOTCP driver help document, page 11 to 21, it is explained how to configure the Driver Sheets for the Main Driver Sheet and the Standard Driver Sheet.
In the Main Driver Sheet, when configuring the I/O Address field for a tag, it is required to follow the syntax:
<Type>:[Signed/Unsigned]<Address>[.Bit]
Where:
<Type> is the register type. Valid values are 0X, 1X, 3X, 4X, FP, FPSW, FP3, FP3SW, DF, DF3, DFS, DF3S, FP3S, DW,
FPS, DWS, DW3, DW3S, DWSW, BCD, BCD3, BCDDW, BCDDWS, BCDDW3, BCDDW3S, ID, HRW, DFSW, DF3SW.
[Signed/Unsigned] - This optional parameter is used for integer values only. Valid values are S (signed) and U
(unsigned). If this parameter is not specified, the Signed or Unsigned Value setting in the Communication
Settings dialog is used.
<Address> - Address of the device register.
Note: Modbus operands are base 1, which means that there are no 0 addresses, so only <Address> values
greater than zero are legitimate.
[.Bit] - This optional parameter is used only for 3X (Input Register) and 4X (Holding Register) data types. The
value specifies which bit on the register will be read from/written to.
So, to read a real number from a M172 controller, it is needed to set the type to FP.
The syntax will look like this: FP:8970
In a Standard Driver Sheet, the Type is configured the driver sheet Header.
Configure the Header field to specify the address of the first register
of a block of registers on the target device. The addresses declared in the Standard Driver Sheet Body
Address fields are offsets from this Header address. When Read/Write operations are executed for the entire
worksheet (see Studio Help Manual for more information), the application scans the entire block of registers
specified in the Header and Address fields, from the first address to the last.
Syntax for most operations (syntax for reading files is below):
<Type>:<AddressReference>
Where:
<Type> is the register type. Valid values are 0X, 1X, 3X, 4X, FP, FPSW, FP3, FP3SW, DF, DF3, DFS, DF3S, FP3S, DW,
FPS, DWS, DW3, DW3S, DWSW, BCD, BCD3, BCDDW, BCDDWS, BCDDW3, BCDDW3S, ID, HRW, DFSW, DF3SW, ST, STS, STU,
STUS.
<AddressReference> is the initial address (reference) of the device register.
As an example the Header of a Standard Driver Sheet to read real number would be: FP:8970.
Please refer to the MOTCP driver help document in the EcoStruxure Machine SCADA Expert software for more details.
If this FAQ did not solve your issue, you can chat with us at chat with us or e-mail us at customer.services@se.com to create a case with our Technical Support Team.
If you are not located in North America, please contact your local Customer Care Center for assistance: Support | Schneider Electric Global (se.com)
게시 대상: 슈나이더 일렉트릭 Korea
도움이 필요하신가요?
제품 선택기
애플리케이션에 적합한 제품과 액세서리를 빠르고 쉽게 찾을 수 있습니다.
견적 받기
영업 관련하여 온라인으로 문의하시면 전문가가 연락드립니다.
구매처
해당 지역의 가장 가까운 슈나이더 일렉트릭 대리점을 쉽게 찾을 수 있습니다.
지원 센터
한 곳에서 모든 요구 사항에 대한 지원 리소스를 찾아보십시오.