Andreik
Member
[FONT="]Good day,
Situation:
I'll be having an application wherein I am needed to transmit and receive a certain data via RS232. The PLC which I will use is CP1H with RS232 Hostlink Port. The data I need to transmit:
<STX>[/FONT][FONT="]<CONVEYOR WIDTH=”XXX.XX” MSGID=”XXXXX”><ETX>
[/FONT] [FONT="][XXX.XX = conveyorwidth in mm (Floating Point)]
[/FONT][FONT="][XXXXX = MSGID counter that crows until 99999 restarts then by 00000 (Integer)]
[/FONT][FONT="]Question:
1) How to program and transmit the data?
2) How to assign the values in Data Memory?
Thank you very much,
Andrei K.
[/FONT]
Situation:
I'll be having an application wherein I am needed to transmit and receive a certain data via RS232. The PLC which I will use is CP1H with RS232 Hostlink Port. The data I need to transmit:
<STX>[/FONT][FONT="]<CONVEYOR WIDTH=”XXX.XX” MSGID=”XXXXX”><ETX>
[/FONT] [FONT="][XXX.XX = conveyorwidth in mm (Floating Point)]
[/FONT][FONT="][XXXXX = MSGID counter that crows until 99999 restarts then by 00000 (Integer)]
[/FONT][FONT="]Question:
1) How to program and transmit the data?
2) How to assign the values in Data Memory?
Thank you very much,
Andrei K.
[/FONT]