Read ASCII string to S7-300

ALU

Member
Join Date
Feb 2008
Location
Da nang
Posts
17
I've connected a system as below:

(PM4 Ins, add1)------>>returned ASCII String>>----RS485port(S7-300)
(PM4 Ins, add2)---|
(PM4 Ins, add3)---|
(PM4 Ins, add4)---|
(PM4 Ins, add5)---|


Anyone who can help me how to read this ASCII string(How the PLC can be programed to read this string)from each PM4 Ins, using "Poll"?

Thanks a lot!!!🤞🏻
 
Last edited:
Hello ALU;

If you are using a 31x-PtP CPU, there is a Getting Started document for (amongst other things) ASCII communication that could help you:

http://support.automation.siemens.com/WW/view/en/15390497

If your CPU has only a standard MPI or Profibus-DP port, you cannot use it to communicate with ASCII devices, you would need a CP340 or CP341 serial comm. processor in your rack.

please specify the hardware you have on hand, we may be able to help you more.

Hope this helps,

Daniel Chartier
 
Hi Daniel Chartier
Thank you for your reply.

I give more detail of my system as below:

(Display,#1)------->>returned ASCII String>>----RS485port(CPU31x-2PtP; CPU31x-2DP+CP340)
(Display,#2)---|
(Display,#3)---|(Rs485)
(Display,#4)---|
(Display,#5)---|

The Display is connected to 14Bit Absolute Encoder to display rotation degree (running), and it has RS485 port returned the value on display in ASCII, I have 05 Displays which are assigned the address from #1 to #5, now i am wondering to used CPU31x-2PtP or CPU31x-DP with CP340 as your sugestion, the PLC also connect to SCADA...
Please give me some more sugestion...
Your suggestion is helpfull to me..
Thank you.
 

Similar Topics

my question is: I attach a weight to a PLC SLC 5 / 03 to the rs232 port to read ascii I read in the string 82 \ A0 \ A0 \ A0 \ A0 \ B4 \ B75 \...
Replies
1
Views
4,335
Hi all Can someone please point me in the right direction in how to do this problem with a ControlLogix? I have a TPS transmitter that reads...
Replies
8
Views
11,170
Good morning to all, I need to modify an existing PLC MIcrologix 1500 configured with a Modem on Channel 1 (DF1 Full Duplex) and an...
Replies
7
Views
1,425
I am working on a project, inside an AB CLX, I implemented the Modbus TCP Client AOI published on AB website, to interreact with a Modbus ASCII...
Replies
7
Views
3,539
PLC is ControlLogix 1756-L73 CPU with firmware 28 In the PLC the value for A60[110] is "AT", Style ASCII, Data Type INT. In KEPServerEX I tried...
Replies
4
Views
1,515
Back
Top Bottom