Hvordan kan vi hjælpe dig i dag?

How can the analog I/O be forced in a M340 application?

Issue:

How can the analog I/O be forced in a M340 application?

Product Line:

Modicon M340

Resolution:

Use the IODDTs, T_ANA_IN_BMX for inputs and T_ANA_OUT_BMX for outputs in conjunction with the WRITE_CMD function block.
Once the WRITE_CMD function block in enabled, the two variable below of the IODDT, can be used to force the analog value. First assign the value (CMD_FORCING_VALUE) and then set the bit (FORCING_UNFORCING_ORDER). Reset the bit ((FORCING_UNFORCING_ORDER)) to unforce the analog channel.

Standard symbol Type Access Meaning Address
FORCING_UNFORCING_ORDER BOOL R/W Forcing/unforcing command. %MWr.m.c.4.13
CMD_FORCING_VALUE INT R/W Forcing value to be applied. %MWr.m.c.5

In order to force a channel, you have to use the WRITE_CMD (%MWr.m.c.5) instruction and set the %MWr.m.c.4.13  bit to 1.
To unforce a channel and use it normally, you have to set the %MWr.m.c.4.13 bit to 0.

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)

Schneider Electric Danmark

Se mere
Område:
Se mere
Område:
  • Produktdokumentation
  • Download af software
  • Produktvælger
  • Udskiftning og erstatning af produkter
  • Hjælp og kontaktcenter
  • Find forhandler
  • Projektrådgivning
  • Find vores kontorer
  • Schneider Electric Community
  • Karriere
  • Virksomhedsprofil
  • Rapportér en forseelse
  • Tilgængelighed
  • Presserum
  • Investorer
  • EcoStruxure
  • Jobsøgning
  • Blog
  • Privatlivspolitik
  • Cookiemeddelelse
  • Vilkår for anvendelse
  • Rediger dine cookieindstillinger