AD77
Member
Hiya,
a bit of a noobie question, I'm currently converting a Step 5 program to Step 7 and I've come across a bit of a problem (which I'm sure will only take seconds to fix).
I've got serial comms between two S5 processors and I'm replacing one (to start with) with an S7 414 processor and a CP441-2 card.
The problem i've got is the conversion between the S5 FB120 SEND block to the S7 SFB12 BSEND block.
The S5 code looks like this:
JC FB120
Name: SEND
SSDB: DB 19
A-NR: KY 0,2
ANZW: KY 20,3
QTYP: KS DB
DBNR: KY 0,3
QANF: KF +3
QLAE: KF +47
UELA: F 119.3
Now how do I convert this in to the BSEND block:
CALL "BSEND" , DB (instance DB)
REQ :=
R :=
ID :=
R_ID :=
DONE :=
ERROR :=
STATUS:=
SD_1 :=
LEN :=
NOP 0
Any suggestions are welcome!
Cheers
a bit of a noobie question, I'm currently converting a Step 5 program to Step 7 and I've come across a bit of a problem (which I'm sure will only take seconds to fix).
I've got serial comms between two S5 processors and I'm replacing one (to start with) with an S7 414 processor and a CP441-2 card.
The problem i've got is the conversion between the S5 FB120 SEND block to the S7 SFB12 BSEND block.
The S5 code looks like this:
JC FB120
Name: SEND
SSDB: DB 19
A-NR: KY 0,2
ANZW: KY 20,3
QTYP: KS DB
DBNR: KY 0,3
QANF: KF +3
QLAE: KF +47
UELA: F 119.3
Now how do I convert this in to the BSEND block:
CALL "BSEND" , DB (instance DB)
REQ :=
R :=
ID :=
R_ID :=
DONE :=
ERROR :=
STATUS:=
SD_1 :=
LEN :=
NOP 0
Any suggestions are welcome!
Cheers