Vipa S300 Modbus

другие контроллеры
paulo_rocha
Posts: 2
Joined: Wed Jan 02, 2013 10:06 pm

Vipa S300 Modbus

Post by paulo_rocha »

Hi,

i need comunicate with a SMC Servo motor controler and i need to use a modbus comunication.

I never use this, only use rs232, i have one sample program and dont work.

I use in simatic manager the SFC217 to send data and SFC218 to recieve data and the SFC216 to configure the counication.

I just need read the address 9000 that have the corrent possition. (send the Blue Address)

('' Operation example 3: Reading position and speed data
Current position and current speed are saved in D9000 onwards. This data can be confirmed by
reading these addresses.
【Sent data example】 Read position data (D9000) 【CRC calculation example】
01 03 90 00 00 02 E9 0B 0B E9
【Reply data example】
01 03 04 00 00 3A 98 E9 39
3A98h = 15000 → 150.00mm'')


Anyone work with this plc and have a sample code?
The configuration of comunication dont give error and when i send give me the error (7002h Transfer - active)
paulo_rocha
Posts: 2
Joined: Wed Jan 02, 2013 10:06 pm

Re: Vipa S300 Modbus

Post by paulo_rocha »

sorry in the Address 01 03 90 00 00 02 E9 0B 0B E9 the last 2 Bytes is not included 0B E9. Is the CRC calculation

01 03 90 00 00 02 E9 0B
pupena_san
Posts: 392
Joined: Fri Dec 18, 2009 3:02 pm
Location: Киев

Re: Vipa S300 Modbus

Post by pupena_san »