Industry Online Support
Technical Forum
12/17/2009 1:40 PM | |
Joined: 5/28/2008 Last visit: 10/23/2024 Posts: 1343 Rating: (141)
|
Hi, in addition to glubb: With BCD in S7-1200 you can only use decimal numbers 0-9. If you switch on I0.4-I0.7 you generate a hex F in your first place of BCD-value. You cannot convert this. For first tries with BCD it is easier to use MW instead of IW. Then you can change values per watch table and see what happens. Please also have a look here: [url]http://en.wikipedia.org/wiki/Binary-coded_decimal[/url] BCD to Integer instr. - STEP7 bcd conversion limits |
Follow us on