Troubleshooting
10.3 Checking Status with PMGET Instruction
10.3.1 Specifications of PMGET Instruction
Confirmation of error information
Describe UNITSEL instruction immediately before PMGET instruction, and specify the slot
and port numbers of the unit to be read.
Specify the type of data to be read (parameter or monitor information) for operand S1 of
PMGET instruction.
Store 26 words for communication parameters or 7 words for monitor information in the area
starting with the area specified by operand S2 of PMGET instruction.
R100
10.3.2 List of Communication Parameters
Acquisition of SCU communication parameters
Operand
Parameter
Communication
[D]
mode
[D+1]
Unit number setting
[D+2]
Baud rate setting
[D+3]
Data length setting
[D+4]
Parity setting
Stop bit length
[D+5]
setting
[D+6]
RS/CS (Note 1)
[D+7]
Send waiting time
(Continued on the next page)
10-6
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com
UNITSEL
U0
S1
PMGET
U0
S1
Range
Settings
U0: MEWTOCOL-COM
U0
U1
U1: MEWTOCOL7-COM
U2
U2: MODBUS-RTU
U8
U8: General-purpose communication
U9
U9: PLC link
Unit number: U1 to U999
MEWTOCOL-COM :U1 to U99
U1 to 999
MEWTOCOL7-COM:U1 to U999
MODBUS-RTU :U1 to U247
PLC link :U1 to U16 (Default: 0)
U0:300, U1:600, U2:1200, U3:2400, U4:4800,
U0 to 10
U5:9600, U6:19200, U7:38400, U8:57600.,
U9:115200, U10:230400 bps
U0, U1
U0: 7-bit length, U1: 8-bit length
U0 to U2
U0: No parity, U1: Odd parity, U2: Even parity
U0 to U1
U0: 1 bit, U1: 2 bits
U0, U1
U0: Disable, U1: Enable
U0: Immediate
U0 to 10000
Effective time = Un x 0.01 ms (0 to 100 ms)
Communication port settings
U1
S1: Slot number
S2: Port number
S2
SCU parameter acquisition
DT100
S1: Communication parameter (U0)
or Monitor information (U1)
S2
S2: Storage location