ace21122112 Posted July 18, 2011 Report Posted July 18, 2011 Hi everyone Trying to find a link that explains the serial communication format for the FX1S Downloaded what I thought was the manual (Jy992D69901_e) then wired up a touchscreen (panasonic GT01) set it up with a mitsubishi driver and monitored the serial output to compare the two. They dont come close to matching. For example the manual tells me that a command starts with an ENQ and ends with the check code no mention of an ETX What the panasonic touch screen was doing was starting with and STX and ending with a ETX followed by a check sum that I doesnt match the simple addition described in the manual. Is there any more relevent information availiable? Thanks Andrew
kaare_t Posted July 19, 2011 Report Posted July 19, 2011 I don't have the manual you have, however there's a difference in the generic CPU protocol of the FX-series, and the MC protocol used by extension cards for the FX-series (e.g. BD cards). Since the FX1S doesn't support any BD cards, you have probably hooked up the screen to the CPU port. The CPU protocol is not publically available, hence you should upgrade your PLC to something that supports a BD or ADP card, and you can set up the MC protocol. Or if you prefer you can reverse-engineer the CPU protocol....
ace21122112 Posted July 19, 2011 Author Report Posted July 19, 2011 I have a FX1N-232BD connected to the top of it, and it seems to be working just fine. So guess the problem is the CPU protocol is different then what is published in the manual and is not availiable and the settings in D8120 do not apply to the fx1s?
Crossbow Posted July 20, 2011 Report Posted July 20, 2011 FX1N-232-BD can be used on FX1S, and D8120 applies just fine. Nothing wrong on the Mitsu side. You need to determine if the drivers in the Panasonic screen support the CPU port protocol, in which case you can just connect it to the programming port, or support the MC protocol, in which case you can use the serial board. Look at communication setup manuals for the Panasonic to see what it says to configure for the BD board option.
kaare_t Posted July 20, 2011 Report Posted July 20, 2011 Sorry for my misleading post. In addition to what Crossbow posted, if the screen runs the MC protocol be sure to check what format it is running.
ace21122112 Posted July 20, 2011 Author Report Posted July 20, 2011 (edited) I was only using the GT screen as a study guide not actually interested in connecting the two. Building an embedded device to connect directly. OK found what I needed on this site actually. Bless the original poster doesn't tell everything but it has enough info to get started (check summing routine is explained) here it is again if anyone looking. <stx>,X,Y,Y,Y,Y,N,N,<etx>,L,L X = command code (0 = read,1=write) Y = Address (4bytes) N = number of bytes (2bytes) L = sum of all characters right most 2 digits in ascii <100 example read M16 - M31 in hexdecimal 02,30,30,31,30,32,30,32,03,35,38 or in ascii <stx>,0,0,1,0,2,0,2,<etx>,5,8 (30h+30h+31h+30h+32h+30h+32h+3h = 158h) therefore checksum = 58 convert to ascii 35,38 Cheers mitsufxs.pdf Edited July 20, 2011 by ace21122112
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now