Industrial Automation
Industrial Automation | Europe

myKnowledge

Main > Product Type > Software > Programming
Minimize Text   Default    Enlarge Text
 

Print
E-mail

Protocol Macro For Modem


Introduction
Time out setting has to be done by ladder. Data length setting is defaulted by 7 bits for 00-7F. Set 8 bits if 00-FF is used. SCB/SCU Send Recv message Maximum length is set 200byte. When modem is used, when sending RS=ON until all strings has been sent. RS-CS flow control is valid only when RS232C is used.
 
Seq No. Send Recv Sequence Function Send Channel Receive Channel
900
(384)
C series hostlink Up Command EX Command is sent. (Receive is not done.)
CS1 has OF Command by FINS msg.
Receive is alos done.
YES NO
901
(385)
DTR ON DTR(DR)-> ON
When Sequence finished, will not be turned off.
Turned off by DTR OFF(Sequence No.902).
DTR(DR)/ETR(ER) is monitored by allocated bits.
NO NO
902
(386)
DTR OFF DTR(DR) -> OFF.
DTR(DR)/ETR(ER) is monitored by allocated bits.
NO NO
910
(38E)
Send ( Data QTY/Modem) Specified bytes Send YES NO
911
(38F)
Send (CR/Modem) Specified bytes Send -> Send Frame + Terminator (CR) YES NO
912
(390)
Send (CR,LF/Modem) Specified bytes Send -> Send Frame + Terminator (CR,LF) YES NO
912
(390)
Send (STX-ETX/Modem) Specified bytes Send -> Send Frame + Header (STX)/ Terminator (ETX) YES NO
920
(398)
Receive ( Data QTY/Modem) Specified bytes Receive NO YES
921
(399)
Receive (CR/Modem) Received upto Terminator (CR) NO YES
922
(39A)
Receive (CR,LF/Modem) Received upto Terminator (CR,LF). NO YES
923
(39B)
Receive (STX-ETX/Modem) Receive from Header (STX) upto Terminator (ETX). NO YES
930
(3A2)
Send Recv ( Data QTY/Modem) Specified bytes Send / Receive YES YES
931
(3A3)
Send Recv (CR/Modem) Specified bytes Send -> Send Frame + Terminator (CR)
Recv upto Terminator (CR).
YES YES
932
(3A4)
Send Recv (CR,LF/Modem) Specified bytes Send -> Send Frame + Terminator (CR,LF). Recv upto Terminator (CR,LF). YES YES
933
(3A5)
Send Recv (STX-ETX/Modem) Specified bytes Send -> Send Frame + Header (STX)/ Terminator (ETX).
Recv from Header (STX) upto Terminator (ETX).
YES YES
940
(3AC)
Send Recv ( Data QTY/ RS-CS flow ) Specified bytes Send / Receive YES YES
941
(3AD)
Send Recv (CR/RS-CS flow ) Specified bytes Send -> Send Frame + Terminator (CR)
Recv upto Terminator (CR).
YES YES
942
(3AE)
Send Recv (CR,LF/RS-CS flow ) Specified bytes Send -> Send Frame + Terminator (CR,LF). Recv up to Terminator (CR,LF). YES YES
943
(3AF)
Send Recv (STX-ETX/RS-CS flow ) Specified bytes Send -> Send Frame + Header (STX)/ Terminator. Recev from Header (STX) upto Terminator (ETX) YES YES
         
         
         
         
         

C series hostlink up Command [Sequence No.900 (384 HEX) ]
Send Data Channel allocation

Data channel allocation

Receive Data Channel allocation (PMCR instr. 4th Operator) is not done. DTR ON [Sequence No.901 (385 HEX) ]
Send Data Channel allocation (PMCR instr. 3rd Operator) is not done.
Receive Data Channel allocation (PMCR instr. 4th Operator) is not done. DTR OFF [Sequence No.902 (386 HEX) ]
Send Data Channel allocation (PMCR instr. 3rd Operator) is not done.
Receive Data Channel allocation (PMCR instr. 4th Operator) is not done.
Ascii Send ( Data QTY/Modem) [Sequence No.910 (38E HEX) ]
Send Data Channel allocation (PMCR instr. 3rd Operator) Receive Data Channel allocation (PMCR instr. 4th Operand) is not done. Ascii Send (CR/Modem) [Sequence No.911 (38F HEX) ]
Send Data Channel allocation (PMCR instr. 3rd Operator). Sequence No.910 is same.
Receive Data Channel allocation (PMCR instr. 4th Operator) is not done. Ascii Send (CR,LF/Modem) [Sequence No.912 (390 HEX) ]
Send Data Channel allocation (PMCR instr. 3rd Operator). Sequence No.910 is same.
Receive Data Channel allocation (PMCR instr. 4th Operator) is not done. Ascii Send (STX-ETX/Modem) [Sequence No.913 (391 HEX) ]
Send Data Channel allocation (PMCR instr. 3rd Operator). Sequence No.910 is same.
Receive Data Channel allocation (PMCR instr. 4th Operator) is not done.
 

