Dareko009
MrPLC Member-
Content count
9 -
Joined
-
Last visited
Posts posted by Dareko009
-
-
But i know, i use to write command 0102 and data is 0x0033. I have end code 0101, that i Save correct but than i read this memory and it is 0x0013..
-
Hey, sorry that i answer now.
I made app to Android to connect with Omron CJ1m but I found problem and i can't solve that.
If I write data to CJ1M e.g. 0x0033, PLC has write 0x0013. I send command by ToolBus and it looks like:
This command is like FINS command in documentation OMRON.
Can you any suggestion? -
QuoteToolbus is not documented. What's wrong with Hostlink??
Probably nothing.
But i asked my professor and he want use ToolBus communication.
In my program i will use only command to read and write word from and to omron.
In this forum i found, ToolBus command would look like:
QuoteMessage format: Toolbus Header, FINS Header, FINS Command, Checksum.
Where:
Toolbus Header - AB00xx
xx - number of following bytes in message including checksum - number of bytes FINS Command and Checksum ?FINS Header - if i connect whit PLC directly, i can skip FINS Header ??
FINS Command - it is standartd FINS Command, eg 0101 - memory area read + B0 - memory area code(word CIO area) + 000000 - read adres (word CIO 0),
Chcecksum - sum all bytes of message to form 16 bit (two byte) checksum - it is sum with Toolbus Header or not??This message is sent by byte?
-
What about ToolBus?
Would it be easier?
-
QuoteThis is for the peripheral port.
@Jay Anthony Can you tell me how would like command look if i connect to PLC by peripheral port?
Maybe i don't understand my professor and he want connect to PLC by peripheral port because he said about "AC01" and simple command FINS. -
QuoteWhat is your wiring? The Omron RS232 port is non standard wiring.
QuoteAC01 is an incorrect hostlink command. You will not get a response.
I talk with my professor and he say that i must sent "AC01" hex and wait for response. It will work like:
https://www.myomron.com/index.php?action=kb&article=34QuotePlease use the documentation that IO Rack sent you.
I use this documentation and i can't find answer.
When i talked with my professor he said i haven't must sent " @ " and my command would looks like:
And he say's it will work.
It will work??
And what about terminator??
-
Thanks for answer.
I look for answer to my question in this documencation and i can't find it or i can't understand it.
In this documentation i can't find anythink about command "AC01" to check connection.
I search answer in Net and i found http://www.tri-plc.com/HostlinkE10.pdf
In 1st point is Poin-to_point communication and what i know about my communication it will look at this...
But i don't know what i should write in Header?
And my code would like:
Header + Command + Terminator?
And what about reply? -
Hi,
I write app to smartphone to communication omron CJ1m and Android. I want to connect devices by standard bluetooth. I plug in bluetooth adapter directly to omron RS232.
I want to ask you, how i can connect by FINS command.
Bluetooth device baud rate is set 9600.
If i connect to omron, i sent code: "AC01" and i sent how long as omron return me "AC01" ??
And what's next command i sent?
If I want read CIO 10 i sent: "0101B000000A" ? and FCS and "*" ??
how i calculate FSC? Is it XOR my data sent?
Omron CJ1m - bluetooth connect
in Omron
Posted
Thanks, it's work :D