first a little warning i am still a student, doing now practical schooling, so i am unexperienced, so pls take that in consideration
i am using CJ1M with SCU 41-V1, communicating with dixell xr 110c throught protocol macro
now i have already made the basic communication working as it should, having only have to setup the control words in PMCR while leaving First send word #0 and First recive word #0
how ever the problems start when the company wants me so they can specify slave number and register in program and also storing the the reply in a register they want, by setuping it in CX-Programmer or eighter throught scada or touch panel, basicly setuping it in program and not by writing macro in Cx-Protocol
i have been looking at ModbusPM Operation Manual from this forum, and i managed to make the First send word to work, i mean the Request from omron to dixell is working fine and also dixell Response looks fine judging from trace, how ever i cant make it to store the response data in register specified in First recived word in my case W10 or D800
i tried instead of ~(R(1),1) at slave numer with fixed 01 didnt hlp i then tried athleast to make it so i can specify the slave number and register number and number of registers i want and leaving recived macro to store it to D10
[img=http://img19.imageshack.us/img19/352/recive1.png]
now the interesting thing is when i have first recived word as #0 it doesnt stores to D10, while if i have First recived word W10 it stores to D10
i am sorry for any gramar mistakes, since english isnt my primary language
and i hope i wrote it enought understandable
i attached the XR110C documentation, actually the way it communicates is on site 1, since at the moment i only need to read a register
i also attached the basic communication program and protocol
as well as when i specified everything in PMCR(program and protocol)