Posted 23 May 2009 Hi, i have a dout about the rs232 communication module. I have a CPU A1sh with rs232 cart A1sj71C24-R2 in posicion 4 of base. I want receive trought rs232 port of a1sj71c24-r2 stirngs with this format: "16-06-08, 19:38:36, 90, 21.7, 0.7, 1.3". I have configure the switch to work in no-protocol mode, 8 bit data, 1 stop bit, no flow control, none paritry, and 4800 bits per second. I read the manual of the cart but when try to put the CPU on the cpu give-me error. i don't understand why. Best Regards, Joel Macedo Share this post Link to post Share on other sites
Posted 24 May 2009 the head address H48 seems way too high for fourth module. are you sure this is correct? where is the rest of the program? what is the error? Share this post Link to post Share on other sites
Posted 30 May 2009 (edited) Hi, yes the adrress is incorrect. I put the card a2sj71c24-r2 in slot 0, and configure the cart. i receive strings from the PC and work fine. i want connect to the card a log anemometer. The anemometer send one string every 10senconds. The string is send is "17:50:53,112.5,29.00,0.00,0.00" with CR and LF in sequence (in hex ""31 34 3A 35 38 3A 30 33 2C 32 30 32 2E 35 2C 32 38 2E 35 30 2C 30 2E 30 30 2C 30 2E 30 30 0D 0A). when the anemometer send the sting to the cart, the SIO led come ON. If i send the string with the PC to the cart the led not come ON, and i can see the information in the memory. The velocity is correct. any one can help me. Edited 30 May 2009 by gurka Share this post Link to post Share on other sites
Posted 1 Jun 2009 are you using same RS232 cable? if not, are you sure they are ok? if yes, did you try capturing and comparing strings sent by sensor and PC? (compare actual hex values so you don't miss any control character). Share this post Link to post Share on other sites
Posted 2 Jun 2009 Slot 0 = 0H Slot 1 = 1H( if Slot 0 is a 16bit module) 2H ( if slot 0 is a 32bit module) Example if I connect 8 x 32 bit module Slot 0 = 0H -> (Top H0) Slot 1 = 2H -> (Top H2) Slot 2 = 4H -> (Top H4) Slot 3 = 6H -> (Top H6) Slot 4 = 8H -> (Top H8) Slot 5 = AH -> (Top HA) Slot 6 = CH -> (Top HC) Slot 7 = EH -> (Top HE) Share this post Link to post Share on other sites