47
Communications Functions
Section 1-6
PULS(65) sets the 8-digit number of pulses P1+1, P1. These pulses can be
set from 00000001 to 16777215. The number of pulses set with PULS(65) is
accessed when SPED(64) is executed in independent mode. (The number of
pulses cannot be changed for pulses that are being output.)
When SPED(64) is executed, pulses will begin to be output at the specified
output bit (D=000 to 150: bit 00 to 15) at the specified frequency (F=0002 to
0100: 20 Hz to 1000 Hz). Set the mode to independent mode (M=000) to out-
put the number of pulses set with PULS(65). The frequency can be changed
by executing SPED(64) again with a different frequency setting.
Changing the Frequency
The frequency of the pulse output can be changed by executing SPED(64)
again with a different frequency setting. Use the same output bit (P) and mode
(M) settings that were used to start the pulse output. The new frequency can
be frequency 20 Hz to 1000 Hz (F=0002 to 0100).
1-6
Communications Functions
The following table shows which communications modes are supported by the
CQM1H CPU Unit’s communications ports. (The CQM1H-CPU11 CPU Unit is
not equipped with an RS-232C port.)
The PC Setup settings and communications procedures for these communi-
cations modes are described later in this section.
Note
1.
The Programmable Terminal’s Programming Console functions can be
used, but pin 7 on the DIP switch must be ON.
2.
Turn ON pin 7 of the CPU Unit’s DIP Switch when using the peripheral port
for any device other than a Programming Console.
Automatic Mode Change
When the PC is in RUN mode with a Programming Console connected to the
peripheral port of the CPU Unit, if a PT is connected to the CPU Unit’s built-in
RS-232C port or either of the ports of a CQM1H-SCB41 using Host Link
mode, the following message will be displayed at the Programming Console
indicating that a password is required to continue operation (using the Pro-
gramming Console).
@SPED(64)
M
D
Execution condition
F
Communications
Uses
Port
Peripheral
RS-232C
Programming Console
bus
Programming Console connection
YES
No
Peripheral bus
Connection to a personal computer with Sup-
port Software
YES
No
Host Link
Host Link or Programmable Terminal connec-
tion
YES
YES
Protocol Macro
Data transfer with standard external devices
using arbitrary protocol
No
No
No-protocol
No-protocol communications with standard
external devices
YES
YES
1:1 data link
Establishing a data link with another CPU
Unit
No
YES
NT Link in 1:1 mode
Establishing a 1:1 Data Link with a Program-
mable Terminal
No
YES
(See note.)
NT Link in 1:N mode
Establishing a 1:1 Data Link with a Program-
mable Terminal or a 1:N connection with two
or more Programmable Terminals
No
No