Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Ecoli-557

Pages: [1] 2
1
Support Questions / Re: Omron Host Link and getting started
« on: May 23, 2018, 05:39:43 PM »
Hello, anyone?
I tried to Enable Logging on Omron Serial Host Link and I get this error:
Property Value is not valid.
I kinda need this logging to better understand what AHMI and the PLC is doing.

2
Support Questions / Re: Omron Host Link and getting started
« on: May 22, 2018, 06:10:03 PM »
OK, Thanks again for pointing out that I have much more to digest....... <grin>.
I am trying to enable logging and it errors out saying Property Value is not valid.
Now what????

3
Support Questions / Re: Omron Host Link and getting started
« on: May 22, 2018, 06:06:15 PM »
You just answered my question.

4
Support Questions / Re: Omron Host Link and getting started
« on: May 22, 2018, 06:05:30 PM »
That did it!  AND the feedback of 0.0 also works.......
Will you explain the difference and will AHMI work with OmronSerialHostLink in RUN mode?

5
Support Questions / Re: Omron Host Link and getting started
« on: May 22, 2018, 05:50:38 PM »
I removed the 0.0 from the button used for feedback.  Still gives OMRON ERROR.
I can see the polling working as the TX and RX LEDs on the USB interface are flashing - just as they did in my FINS serial testing.
What else can I check?  ANd again, thanks for the interest!

6
Support Questions / Re: Omron Host Link and getting started
« on: May 22, 2018, 05:46:42 PM »
Label comes up FALSE and I entered '1' in the keypad, accepted and an error dialog window popped up:
'Failure to write value - Omron Error response Not executable in RUN mode'

7
Support Questions / Re: Omron Host Link and getting started
« on: May 22, 2018, 05:43:08 PM »
Sorry Archie, paths crossed.
Yes, there is 0.0 and 6.0.
These were the same as with me testing the FINS serial.
Will do as you asked - give me a minute or 2.

8
Support Questions / Re: Omron Host Link and getting started
« on: May 22, 2018, 05:41:36 PM »
From the OUTPUT:
Exception thrown: 'MfgControl.AdvancedHMI.Drivers.Common.PLCDriverException' in MfgControl.AdvancedHMI.Drivers.dll
Exception thrown: 'MfgControl.AdvancedHMI.Drivers.Common.PLCDriverException' in MfgControl.AdvancedHMI.Drivers.dll

9
Support Questions / Re: Omron Host Link and getting started
« on: May 22, 2018, 05:20:33 PM »
OK, I am temporarily giving up on Serial FINS.....
Have a new project, Omron Serial HostLink is my serial comm method.  9600, 7, E, 2, COM2 (as before with FINS serial).
Have just 1 basic button. PLCAdress click is 6.0, PLCAdress HighlightX is 0.0 (as before with FINS serial).
When I click on the button, expecting to hear a relay click I get 'OMRON ERROR' on the button.
What do I check?

10
Open Discussion / Re: OMRON FINS protocol question
« on: May 22, 2018, 11:47:12 AM »
OK, I am making progress, and again thanks Archie for taking time out of what must be an immense task to even read what I am trying to understand while you have everything else to do...... Really, thanks.
My current non-comprehension is in the decoding of the 'text' area in the FINS command.  See below:

   Pre   Unit#   HDR   Resp   ICF   RSV   GCT   DNA   DA1   DA2   SNA   SA1   SA2   SID   FINS cmmd    Text   FCS   Term
   @   XX   FA   X   80   00   02   XX   XX   XX   00   00   00   XX   XXXX      XX   * CR
Packet Data   48   48 48   70 65   48   56 48   48 48   48 50   48 48   48 48   48 48    48 48   48 48   70 67   48 49   48 49 48 49   66 48 48 48 48 48 48 48 48 48 48 49   48 65   42 13
Decoded   @   00   FA   0   80   00   02   00   00   00   00   00   FC   01   0101   66 48 | 48 48 48 48 48 48 48 48 48 49   0A   * CR
                                                B0 |  00 00 00 00 00 00 | 00 00 00 01      
                                                CIO area, 6 bytes for something, 2nd bit in the word      
                                                      


I see where I need to use words for the CIO area, but I don't know what to do with some of the bytes.  The low-order 4 bytes points to 0001 which is the 2nd bit (0 being used).  B0 is the CIO area and I must use word notation.  Are the 6 bytes in the middle, do these represent the 6 possible words in the Input or an Output module?
If so, THAT would make sense.
So, this packet would say 'read the 2nd bit in the 1st word of the 1st module' - yes?

11
Open Discussion / Re: OMRON FINS protocol question
« on: May 21, 2018, 10:57:33 PM »
Archie, yes, thanks.  That would have shifted bytes to the right.  I need to find out where I have 1 byte too many which shifts to the right.
Its like I have added a byte too many in my packet map.....

12
Open Discussion / Re: OMRON FINS protocol question
« on: May 21, 2018, 10:12:10 PM »
Dang!
If I am off by 1 byte, do I shift everything left 1 byte?

13
Open Discussion / Re: OMRON FINS protocol question
« on: May 21, 2018, 07:06:29 PM »
Yes, more than once.  However, I re-read it and think I know where I am confusing myself; the SA2 from AHMI is hex 70.  The SID coming from AHMI is hex 67.  I was getting confused according to many manuals, SA2 should either be 00 or 10-1F and not 70.
Which makes the command  '01-01' which is a memory area read.
The whole packet:
64 48 48 70 65 48 56 48 48 48 48 50 48 48 48 48 48 48 48 48 48 48 70 67 48 49 48 49 48 49 66 48 48 48 48 48 48 48 48 48 48 49 48 65 42 13

