
6. FUNCTIONS OF THE MACRO
EXECUTOR
B–62093E–1/02
PROGRAMMING
66
No control of 1 byte reading (G335) can be carried out when the
reader/puncher interface circuit is opened in the transmission control
mode (End code = 8). There is an end code to check to see if the
commanded control code has been properly executed or not.
Check the end code after executing G330 to G338.
#8539 : End code (only for reading)
However, the circuit closing processing always ends normally.
(1) Circuit open (G330)
G330 Pp Bb Ss Cc ;
The reader puncher interface of the specified channel is opened
according to the control method and control conditions to enable it to
be used.
Select the channel and control method used by the specification of
address “P”.
1 : Channel 1 User macro control
11 : Channel 1 Reading control (DC1/DC3 automatic control)
21 : Channel 1 Transmission control
(DC2/DC4 automatic control)
Specify the baud rate by the specification of address “B”.
7 : 600b/s 8 : 1200b/s 9 : 2400b/s
10 : 4800b/s 11 : 9600b/s
Specify the stop bit and parity by the specification of address “S”.
1 : 1 stop bit, No parity
2 : 2 stop bits, No parity
11 : 1 stop bit, Odd parity
12 : 2 stop bits, Odd parity
21 : 1 stop bit, Even parity
22 : 2 stop bits, Even parity
Specify the output code on transmitting data by the specification of
address “C”.
1 : Output code (ASCII)
2 : Output code (ISO)
Example) Device and transmission control of channel 1
(DC2/DC4 automatic control)
Baud rate = 4800 b/s, Stop bit = 2, Even parity, ISO code output
G330 P22 B10 S22 C2 ;
IF [#8539 NE 0] GOTO 900 ;
Open processing end
N900 error processing :
6.4.2
Function Details