HELLO,
I am trying to control the BLV R with siemens 1200 (CB 1241 RS485 with BLV R ID1 and Cm1241 with drive ID2)
PORT" :="Local~CB_1241_(RS485)";
BAUD := 115200;
PARITY := 0;
FLOW_CTRL := 0;
RTS_ON_DLY:= 0;
RESP_TO := 1000;
MODE := 4;///two wire rs485
mbAddr := 1;
Same thing for the second slave except for the port and the ID=2
On the drive side:
See the attached pictures:
communication mode = 2:Modbus RTU(RS-485 Communication)
communication power supply action 2: Follow QSTOP setting (current is not cut off )
CANOPEN ID ID=2
CANOPEN BITRATE 500 kbps
RS485 TERMINATION RESISTOR -1:Enable
FRAME MONITOR TARGET ID ID=2
SLAVE ADDRESS ID=2
BAUD RATE 115200 bps
BIT AND WORD ORDER 0:EvenAddress-HighWord & Big-Endian
PARITY 1:Even parity // I TRIED 0 AND 1
STOP BIT 0:1 bit
TIME OUT 200 ms
COM ERROR DETECTION 3 times
WAIT TIME 30,0 ms
SILENT INTERVAL 0,0 ms
SLAVE ERROR RESPONSE 0:Normal response
INITIAL GROUPE ID Disable (no group transmission)
https://www.orientalmotorforum.com/down ... ew&id=3335
Also, i set some registers to be read and written from ( Indirect reference addresses setting (0)
https://www.orientalmotorforum.com/down ... ew&id=3336
normally iwe those setting i can read and write from the indirect reference register starting from register (600h upper and 601h lower)
the assined register :
assigned registers with their Net ID to be read:
80
97
98
103
106
107
126
127
164
184
185
assigned registers with their Net ID to be written :(600h as offset + 25 ==> the indirect reference setting (24)
44
45
46
47
48
49
50
51
52
53
54
Please help me i can read or write any register from the drive
(i tested the communication between the two modules by a sample program it ok
BLV R rs485 communication
-
- Posts: 2
- Joined: Tue Mar 22, 2022 3:07 am
BLV R rs485 communication
- Attachments
-
- indirect reference address setting.PNG (227.18 KiB) Viewed 4151 times
-
- RS485 COM SITTING.PNG (202.84 KiB) Viewed 4151 times