CH_ID
IN
HSC_STA
OUT
STA
OUT
8. Set the counter mode
Function:HSC_SETMODE
Parameter
I/O
Description
MOD_ID
IN
CH_ID
IN
Channel
BYTE
address
Count
BYTE
status
Module
status
BYTE
byte
Type
Module
DWOR
address
D
Channel
BYTE
address
153
PLC local value (0-5) HSC module
0
value (0, 1)
Bit0~Bit3: current mode
Bit4: reserved
Bit5: HSC0 current count direction
bit: 1 = count up
0
Bit6=1: The current value is equal to
the preset value bit
Bit7=1: The current value is greater
than the preset value bit
Module status byte 0: OK 2: invalid
parameter
0
parameter
respond 8: Module link layer error.
Initia
lizati
on
PLC 16# 0a000605, Module Id of hardware
0
configuration
PLC local value (0-5) HSC module value (0,
0
1)
5:
Incorrect
module
7:
Module
does
Remark
not
Need help?
Do you have a question about the MAT-LC-C Series and is the answer not in the manual?