Now what I am getting tripped up in (Besides wondering why they mix decimal and hex) is the following:
SA2  SID  Cmmd Code (4b)  Mem Area   1st read addr   # of Elements    what are these used for?     FCS      Termination
70     67     48 49 48 49         48 49           66 48 48      48 48 48 48        48 48 48 48 49              48 65      42 13
70     67     0  1   0   1           0   1             B  0   0        0  0  0  0            0   0   0   0  1                   0  A        *  CR

I think I get the 1st part of this, don't really know what memory area is referenced by 01, nor where 1st read address is indicated by B00, I can see number of elements but why is it 0?
THEN, what are the left over bytes (00001) used for?
Where am I getting my packet structure screwed up?  It makes sense that I am cutting this up wrong cuz the '0001' just before the FCS should be the # of elements to read.......
I have read several of the programming manuals and this bit-twiddling and mix of dec-hex-ascii is a bit confusing....... 
I really am trying here....       

14
Open Discussion / OMRON FINS protocol question
« on: May 21, 2018, 02:52:02 PM »
Hello All-
I have been trying to understand the exchange between AHMI and an Omron PLC.
I am using the 'y' beta version (Thanks Archie) but do not yet fully understand the packet structure and perhaps someone out there could help me in learning this.
Below is an abbreviated log file between a PC and an Omron unit runninf AHMI FINS serial communication:
 

               Unit#- HDR - Resp - ICF - RSV - GCT - DNA – DA1 – DA2 - SNA – SA1 – SA2 - SID - Command Code, Text                                                FCS - Terminator
            @   X X   F A    X     8 0   0 0   0 2   X X   X X   X X   0 0   0 0   0 0   X X       X X    ,  xxx-xxx                                             X X     * CR         
              (How is this packet broken down?  Where is SA2 and SID?  Where is a FC command?)
SEND TNS=1, 64 48 48  70 65  48   56 48  48 48 48 50 48 48 48 48 48 48 48 48 48 48 ? ?   ? ?     70 67 48 49 48 49 48 49 66 48 48 48 48 48 48 48 48 48 48 49     48 65  42 13
            @   0  0  F A    0     8 0   0 0   0 2   0 0   0 0   0 0   0 0   0 0                 F  C  0  1  0  1  0  1  B  0  0  0  0  0  0  0  0  0  0  1      0  A   *  CR

RCVD TNS=1, 64 48 48 70 65 48 48 67 48 48 48 48 50 48 48 48 48 70 67 48 48 48 48 48 48 48 49 48 49 48 49 48 48 48 48 48 48 48 50 51 48 42 13

SEND TNS=2, 64 48 48  70 65  48   56 48 48 48 48 50 48 48 48 48 48 48 48 48 48 48  ? ?   ? ?     70 67 48 50 48 49 48 49 66 48 48 48 48 48 48 48 48 48 48 49     48 57 42 13
            @   0  0  F A    0    8 0   0 0   0 2   0 0   0 0   0 0   0 0   0 0                  F  C  0  2  0  1  0  1  B  0  0  0  0  0  0  0  0  0  0  1      0  9  *  CR

RCVD TNS=2, 64 48 48 70 65 48 48 67 48 48 48 48 50 48 48 48 48 70 67 48 48 48 48 48 48 48 50 48 49 48 49 48 48 48 48 48 48 48 50 51 51 42 13

SEND TNS=3, 64 48 48  70 65  48   56 48 48 48 48 50 48 48 48 48 48 48 48 48 48 48  ? ?   ? ?     70 67 48 51 48 49 48 49 66 48 48 48 48 48 48 48 48 48 48 49     48 56  42 13
            @  0  0   F A    0    8 0   0 0   0 2   0 0   0 0   0 0   0 0   0 0                  F  C  0  3  0  1  0  1  B  0  0  0  0  0  0  0  0  0  0  1      0  8   *  CR

RCVD TNS=3, 64 48 48 70 65 48 48 67 48 48 48 48 50 48 48 48 48 70 67 48 48 48 48 48 48 48 51 48 49 48 49 48 48 48 48 48 48 48 50 51 50 42 13

SEND TNS=4, 64 48 48  70 65  48   56 48 48 48 48 50   48 48   48 48   48 48  48 48   48 48   70 67 48 52 48 49 48 49 66 48 48 48 48 48 48 48 48 48 48 49     48 70   42 13

RCVD TNS=4, 64 48 48 70 65 48 48 67 48 48 48 48 50 48 48 48 48 70 67 48 48 48 48 48 48 48 52 48 49 48 49 48 48 48 48 48 48 48 50 51 53 42 13

SEND TNS=5, 64 48 48 70 65  48    56 48 48 48 48 50 48 48 48 48 48 48 48 48 48 48  ? ?   ? ?     70 67 48 53 48 49 48 49 66 48 48 48 48 48 48 48 48 48 48 49     48 69 42 13
            @  0  0  F A    0     8 0   0 0   0 2   0 0   0 0   0 0   0 0   0 0                  F  C  0  5  0  1  0  1  B  0  0  0  0  0  0  0  0  0  0  1      0  E  *  CR

RCVD TNS=5, 64 48 48 70 65 48 48 67 48 48 48 48 50 48 48 48 48 70 67 48 48 48 48 48 48 48 53 48 49 48 49 48 48 48 48 48 48 48 50 51 52 42 13
             

15
Support Questions / Re: Comms Enabling Logging - where is it?
« on: May 20, 2018, 02:32:26 PM »
thanks, will try it today.

Pages: [1] 2