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)
Publikováno pro: Schneider Electric Česká republika
Potřebujete pomoc?
Nástroj pro výběr produktů
Rychle a snadno vyhledávejte správné produkty a příslušenství pro vaše aplikace.
Získejte nabídku
Poptejte nás online a náš lokální specialista se s vámi spojí!
Kde nakoupit?
Jednoduše najděte nejbližšího distributora výrobků Schneider Electric ve vašem okolí.
Centrum nápovědy
Zdroje podpory pro všechny své potřeby najdete na jednom místě.