Ascii Receive (Data QTY/Modem) [Sequence No.920 (398 HEX) ]
Send Data Channel allocation (PMCR instr. 3rd Operator)Data channel allocation

Maximum stored bytes = System Setting Send Recv Data Maximum bytes (Maximum 01F2Hex:498 bytes)
Ascii Receive (CR/Modem) [Sequence No.921 (399 HEX) ]
Send Data Channel allocation (PMCR instr. 3rd Operator) is not done.
Receive Data Channel allocation (PMCR instr. 4th Operator). Sequence No.915 is same. Ascii Receive (CR,LF/Modem) [Sequence No.922 (39A HEX) ]
Send Data Channel allocation (PMCR instr. 3rd Operator) is not done.
Receive Data Channel allocation (PMCR instr. 4th Operator). Sequence No.915 is same.
Ascii Receive (STX-ETX/Modem) [Sequence No.923 (39B HEX) ]
Send Data Channel allocation (PMCR instr. 3rd Operator) is not done.
Receive Data Channel allocation (PMCR instr. 4th Operator). Sequence No.915 is same.

Ascii Send Recv (Data QTY/Modem)
[Sequence No.930 (3A2 HEX) ]
Send Data Channel allocation (PMCR instr. 3rd Operator)

Data channel allocation

Receive Data Channel allocation (PMCR instr. 4th Operator). Sequence No.915 is same. Maximum stored bytes : System Setting Send Recv Data Maximum bytes (Maximum 01F2Hex:498 bytes)
Ascii Send Recv (CR/Modem) [Sequence No.931 (3A3 HEX)]
Send Data Channel allocation (PMCR instr. 3rd Operator). Sequence No.910 is same.
Receive Data Channel allocation (PMCR instr. 4th Operator). Sequence No.915 is same.
Ascii Send Recv (CR,LF/Modem) [Sequence No.932 (A4A HEX) ]
Send Data Channel allocation (PMCR instr. 3rd Operator). Sequence No.910 is same.
Receive Data Channel allocation (PMCR instr. 4th Operator). Sequence No.915 is same.
Ascii Send Recv (STX-ETX/Modem) [Sequence No.933 (3A5 HEX) ]
Send Data Channel allocation (PMCR instr. 3rd Operator). Sequence No.910 is same.
Receive Data Channel allocation (PMCR instr. 4th Operator). Sequence No.915 is same.

Ascii Send Recv ( Data QTY/RS-CS flow ) [Sequence No.940 (3AC HEX) ]
Send Data Channel allocation (PMCR instr. 3rd Operator)

Data channel allocation

Receive Data Channel allocation (PMCR instr. 4th Operator). Sequence No.915 is same. Maximum stored byte depends on Send Recv Data Maximum bytes in system setting (Maximum 01F2Hex: 498bytes)
Ascii Send Recv (CR/RS-CS flow) [Sequence No.941 (3AD HEX) ]
Send Data Channel allocation (PMCR instr. 3rd Operator). Sequence No.910 is same.
Receive Data Channel allocation (PMCR instr. 4th Operator). Sequence No.915 is same.
Ascii Send Recv (CR,LF / RS-CS flow) [Sequence No.942 (3AE HEX) ]
Send Data Channel allocation (PMCR instr. 3rd Operator). Sequence No.910 is same.
Receive Data Channel allocation (PMCR instr. 4th Operator). Sequence No.915 is same.
Ascii Send Recv (STX-ETX/RS-CS flow) [Sequence No.943 (3AF HEX) ]
Send Data Channel allocation (PMCR instr. 3rd Operator). Sequence No.910 is same.
Receive Data Channel allocation (PMCR instr. 4th Operator). Sequence No.915 is same.



Attachments

modem_test.psw - Size: 15410


Comments (View All Comments / Add Comment)

Related Articles
No related articles found.
Created 2008-11-26
Modified 2008-11-26
Views 4192

 

You are not logged in.