feuertaenzer

Beginnerproblems FX2N-48MR, FX2N-232IF Read/Write over Serial

2 posts in this topic

Hello

At first - sorry for my bad english.

I have a FX2N-48MR with a FX2N-232IF and i only want to watch the X and set the Y over RS232 with a Crestron Contolunit.

I use GX Developer 8 on a XP Laptop and figure slowly out how it works. I read the manuals i found, managed to send from the PLC to the Serial Program on my Laptop (Program named HTerm)

But i do not figured out the sending.

Can you give me some hint?

 

Greetings FT

Share this post


Link to post
Share on other sites

     zB.: Setzen von M0 ,Comand E7,Basisadresse 0000
      (STX) E  7  0  0  0  0 (ETX) 3  F
  Dezimal  02   69+55+48+48+48+48+03       (Summe 319,HEX 13F)
  Checksum                             51 70

STX = 2 , ETX = 3

Set M0, gesendet wird vom PC der String , STX "E70000" ETX "3F" ,

Set Y0, gesendet wird vom PC der String , STX "E7000C" ETX "52" ,

Set Y5, gesendet wird vom PC der String ", STX E7050C" ETX "57" ,

als Rückmeldung kommt von der PLC der String "" oder Dezimal 06

 

Lesen von X0-X7, gesendet wird vom PC der String , STX "E00018001" ETX "D2" ,

als Rückgabemeldung kommt von der PLC der String , STX "01" ETX "64",  = 00000001 wobei X0-X7 als Binärwert betrachtet wird. X0 ist ON...

 

Edited by Bob Lion

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now