Jump to content

Fantasia83

Members
  • Posts

    21
  • Joined

  • Last visited

Posts posted by Fantasia83

  1. Hye all,

    I've got a very strange bug today.

    I'm using a serial connection (RS232) which come from a PC to my V570 port 1.

    I use Visilogic 8.9.5.

    I have a message which is 89 bytes long using this format :

    [sTX] ,NumVar1[1], NumVar2[5], etc ... , stream_1[7], stream_2[7],[ETX] [EOT]

    The two last streams variables are stored to MI 2000 -> MI 2006, and MI2010 -> MI2016 using the option convert 1 byte received to 1 linked element.

    If i uncheck the parameter Fixed Stream length in the protocol scan Setting for the streams variables and if the message doesn't contain streams the PLc receive, translate all the numerical variables but it 'fill a large amount of MI with strange values From MI 0 to MI 200 and a part within MI 1900.

    If i check the parameter Fixed Stream length no problem, the Protocol Scan FB ignore the message because it don't have the good size

    My question is : Why my Operand zone is filled with strange values ?

    If someone had experienced a similar problem i'll be pleased to understand.

    ;)

  2. Thx for reply Stein,

    1) Decimal system separator = ","

    i tried to change the excel separator as "." but nothing changed.

    Ex : I've got MF10 = 40.7437 and MF11 = 40.42034 before exporting them.

    After Importing into PLc, values are MF11 = 4.07E5 and MF11 = 4.04E6 ??

    2) Decimal system separator "." and everything is OK !

    All decimal values are exported and imported correctly !!

  3. Hye all,

    I'm in trouble with the decimal separator.

    I'm using RemoteAccess 9.0.1 on Windows 7.

    I read some operands Values the export them into excel file. It seems that the MF decimal point disappear.

    When i open Excel 2007 and import the File previously generated with RemoteAccess, all the decimal separator has disappeared.

    The only way i founded is to change the separator type on windows Control Pannel as a point instead of a coma (We are in France)

    This is not convenient, i don't want to change our customers system setting like this one.

    Maybe i'm wrong but i think remote access don't use comma as decimal separator but as object/cell separator.

    Is there another way ? or an option in Remote access to use comma as decimal separator ?

    Thank you

  4. Hye men, thank for replies !

    What Baud Rate are you using in the Terminal Software to Communicate with the PLC?

    'I use 9600 bps with the terminal software on visilogic 8.6.3'

    The PLc use the com1 to communicate with a PC using 9600,8,N,1,OFF.

    So when trying to communicate even trying several Visilogic Speed (9600 - 57600 - 115200) i've got the same prob.

    Visilogic send a break signal then Open the Comport with 9600 bps then display the Driver window Err code (206) then the state unable to synchronize.

    Using the PLC sniffer, i'd monitored the Tx, Rx data after pressing the Get Plc information button on Visilolgic Communication window :

    1) PLC Receive a '*'

    2) PLC Transmit /A00CPF3

    3) PLC Receive /00CPC1T0BFFFF45

    Another option to try is before opening VisiLogic, Right-Click the Icon and select "Run as Administrator".

    'Tested but nothing more.'

    Thank fot your help :-)

  5. Hye Everybody,

    I'm in trouble trying to communicate with my V570 through the com1 port of my new Laptop.

    I'm under Win 7 ultimate.

    When trying to get PLC info i've got this error message :

    Communication : Unable to synchronize with the PLC.

    serailcommprob.th.jpg

    Uploaded with ImageShack.us

    following by the window error message : Driver Error(206), unable to communicate with the PLc ...

    I can send and receive Datas from a third party software like the hyper terminal using RS232 communication.

    For info, I can connect from my other Wind 7 desktop Pc without any problems.

    So, anybody could have an idea :-)

    Thanks

  6. Hye debew,

    You wrote : "...I am trying to sequence messages to the drive, but need to know that the previous message was completed successfully before I start the next message..."

    To know if a SDO has been successfully sended you can check/control if the transmitted Datas are sored in the device by reading them into the device using another SDO.

    If the data are that expected then Proceed next SDO Or Re-attempt the Previous one 2 times again for ex. before Err..

  7. Simply using Modbus protocol.

    This comm protocol is based on sevral type of requests to exchange datas between OPLC very simply.

    - Use OPLCs serial port correctly configured with the FB provided in the VIGILOGIC Soft.

    - Use the Modbus functions to Read/Write the desire datas in the slave.

    Take a look in the help under communication/modbus (keep away the Modbus TCP/IP) then take a look to the programs in the samples directory :

    ..\Unitronics\Examples\Version 861\Project examples\Communications\MODBUS

    :-)

×
×
  • Create New...