fc300_e.pdf
(
3 KB
)
Pobierz
FUNCTION FC 300 : VOID
TITLE =DEMULTIPLEXER
//in:
//NR
//
//x
//
//
//
//
//
//
//y
//
//
//
//
VERSION : 0.1
: pointer on the selected bit in "x" BIT NR
(1,2,...,16) !!if NR>16 or NR <1 then y:=0 !!
: one bit of the memory addresss which is addressed
with "NR"
if high-byte= bit 76543210 then NR:
16,15,14,13,12,11,10,09
if low-byte= bit 76543210 then NR:
08,07,06,05,04,03,02,01
: contains the status of the bit addressed by "NR"
example: NR=10 und x=MW20
HB: M20.7,M20.6,M20.5,M20.4,M20.3,M20.2,M20.1,M20.0
LB: M21.7,M21.6,M21.5,M21.4,M21.3,M21.2,M21.1,M21.0
then y=M20.1
VAR_INPUT
NR : INT ;
x : WORD ;
END_VAR
VAR_OUTPUT
y : BOOL ;
END_VAR
BEGIN
NETWORK
TITLE =
//***Programm
CLR
; //RLO:=0 ER:=0
L
#NR;
L
#x; //AKKU1:= x und AKKU2:= NR
SRD
; //contents of AKKU1 moving for the contens of AKKU2 to the right
JZ
ende; //if the latest moved BIT=0 then program ends
SET
; //RLO:=1 und ER:= 0
ende: =
#y;
END_FUNCTION
Plik z chomika:
lusyfer
Inne pliki z tego folderu:
ACS800_01_Podrecznik_instalacji_PL.pdf
(13776 KB)
ABBfalowniken_acs350 um_d.pdf
(5314 KB)
en_ACS800_04_hw_C.pdf
(8186 KB)
ACS800_EN_RevH.pdf
(1493 KB)
acs800-u4-0025-5+p901_hm.pdf
(5019 KB)
Inne foldery tego chomika:
Pliki dostępne do 01.06.2025
asus
babki
binaural beats
Detektyw Pozytywka
Zgłoś jeśli
naruszono regulamin