Please fnd code which i tried
CALL "P_SEND" , "DB_P_SEND"
REQ :=TRUE
R :=FALSE
LADDR :=288
DB_NO :=10
DBB_NO:=0
LEN :=10
DONE :=#bDone
ERROR :=#berrir
STATUS:=#strStatus
In DB 10 I have a string 'ABCDEFGHIJ' which is 10 charecters.
The above code is in a function which is called by OB1. I read from manual that if REQ=true, then it will sends data only one time, after we have to reset.
When I am sending data from My PC RXD is blinking. When PLC is in run mode, TXD is blinks once.
SF LED is off if COM port is open.
Thanks
njv