Siemens HB 131. 10 B Service Manual Page 148

  • Download
  • Add to my manuals
  • Print
  • Page
    / 613
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 147
Semaphore application example continued:
FB 100
NAME :SEMADIS
:SED 10 Disable semaphore no. 10
:JZ =M001
:AN F 10.1 If the semaphore is disabled successfully,
:S F 10.1 set "SEMAPHORE-DISABLED" flag.
M001 :BE
FB 110
NAME:MSGOUT
:L FW12 Transmit a message
:T OW 6 to the peripherals
:AN F 10.3
:S F 10.3 Set "TRANSFER MESSAGE"
:flag
:BE
FB 101
NAME :SEMAENAB
:SEE 10 Enable semaphore no. 10
:JZ =M001
:AN F 10.4
:S F 10.4 Set "SEMAPHORE ENABLED"
: flag
M001 :BE
3
Semaphore Operations
CPU 928B Programming Guide
C79000-B8576-C898-01
3 - 77
Page view 147
1 2 ... 143 144 145 146 147 148 149 150 151 152 153 ... 612 613

Comments to this Manuals

No comments