ace21122112
MrPLC Member-
Content count
45 -
Joined
-
Last visited
Content Type
Profiles
Forums
Downloads
Calendar
Everything posted by ace21122112
-
GX developer Blows!!!!
-
trying to connect to a 5/04 with a 1747-cp3 cable
ace21122112 posted a topic in Allen Bradley / Rockwell Automation
I am working on a machine retrofit that has a 5/04 plc in it the dh+ terminals are connected to a panelview plus, The 9 pin 232 port is connected to a old panelview 550 with a 2706-NC13 cable. I am really trying to avoid having to get a pcmk card for the round minidin port cause they are ridiculously expensive. I thought i could simply unplug the pv550 and plug into my laptop with a 1747-CP3 cable but that doesnt seem to work In the driver type box I selected Rs232 DF1, in the device box I select slc-ch0/micro/panelview hit autoconfigure and cant establish a connection..... Anyone know what im doing wrong -
trying to connect to a 5/04 with a 1747-cp3 cable
ace21122112 replied to ace21122112's topic in Allen Bradley / Rockwell Automation
Channel 0 is configured for DH485 and I do have a true serial port... so I assume use 1747-PIC driver with a CP3 cable? -
Can I ask what you set D8120 to? I set mine to 897 - (0000 0011 1000 0001) as I understand this is 9600,8,n,1 with header and terminator. Command line = no Protocol. No checksum The activity LED's dont do anything. I have the laptop running serial monitoring software connected with null modem cable?
-
Really? Have you done this before with a fx1s? If so do you have a sample code? I have tried and tried with an rs instruction but it never does anything I run a com check program on my laptop and monitor the output of the card (in this case a fx1n-232bd) and it is as dead as a doornail.
-
Well I got some bad news for you.... As I understand it the FX1S only uses what is called CPU protocol and can only act as a slave... I have a earler post explaining the protocol if it is of any use to you.
-
whats your email address? I can email you a little program to strobe the outputs Site wont let me post a vls file 1 pulse = off to on 2 timer on dly = 30 x 100ms 3 set 3 zone compares to look at the current time one turns on between 1-10 second 11-20 third 21-30 4 boolens are tied to the outputs to add the additional logic you need
-
Wanted to buy damaged DC motor controls Minarik, Dart or KB
ace21122112 posted a topic in For Sale, Employment, Services or Wanted
Looking for damaged DC motor controls to purchase for refurbishing. Of particular interest but not limited to are Minarik - MM23001C, MM23101C MM23201C, MM23002D, MM23201D, MM23102D KB - KBIC-XXX, KBPB, Dart 125's I pay 10.00 each for open chassis style (like the MM23002D) 25.00 each for enclosed drives (like the MM23101C) in repairable (ie no visable trace damage) condition Email me -
For Sale 20x4 LCD display with DF1 Driver insatlled for Micrologix / SLC
ace21122112 posted a topic in For Sale, Employment, Services or Wanted
I have developed a 20 X 4 LCD display which can be tied into a Micrologix or SLC processor and can be used on its own for displaying messages or with a 4X4 keypad to create an HMI. Priced at 65.00 USD visit my ebay store!! AIDE AUTOMATION -
HMI Operator Panel Opinions
ace21122112 replied to mhowasso's topic in Allen Bradley / Rockwell Automation
For the combination of cost and functionality I like the panasonic GT series. A 6" full color sceen runs about 600.00 bucks, software is cheap and upgrades can be downloaded for free. They have drivers to talk to a whole slew of PLCs including Allen Bradley, Omron, Mits, Modbus. -
DF1 max232 cant connect
ace21122112 replied to ace21122112's topic in Allen Bradley / Rockwell Automation
Set up a 20x4 (80) character LCD display. made the PIC read the values of 80 integer registers (for example N7:0 - N7:79) then display the ascii equivilent of each in its respective Character block... Then read a 4x4 Matrix keypad and write its data back to the AB plc into a B register. In essence a dirt cheap HMI -
I am trying to use a PIC microcontroller to talk to a micrologix 1000 using DF1 I am absolutley sure I have the command sytax correct. I have used serial comm software on my laptop to simulate it and it works perfectly on both sides the PIC microcontroller and the Micro funtion properly but I can't seem to get them talking to each other. No 10 05's 10 06's or anything completly dead. I am using a max232n chip as the interface and I think there may be still some kind of issue regarding the levels etc (however it will talk to my PC just fine). Has anyone tryed to do this before and if so any insight to what I am doing wrong? Thanks Andrew
-
Looking for info on mitsubishi serial protocol (fx1s)
ace21122112 replied to ace21122112's topic in Mitsubishi
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 -
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
-
Looking for info on mitsubishi serial protocol (fx1s)
ace21122112 replied to ace21122112's topic in Mitsubishi
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? -
On the bright side can only be 10000 combinations
-
DF1 max232 cant connect
ace21122112 replied to ace21122112's topic in Allen Bradley / Rockwell Automation
Nevermind, do I feel like a tool. The cable I was using to test the micrcontroller with the laptop was staight thru (I thought it was null modem) and the lines were backwards on the microcontroller board which explains why I could talk between the two. reversed the lines on the microcontroller..... all good now ANdrew -
DF1 max232 cant connect
ace21122112 replied to ace21122112's topic in Allen Bradley / Rockwell Automation
I modified the pm02 cable by cutting it and left only the txd rxd and ground wires connected. Go my hands on a scope, these are my findings When I connect Microcontroller to Laptop via max232 signal voltage swings from -8 to +8 (which is correct) I can talk just fine When I connect pm02 cable and load up my rs 500 voltage looks very similar (again can connect/download/ monitor and everythings good) When I connect microcontroller to Micrologix via max232 the voltage swings from -8 to just about 0 not quite (never gets into the positive) seems like something in the micrologix is loading it down. but yet can communicate with the laptop no problem. -
Looking for guidance regarding DF1 CRC calcs
ace21122112 replied to ace21122112's topic in Allen Bradley / Rockwell Automation
one I got I downloaded from www.simplymodbus.ca Any that checks out thanks cheers -
Looking for guidance regarding DF1 CRC calcs
ace21122112 posted a topic in Allen Bradley / Rockwell Automation
Hi Looking for a little bit of guidance regarding How the CRC calculation is made with DF1 protocol. Understand it is supposed to be the same as Modbus except instead of setting the CRC to ffffh to start it is set to 0000h I pulled a sample of a DF1 instruction from the web it reads 10 02 01 00 0f 00 e4 3a a2 14 07 89 00 00 10 03 15 b9 (15 b9) is supposed to be the correct crc. I downloaded a xls app that calculates the CRC for modbus and since modbus and DF1 are supposed to be similar execpt for the starting value mentioned above I thought I would give it a try changed the starting value from ffff to 0000 My results are different If I enter all the data into the calculator I get a CRC of BA 33 obviously incorrect I tryed to exclude the STX and ETX thus I entered 01 00 0f 00 e4 3a a2 14 07 89 00 00 into the calculator and got A1 94 (wrong again) can anybody tell me what I am doing wrong? what characters are actually used for the calc? Thanks Andrew