Hello Guest it is April 23, 2024, 04:03:57 PM

Author Topic: Modbus MC206X controller  (Read 3470 times)

0 Members and 1 Guest are viewing this topic.

Modbus MC206X controller
« on: January 30, 2012, 04:59:13 PM »
Hi I am new to this Modbus world, I have seen the video Modbus tutorial intro. Also I am not on the legacy Modbus, but I have the one that can use BRAIN (if that make sence).

So my controller is MC206X  3 axis.

when i try to connect (after enable the Modbus check mark) I go to test communication   9600, 8,E,1  with timeout 200ms
I start 40001 with 8 entry
as soon as I press open port it show me the entry in decimal (in hex it doesn`t work)
but when i try to press read or write I get either (timeout error or CRC error)
i try scanning for 30001 input  same result CRC or timeout
same results with 10001 input statut result CRC or timeout

at least it shows result something like 27568 as value  which must me +10volts i thing

the thing is why do i get CRC or timeout i even try with timeout 20000 still got

also when i use motionperfect (controller communition software) the connection is set at 9800 7,e,2   ??? ???

thanks for the addvice in advance
Cheers
« Last Edit: January 30, 2012, 05:05:28 PM by Manucnc »
Re: Modbus MC206X controller
« Reply #1 on: January 30, 2012, 05:32:56 PM »
and also I forgot :

on the controller I have the first 8 plugs as input and the next 8 plugs as input/output

so am i right to conclude this :    input 1- 8  = input registery  30001 - 30008 
                                              output 9 - 16 = holding registery  40001 - 40008

even so when i try to write the value i keep on getting timeout or CRC error (value 9800,8,N,1)

what am i missing ?
Re: Modbus MC206X controller
« Reply #2 on: February 09, 2012, 07:16:52 PM »
so i the test port in modbus (and i have both enable the module with the check as in the exemple and close the program mach3 and restarted)

the PLC is a MC206X trio motion. i try to connect with 19200 8-1-E (i already did a SETCOM and loaded it the EPROM memory to enable the modbus protocole as per GUIDE MC206X.

when i test open port  i put value holding registery 40001 (the controller as 8 input and 8 IO) it shows the value in DECIMAL but i keep on getting in the value bar request timout or CRC

i change the timeout from 50 ms to 100 ms

it must be me that does something wrong i just don't know what any help please ?

thank you